tychat-contracts 1.6.60 → 1.6.61
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/anamneses/anamnesis-token-session.dto.d.ts +2 -0
- package/dist/anamneses/anamnesis-token-session.dto.d.ts.map +1 -1
- package/dist/anamneses/anamnesis-token-session.dto.js +10 -0
- package/dist/patients/create-patient.dto.d.ts +2 -0
- package/dist/patients/create-patient.dto.d.ts.map +1 -1
- package/dist/patients/create-patient.dto.js +24 -0
- package/package.json +1 -1
|
@@ -4,9 +4,11 @@ export declare class AnamnesisTokenSessionPatientDto {
|
|
|
4
4
|
name: string;
|
|
5
5
|
cpf: string | null;
|
|
6
6
|
phone: string | null;
|
|
7
|
+
rg: string | null;
|
|
7
8
|
birthDate: string | null;
|
|
8
9
|
email: string | null;
|
|
9
10
|
address: string | null;
|
|
11
|
+
emergencyContact: string | null;
|
|
10
12
|
}
|
|
11
13
|
export declare class AnamnesisTokenSessionDto {
|
|
12
14
|
valid: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anamnesis-token-session.dto.d.ts","sourceRoot":"","sources":["../../src/anamneses/anamnesis-token-session.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,qBAAa,+BAA+B;IAE1C,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAGnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"anamnesis-token-session.dto.d.ts","sourceRoot":"","sources":["../../src/anamneses/anamnesis-token-session.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,qBAAa,+BAA+B;IAE1C,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAGnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAGlB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,qBAAa,wBAAwB;IAEnC,KAAK,EAAE,OAAO,CAAC;IAMf,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,eAAe,CAAC;IAGhE,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,OAAO,CAAC,EAAE,+BAA+B,CAAC;IAM1C,qBAAqB,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACnD"}
|
|
@@ -17,9 +17,11 @@ class AnamnesisTokenSessionPatientDto {
|
|
|
17
17
|
name;
|
|
18
18
|
cpf;
|
|
19
19
|
phone;
|
|
20
|
+
rg;
|
|
20
21
|
birthDate;
|
|
21
22
|
email;
|
|
22
23
|
address;
|
|
24
|
+
emergencyContact;
|
|
23
25
|
}
|
|
24
26
|
exports.AnamnesisTokenSessionPatientDto = AnamnesisTokenSessionPatientDto;
|
|
25
27
|
__decorate([
|
|
@@ -38,6 +40,10 @@ __decorate([
|
|
|
38
40
|
(0, swagger_1.ApiPropertyOptional)({ example: '+5511999999999', nullable: true }),
|
|
39
41
|
__metadata("design:type", Object)
|
|
40
42
|
], AnamnesisTokenSessionPatientDto.prototype, "phone", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiPropertyOptional)({ example: '12.345.678-9', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], AnamnesisTokenSessionPatientDto.prototype, "rg", void 0);
|
|
41
47
|
__decorate([
|
|
42
48
|
(0, swagger_1.ApiPropertyOptional)({ example: '1990-05-12', nullable: true }),
|
|
43
49
|
__metadata("design:type", Object)
|
|
@@ -50,6 +56,10 @@ __decorate([
|
|
|
50
56
|
(0, swagger_1.ApiPropertyOptional)({ example: 'Rua Exemplo, 123 — Centro', nullable: true }),
|
|
51
57
|
__metadata("design:type", Object)
|
|
52
58
|
], AnamnesisTokenSessionPatientDto.prototype, "address", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiPropertyOptional)({ example: '+5584999999999', nullable: true }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], AnamnesisTokenSessionPatientDto.prototype, "emergencyContact", void 0);
|
|
53
63
|
class AnamnesisTokenSessionDto {
|
|
54
64
|
valid;
|
|
55
65
|
reason;
|
|
@@ -4,8 +4,10 @@ export declare class CreatePatientDto {
|
|
|
4
4
|
birthDate: string;
|
|
5
5
|
email?: string | null;
|
|
6
6
|
phone?: string | null;
|
|
7
|
+
rg?: string | null;
|
|
7
8
|
gender?: string | null;
|
|
8
9
|
address?: string | null;
|
|
10
|
+
emergencyContact?: string | null;
|
|
9
11
|
hasDisability: boolean;
|
|
10
12
|
disabilityDescription?: string | null;
|
|
11
13
|
initialObservation?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-patient.dto.d.ts","sourceRoot":"","sources":["../../src/patients/create-patient.dto.ts"],"names":[],"mappings":"AAaA,qBAAa,gBAAgB;IAS3B,IAAI,EAAE,MAAM,CAAC;IAUb,GAAG,EAAE,MAAM,CAAC;IAOZ,SAAS,EAAE,MAAM,CAAC;IAUlB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"create-patient.dto.d.ts","sourceRoot":"","sources":["../../src/patients/create-patient.dto.ts"],"names":[],"mappings":"AAaA,qBAAa,gBAAgB;IAS3B,IAAI,EAAE,MAAM,CAAC;IAUb,GAAG,EAAE,MAAM,CAAC;IAOZ,SAAS,EAAE,MAAM,CAAC;IAUlB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUtB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUnB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUxB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAOjC,aAAa,EAAE,OAAO,CAAC;IAWvB,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAUtC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAYnC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -19,8 +19,10 @@ class CreatePatientDto {
|
|
|
19
19
|
birthDate;
|
|
20
20
|
email;
|
|
21
21
|
phone;
|
|
22
|
+
rg;
|
|
22
23
|
gender;
|
|
23
24
|
address;
|
|
25
|
+
emergencyContact;
|
|
24
26
|
hasDisability;
|
|
25
27
|
disabilityDescription;
|
|
26
28
|
initialObservation;
|
|
@@ -79,6 +81,17 @@ __decorate([
|
|
|
79
81
|
(0, class_validator_1.MaxLength)(30),
|
|
80
82
|
__metadata("design:type", Object)
|
|
81
83
|
], CreatePatientDto.prototype, "phone", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
86
|
+
description: 'RG do paciente',
|
|
87
|
+
example: '12.345.678-9',
|
|
88
|
+
maxLength: 20,
|
|
89
|
+
}),
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
(0, class_validator_1.MaxLength)(20),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], CreatePatientDto.prototype, "rg", void 0);
|
|
82
95
|
__decorate([
|
|
83
96
|
(0, swagger_1.ApiPropertyOptional)({
|
|
84
97
|
description: 'Gênero do paciente',
|
|
@@ -101,6 +114,17 @@ __decorate([
|
|
|
101
114
|
(0, class_validator_1.MaxLength)(500),
|
|
102
115
|
__metadata("design:type", Object)
|
|
103
116
|
], CreatePatientDto.prototype, "address", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
119
|
+
description: 'Contato de emergência do paciente',
|
|
120
|
+
example: '+55 84 99999-9999',
|
|
121
|
+
maxLength: 30,
|
|
122
|
+
}),
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.IsOptional)(),
|
|
125
|
+
(0, class_validator_1.MaxLength)(30),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], CreatePatientDto.prototype, "emergencyContact", void 0);
|
|
104
128
|
__decorate([
|
|
105
129
|
(0, swagger_1.ApiProperty)({
|
|
106
130
|
description: 'Indica se o paciente possui alguma deficiência',
|