@integraciones_doc24/sdk 0.34.2 → 0.35.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.
Files changed (90) hide show
  1. package/lib/baseSdk/index.js +1 -0
  2. package/lib/baseSdk/user.d.ts +18 -18
  3. package/lib/baseSdk/user.js +30 -1
  4. package/lib/index.d.ts +22 -18
  5. package/lib/lib/baseSdk/diagnostica.d.ts +11 -0
  6. package/lib/lib/baseSdk/diagnostica.js +79 -0
  7. package/lib/lib/baseSdk/external.d.ts +15 -0
  8. package/lib/lib/baseSdk/external.js +73 -0
  9. package/lib/lib/baseSdk/index.d.ts +114 -0
  10. package/lib/lib/baseSdk/index.js +66 -0
  11. package/lib/lib/baseSdk/user.d.ts +30 -0
  12. package/lib/lib/baseSdk/user.js +88 -0
  13. package/lib/lib/index.d.ts +154 -0
  14. package/lib/lib/index.js +22 -0
  15. package/lib/lib/request/index.d.ts +2 -0
  16. package/lib/lib/request/index.js +26 -0
  17. package/lib/lib/request/token.d.ts +2 -0
  18. package/lib/lib/request/token.js +34 -0
  19. package/lib/lib/request/validation.d.ts +10 -0
  20. package/lib/lib/request/validation.js +28 -0
  21. package/lib/lib/schemas.d.ts +1138 -0
  22. package/lib/lib/schemas.js +294 -0
  23. package/lib/lib/test.d.ts +1 -0
  24. package/lib/lib/test.js +55 -0
  25. package/lib/lib/types.d.ts +1 -0
  26. package/lib/lib/types.js +2 -0
  27. package/lib/lib/userSdk/chat.d.ts +9 -0
  28. package/lib/lib/userSdk/chat.js +98 -0
  29. package/lib/lib/userSdk/index.d.ts +220 -0
  30. package/lib/lib/userSdk/index.js +27 -0
  31. package/lib/lib/userSdk/patients.d.ts +4 -0
  32. package/lib/lib/userSdk/patients.js +27 -0
  33. package/lib/lib/userSdk/sarasas.d.ts +6 -0
  34. package/lib/lib/userSdk/sarasas.js +13 -0
  35. package/lib/lib/userSdk/schedule.d.ts +15 -0
  36. package/lib/lib/userSdk/schedule.js +76 -0
  37. package/lib/lib/userSdk/specialties.d.ts +4 -0
  38. package/lib/lib/userSdk/specialties.js +19 -0
  39. package/lib/lib/userSdk/videoVisit.d.ts +72 -0
  40. package/lib/lib/userSdk/videoVisit.js +147 -0
  41. package/lib/lib/utils.d.ts +4 -0
  42. package/lib/lib/utils.js +19 -0
  43. package/lib/lib/webhook/index.d.ts +8 -0
  44. package/lib/lib/webhook/index.js +55 -0
  45. package/lib/lib/webhook/responses.d.ts +36 -0
  46. package/lib/lib/webhook/responses.js +42 -0
  47. package/lib/lib/webhook/token.d.ts +2 -0
  48. package/lib/lib/webhook/token.js +23 -0
  49. package/lib/schemas.d.ts +72 -54
  50. package/lib/schemas.js +19 -18
  51. package/lib/src/baseSdk/diagnostica.d.ts +54 -0
  52. package/lib/src/baseSdk/diagnostica.js +79 -0
  53. package/lib/src/baseSdk/index.d.ts +2 -0
  54. package/lib/src/baseSdk/index.js +66 -0
  55. package/lib/src/baseSdk/user.d.ts +41 -0
  56. package/lib/src/baseSdk/user.js +88 -0
  57. package/lib/src/index.d.ts +159 -0
  58. package/lib/src/index.js +22 -0
  59. package/lib/src/request/index.d.ts +3 -0
  60. package/lib/src/request/index.js +26 -0
  61. package/lib/src/request/token.d.ts +2 -0
  62. package/lib/src/request/token.js +34 -0
  63. package/lib/src/request/validation.d.ts +10 -0
  64. package/lib/src/request/validation.js +28 -0
  65. package/lib/src/schemas.d.ts +1115 -0
  66. package/lib/src/schemas.js +294 -0
  67. package/lib/src/types.d.ts +116 -0
  68. package/lib/src/types.js +2 -0
  69. package/lib/src/userSdk/chat.d.ts +57 -0
  70. package/lib/src/userSdk/chat.js +98 -0
  71. package/lib/src/userSdk/index.d.ts +2 -0
  72. package/lib/src/userSdk/index.js +27 -0
  73. package/lib/src/userSdk/patients.d.ts +12 -0
  74. package/lib/src/userSdk/patients.js +27 -0
  75. package/lib/src/userSdk/schedule.d.ts +44 -0
  76. package/lib/src/userSdk/schedule.js +76 -0
  77. package/lib/src/userSdk/specialties.d.ts +7 -0
  78. package/lib/src/userSdk/specialties.js +19 -0
  79. package/lib/src/userSdk/videoVisit.d.ts +111 -0
  80. package/lib/src/userSdk/videoVisit.js +147 -0
  81. package/lib/src/utils.d.ts +4 -0
  82. package/lib/src/utils.js +19 -0
  83. package/lib/src/webhook/index.d.ts +2 -0
  84. package/lib/src/webhook/index.js +55 -0
  85. package/lib/src/webhook/responses.d.ts +35 -0
  86. package/lib/src/webhook/responses.js +42 -0
  87. package/lib/src/webhook/token.d.ts +2 -0
  88. package/lib/src/webhook/token.js +23 -0
  89. package/lib/test.js +49 -8
  90. package/package.json +1 -1
