@candesk/contracts 6.77.0 → 6.78.0
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/gen/treatment.d.ts
CHANGED
|
@@ -72,6 +72,12 @@ export declare enum MedicalReviewScope {
|
|
|
72
72
|
MEDICAL_REVIEW_SCOPE_DONE = 3,
|
|
73
73
|
UNRECOGNIZED = -1
|
|
74
74
|
}
|
|
75
|
+
export declare enum MedicalReviewDecision {
|
|
76
|
+
MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0,
|
|
77
|
+
MEDICAL_REVIEW_DECISION_APPROVED = 1,
|
|
78
|
+
MEDICAL_REVIEW_DECISION_REJECTED = 2,
|
|
79
|
+
UNRECOGNIZED = -1
|
|
80
|
+
}
|
|
75
81
|
export declare enum WithdrawalStatus {
|
|
76
82
|
WITHDRAWAL_STATUS_UNSPECIFIED = 0,
|
|
77
83
|
WITHDRAWAL_STATUS_OPEN = 1,
|
|
@@ -326,6 +332,7 @@ export interface ListMedicalReviewsRequest {
|
|
|
326
332
|
from?: string | undefined;
|
|
327
333
|
to?: string | undefined;
|
|
328
334
|
type?: TreatmentType | undefined;
|
|
335
|
+
decision?: MedicalReviewDecision | undefined;
|
|
329
336
|
}
|
|
330
337
|
export interface ListMedicalReviewsResponse {
|
|
331
338
|
requests: TreatmentRequest[];
|
|
@@ -339,6 +346,7 @@ export interface MedicalReviewCount {
|
|
|
339
346
|
type: TreatmentType;
|
|
340
347
|
queue: number;
|
|
341
348
|
inReview: number;
|
|
349
|
+
done: number;
|
|
342
350
|
}
|
|
343
351
|
export interface CountMedicalReviewsResponse {
|
|
344
352
|
counts: MedicalReviewCount[];
|
package/dist/gen/treatment.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: treatment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
8
|
+
exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewDecision = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "treatment.v1";
|
|
11
11
|
exports.protobufFileName = "treatment.proto";
|
|
@@ -90,6 +90,13 @@ var MedicalReviewScope;
|
|
|
90
90
|
MedicalReviewScope[MedicalReviewScope["MEDICAL_REVIEW_SCOPE_DONE"] = 3] = "MEDICAL_REVIEW_SCOPE_DONE";
|
|
91
91
|
MedicalReviewScope[MedicalReviewScope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
92
92
|
})(MedicalReviewScope || (exports.MedicalReviewScope = MedicalReviewScope = {}));
|
|
93
|
+
var MedicalReviewDecision;
|
|
94
|
+
(function (MedicalReviewDecision) {
|
|
95
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_UNSPECIFIED"] = 0] = "MEDICAL_REVIEW_DECISION_UNSPECIFIED";
|
|
96
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_APPROVED"] = 1] = "MEDICAL_REVIEW_DECISION_APPROVED";
|
|
97
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_REJECTED"] = 2] = "MEDICAL_REVIEW_DECISION_REJECTED";
|
|
98
|
+
MedicalReviewDecision[MedicalReviewDecision["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
99
|
+
})(MedicalReviewDecision || (exports.MedicalReviewDecision = MedicalReviewDecision = {}));
|
|
93
100
|
var WithdrawalStatus;
|
|
94
101
|
(function (WithdrawalStatus) {
|
|
95
102
|
WithdrawalStatus[WithdrawalStatus["WITHDRAWAL_STATUS_UNSPECIFIED"] = 0] = "WITHDRAWAL_STATUS_UNSPECIFIED";
|
package/dist/nest/treatment.d.ts
CHANGED
|
@@ -73,6 +73,12 @@ export declare enum MedicalReviewScope {
|
|
|
73
73
|
MEDICAL_REVIEW_SCOPE_DONE = 3,
|
|
74
74
|
UNRECOGNIZED = -1
|
|
75
75
|
}
|
|
76
|
+
export declare enum MedicalReviewDecision {
|
|
77
|
+
MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0,
|
|
78
|
+
MEDICAL_REVIEW_DECISION_APPROVED = 1,
|
|
79
|
+
MEDICAL_REVIEW_DECISION_REJECTED = 2,
|
|
80
|
+
UNRECOGNIZED = -1
|
|
81
|
+
}
|
|
76
82
|
export declare enum WithdrawalStatus {
|
|
77
83
|
WITHDRAWAL_STATUS_UNSPECIFIED = 0,
|
|
78
84
|
WITHDRAWAL_STATUS_OPEN = 1,
|
|
@@ -327,6 +333,7 @@ export interface ListMedicalReviewsRequest {
|
|
|
327
333
|
from?: string | undefined;
|
|
328
334
|
to?: string | undefined;
|
|
329
335
|
type?: TreatmentType | undefined;
|
|
336
|
+
decision?: MedicalReviewDecision | undefined;
|
|
330
337
|
}
|
|
331
338
|
export interface ListMedicalReviewsResponse {
|
|
332
339
|
requests: TreatmentRequest[];
|
|
@@ -340,6 +347,7 @@ export interface MedicalReviewCount {
|
|
|
340
347
|
type: TreatmentType;
|
|
341
348
|
queue: number;
|
|
342
349
|
inReview: number;
|
|
350
|
+
done: number;
|
|
343
351
|
}
|
|
344
352
|
export interface CountMedicalReviewsResponse {
|
|
345
353
|
counts: MedicalReviewCount[];
|
package/dist/nest/treatment.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: treatment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
8
|
+
exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewDecision = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.TreatmentServiceControllerMethods = TreatmentServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
@@ -92,6 +92,13 @@ var MedicalReviewScope;
|
|
|
92
92
|
MedicalReviewScope[MedicalReviewScope["MEDICAL_REVIEW_SCOPE_DONE"] = 3] = "MEDICAL_REVIEW_SCOPE_DONE";
|
|
93
93
|
MedicalReviewScope[MedicalReviewScope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
94
94
|
})(MedicalReviewScope || (exports.MedicalReviewScope = MedicalReviewScope = {}));
|
|
95
|
+
var MedicalReviewDecision;
|
|
96
|
+
(function (MedicalReviewDecision) {
|
|
97
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_UNSPECIFIED"] = 0] = "MEDICAL_REVIEW_DECISION_UNSPECIFIED";
|
|
98
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_APPROVED"] = 1] = "MEDICAL_REVIEW_DECISION_APPROVED";
|
|
99
|
+
MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_REJECTED"] = 2] = "MEDICAL_REVIEW_DECISION_REJECTED";
|
|
100
|
+
MedicalReviewDecision[MedicalReviewDecision["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
101
|
+
})(MedicalReviewDecision || (exports.MedicalReviewDecision = MedicalReviewDecision = {}));
|
|
95
102
|
var WithdrawalStatus;
|
|
96
103
|
(function (WithdrawalStatus) {
|
|
97
104
|
WithdrawalStatus[WithdrawalStatus["WITHDRAWAL_STATUS_UNSPECIFIED"] = 0] = "WITHDRAWAL_STATUS_UNSPECIFIED";
|
package/package.json
CHANGED
package/proto/treatment.proto
CHANGED
|
@@ -107,6 +107,12 @@ enum MedicalReviewScope {
|
|
|
107
107
|
MEDICAL_REVIEW_SCOPE_DONE = 3;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
enum MedicalReviewDecision {
|
|
111
|
+
MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0;
|
|
112
|
+
MEDICAL_REVIEW_DECISION_APPROVED = 1;
|
|
113
|
+
MEDICAL_REVIEW_DECISION_REJECTED = 2;
|
|
114
|
+
}
|
|
115
|
+
|
|
110
116
|
enum WithdrawalStatus {
|
|
111
117
|
WITHDRAWAL_STATUS_UNSPECIFIED = 0;
|
|
112
118
|
WITHDRAWAL_STATUS_OPEN = 1;
|
|
@@ -405,6 +411,7 @@ message ListMedicalReviewsRequest {
|
|
|
405
411
|
optional string from = 7;
|
|
406
412
|
optional string to = 8;
|
|
407
413
|
optional TreatmentType type = 9;
|
|
414
|
+
optional MedicalReviewDecision decision = 10;
|
|
408
415
|
}
|
|
409
416
|
|
|
410
417
|
message ListMedicalReviewsResponse {
|
|
@@ -422,6 +429,7 @@ message MedicalReviewCount {
|
|
|
422
429
|
TreatmentType type = 1;
|
|
423
430
|
int32 queue = 2;
|
|
424
431
|
int32 in_review = 3;
|
|
432
|
+
int32 done = 4;
|
|
425
433
|
}
|
|
426
434
|
|
|
427
435
|
message CountMedicalReviewsResponse {
|