@@ -0,0 +1,1138 @@
1
+ export var __esModule: boolean;
2
+ export namespace doc24Schemas {
3
+ export { identificationType };
4
+ export { sdkCredentials };
5
+ export const sdkParams: zod_1.ZodObject<{
6
+ url: zod_1.ZodString;
7
+ credentials: zod_1.ZodObject<{
8
+ iss: zod_1.ZodString;
9
+ key: zod_1.ZodString;
10
+ }, "strip", zod_1.ZodTypeAny, {
11
+ iss: string;
12
+ key: string;
13
+ }, {
14
+ iss: string;
15
+ key: string;
16
+ }>;
17
+ }, "strip", zod_1.ZodTypeAny, {
18
+ url: string;
19
+ credentials: {
20
+ iss: string;
21
+ key: string;
22
+ };
23
+ }, {
24
+ url: string;
25
+ credentials: {
26
+ iss: string;
27
+ key: string;
28
+ };
29
+ }>;
30
+ export const user: zod_1.ZodObject<zod_1.extendShape<{
31
+ firstName: zod_1.ZodString;
32
+ lastName: zod_1.ZodString;
33
+ identificationType: zod_1.ZodEnum<["ndi", "passport", "credential"]>;
34
+ identificationValue: zod_1.ZodString;
35
+ countryId: zod_1.ZodString;
36
+ birthdate: zod_1.ZodDate;
37
+ gender: zod_1.ZodEnum<["m", "f"]>;
38
+ }, {
39
+ phone: zod_1.ZodString;
40
+ email: zod_1.ZodString;
41
+ }>, "strip", zod_1.ZodTypeAny, {
42
+ firstName: string;
43
+ lastName: string;
44
+ identificationType: "ndi" | "passport" | "credential";
45
+ identificationValue: string;
46
+ gender: "m" | "f";
47
+ phone: string;
48
+ email: string;
49
+ countryId: string;
50
+ birthdate: Date;
51
+ }, {
52
+ firstName: string;
53
+ lastName: string;
54
+ identificationType: "ndi" | "passport" | "credential";
55
+ identificationValue: string;
56
+ gender: "m" | "f";
57
+ phone: string;
58
+ email: string;
59
+ countryId: string;
60
+ birthdate: Date;
61
+ }>;
62
+ export { basePersonData as patient };
63
+ export { specialtyMode };
64
+ export { specialty };
65
+ export { scheduleAvailabilityFilter };
66
+ export { availableAppointment };
67
+ export { availableScheduleClinics };
68
+ export const scheduleFilter: zod_1.ZodObject<{
69
+ professionalId: zod_1.ZodOptional<zod_1.ZodNumber>;
70
+ offset: zod_1.ZodOptional<zod_1.ZodNumber>;
71
+ limit: zod_1.ZodOptional<zod_1.ZodNumber>;
72
+ weekDay: zod_1.ZodOptional<zod_1.ZodNumber>;
73
+ date: zod_1.ZodOptional<zod_1.ZodDate>;
74
+ startHour: zod_1.ZodOptional<zod_1.ZodString>;
75
+ finishHour: zod_1.ZodOptional<zod_1.ZodString>;
76
+ }, "strip", zod_1.ZodTypeAny, {
77
+ date?: Date | undefined;
78
+ professionalId?: number | undefined;
79
+ offset?: number | undefined;
80
+ limit?: number | undefined;
81
+ weekDay?: number | undefined;
82
+ startHour?: string | undefined;
83
+ finishHour?: string | undefined;
84
+ }, {
85
+ date?: Date | undefined;
86
+ professionalId?: number | undefined;
87
+ offset?: number | undefined;
88
+ limit?: number | undefined;
89
+ weekDay?: number | undefined;
90
+ startHour?: string | undefined;
91
+ finishHour?: string | undefined;
92
+ }>;
93
+ export const scheduleParameters: zod_1.ZodUnion<[zod_1.ZodObject<zod_1.extendShape<{
94
+ patientId: zod_1.ZodNumber;
95
+ specialtyId: zod_1.ZodNumber;
96
+ language: zod_1.ZodString;
97
+ details: zod_1.ZodString;
98
+ extraInfo: zod_1.ZodAny;
99
+ }, {
100
+ type: zod_1.ZodLiteral<"appointment">;
101
+ appointmentId: zod_1.ZodUnion<[zod_1.ZodNumber, zod_1.ZodString]>;
102
+ }>, "strip", zod_1.ZodTypeAny, {
103
+ extraInfo?: any;
104
+ type: "appointment";
105
+ patientId: number;
106
+ specialtyId: number;
107
+ language: string;
108
+ details: string;
109
+ appointmentId: string | number;
110
+ }, {
111
+ extraInfo?: any;
112
+ type: "appointment";
113
+ patientId: number;
114
+ specialtyId: number;
115
+ language: string;
116
+ details: string;
117
+ appointmentId: string | number;
118
+ }>, zod_1.ZodObject<zod_1.extendShape<{
119
+ patientId: zod_1.ZodNumber;
120
+ specialtyId: zod_1.ZodNumber;
121
+ language: zod_1.ZodString;
122
+ details: zod_1.ZodString;
123
+ extraInfo: zod_1.ZodAny;
124
+ }, {
125
+ type: zod_1.ZodLiteral<"instant">;
126
+ }>, "strip", zod_1.ZodTypeAny, {
127
+ extraInfo?: any;
128
+ type: "instant";
129
+ patientId: number;
130
+ specialtyId: number;
131
+ language: string;
132
+ details: string;
133
+ }, {
134
+ extraInfo?: any;
135
+ type: "instant";
136
+ patientId: number;
137
+ specialtyId: number;
138
+ language: string;
139
+ details: string;
140
+ }>]>;
141
+ export const videoVisit: zod_1.ZodObject<{
142
+ id: zod_1.ZodNullable<zod_1.ZodNumber>;
143
+ creationDate: zod_1.ZodDate;
144
+ patientId: zod_1.ZodNumber;
145
+ user: zod_1.ZodObject<{
146
+ id: zod_1.ZodNumber;
147
+ email: zod_1.ZodNullable<zod_1.ZodString>;
148
+ phone: zod_1.ZodNullable<zod_1.ZodString>;
149
+ }, "strip", zod_1.ZodTypeAny, {
150
+ id: number;
151
+ phone: string | null;
152
+ email: string | null;
153
+ }, {
154
+ id: number;
155
+ phone: string | null;
156
+ email: string | null;
157
+ }>;
158
+ vcToken: zod_1.ZodString;
159
+ appointment: zod_1.ZodOptional<zod_1.ZodObject<{
160
+ id: zod_1.ZodNumber;
161
+ date: zod_1.ZodDate;
162
+ }, "strip", zod_1.ZodTypeAny, {
163
+ date: Date;
164
+ id: number;
165
+ }, {
166
+ date: Date;
167
+ id: number;
168
+ }>>;
169
+ videoVisit: zod_1.ZodOptional<zod_1.ZodObject<{
170
+ id: zod_1.ZodNumber;
171
+ status: zod_1.ZodString;
172
+ }, "strip", zod_1.ZodTypeAny, {
173
+ id: number;
174
+ status: string;
175
+ }, {
176
+ id: number;
177
+ status: string;
178
+ }>>;
179
+ paymentStatus: zod_1.ZodOptional<zod_1.ZodString>;
180
+ atentionId: zod_1.ZodOptional<zod_1.ZodNumber>;
181
+ }, "strip", zod_1.ZodTypeAny, {
182
+ appointment?: {
183
+ date: Date;
184
+ id: number;
185
+ } | undefined;
186
+ videoVisit?: {
187
+ id: number;
188
+ status: string;
189
+ } | undefined;
190
+ paymentStatus?: string | undefined;
191
+ atentionId?: number | undefined;
192
+ id: number | null;
193
+ patientId: number;
194
+ creationDate: Date;
195
+ user: {
196
+ id: number;
197
+ phone: string | null;
198
+ email: string | null;
199
+ };
200
+ vcToken: string;
201
+ }, {
202
+ appointment?: {
203
+ date: Date;
204
+ id: number;
205
+ } | undefined;
206
+ videoVisit?: {
207
+ id: number;
208
+ status: string;
209
+ } | undefined;
210
+ paymentStatus?: string | undefined;
211
+ atentionId?: number | undefined;
212
+ id: number | null;
213
+ patientId: number;
214
+ creationDate: Date;
215
+ user: {
216
+ id: number;
217
+ phone: string | null;
218
+ email: string | null;
219
+ };
220
+ vcToken: string;
221
+ }>;
222
+ export const videoVisitDetails: zod_1.ZodObject<{
223
+ id: zod_1.ZodNumber;
224
+ status: zod_1.ZodString;
225
+ paymentStatus: zod_1.ZodString;
226
+ professional: zod_1.ZodOptional<zod_1.ZodObject<{
227
+ id: zod_1.ZodNumber;
228
+ fullName: zod_1.ZodString;
229
+ }, "strip", zod_1.ZodTypeAny, {
230
+ id: number;
231
+ fullName: string;
232
+ }, {
233
+ id: number;
234
+ fullName: string;
235
+ }>>;
236
+ patient: zod_1.ZodObject<{
237
+ fullName: zod_1.ZodString;
238
+ firstAccessDate: zod_1.ZodDate;
239
+ lastAccessDate: zod_1.ZodDate;
240
+ }, "strip", zod_1.ZodTypeAny, {
241
+ fullName: string;
242
+ firstAccessDate: Date;
243
+ lastAccessDate: Date;
244
+ }, {
245
+ fullName: string;
246
+ firstAccessDate: Date;
247
+ lastAccessDate: Date;
248
+ }>;
249
+ finishDate: zod_1.ZodNullable<zod_1.ZodDate>;
250
+ retries: zod_1.ZodNumber;
251
+ language: zod_1.ZodString;
252
+ appointment: zod_1.ZodNullable<zod_1.ZodObject<{
253
+ id: zod_1.ZodNumber;
254
+ date: zod_1.ZodDate;
255
+ }, "strip", zod_1.ZodTypeAny, {
256
+ date: Date;
257
+ id: number;
258
+ }, {
259
+ date: Date;
260
+ id: number;
261
+ }>>;
262
+ report: zod_1.ZodObject<{
263
+ motive: zod_1.ZodNullable<zod_1.ZodString>;
264
+ actualDesease: zod_1.ZodNullable<zod_1.ZodString>;
265
+ indications: zod_1.ZodNullable<zod_1.ZodString>;
266
+ alertSigns: zod_1.ZodNullable<zod_1.ZodString>;
267
+ extendedMotive: zod_1.ZodNullable<zod_1.ZodString>;
268
+ diagnose: zod_1.ZodArray<zod_1.ZodObject<{
269
+ description: zod_1.ZodString;
270
+ code: zod_1.ZodString;
271
+ }, "strip", zod_1.ZodTypeAny, {
272
+ code: string;
273
+ description: string;
274
+ }, {
275
+ code: string;
276
+ description: string;
277
+ }>, "many">;
278
+ }, "strip", zod_1.ZodTypeAny, {
279
+ motive: string | null;
280
+ actualDesease: string | null;
281
+ indications: string | null;
282
+ alertSigns: string | null;
283
+ extendedMotive: string | null;
284
+ diagnose: {
285
+ code: string;
286
+ description: string;
287
+ }[];
288
+ }, {
289
+ motive: string | null;
290
+ actualDesease: string | null;
291
+ indications: string | null;
292
+ alertSigns: string | null;
293
+ extendedMotive: string | null;
294
+ diagnose: {
295
+ code: string;
296
+ description: string;
297
+ }[];
298
+ }>;
299
+ pdf: zod_1.ZodObject<{
300
+ atention: zod_1.ZodOptional<zod_1.ZodString>;
301
+ labs: zod_1.ZodOptional<zod_1.ZodString>;
302
+ otherExams: zod_1.ZodOptional<zod_1.ZodString>;
303
+ images: zod_1.ZodOptional<zod_1.ZodString>;
304
+ medication: zod_1.ZodArray<zod_1.ZodAny, "many">;
305
+ }, "strip", zod_1.ZodTypeAny, {
306
+ atention?: string | undefined;
307
+ labs?: string | undefined;
308
+ otherExams?: string | undefined;
309
+ images?: string | undefined;
310
+ medication: any[];
311
+ }, {
312
+ atention?: string | undefined;
313
+ labs?: string | undefined;
314
+ otherExams?: string | undefined;
315
+ images?: string | undefined;
316
+ medication: any[];
317
+ }>;
318
+ files: zod_1.ZodArray<zod_1.ZodObject<{
319
+ name: zod_1.ZodString;
320
+ url: zod_1.ZodString;
321
+ }, "strip", zod_1.ZodTypeAny, {
322
+ name: string;
323
+ url: string;
324
+ }, {
325
+ name: string;
326
+ url: string;
327
+ }>, "many">;
328
+ }, "strip", zod_1.ZodTypeAny, {
329
+ professional?: {
330
+ id: number;
331
+ fullName: string;
332
+ } | undefined;
333
+ appointment: {
334
+ date: Date;
335
+ id: number;
336
+ } | null;
337
+ id: number;
338
+ language: string;
339
+ patient: {
340
+ fullName: string;
341
+ firstAccessDate: Date;
342
+ lastAccessDate: Date;
343
+ };
344
+ status: string;
345
+ paymentStatus: string;
346
+ finishDate: Date | null;
347
+ retries: number;
348
+ report: {
349
+ motive: string | null;
350
+ actualDesease: string | null;
351
+ indications: string | null;
352
+ alertSigns: string | null;
353
+ extendedMotive: string | null;
354
+ diagnose: {
355
+ code: string;
356
+ description: string;
357
+ }[];
358
+ };
359
+ pdf: {
360
+ atention?: string | undefined;
361
+ labs?: string | undefined;
362
+ otherExams?: string | undefined;
363
+ images?: string | undefined;
364
+ medication: any[];
365
+ };
366
+ files: {
367
+ name: string;
368
+ url: string;
369
+ }[];
370
+ }, {
371
+ professional?: {
372
+ id: number;
373
+ fullName: string;
374
+ } | undefined;
375
+ appointment: {
376
+ date: Date;
377
+ id: number;
378
+ } | null;
379
+ id: number;
380
+ language: string;
381
+ patient: {
382
+ fullName: string;
383
+ firstAccessDate: Date;
384
+ lastAccessDate: Date;
385
+ };
386
+ status: string;
387
+ paymentStatus: string;
388
+ finishDate: Date | null;
389
+ retries: number;
390
+ report: {
391
+ motive: string | null;
392
+ actualDesease: string | null;
393
+ indications: string | null;
394
+ alertSigns: string | null;
395
+ extendedMotive: string | null;
396
+ diagnose: {
397
+ code: string;
398
+ description: string;
399
+ }[];
400
+ };
401
+ pdf: {
402
+ atention?: string | undefined;
403
+ labs?: string | undefined;
404
+ otherExams?: string | undefined;
405
+ images?: string | undefined;
406
+ medication: any[];
407
+ };
408
+ files: {
409
+ name: string;
410
+ url: string;
411
+ }[];
412
+ }>;
413
+ export const activeVideoVisitData: zod_1.ZodObject<{
414
+ consultationId: zod_1.ZodNumber;
415
+ patientId: zod_1.ZodNumber;
416
+ vcToken: zod_1.ZodString;
417
+ }, "strip", zod_1.ZodTypeAny, {
418
+ patientId: number;
419
+ vcToken: string;
420
+ consultationId: number;
421
+ }, {
422
+ patientId: number;
423
+ vcToken: string;
424
+ consultationId: number;
425
+ }>;
426
+ export const professional: zod_1.ZodObject<{
427
+ id: zod_1.ZodNumber;
428
+ firstName: zod_1.ZodString;
429
+ lastName: zod_1.ZodString;
430
+ birthdate: zod_1.ZodDate;
431
+ gender: zod_1.ZodEnum<["m", "f"]>;
432
+ email: zod_1.ZodString;
433
+ phone: zod_1.ZodNullable<zod_1.ZodString>;
434
+ logoUrl: zod_1.ZodString;
435
+ matriculation: zod_1.ZodArray<zod_1.ZodObject<{
436
+ number: zod_1.ZodString;
437
+ type: zod_1.ZodString;
438
+ }, "strip", zod_1.ZodTypeAny, {
439
+ number: string;
440
+ type: string;
441
+ }, {
442
+ number: string;
443
+ type: string;
444
+ }>, "many">;
445
+ specialties: zod_1.ZodArray<zod_1.ZodObject<{
446
+ id: zod_1.ZodNumber;
447
+ description: zod_1.ZodString;
448
+ }, "strip", zod_1.ZodTypeAny, {
449
+ id: number;
450
+ description: string;
451
+ }, {
452
+ id: number;
453
+ description: string;
454
+ }>, "many">;
455
+ degree: zod_1.ZodString;
456
+ languages: zod_1.ZodArray<zod_1.ZodString, "many">;
457
+ resume: zod_1.ZodObject<{
458
+ link: zod_1.ZodString;
459
+ brief: zod_1.ZodString;
460
+ }, "strip", zod_1.ZodTypeAny, {
461
+ link: string;
462
+ brief: string;
463
+ }, {
464
+ link: string;
465
+ brief: string;
466
+ }>;
467
+ }, "strip", zod_1.ZodTypeAny, {
468
+ id: number;
469
+ logoUrl: string;
470
+ firstName: string;
471
+ lastName: string;
472
+ gender: "m" | "f";
473
+ phone: string | null;
474
+ email: string;
475
+ birthdate: Date;
476
+ specialties: {
477
+ id: number;
478
+ description: string;
479
+ }[];
480
+ matriculation: {
481
+ number: string;
482
+ type: string;
483
+ }[];
484
+ degree: string;
485
+ languages: string[];
486
+ resume: {
487
+ link: string;
488
+ brief: string;
489
+ };
490
+ }, {
491
+ id: number;
492
+ logoUrl: string;
493
+ firstName: string;
494
+ lastName: string;
495
+ gender: "m" | "f";
496
+ phone: string | null;
497
+ email: string;
498
+ birthdate: Date;
499
+ specialties: {
500
+ id: number;
501
+ description: string;
502
+ }[];
503
+ matriculation: {
504
+ number: string;
505
+ type: string;
506
+ }[];
507
+ degree: string;
508
+ languages: string[];
509
+ resume: {
510
+ link: string;
511
+ brief: string;
512
+ };
513
+ }>;
514
+ export { appointment };
515
+ export { chatroomAvailabilityFilter };
516
+ export { chatParameters };
517
+ export { availableChatroom };
518
+ export { chatDetails };
519
+ export { chatPost };
520
+ export { enrollmentParams };
521
+ export const diagnosticaPatientFilter: zod_1.ZodObject<{
522
+ gender: zod_1.ZodEnum<["m", "f"]>;
523
+ identificationType: zod_1.ZodEnum<["ndi", "passport", "credential"]>;
524
+ identificationValue: zod_1.ZodString;
525
+ }, "strip", zod_1.ZodTypeAny, {
526
+ identificationType: "ndi" | "passport" | "credential";
527
+ identificationValue: string;
528
+ gender: "m" | "f";
529
+ }, {
530
+ identificationType: "ndi" | "passport" | "credential";
531
+ identificationValue: string;
532
+ gender: "m" | "f";
533
+ }>;
534
+ export { diagnosticaHistoryAppointment };
535
+ export { diagnosticaUser };
536
+ export { diagnosticaPatient };
537
+ export { diagnosticaDeepLinkResponse };
538
+ export { coverageInfo };
539
+ }
540
+ declare const identificationType: zod_1.ZodEnum<["ndi", "passport", "credential"]>;
541
+ declare const sdkCredentials: zod_1.ZodObject<{
542
+ iss: zod_1.ZodString;
543
+ key: zod_1.ZodString;
544
+ }, "strip", zod_1.ZodTypeAny, {
545
+ iss: string;
546
+ key: string;
547
+ }, {
548
+ iss: string;
549
+ key: string;
550
+ }>;
551
+ import zod_1 = require("zod");
552
+ declare const basePersonData: zod_1.ZodObject<{
553
+ firstName: zod_1.ZodString;
554
+ lastName: zod_1.ZodString;
555
+ identificationType: zod_1.ZodEnum<["ndi", "passport", "credential"]>;
556
+ identificationValue: zod_1.ZodString;
557
+ countryId: zod_1.ZodString;
558
+ birthdate: zod_1.ZodDate;
559
+ gender: zod_1.ZodEnum<["m", "f"]>;
560
+ }, "strip", zod_1.ZodTypeAny, {
561
+ firstName: string;
562
+ lastName: string;
563
+ identificationType: "ndi" | "passport" | "credential";
564
+ identificationValue: string;
565
+ gender: "m" | "f";
566
+ countryId: string;
567
+ birthdate: Date;
568
+ }, {
569
+ firstName: string;
570
+ lastName: string;
571
+ identificationType: "ndi" | "passport" | "credential";
572
+ identificationValue: string;
573
+ gender: "m" | "f";
574
+ countryId: string;
575
+ birthdate: Date;
576
+ }>;
577
+ declare const specialtyMode: zod_1.ZodEnum<["appointment", "chat", "instant"]>;
578
+ declare const specialty: zod_1.ZodObject<{
579
+ id: zod_1.ZodNumber;
580
+ description: zod_1.ZodString;
581
+ }, "strip", zod_1.ZodTypeAny, {
582
+ id: number;
583
+ description: string;
584
+ }, {
585
+ id: number;
586
+ description: string;
587
+ }>;
588
+ declare const scheduleAvailabilityFilter: zod_1.ZodObject<{
589
+ specialtyId: zod_1.ZodOptional<zod_1.ZodNumber>;
590
+ professionalId: zod_1.ZodOptional<zod_1.ZodNumber>;
591
+ }, "strip", zod_1.ZodTypeAny, {
592
+ specialtyId?: number | undefined;
593
+ professionalId?: number | undefined;
594
+ }, {
595
+ specialtyId?: number | undefined;
596
+ professionalId?: number | undefined;
597
+ }>;
598
+ declare const availableAppointment: zod_1.ZodObject<{
599
+ id: zod_1.ZodUnion<[zod_1.ZodNumber, zod_1.ZodString]>;
600
+ date: zod_1.ZodDate;
601
+ clinicId: zod_1.ZodNumber;
602
+ professional: zod_1.ZodObject<{
603
+ id: zod_1.ZodNumber;
604
+ fullName: zod_1.ZodString;
605
+ logoUrl: zod_1.ZodString;
606
+ }, "strip", zod_1.ZodTypeAny, {
607
+ id: number;
608
+ fullName: string;
609
+ logoUrl: string;
610
+ }, {
611
+ id: number;
612
+ fullName: string;
613
+ logoUrl: string;
614
+ }>;
615
+ cost: zod_1.ZodString;
616
+ specialty: zod_1.ZodObject<{
617
+ id: zod_1.ZodNumber;
618
+ description: zod_1.ZodString;
619
+ }, "strip", zod_1.ZodTypeAny, {
620
+ id: number;
621
+ description: string;
622
+ }, {
623
+ id: number;
624
+ description: string;
625
+ }>;
626
+ type: zod_1.ZodEnum<["appointment", "chat", "instant"]>;
627
+ atentions: zod_1.ZodNumber;
628
+ ranking: zod_1.ZodUnknown;
629
+ length: zod_1.ZodNullable<zod_1.ZodOptional<zod_1.ZodNumber>>;
630
+ }, "strip", zod_1.ZodTypeAny, {
631
+ length?: number | null | undefined;
632
+ ranking?: unknown;
633
+ date: Date;
634
+ type: "appointment" | "chat" | "instant";
635
+ id: string | number;
636
+ professional: {
637
+ id: number;
638
+ fullName: string;
639
+ logoUrl: string;
640
+ };
641
+ clinicId: number;
642
+ cost: string;
643
+ specialty: {
644
+ id: number;
645
+ description: string;
646
+ };
647
+ atentions: number;
648
+ }, {
649
+ length?: number | null | undefined;
650
+ ranking?: unknown;
651
+ date: Date;
652
+ type: "appointment" | "chat" | "instant";
653
+ id: string | number;
654
+ professional: {
655
+ id: number;
656
+ fullName: string;
657
+ logoUrl: string;
658
+ };
659
+ clinicId: number;
660
+ cost: string;
661
+ specialty: {
662
+ id: number;
663
+ description: string;
664
+ };
665
+ atentions: number;
666
+ }>;
667
+ declare const availableScheduleClinics: zod_1.ZodObject<{
668
+ specialties: zod_1.ZodArray<zod_1.ZodObject<{
669
+ id: zod_1.ZodNumber;
670
+ description: zod_1.ZodString;
671
+ }, "strip", zod_1.ZodTypeAny, {
672
+ id: number;
673
+ description: string;
674
+ }, {
675
+ id: number;
676
+ description: string;
677
+ }>, "many">;
678
+ specialtiesER: zod_1.ZodArray<zod_1.ZodObject<{
679
+ id: zod_1.ZodNumber;
680
+ description: zod_1.ZodString;
681
+ }, "strip", zod_1.ZodTypeAny, {
682
+ id: number;
683
+ description: string;
684
+ }, {
685
+ id: number;
686
+ description: string;
687
+ }>, "many">;
688
+ professionals: zod_1.ZodArray<zod_1.ZodObject<{
689
+ id: zod_1.ZodNumber;
690
+ fullName: zod_1.ZodString;
691
+ clinicId: zod_1.ZodNumber;
692
+ specialties: zod_1.ZodArray<zod_1.ZodObject<{
693
+ id: zod_1.ZodNumber;
694
+ description: zod_1.ZodString;
695
+ }, "strip", zod_1.ZodTypeAny, {
696
+ id: number;
697
+ description: string;
698
+ }, {
699
+ id: number;
700
+ description: string;
701
+ }>, "many">;
702
+ }, "strip", zod_1.ZodTypeAny, {
703
+ id: number;
704
+ fullName: string;
705
+ clinicId: number;
706
+ specialties: {
707
+ id: number;
708
+ description: string;
709
+ }[];
710
+ }, {
711
+ id: number;
712
+ fullName: string;
713
+ clinicId: number;
714
+ specialties: {
715
+ id: number;
716
+ description: string;
717
+ }[];
718
+ }>, "many">;
719
+ }, "strip", zod_1.ZodTypeAny, {
720
+ specialties: {
721
+ id: number;
722
+ description: string;
723
+ }[];
724
+ specialtiesER: {
725
+ id: number;
726
+ description: string;
727
+ }[];
728
+ professionals: {
729
+ id: number;
730
+ fullName: string;
731
+ clinicId: number;
732
+ specialties: {
733
+ id: number;
734
+ description: string;
735
+ }[];
736
+ }[];
737
+ }, {
738
+ specialties: {
739
+ id: number;
740
+ description: string;
741
+ }[];
742
+ specialtiesER: {
743
+ id: number;
744
+ description: string;
745
+ }[];
746
+ professionals: {
747
+ id: number;
748
+ fullName: string;
749
+ clinicId: number;
750
+ specialties: {
751
+ id: number;
752
+ description: string;
753
+ }[];
754
+ }[];
755
+ }>;
756
+ declare const appointment: zod_1.ZodObject<{
757
+ id: zod_1.ZodNumber;
758
+ professionalId: zod_1.ZodNumber;
759
+ date: zod_1.ZodDate;
760
+ }, "strip", zod_1.ZodTypeAny, {
761
+ date: Date;
762
+ id: number;
763
+ professionalId: number;
764
+ }, {
765
+ date: Date;
766
+ id: number;
767
+ professionalId: number;
768
+ }>;
769
+ declare const chatroomAvailabilityFilter: zod_1.ZodObject<{
770
+ limit: zod_1.ZodOptional<zod_1.ZodNumber>;
771
+ offset: zod_1.ZodOptional<zod_1.ZodNumber>;
772
+ }, "strip", zod_1.ZodTypeAny, {
773
+ offset?: number | undefined;
774
+ limit?: number | undefined;
775
+ }, {
776
+ offset?: number | undefined;
777
+ limit?: number | undefined;
778
+ }>;
779
+ declare const chatParameters: zod_1.ZodObject<{
780
+ patientId: zod_1.ZodNumber;
781
+ chatroomId: zod_1.ZodNumber;
782
+ language: zod_1.ZodString;
783
+ specialtyId: zod_1.ZodNumber;
784
+ }, "strip", zod_1.ZodTypeAny, {
785
+ patientId: number;
786
+ specialtyId: number;
787
+ language: string;
788
+ chatroomId: number;
789
+ }, {
790
+ patientId: number;
791
+ specialtyId: number;
792
+ language: string;
793
+ chatroomId: number;
794
+ }>;
795
+ declare const availableChatroom: zod_1.ZodObject<{
796
+ id: zod_1.ZodNumber;
797
+ professional: zod_1.ZodObject<{
798
+ id: zod_1.ZodNumber;
799
+ fullName: zod_1.ZodString;
800
+ logoUrl: zod_1.ZodString;
801
+ }, "strip", zod_1.ZodTypeAny, {
802
+ id: number;
803
+ fullName: string;
804
+ logoUrl: string;
805
+ }, {
806
+ id: number;
807
+ fullName: string;
808
+ logoUrl: string;
809
+ }>;
810
+ specialty: zod_1.ZodObject<{
811
+ id: zod_1.ZodNumber;
812
+ description: zod_1.ZodString;
813
+ }, "strip", zod_1.ZodTypeAny, {
814
+ id: number;
815
+ description: string;
816
+ }, {
817
+ id: number;
818
+ description: string;
819
+ }>;
820
+ }, "strip", zod_1.ZodTypeAny, {
821
+ id: number;
822
+ professional: {
823
+ id: number;
824
+ fullName: string;
825
+ logoUrl: string;
826
+ };
827
+ specialty: {
828
+ id: number;
829
+ description: string;
830
+ };
831
+ }, {
832
+ id: number;
833
+ professional: {
834
+ id: number;
835
+ fullName: string;
836
+ logoUrl: string;
837
+ };
838
+ specialty: {
839
+ id: number;
840
+ description: string;
841
+ };
842
+ }>;
843
+ declare const chatDetails: zod_1.ZodObject<{
844
+ id: zod_1.ZodNumber;
845
+ chatRoomId: zod_1.ZodNumber;
846
+ startDate: zod_1.ZodDate;
847
+ lastEventDate: zod_1.ZodDate;
848
+ closureDate: zod_1.ZodNullable<zod_1.ZodDate>;
849
+ patient: zod_1.ZodObject<{
850
+ id: zod_1.ZodNumber;
851
+ firstName: zod_1.ZodString;
852
+ lastName: zod_1.ZodString;
853
+ }, "strip", zod_1.ZodTypeAny, {
854
+ id: number;
855
+ firstName: string;
856
+ lastName: string;
857
+ }, {
858
+ id: number;
859
+ firstName: string;
860
+ lastName: string;
861
+ }>;
862
+ patientLastPost: zod_1.ZodNullable<zod_1.ZodDate>;
863
+ professional: zod_1.ZodObject<{
864
+ id: zod_1.ZodNumber;
865
+ fullName: zod_1.ZodString;
866
+ logoUrl: zod_1.ZodString;
867
+ }, "strip", zod_1.ZodTypeAny, {
868
+ id: number;
869
+ fullName: string;
870
+ logoUrl: string;
871
+ }, {
872
+ id: number;
873
+ fullName: string;
874
+ logoUrl: string;
875
+ }>;
876
+ professionalLastPost: zod_1.ZodNullable<zod_1.ZodDate>;
877
+ specialty: zod_1.ZodObject<{
878
+ id: zod_1.ZodNumber;
879
+ description: zod_1.ZodString;
880
+ }, "strip", zod_1.ZodTypeAny, {
881
+ id: number;
882
+ description: string;
883
+ }, {
884
+ id: number;
885
+ description: string;
886
+ }>;
887
+ status: zod_1.ZodString;
888
+ paymentStatus: zod_1.ZodString;
889
+ }, "strip", zod_1.ZodTypeAny, {
890
+ id: number;
891
+ patient: {
892
+ id: number;
893
+ firstName: string;
894
+ lastName: string;
895
+ };
896
+ professional: {
897
+ id: number;
898
+ fullName: string;
899
+ logoUrl: string;
900
+ };
901
+ status: string;
902
+ specialty: {
903
+ id: number;
904
+ description: string;
905
+ };
906
+ paymentStatus: string;
907
+ chatRoomId: number;
908
+ startDate: Date;
909
+ lastEventDate: Date;
910
+ closureDate: Date | null;
911
+ patientLastPost: Date | null;
912
+ professionalLastPost: Date | null;
913
+ }, {
914
+ id: number;
915
+ patient: {
916
+ id: number;
917
+ firstName: string;
918
+ lastName: string;
919
+ };
920
+ professional: {
921
+ id: number;
922
+ fullName: string;
923
+ logoUrl: string;
924
+ };
925
+ status: string;
926
+ specialty: {
927
+ id: number;
928
+ description: string;
929
+ };
930
+ paymentStatus: string;
931
+ chatRoomId: number;
932
+ startDate: Date;
933
+ lastEventDate: Date;
934
+ closureDate: Date | null;
935
+ patientLastPost: Date | null;
936
+ professionalLastPost: Date | null;
937
+ }>;
938
+ declare const chatPost: zod_1.ZodObject<{
939
+ id: zod_1.ZodNumber;
940
+ userType: zod_1.ZodEnum<["patient", "professional"]>;
941
+ message: zod_1.ZodString;
942
+ date: zod_1.ZodDate;
943
+ }, "strip", zod_1.ZodTypeAny, {
944
+ date: Date;
945
+ message: string;
946
+ id: number;
947
+ userType: "patient" | "professional";
948
+ }, {
949
+ date: Date;
950
+ message: string;
951
+ id: number;
952
+ userType: "patient" | "professional";
953
+ }>;
954
+ declare const enrollmentParams: zod_1.ZodObject<{
955
+ firstName: zod_1.ZodString;
956
+ lastName: zod_1.ZodString;
957
+ gender: zod_1.ZodEnum<["m", "f"]>;
958
+ identificationNumber: zod_1.ZodString;
959
+ birthdate: zod_1.ZodDate;
960
+ email: zod_1.ZodString;
961
+ plan: zod_1.ZodString;
962
+ startDate: zod_1.ZodDate;
963
+ }, "strip", zod_1.ZodTypeAny, {
964
+ firstName: string;
965
+ lastName: string;
966
+ gender: "m" | "f";
967
+ email: string;
968
+ birthdate: Date;
969
+ startDate: Date;
970
+ identificationNumber: string;
971
+ plan: string;
972
+ }, {
973
+ firstName: string;
974
+ lastName: string;
975
+ gender: "m" | "f";
976
+ email: string;
977
+ birthdate: Date;
978
+ startDate: Date;
979
+ identificationNumber: string;
980
+ plan: string;
981
+ }>;
982
+ declare const diagnosticaHistoryAppointment: zod_1.ZodObject<{
983
+ date: zod_1.ZodDate;
984
+ location: zod_1.ZodString;
985
+ exams: zod_1.ZodArray<zod_1.ZodString, "many">;
986
+ deepLink: zod_1.ZodString;
987
+ }, "strip", zod_1.ZodTypeAny, {
988
+ date: Date;
989
+ location: string;
990
+ exams: string[];
991
+ deepLink: string;
992
+ }, {
993
+ date: Date;
994
+ location: string;
995
+ exams: string[];
996
+ deepLink: string;
997
+ }>;
998
+ declare const diagnosticaUser: zod_1.ZodObject<zod_1.extendShape<{
999
+ firstName: zod_1.ZodString;
1000
+ lastName: zod_1.ZodString;
1001
+ birthday: zod_1.ZodDate;
1002
+ identificationType: zod_1.ZodLiteral<"dni">;
1003
+ identificationValue: zod_1.ZodString;
1004
+ gender: zod_1.ZodEnum<["m", "f"]>;
1005
+ }, {
1006
+ phone: zod_1.ZodString;
1007
+ email: zod_1.ZodString;
1008
+ language: zod_1.ZodString;
1009
+ }>, "strip", zod_1.ZodTypeAny, {
1010
+ language: string;
1011
+ firstName: string;
1012
+ lastName: string;
1013
+ birthday: Date;
1014
+ identificationType: "dni";
1015
+ identificationValue: string;
1016
+ gender: "m" | "f";
1017
+ phone: string;
1018
+ email: string;
1019
+ }, {
1020
+ language: string;
1021
+ firstName: string;
1022
+ lastName: string;
1023
+ birthday: Date;
1024
+ identificationType: "dni";
1025
+ identificationValue: string;
1026
+ gender: "m" | "f";
1027
+ phone: string;
1028
+ email: string;
1029
+ }>;
1030
+ declare const diagnosticaPatient: zod_1.ZodObject<{
1031
+ firstName: zod_1.ZodString;
1032
+ lastName: zod_1.ZodString;
1033
+ birthday: zod_1.ZodDate;
1034
+ identificationType: zod_1.ZodLiteral<"dni">;
1035
+ identificationValue: zod_1.ZodString;
1036
+ gender: zod_1.ZodEnum<["m", "f"]>;
1037
+ }, "strip", zod_1.ZodTypeAny, {
1038
+ firstName: string;
1039
+ lastName: string;
1040
+ birthday: Date;
1041
+ identificationType: "dni";
1042
+ identificationValue: string;
1043
+ gender: "m" | "f";
1044
+ }, {
1045
+ firstName: string;
1046
+ lastName: string;
1047
+ birthday: Date;
1048
+ identificationType: "dni";
1049
+ identificationValue: string;
1050
+ gender: "m" | "f";
1051
+ }>;
1052
+ declare const diagnosticaDeepLinkResponse: zod_1.ZodUnion<[zod_1.ZodObject<{
1053
+ forwardingRequired: zod_1.ZodLiteral<true>;
1054
+ deepLink: zod_1.ZodString;
1055
+ }, "strip", zod_1.ZodTypeAny, {
1056
+ forwardingRequired: true;
1057
+ deepLink: string;
1058
+ }, {
1059
+ forwardingRequired: true;
1060
+ deepLink: string;
1061
+ }>, zod_1.ZodObject<{
1062
+ forwardingRequired: zod_1.ZodLiteral<false>;
1063
+ }, "strip", zod_1.ZodTypeAny, {
1064
+ forwardingRequired: false;
1065
+ }, {
1066
+ forwardingRequired: false;
1067
+ }>]>;
1068
+ declare const coverageInfo: zod_1.ZodNullable<zod_1.ZodObject<{
1069
+ financerId: zod_1.ZodNullable<zod_1.ZodNumber>;
1070
+ defaultAffiliationId: zod_1.ZodNullable<zod_1.ZodNumber>;
1071
+ plan: zod_1.ZodNullable<zod_1.ZodString>;
1072
+ identificationNumber: zod_1.ZodString;
1073
+ credentialNumber: zod_1.ZodNullable<zod_1.ZodString>;
1074
+ lastName: zod_1.ZodNullable<zod_1.ZodString>;
1075
+ firstName: zod_1.ZodNullable<zod_1.ZodString>;
1076
+ birthdate: zod_1.ZodDate;
1077
+ financerPlanId: zod_1.ZodNullable<zod_1.ZodNumber>;
1078
+ gender: zod_1.ZodEnum<["m", "f"]>;
1079
+ brand: zod_1.ZodNullable<zod_1.ZodNumber>;
1080
+ holderIdentificationNumber: zod_1.ZodNullable<zod_1.ZodString>;
1081
+ copaymentValue: zod_1.ZodNullable<zod_1.ZodNumber>;
1082
+ mobilePhone: zod_1.ZodNullable<zod_1.ZodString>;
1083
+ company: zod_1.ZodNullable<zod_1.ZodString>;
1084
+ email: zod_1.ZodNullable<zod_1.ZodString>;
1085
+ dischargeDate: zod_1.ZodNullable<zod_1.ZodDate>;
1086
+ leavingDate: zod_1.ZodNullable<zod_1.ZodDate>;
1087
+ identificacion_tributaria: zod_1.ZodNullable<zod_1.ZodString>;
1088
+ deregistrationDate: zod_1.ZodNullable<zod_1.ZodDate>;
1089
+ authorizationCode: zod_1.ZodNullable<zod_1.ZodString>;
1090
+ authorizationCodeExpiration: zod_1.ZodNullable<zod_1.ZodDate>;
1091
+ }, "strip", zod_1.ZodTypeAny, {
1092
+ firstName: string | null;
1093
+ lastName: string | null;
1094
+ gender: "m" | "f";
1095
+ email: string | null;
1096
+ birthdate: Date;
1097
+ identificationNumber: string;
1098
+ plan: string | null;
1099
+ financerId: number | null;
1100
+ defaultAffiliationId: number | null;
1101
+ credentialNumber: string | null;
1102
+ financerPlanId: number | null;
1103
+ brand: number | null;
1104
+ holderIdentificationNumber: string | null;
1105
+ copaymentValue: number | null;
1106
+ mobilePhone: string | null;
1107
+ company: string | null;
1108
+ dischargeDate: Date | null;
1109
+ leavingDate: Date | null;
1110
+ identificacion_tributaria: string | null;
1111
+ deregistrationDate: Date | null;
1112
+ authorizationCode: string | null;
1113
+ authorizationCodeExpiration: Date | null;
1114
+ }, {
1115
+ firstName: string | null;
1116
+ lastName: string | null;
1117
+ gender: "m" | "f";
1118
+ email: string | null;
1119
+ birthdate: Date;
1120
+ identificationNumber: string;
1121
+ plan: string | null;
1122
+ financerId: number | null;
1123
+ defaultAffiliationId: number | null;
1124
+ credentialNumber: string | null;
1125
+ financerPlanId: number | null;
1126
+ brand: number | null;
1127
+ holderIdentificationNumber: string | null;
1128
+ copaymentValue: number | null;
1129
+ mobilePhone: string | null;
1130
+ company: string | null;
1131
+ dischargeDate: Date | null;
1132
+ leavingDate: Date | null;
1133
+ identificacion_tributaria: string | null;
1134
+ deregistrationDate: Date | null;
1135
+ authorizationCode: string | null;
1136
+ authorizationCodeExpiration: Date | null;
1137
+ }>>;
1138
+ export {};