@metriport/commonwell-sdk 4.3.2 → 4.3.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.
Files changed (58) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +40 -40
  3. package/lib/client/commonwell-api.d.ts +49 -49
  4. package/lib/client/commonwell-api.js +2 -2
  5. package/lib/client/commonwell.d.ts +425 -425
  6. package/lib/client/commonwell.js +739 -739
  7. package/lib/client/document.d.ts +7 -7
  8. package/lib/client/document.js +71 -71
  9. package/lib/common/commonwell-error.d.ts +12 -12
  10. package/lib/common/commonwell-error.js +34 -34
  11. package/lib/common/fileDownload.d.ts +11 -11
  12. package/lib/common/fileDownload.js +43 -43
  13. package/lib/common/make-jwt.d.ts +24 -24
  14. package/lib/common/make-jwt.js +90 -90
  15. package/lib/common/metriport-error.d.ts +4 -4
  16. package/lib/common/metriport-error.js +33 -33
  17. package/lib/common/util.d.ts +25 -25
  18. package/lib/common/util.js +70 -70
  19. package/lib/common/validate-npi.d.ts +9 -9
  20. package/lib/common/validate-npi.js +39 -39
  21. package/lib/index.d.ts +20 -20
  22. package/lib/index.js +54 -54
  23. package/lib/models/address.d.ts +50 -50
  24. package/lib/models/address.js +28 -28
  25. package/lib/models/certificates.d.ts +156 -156
  26. package/lib/models/certificates.js +26 -26
  27. package/lib/models/contact.d.ts +50 -50
  28. package/lib/models/contact.js +39 -39
  29. package/lib/models/demographics.d.ts +292 -292
  30. package/lib/models/demographics.js +34 -34
  31. package/lib/models/document.d.ts +4421 -4421
  32. package/lib/models/document.js +151 -151
  33. package/lib/models/enrollment-summary.d.ts +18 -18
  34. package/lib/models/enrollment-summary.js +14 -14
  35. package/lib/models/facility.d.ts +75 -75
  36. package/lib/models/facility.js +10 -10
  37. package/lib/models/human-name.d.ts +53 -53
  38. package/lib/models/human-name.js +37 -37
  39. package/lib/models/identifier.d.ts +79 -79
  40. package/lib/models/identifier.js +36 -36
  41. package/lib/models/iso-date.d.ts +3 -3
  42. package/lib/models/iso-date.js +6 -6
  43. package/lib/models/iso-datetime.d.ts +3 -3
  44. package/lib/models/iso-datetime.js +8 -8
  45. package/lib/models/link.d.ts +642 -642
  46. package/lib/models/link.js +50 -50
  47. package/lib/models/organization.d.ts +763 -763
  48. package/lib/models/organization.js +83 -83
  49. package/lib/models/patient.d.ts +3617 -3617
  50. package/lib/models/patient.js +49 -49
  51. package/lib/models/period.d.ts +12 -12
  52. package/lib/models/period.js +12 -12
  53. package/lib/models/person.d.ts +2440 -2440
  54. package/lib/models/person.js +39 -39
  55. package/lib/models/purpose-of-use.d.ts +29 -29
  56. package/lib/models/purpose-of-use.js +34 -34
  57. package/package.json +2 -2
  58. package/lib/tst.d.ts +0 -54
@@ -1,763 +1,763 @@
1
- import { z } from "zod";
2
- export declare const organizationSchema: z.ZodObject<{
3
- organizationId: z.ZodString;
4
- homeCommunityId: z.ZodString;
5
- name: z.ZodString;
6
- displayName: z.ZodString;
7
- memberName: z.ZodString;
8
- type: z.ZodString;
9
- patientIdAssignAuthority: z.ZodString;
10
- securityTokenKeyType: z.ZodString;
11
- sendingFacility: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12
- namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
- universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
- universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
- }, "strip", z.ZodTypeAny, {
16
- namespaceId?: string | null | undefined;
17
- universalId?: string | null | undefined;
18
- universalIdType?: string | null | undefined;
19
- }, {
20
- namespaceId?: string | null | undefined;
21
- universalId?: string | null | undefined;
22
- universalIdType?: string | null | undefined;
23
- }>>>;
24
- sendingApplication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
25
- namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
26
- universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
- universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
- }, "strip", z.ZodTypeAny, {
29
- namespaceId?: string | null | undefined;
30
- universalId?: string | null | undefined;
31
- universalIdType?: string | null | undefined;
32
- }, {
33
- namespaceId?: string | null | undefined;
34
- universalId?: string | null | undefined;
35
- universalIdType?: string | null | undefined;
36
- }>>>;
37
- isActive: z.ZodBoolean;
38
- locations: z.ZodArray<z.ZodObject<{
39
- address1: z.ZodString;
40
- address2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
41
- city: z.ZodString;
42
- state: z.ZodString;
43
- postalCode: z.ZodString;
44
- country: z.ZodString;
45
- phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
- fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
- }, "strip", z.ZodTypeAny, {
49
- city: string;
50
- state: string;
51
- country: string;
52
- address1: string;
53
- postalCode: string;
54
- address2?: string | null | undefined;
55
- phone?: string | null | undefined;
56
- fax?: string | null | undefined;
57
- email?: string | null | undefined;
58
- }, {
59
- city: string;
60
- state: string;
61
- country: string;
62
- address1: string;
63
- postalCode: string;
64
- address2?: string | null | undefined;
65
- phone?: string | null | undefined;
66
- fax?: string | null | undefined;
67
- email?: string | null | undefined;
68
- }>, "many">;
69
- technicalContacts: z.ZodArray<z.ZodObject<{
70
- name: z.ZodString;
71
- title: z.ZodString;
72
- email: z.ZodString;
73
- phone: z.ZodString;
74
- }, "strip", z.ZodTypeAny, {
75
- name: string;
76
- phone: string;
77
- email: string;
78
- title: string;
79
- }, {
80
- name: string;
81
- phone: string;
82
- email: string;
83
- title: string;
84
- }>, "many">;
85
- gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
86
- serviceType: z.ZodString;
87
- gatewayType: z.ZodString;
88
- isAsync: z.ZodOptional<z.ZodBoolean>;
89
- gatewayTimeout: z.ZodOptional<z.ZodNumber>;
90
- endpointLocation: z.ZodOptional<z.ZodString>;
91
- }, "strip", z.ZodTypeAny, {
92
- serviceType: string;
93
- gatewayType: string;
94
- isAsync?: boolean | undefined;
95
- gatewayTimeout?: number | undefined;
96
- endpointLocation?: string | undefined;
97
- }, {
98
- serviceType: string;
99
- gatewayType: string;
100
- isAsync?: boolean | undefined;
101
- gatewayTimeout?: number | undefined;
102
- endpointLocation?: string | undefined;
103
- }>, "many">>>;
104
- authorizationInformation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
105
- authorizationServerEndpoint: z.ZodString;
106
- clientId: z.ZodString;
107
- clientSecret: z.ZodString;
108
- documentReferenceScope: z.ZodString;
109
- binaryScope: z.ZodString;
110
- }, "strip", z.ZodTypeAny, {
111
- authorizationServerEndpoint: string;
112
- clientId: string;
113
- clientSecret: string;
114
- documentReferenceScope: string;
115
- binaryScope: string;
116
- }, {
117
- authorizationServerEndpoint: string;
118
- clientId: string;
119
- clientSecret: string;
120
- documentReferenceScope: string;
121
- binaryScope: string;
122
- }>>>;
123
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
124
- self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
125
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
127
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
128
- }, "strip", z.ZodTypeAny, {
129
- href?: string | null | undefined;
130
- templated?: boolean | null | undefined;
131
- type?: string | null | undefined;
132
- }, {
133
- href?: string | null | undefined;
134
- templated?: boolean | null | undefined;
135
- type?: string | null | undefined;
136
- }>>>;
137
- certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
138
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
139
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
140
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
141
- }, "strip", z.ZodTypeAny, {
142
- href?: string | null | undefined;
143
- templated?: boolean | null | undefined;
144
- type?: string | null | undefined;
145
- }, {
146
- href?: string | null | undefined;
147
- templated?: boolean | null | undefined;
148
- type?: string | null | undefined;
149
- }>>>;
150
- }, "strip", z.ZodTypeAny, {
151
- self?: {
152
- href?: string | null | undefined;
153
- templated?: boolean | null | undefined;
154
- type?: string | null | undefined;
155
- } | null | undefined;
156
- certificate?: {
157
- href?: string | null | undefined;
158
- templated?: boolean | null | undefined;
159
- type?: string | null | undefined;
160
- } | null | undefined;
161
- }, {
162
- self?: {
163
- href?: string | null | undefined;
164
- templated?: boolean | null | undefined;
165
- type?: string | null | undefined;
166
- } | null | undefined;
167
- certificate?: {
168
- href?: string | null | undefined;
169
- templated?: boolean | null | undefined;
170
- type?: string | null | undefined;
171
- } | null | undefined;
172
- }>>>;
173
- }, "strip", z.ZodTypeAny, {
174
- type: string;
175
- name: string;
176
- organizationId: string;
177
- homeCommunityId: string;
178
- displayName: string;
179
- memberName: string;
180
- patientIdAssignAuthority: string;
181
- securityTokenKeyType: string;
182
- isActive: boolean;
183
- locations: {
184
- city: string;
185
- state: string;
186
- country: string;
187
- address1: string;
188
- postalCode: string;
189
- address2?: string | null | undefined;
190
- phone?: string | null | undefined;
191
- fax?: string | null | undefined;
192
- email?: string | null | undefined;
193
- }[];
194
- technicalContacts: {
195
- name: string;
196
- phone: string;
197
- email: string;
198
- title: string;
199
- }[];
200
- sendingFacility?: {
201
- namespaceId?: string | null | undefined;
202
- universalId?: string | null | undefined;
203
- universalIdType?: string | null | undefined;
204
- } | null | undefined;
205
- sendingApplication?: {
206
- namespaceId?: string | null | undefined;
207
- universalId?: string | null | undefined;
208
- universalIdType?: string | null | undefined;
209
- } | null | undefined;
210
- gateways?: {
211
- serviceType: string;
212
- gatewayType: string;
213
- isAsync?: boolean | undefined;
214
- gatewayTimeout?: number | undefined;
215
- endpointLocation?: string | undefined;
216
- }[] | null | undefined;
217
- authorizationInformation?: {
218
- authorizationServerEndpoint: string;
219
- clientId: string;
220
- clientSecret: string;
221
- documentReferenceScope: string;
222
- binaryScope: string;
223
- } | null | undefined;
224
- _links?: {
225
- self?: {
226
- href?: string | null | undefined;
227
- templated?: boolean | null | undefined;
228
- type?: string | null | undefined;
229
- } | null | undefined;
230
- certificate?: {
231
- href?: string | null | undefined;
232
- templated?: boolean | null | undefined;
233
- type?: string | null | undefined;
234
- } | null | undefined;
235
- } | null | undefined;
236
- }, {
237
- type: string;
238
- name: string;
239
- organizationId: string;
240
- homeCommunityId: string;
241
- displayName: string;
242
- memberName: string;
243
- patientIdAssignAuthority: string;
244
- securityTokenKeyType: string;
245
- isActive: boolean;
246
- locations: {
247
- city: string;
248
- state: string;
249
- country: string;
250
- address1: string;
251
- postalCode: string;
252
- address2?: string | null | undefined;
253
- phone?: string | null | undefined;
254
- fax?: string | null | undefined;
255
- email?: string | null | undefined;
256
- }[];
257
- technicalContacts: {
258
- name: string;
259
- phone: string;
260
- email: string;
261
- title: string;
262
- }[];
263
- sendingFacility?: {
264
- namespaceId?: string | null | undefined;
265
- universalId?: string | null | undefined;
266
- universalIdType?: string | null | undefined;
267
- } | null | undefined;
268
- sendingApplication?: {
269
- namespaceId?: string | null | undefined;
270
- universalId?: string | null | undefined;
271
- universalIdType?: string | null | undefined;
272
- } | null | undefined;
273
- gateways?: {
274
- serviceType: string;
275
- gatewayType: string;
276
- isAsync?: boolean | undefined;
277
- gatewayTimeout?: number | undefined;
278
- endpointLocation?: string | undefined;
279
- }[] | null | undefined;
280
- authorizationInformation?: {
281
- authorizationServerEndpoint: string;
282
- clientId: string;
283
- clientSecret: string;
284
- documentReferenceScope: string;
285
- binaryScope: string;
286
- } | null | undefined;
287
- _links?: {
288
- self?: {
289
- href?: string | null | undefined;
290
- templated?: boolean | null | undefined;
291
- type?: string | null | undefined;
292
- } | null | undefined;
293
- certificate?: {
294
- href?: string | null | undefined;
295
- templated?: boolean | null | undefined;
296
- type?: string | null | undefined;
297
- } | null | undefined;
298
- } | null | undefined;
299
- }>;
300
- export type Organization = z.infer<typeof organizationSchema>;
301
- export declare const organizationListSchema: z.ZodObject<{
302
- count: z.ZodNumber;
303
- from: z.ZodNumber;
304
- to: z.ZodNumber;
305
- organizations: z.ZodArray<z.ZodObject<{
306
- organizationId: z.ZodString;
307
- homeCommunityId: z.ZodString;
308
- name: z.ZodString;
309
- displayName: z.ZodString;
310
- memberName: z.ZodString;
311
- type: z.ZodString;
312
- patientIdAssignAuthority: z.ZodString;
313
- securityTokenKeyType: z.ZodString;
314
- sendingFacility: z.ZodNullable<z.ZodOptional<z.ZodObject<{
315
- namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
- universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
- universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
318
- }, "strip", z.ZodTypeAny, {
319
- namespaceId?: string | null | undefined;
320
- universalId?: string | null | undefined;
321
- universalIdType?: string | null | undefined;
322
- }, {
323
- namespaceId?: string | null | undefined;
324
- universalId?: string | null | undefined;
325
- universalIdType?: string | null | undefined;
326
- }>>>;
327
- sendingApplication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
328
- namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
- universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
330
- universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
331
- }, "strip", z.ZodTypeAny, {
332
- namespaceId?: string | null | undefined;
333
- universalId?: string | null | undefined;
334
- universalIdType?: string | null | undefined;
335
- }, {
336
- namespaceId?: string | null | undefined;
337
- universalId?: string | null | undefined;
338
- universalIdType?: string | null | undefined;
339
- }>>>;
340
- isActive: z.ZodBoolean;
341
- locations: z.ZodArray<z.ZodObject<{
342
- address1: z.ZodString;
343
- address2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
344
- city: z.ZodString;
345
- state: z.ZodString;
346
- postalCode: z.ZodString;
347
- country: z.ZodString;
348
- phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
349
- fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
350
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
351
- }, "strip", z.ZodTypeAny, {
352
- city: string;
353
- state: string;
354
- country: string;
355
- address1: string;
356
- postalCode: string;
357
- address2?: string | null | undefined;
358
- phone?: string | null | undefined;
359
- fax?: string | null | undefined;
360
- email?: string | null | undefined;
361
- }, {
362
- city: string;
363
- state: string;
364
- country: string;
365
- address1: string;
366
- postalCode: string;
367
- address2?: string | null | undefined;
368
- phone?: string | null | undefined;
369
- fax?: string | null | undefined;
370
- email?: string | null | undefined;
371
- }>, "many">;
372
- technicalContacts: z.ZodArray<z.ZodObject<{
373
- name: z.ZodString;
374
- title: z.ZodString;
375
- email: z.ZodString;
376
- phone: z.ZodString;
377
- }, "strip", z.ZodTypeAny, {
378
- name: string;
379
- phone: string;
380
- email: string;
381
- title: string;
382
- }, {
383
- name: string;
384
- phone: string;
385
- email: string;
386
- title: string;
387
- }>, "many">;
388
- gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
389
- serviceType: z.ZodString;
390
- gatewayType: z.ZodString;
391
- isAsync: z.ZodOptional<z.ZodBoolean>;
392
- gatewayTimeout: z.ZodOptional<z.ZodNumber>;
393
- endpointLocation: z.ZodOptional<z.ZodString>;
394
- }, "strip", z.ZodTypeAny, {
395
- serviceType: string;
396
- gatewayType: string;
397
- isAsync?: boolean | undefined;
398
- gatewayTimeout?: number | undefined;
399
- endpointLocation?: string | undefined;
400
- }, {
401
- serviceType: string;
402
- gatewayType: string;
403
- isAsync?: boolean | undefined;
404
- gatewayTimeout?: number | undefined;
405
- endpointLocation?: string | undefined;
406
- }>, "many">>>;
407
- authorizationInformation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
408
- authorizationServerEndpoint: z.ZodString;
409
- clientId: z.ZodString;
410
- clientSecret: z.ZodString;
411
- documentReferenceScope: z.ZodString;
412
- binaryScope: z.ZodString;
413
- }, "strip", z.ZodTypeAny, {
414
- authorizationServerEndpoint: string;
415
- clientId: string;
416
- clientSecret: string;
417
- documentReferenceScope: string;
418
- binaryScope: string;
419
- }, {
420
- authorizationServerEndpoint: string;
421
- clientId: string;
422
- clientSecret: string;
423
- documentReferenceScope: string;
424
- binaryScope: string;
425
- }>>>;
426
- _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
427
- self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
428
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
429
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
430
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
431
- }, "strip", z.ZodTypeAny, {
432
- href?: string | null | undefined;
433
- templated?: boolean | null | undefined;
434
- type?: string | null | undefined;
435
- }, {
436
- href?: string | null | undefined;
437
- templated?: boolean | null | undefined;
438
- type?: string | null | undefined;
439
- }>>>;
440
- certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
441
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
442
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
443
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
444
- }, "strip", z.ZodTypeAny, {
445
- href?: string | null | undefined;
446
- templated?: boolean | null | undefined;
447
- type?: string | null | undefined;
448
- }, {
449
- href?: string | null | undefined;
450
- templated?: boolean | null | undefined;
451
- type?: string | null | undefined;
452
- }>>>;
453
- }, "strip", z.ZodTypeAny, {
454
- self?: {
455
- href?: string | null | undefined;
456
- templated?: boolean | null | undefined;
457
- type?: string | null | undefined;
458
- } | null | undefined;
459
- certificate?: {
460
- href?: string | null | undefined;
461
- templated?: boolean | null | undefined;
462
- type?: string | null | undefined;
463
- } | null | undefined;
464
- }, {
465
- self?: {
466
- href?: string | null | undefined;
467
- templated?: boolean | null | undefined;
468
- type?: string | null | undefined;
469
- } | null | undefined;
470
- certificate?: {
471
- href?: string | null | undefined;
472
- templated?: boolean | null | undefined;
473
- type?: string | null | undefined;
474
- } | null | undefined;
475
- }>>>;
476
- }, "strip", z.ZodTypeAny, {
477
- type: string;
478
- name: string;
479
- organizationId: string;
480
- homeCommunityId: string;
481
- displayName: string;
482
- memberName: string;
483
- patientIdAssignAuthority: string;
484
- securityTokenKeyType: string;
485
- isActive: boolean;
486
- locations: {
487
- city: string;
488
- state: string;
489
- country: string;
490
- address1: string;
491
- postalCode: string;
492
- address2?: string | null | undefined;
493
- phone?: string | null | undefined;
494
- fax?: string | null | undefined;
495
- email?: string | null | undefined;
496
- }[];
497
- technicalContacts: {
498
- name: string;
499
- phone: string;
500
- email: string;
501
- title: string;
502
- }[];
503
- sendingFacility?: {
504
- namespaceId?: string | null | undefined;
505
- universalId?: string | null | undefined;
506
- universalIdType?: string | null | undefined;
507
- } | null | undefined;
508
- sendingApplication?: {
509
- namespaceId?: string | null | undefined;
510
- universalId?: string | null | undefined;
511
- universalIdType?: string | null | undefined;
512
- } | null | undefined;
513
- gateways?: {
514
- serviceType: string;
515
- gatewayType: string;
516
- isAsync?: boolean | undefined;
517
- gatewayTimeout?: number | undefined;
518
- endpointLocation?: string | undefined;
519
- }[] | null | undefined;
520
- authorizationInformation?: {
521
- authorizationServerEndpoint: string;
522
- clientId: string;
523
- clientSecret: string;
524
- documentReferenceScope: string;
525
- binaryScope: string;
526
- } | null | undefined;
527
- _links?: {
528
- self?: {
529
- href?: string | null | undefined;
530
- templated?: boolean | null | undefined;
531
- type?: string | null | undefined;
532
- } | null | undefined;
533
- certificate?: {
534
- href?: string | null | undefined;
535
- templated?: boolean | null | undefined;
536
- type?: string | null | undefined;
537
- } | null | undefined;
538
- } | null | undefined;
539
- }, {
540
- type: string;
541
- name: string;
542
- organizationId: string;
543
- homeCommunityId: string;
544
- displayName: string;
545
- memberName: string;
546
- patientIdAssignAuthority: string;
547
- securityTokenKeyType: string;
548
- isActive: boolean;
549
- locations: {
550
- city: string;
551
- state: string;
552
- country: string;
553
- address1: string;
554
- postalCode: string;
555
- address2?: string | null | undefined;
556
- phone?: string | null | undefined;
557
- fax?: string | null | undefined;
558
- email?: string | null | undefined;
559
- }[];
560
- technicalContacts: {
561
- name: string;
562
- phone: string;
563
- email: string;
564
- title: string;
565
- }[];
566
- sendingFacility?: {
567
- namespaceId?: string | null | undefined;
568
- universalId?: string | null | undefined;
569
- universalIdType?: string | null | undefined;
570
- } | null | undefined;
571
- sendingApplication?: {
572
- namespaceId?: string | null | undefined;
573
- universalId?: string | null | undefined;
574
- universalIdType?: string | null | undefined;
575
- } | null | undefined;
576
- gateways?: {
577
- serviceType: string;
578
- gatewayType: string;
579
- isAsync?: boolean | undefined;
580
- gatewayTimeout?: number | undefined;
581
- endpointLocation?: string | undefined;
582
- }[] | null | undefined;
583
- authorizationInformation?: {
584
- authorizationServerEndpoint: string;
585
- clientId: string;
586
- clientSecret: string;
587
- documentReferenceScope: string;
588
- binaryScope: string;
589
- } | null | undefined;
590
- _links?: {
591
- self?: {
592
- href?: string | null | undefined;
593
- templated?: boolean | null | undefined;
594
- type?: string | null | undefined;
595
- } | null | undefined;
596
- certificate?: {
597
- href?: string | null | undefined;
598
- templated?: boolean | null | undefined;
599
- type?: string | null | undefined;
600
- } | null | undefined;
601
- } | null | undefined;
602
- }>, "many">;
603
- _links: z.ZodObject<{
604
- href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
605
- templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
606
- type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
607
- }, "strip", z.ZodTypeAny, {
608
- href?: string | null | undefined;
609
- templated?: boolean | null | undefined;
610
- type?: string | null | undefined;
611
- }, {
612
- href?: string | null | undefined;
613
- templated?: boolean | null | undefined;
614
- type?: string | null | undefined;
615
- }>;
616
- }, "strip", z.ZodTypeAny, {
617
- _links: {
618
- href?: string | null | undefined;
619
- templated?: boolean | null | undefined;
620
- type?: string | null | undefined;
621
- };
622
- count: number;
623
- from: number;
624
- to: number;
625
- organizations: {
626
- type: string;
627
- name: string;
628
- organizationId: string;
629
- homeCommunityId: string;
630
- displayName: string;
631
- memberName: string;
632
- patientIdAssignAuthority: string;
633
- securityTokenKeyType: string;
634
- isActive: boolean;
635
- locations: {
636
- city: string;
637
- state: string;
638
- country: string;
639
- address1: string;
640
- postalCode: string;
641
- address2?: string | null | undefined;
642
- phone?: string | null | undefined;
643
- fax?: string | null | undefined;
644
- email?: string | null | undefined;
645
- }[];
646
- technicalContacts: {
647
- name: string;
648
- phone: string;
649
- email: string;
650
- title: string;
651
- }[];
652
- sendingFacility?: {
653
- namespaceId?: string | null | undefined;
654
- universalId?: string | null | undefined;
655
- universalIdType?: string | null | undefined;
656
- } | null | undefined;
657
- sendingApplication?: {
658
- namespaceId?: string | null | undefined;
659
- universalId?: string | null | undefined;
660
- universalIdType?: string | null | undefined;
661
- } | null | undefined;
662
- gateways?: {
663
- serviceType: string;
664
- gatewayType: string;
665
- isAsync?: boolean | undefined;
666
- gatewayTimeout?: number | undefined;
667
- endpointLocation?: string | undefined;
668
- }[] | null | undefined;
669
- authorizationInformation?: {
670
- authorizationServerEndpoint: string;
671
- clientId: string;
672
- clientSecret: string;
673
- documentReferenceScope: string;
674
- binaryScope: string;
675
- } | null | undefined;
676
- _links?: {
677
- self?: {
678
- href?: string | null | undefined;
679
- templated?: boolean | null | undefined;
680
- type?: string | null | undefined;
681
- } | null | undefined;
682
- certificate?: {
683
- href?: string | null | undefined;
684
- templated?: boolean | null | undefined;
685
- type?: string | null | undefined;
686
- } | null | undefined;
687
- } | null | undefined;
688
- }[];
689
- }, {
690
- _links: {
691
- href?: string | null | undefined;
692
- templated?: boolean | null | undefined;
693
- type?: string | null | undefined;
694
- };
695
- count: number;
696
- from: number;
697
- to: number;
698
- organizations: {
699
- type: string;
700
- name: string;
701
- organizationId: string;
702
- homeCommunityId: string;
703
- displayName: string;
704
- memberName: string;
705
- patientIdAssignAuthority: string;
706
- securityTokenKeyType: string;
707
- isActive: boolean;
708
- locations: {
709
- city: string;
710
- state: string;
711
- country: string;
712
- address1: string;
713
- postalCode: string;
714
- address2?: string | null | undefined;
715
- phone?: string | null | undefined;
716
- fax?: string | null | undefined;
717
- email?: string | null | undefined;
718
- }[];
719
- technicalContacts: {
720
- name: string;
721
- phone: string;
722
- email: string;
723
- title: string;
724
- }[];
725
- sendingFacility?: {
726
- namespaceId?: string | null | undefined;
727
- universalId?: string | null | undefined;
728
- universalIdType?: string | null | undefined;
729
- } | null | undefined;
730
- sendingApplication?: {
731
- namespaceId?: string | null | undefined;
732
- universalId?: string | null | undefined;
733
- universalIdType?: string | null | undefined;
734
- } | null | undefined;
735
- gateways?: {
736
- serviceType: string;
737
- gatewayType: string;
738
- isAsync?: boolean | undefined;
739
- gatewayTimeout?: number | undefined;
740
- endpointLocation?: string | undefined;
741
- }[] | null | undefined;
742
- authorizationInformation?: {
743
- authorizationServerEndpoint: string;
744
- clientId: string;
745
- clientSecret: string;
746
- documentReferenceScope: string;
747
- binaryScope: string;
748
- } | null | undefined;
749
- _links?: {
750
- self?: {
751
- href?: string | null | undefined;
752
- templated?: boolean | null | undefined;
753
- type?: string | null | undefined;
754
- } | null | undefined;
755
- certificate?: {
756
- href?: string | null | undefined;
757
- templated?: boolean | null | undefined;
758
- type?: string | null | undefined;
759
- } | null | undefined;
760
- } | null | undefined;
761
- }[];
762
- }>;
763
- export type OrganizationList = z.infer<typeof organizationListSchema>;
1
+ import { z } from "zod";
2
+ export declare const organizationSchema: z.ZodObject<{
3
+ organizationId: z.ZodString;
4
+ homeCommunityId: z.ZodString;
5
+ name: z.ZodString;
6
+ displayName: z.ZodString;
7
+ memberName: z.ZodString;
8
+ type: z.ZodString;
9
+ patientIdAssignAuthority: z.ZodString;
10
+ securityTokenKeyType: z.ZodString;
11
+ sendingFacility: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12
+ namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
+ universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
+ universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ namespaceId?: string | null | undefined;
17
+ universalId?: string | null | undefined;
18
+ universalIdType?: string | null | undefined;
19
+ }, {
20
+ namespaceId?: string | null | undefined;
21
+ universalId?: string | null | undefined;
22
+ universalIdType?: string | null | undefined;
23
+ }>>>;
24
+ sendingApplication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
25
+ namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
26
+ universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
+ universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ namespaceId?: string | null | undefined;
30
+ universalId?: string | null | undefined;
31
+ universalIdType?: string | null | undefined;
32
+ }, {
33
+ namespaceId?: string | null | undefined;
34
+ universalId?: string | null | undefined;
35
+ universalIdType?: string | null | undefined;
36
+ }>>>;
37
+ isActive: z.ZodBoolean;
38
+ locations: z.ZodArray<z.ZodObject<{
39
+ address1: z.ZodString;
40
+ address2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
41
+ city: z.ZodString;
42
+ state: z.ZodString;
43
+ postalCode: z.ZodString;
44
+ country: z.ZodString;
45
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
+ fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ city: string;
50
+ state: string;
51
+ country: string;
52
+ address1: string;
53
+ postalCode: string;
54
+ address2?: string | null | undefined;
55
+ phone?: string | null | undefined;
56
+ fax?: string | null | undefined;
57
+ email?: string | null | undefined;
58
+ }, {
59
+ city: string;
60
+ state: string;
61
+ country: string;
62
+ address1: string;
63
+ postalCode: string;
64
+ address2?: string | null | undefined;
65
+ phone?: string | null | undefined;
66
+ fax?: string | null | undefined;
67
+ email?: string | null | undefined;
68
+ }>, "many">;
69
+ technicalContacts: z.ZodArray<z.ZodObject<{
70
+ name: z.ZodString;
71
+ title: z.ZodString;
72
+ email: z.ZodString;
73
+ phone: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ name: string;
76
+ phone: string;
77
+ email: string;
78
+ title: string;
79
+ }, {
80
+ name: string;
81
+ phone: string;
82
+ email: string;
83
+ title: string;
84
+ }>, "many">;
85
+ gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
86
+ serviceType: z.ZodString;
87
+ gatewayType: z.ZodString;
88
+ isAsync: z.ZodOptional<z.ZodBoolean>;
89
+ gatewayTimeout: z.ZodOptional<z.ZodNumber>;
90
+ endpointLocation: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ serviceType: string;
93
+ gatewayType: string;
94
+ isAsync?: boolean | undefined;
95
+ gatewayTimeout?: number | undefined;
96
+ endpointLocation?: string | undefined;
97
+ }, {
98
+ serviceType: string;
99
+ gatewayType: string;
100
+ isAsync?: boolean | undefined;
101
+ gatewayTimeout?: number | undefined;
102
+ endpointLocation?: string | undefined;
103
+ }>, "many">>>;
104
+ authorizationInformation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
105
+ authorizationServerEndpoint: z.ZodString;
106
+ clientId: z.ZodString;
107
+ clientSecret: z.ZodString;
108
+ documentReferenceScope: z.ZodString;
109
+ binaryScope: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ authorizationServerEndpoint: string;
112
+ clientId: string;
113
+ clientSecret: string;
114
+ documentReferenceScope: string;
115
+ binaryScope: string;
116
+ }, {
117
+ authorizationServerEndpoint: string;
118
+ clientId: string;
119
+ clientSecret: string;
120
+ documentReferenceScope: string;
121
+ binaryScope: string;
122
+ }>>>;
123
+ _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
124
+ self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
125
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
127
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ href?: string | null | undefined;
130
+ templated?: boolean | null | undefined;
131
+ type?: string | null | undefined;
132
+ }, {
133
+ href?: string | null | undefined;
134
+ templated?: boolean | null | undefined;
135
+ type?: string | null | undefined;
136
+ }>>>;
137
+ certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
138
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
139
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
140
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ href?: string | null | undefined;
143
+ templated?: boolean | null | undefined;
144
+ type?: string | null | undefined;
145
+ }, {
146
+ href?: string | null | undefined;
147
+ templated?: boolean | null | undefined;
148
+ type?: string | null | undefined;
149
+ }>>>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ self?: {
152
+ href?: string | null | undefined;
153
+ templated?: boolean | null | undefined;
154
+ type?: string | null | undefined;
155
+ } | null | undefined;
156
+ certificate?: {
157
+ href?: string | null | undefined;
158
+ templated?: boolean | null | undefined;
159
+ type?: string | null | undefined;
160
+ } | null | undefined;
161
+ }, {
162
+ self?: {
163
+ href?: string | null | undefined;
164
+ templated?: boolean | null | undefined;
165
+ type?: string | null | undefined;
166
+ } | null | undefined;
167
+ certificate?: {
168
+ href?: string | null | undefined;
169
+ templated?: boolean | null | undefined;
170
+ type?: string | null | undefined;
171
+ } | null | undefined;
172
+ }>>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ type: string;
175
+ name: string;
176
+ organizationId: string;
177
+ homeCommunityId: string;
178
+ displayName: string;
179
+ memberName: string;
180
+ patientIdAssignAuthority: string;
181
+ securityTokenKeyType: string;
182
+ isActive: boolean;
183
+ locations: {
184
+ city: string;
185
+ state: string;
186
+ country: string;
187
+ address1: string;
188
+ postalCode: string;
189
+ address2?: string | null | undefined;
190
+ phone?: string | null | undefined;
191
+ fax?: string | null | undefined;
192
+ email?: string | null | undefined;
193
+ }[];
194
+ technicalContacts: {
195
+ name: string;
196
+ phone: string;
197
+ email: string;
198
+ title: string;
199
+ }[];
200
+ sendingFacility?: {
201
+ namespaceId?: string | null | undefined;
202
+ universalId?: string | null | undefined;
203
+ universalIdType?: string | null | undefined;
204
+ } | null | undefined;
205
+ sendingApplication?: {
206
+ namespaceId?: string | null | undefined;
207
+ universalId?: string | null | undefined;
208
+ universalIdType?: string | null | undefined;
209
+ } | null | undefined;
210
+ gateways?: {
211
+ serviceType: string;
212
+ gatewayType: string;
213
+ isAsync?: boolean | undefined;
214
+ gatewayTimeout?: number | undefined;
215
+ endpointLocation?: string | undefined;
216
+ }[] | null | undefined;
217
+ authorizationInformation?: {
218
+ authorizationServerEndpoint: string;
219
+ clientId: string;
220
+ clientSecret: string;
221
+ documentReferenceScope: string;
222
+ binaryScope: string;
223
+ } | null | undefined;
224
+ _links?: {
225
+ self?: {
226
+ href?: string | null | undefined;
227
+ templated?: boolean | null | undefined;
228
+ type?: string | null | undefined;
229
+ } | null | undefined;
230
+ certificate?: {
231
+ href?: string | null | undefined;
232
+ templated?: boolean | null | undefined;
233
+ type?: string | null | undefined;
234
+ } | null | undefined;
235
+ } | null | undefined;
236
+ }, {
237
+ type: string;
238
+ name: string;
239
+ organizationId: string;
240
+ homeCommunityId: string;
241
+ displayName: string;
242
+ memberName: string;
243
+ patientIdAssignAuthority: string;
244
+ securityTokenKeyType: string;
245
+ isActive: boolean;
246
+ locations: {
247
+ city: string;
248
+ state: string;
249
+ country: string;
250
+ address1: string;
251
+ postalCode: string;
252
+ address2?: string | null | undefined;
253
+ phone?: string | null | undefined;
254
+ fax?: string | null | undefined;
255
+ email?: string | null | undefined;
256
+ }[];
257
+ technicalContacts: {
258
+ name: string;
259
+ phone: string;
260
+ email: string;
261
+ title: string;
262
+ }[];
263
+ sendingFacility?: {
264
+ namespaceId?: string | null | undefined;
265
+ universalId?: string | null | undefined;
266
+ universalIdType?: string | null | undefined;
267
+ } | null | undefined;
268
+ sendingApplication?: {
269
+ namespaceId?: string | null | undefined;
270
+ universalId?: string | null | undefined;
271
+ universalIdType?: string | null | undefined;
272
+ } | null | undefined;
273
+ gateways?: {
274
+ serviceType: string;
275
+ gatewayType: string;
276
+ isAsync?: boolean | undefined;
277
+ gatewayTimeout?: number | undefined;
278
+ endpointLocation?: string | undefined;
279
+ }[] | null | undefined;
280
+ authorizationInformation?: {
281
+ authorizationServerEndpoint: string;
282
+ clientId: string;
283
+ clientSecret: string;
284
+ documentReferenceScope: string;
285
+ binaryScope: string;
286
+ } | null | undefined;
287
+ _links?: {
288
+ self?: {
289
+ href?: string | null | undefined;
290
+ templated?: boolean | null | undefined;
291
+ type?: string | null | undefined;
292
+ } | null | undefined;
293
+ certificate?: {
294
+ href?: string | null | undefined;
295
+ templated?: boolean | null | undefined;
296
+ type?: string | null | undefined;
297
+ } | null | undefined;
298
+ } | null | undefined;
299
+ }>;
300
+ export type Organization = z.infer<typeof organizationSchema>;
301
+ export declare const organizationListSchema: z.ZodObject<{
302
+ count: z.ZodNumber;
303
+ from: z.ZodNumber;
304
+ to: z.ZodNumber;
305
+ organizations: z.ZodArray<z.ZodObject<{
306
+ organizationId: z.ZodString;
307
+ homeCommunityId: z.ZodString;
308
+ name: z.ZodString;
309
+ displayName: z.ZodString;
310
+ memberName: z.ZodString;
311
+ type: z.ZodString;
312
+ patientIdAssignAuthority: z.ZodString;
313
+ securityTokenKeyType: z.ZodString;
314
+ sendingFacility: z.ZodNullable<z.ZodOptional<z.ZodObject<{
315
+ namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
+ universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
+ universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ namespaceId?: string | null | undefined;
320
+ universalId?: string | null | undefined;
321
+ universalIdType?: string | null | undefined;
322
+ }, {
323
+ namespaceId?: string | null | undefined;
324
+ universalId?: string | null | undefined;
325
+ universalIdType?: string | null | undefined;
326
+ }>>>;
327
+ sendingApplication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
328
+ namespaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
+ universalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
330
+ universalIdType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ namespaceId?: string | null | undefined;
333
+ universalId?: string | null | undefined;
334
+ universalIdType?: string | null | undefined;
335
+ }, {
336
+ namespaceId?: string | null | undefined;
337
+ universalId?: string | null | undefined;
338
+ universalIdType?: string | null | undefined;
339
+ }>>>;
340
+ isActive: z.ZodBoolean;
341
+ locations: z.ZodArray<z.ZodObject<{
342
+ address1: z.ZodString;
343
+ address2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
344
+ city: z.ZodString;
345
+ state: z.ZodString;
346
+ postalCode: z.ZodString;
347
+ country: z.ZodString;
348
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
349
+ fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
350
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ city: string;
353
+ state: string;
354
+ country: string;
355
+ address1: string;
356
+ postalCode: string;
357
+ address2?: string | null | undefined;
358
+ phone?: string | null | undefined;
359
+ fax?: string | null | undefined;
360
+ email?: string | null | undefined;
361
+ }, {
362
+ city: string;
363
+ state: string;
364
+ country: string;
365
+ address1: string;
366
+ postalCode: string;
367
+ address2?: string | null | undefined;
368
+ phone?: string | null | undefined;
369
+ fax?: string | null | undefined;
370
+ email?: string | null | undefined;
371
+ }>, "many">;
372
+ technicalContacts: z.ZodArray<z.ZodObject<{
373
+ name: z.ZodString;
374
+ title: z.ZodString;
375
+ email: z.ZodString;
376
+ phone: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
378
+ name: string;
379
+ phone: string;
380
+ email: string;
381
+ title: string;
382
+ }, {
383
+ name: string;
384
+ phone: string;
385
+ email: string;
386
+ title: string;
387
+ }>, "many">;
388
+ gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
389
+ serviceType: z.ZodString;
390
+ gatewayType: z.ZodString;
391
+ isAsync: z.ZodOptional<z.ZodBoolean>;
392
+ gatewayTimeout: z.ZodOptional<z.ZodNumber>;
393
+ endpointLocation: z.ZodOptional<z.ZodString>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ serviceType: string;
396
+ gatewayType: string;
397
+ isAsync?: boolean | undefined;
398
+ gatewayTimeout?: number | undefined;
399
+ endpointLocation?: string | undefined;
400
+ }, {
401
+ serviceType: string;
402
+ gatewayType: string;
403
+ isAsync?: boolean | undefined;
404
+ gatewayTimeout?: number | undefined;
405
+ endpointLocation?: string | undefined;
406
+ }>, "many">>>;
407
+ authorizationInformation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
408
+ authorizationServerEndpoint: z.ZodString;
409
+ clientId: z.ZodString;
410
+ clientSecret: z.ZodString;
411
+ documentReferenceScope: z.ZodString;
412
+ binaryScope: z.ZodString;
413
+ }, "strip", z.ZodTypeAny, {
414
+ authorizationServerEndpoint: string;
415
+ clientId: string;
416
+ clientSecret: string;
417
+ documentReferenceScope: string;
418
+ binaryScope: string;
419
+ }, {
420
+ authorizationServerEndpoint: string;
421
+ clientId: string;
422
+ clientSecret: string;
423
+ documentReferenceScope: string;
424
+ binaryScope: string;
425
+ }>>>;
426
+ _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
427
+ self: z.ZodNullable<z.ZodOptional<z.ZodObject<{
428
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
429
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
430
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ href?: string | null | undefined;
433
+ templated?: boolean | null | undefined;
434
+ type?: string | null | undefined;
435
+ }, {
436
+ href?: string | null | undefined;
437
+ templated?: boolean | null | undefined;
438
+ type?: string | null | undefined;
439
+ }>>>;
440
+ certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
441
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
442
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
443
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
444
+ }, "strip", z.ZodTypeAny, {
445
+ href?: string | null | undefined;
446
+ templated?: boolean | null | undefined;
447
+ type?: string | null | undefined;
448
+ }, {
449
+ href?: string | null | undefined;
450
+ templated?: boolean | null | undefined;
451
+ type?: string | null | undefined;
452
+ }>>>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ self?: {
455
+ href?: string | null | undefined;
456
+ templated?: boolean | null | undefined;
457
+ type?: string | null | undefined;
458
+ } | null | undefined;
459
+ certificate?: {
460
+ href?: string | null | undefined;
461
+ templated?: boolean | null | undefined;
462
+ type?: string | null | undefined;
463
+ } | null | undefined;
464
+ }, {
465
+ self?: {
466
+ href?: string | null | undefined;
467
+ templated?: boolean | null | undefined;
468
+ type?: string | null | undefined;
469
+ } | null | undefined;
470
+ certificate?: {
471
+ href?: string | null | undefined;
472
+ templated?: boolean | null | undefined;
473
+ type?: string | null | undefined;
474
+ } | null | undefined;
475
+ }>>>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ type: string;
478
+ name: string;
479
+ organizationId: string;
480
+ homeCommunityId: string;
481
+ displayName: string;
482
+ memberName: string;
483
+ patientIdAssignAuthority: string;
484
+ securityTokenKeyType: string;
485
+ isActive: boolean;
486
+ locations: {
487
+ city: string;
488
+ state: string;
489
+ country: string;
490
+ address1: string;
491
+ postalCode: string;
492
+ address2?: string | null | undefined;
493
+ phone?: string | null | undefined;
494
+ fax?: string | null | undefined;
495
+ email?: string | null | undefined;
496
+ }[];
497
+ technicalContacts: {
498
+ name: string;
499
+ phone: string;
500
+ email: string;
501
+ title: string;
502
+ }[];
503
+ sendingFacility?: {
504
+ namespaceId?: string | null | undefined;
505
+ universalId?: string | null | undefined;
506
+ universalIdType?: string | null | undefined;
507
+ } | null | undefined;
508
+ sendingApplication?: {
509
+ namespaceId?: string | null | undefined;
510
+ universalId?: string | null | undefined;
511
+ universalIdType?: string | null | undefined;
512
+ } | null | undefined;
513
+ gateways?: {
514
+ serviceType: string;
515
+ gatewayType: string;
516
+ isAsync?: boolean | undefined;
517
+ gatewayTimeout?: number | undefined;
518
+ endpointLocation?: string | undefined;
519
+ }[] | null | undefined;
520
+ authorizationInformation?: {
521
+ authorizationServerEndpoint: string;
522
+ clientId: string;
523
+ clientSecret: string;
524
+ documentReferenceScope: string;
525
+ binaryScope: string;
526
+ } | null | undefined;
527
+ _links?: {
528
+ self?: {
529
+ href?: string | null | undefined;
530
+ templated?: boolean | null | undefined;
531
+ type?: string | null | undefined;
532
+ } | null | undefined;
533
+ certificate?: {
534
+ href?: string | null | undefined;
535
+ templated?: boolean | null | undefined;
536
+ type?: string | null | undefined;
537
+ } | null | undefined;
538
+ } | null | undefined;
539
+ }, {
540
+ type: string;
541
+ name: string;
542
+ organizationId: string;
543
+ homeCommunityId: string;
544
+ displayName: string;
545
+ memberName: string;
546
+ patientIdAssignAuthority: string;
547
+ securityTokenKeyType: string;
548
+ isActive: boolean;
549
+ locations: {
550
+ city: string;
551
+ state: string;
552
+ country: string;
553
+ address1: string;
554
+ postalCode: string;
555
+ address2?: string | null | undefined;
556
+ phone?: string | null | undefined;
557
+ fax?: string | null | undefined;
558
+ email?: string | null | undefined;
559
+ }[];
560
+ technicalContacts: {
561
+ name: string;
562
+ phone: string;
563
+ email: string;
564
+ title: string;
565
+ }[];
566
+ sendingFacility?: {
567
+ namespaceId?: string | null | undefined;
568
+ universalId?: string | null | undefined;
569
+ universalIdType?: string | null | undefined;
570
+ } | null | undefined;
571
+ sendingApplication?: {
572
+ namespaceId?: string | null | undefined;
573
+ universalId?: string | null | undefined;
574
+ universalIdType?: string | null | undefined;
575
+ } | null | undefined;
576
+ gateways?: {
577
+ serviceType: string;
578
+ gatewayType: string;
579
+ isAsync?: boolean | undefined;
580
+ gatewayTimeout?: number | undefined;
581
+ endpointLocation?: string | undefined;
582
+ }[] | null | undefined;
583
+ authorizationInformation?: {
584
+ authorizationServerEndpoint: string;
585
+ clientId: string;
586
+ clientSecret: string;
587
+ documentReferenceScope: string;
588
+ binaryScope: string;
589
+ } | null | undefined;
590
+ _links?: {
591
+ self?: {
592
+ href?: string | null | undefined;
593
+ templated?: boolean | null | undefined;
594
+ type?: string | null | undefined;
595
+ } | null | undefined;
596
+ certificate?: {
597
+ href?: string | null | undefined;
598
+ templated?: boolean | null | undefined;
599
+ type?: string | null | undefined;
600
+ } | null | undefined;
601
+ } | null | undefined;
602
+ }>, "many">;
603
+ _links: z.ZodObject<{
604
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
605
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
606
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ href?: string | null | undefined;
609
+ templated?: boolean | null | undefined;
610
+ type?: string | null | undefined;
611
+ }, {
612
+ href?: string | null | undefined;
613
+ templated?: boolean | null | undefined;
614
+ type?: string | null | undefined;
615
+ }>;
616
+ }, "strip", z.ZodTypeAny, {
617
+ _links: {
618
+ href?: string | null | undefined;
619
+ templated?: boolean | null | undefined;
620
+ type?: string | null | undefined;
621
+ };
622
+ count: number;
623
+ from: number;
624
+ to: number;
625
+ organizations: {
626
+ type: string;
627
+ name: string;
628
+ organizationId: string;
629
+ homeCommunityId: string;
630
+ displayName: string;
631
+ memberName: string;
632
+ patientIdAssignAuthority: string;
633
+ securityTokenKeyType: string;
634
+ isActive: boolean;
635
+ locations: {
636
+ city: string;
637
+ state: string;
638
+ country: string;
639
+ address1: string;
640
+ postalCode: string;
641
+ address2?: string | null | undefined;
642
+ phone?: string | null | undefined;
643
+ fax?: string | null | undefined;
644
+ email?: string | null | undefined;
645
+ }[];
646
+ technicalContacts: {
647
+ name: string;
648
+ phone: string;
649
+ email: string;
650
+ title: string;
651
+ }[];
652
+ sendingFacility?: {
653
+ namespaceId?: string | null | undefined;
654
+ universalId?: string | null | undefined;
655
+ universalIdType?: string | null | undefined;
656
+ } | null | undefined;
657
+ sendingApplication?: {
658
+ namespaceId?: string | null | undefined;
659
+ universalId?: string | null | undefined;
660
+ universalIdType?: string | null | undefined;
661
+ } | null | undefined;
662
+ gateways?: {
663
+ serviceType: string;
664
+ gatewayType: string;
665
+ isAsync?: boolean | undefined;
666
+ gatewayTimeout?: number | undefined;
667
+ endpointLocation?: string | undefined;
668
+ }[] | null | undefined;
669
+ authorizationInformation?: {
670
+ authorizationServerEndpoint: string;
671
+ clientId: string;
672
+ clientSecret: string;
673
+ documentReferenceScope: string;
674
+ binaryScope: string;
675
+ } | null | undefined;
676
+ _links?: {
677
+ self?: {
678
+ href?: string | null | undefined;
679
+ templated?: boolean | null | undefined;
680
+ type?: string | null | undefined;
681
+ } | null | undefined;
682
+ certificate?: {
683
+ href?: string | null | undefined;
684
+ templated?: boolean | null | undefined;
685
+ type?: string | null | undefined;
686
+ } | null | undefined;
687
+ } | null | undefined;
688
+ }[];
689
+ }, {
690
+ _links: {
691
+ href?: string | null | undefined;
692
+ templated?: boolean | null | undefined;
693
+ type?: string | null | undefined;
694
+ };
695
+ count: number;
696
+ from: number;
697
+ to: number;
698
+ organizations: {
699
+ type: string;
700
+ name: string;
701
+ organizationId: string;
702
+ homeCommunityId: string;
703
+ displayName: string;
704
+ memberName: string;
705
+ patientIdAssignAuthority: string;
706
+ securityTokenKeyType: string;
707
+ isActive: boolean;
708
+ locations: {
709
+ city: string;
710
+ state: string;
711
+ country: string;
712
+ address1: string;
713
+ postalCode: string;
714
+ address2?: string | null | undefined;
715
+ phone?: string | null | undefined;
716
+ fax?: string | null | undefined;
717
+ email?: string | null | undefined;
718
+ }[];
719
+ technicalContacts: {
720
+ name: string;
721
+ phone: string;
722
+ email: string;
723
+ title: string;
724
+ }[];
725
+ sendingFacility?: {
726
+ namespaceId?: string | null | undefined;
727
+ universalId?: string | null | undefined;
728
+ universalIdType?: string | null | undefined;
729
+ } | null | undefined;
730
+ sendingApplication?: {
731
+ namespaceId?: string | null | undefined;
732
+ universalId?: string | null | undefined;
733
+ universalIdType?: string | null | undefined;
734
+ } | null | undefined;
735
+ gateways?: {
736
+ serviceType: string;
737
+ gatewayType: string;
738
+ isAsync?: boolean | undefined;
739
+ gatewayTimeout?: number | undefined;
740
+ endpointLocation?: string | undefined;
741
+ }[] | null | undefined;
742
+ authorizationInformation?: {
743
+ authorizationServerEndpoint: string;
744
+ clientId: string;
745
+ clientSecret: string;
746
+ documentReferenceScope: string;
747
+ binaryScope: string;
748
+ } | null | undefined;
749
+ _links?: {
750
+ self?: {
751
+ href?: string | null | undefined;
752
+ templated?: boolean | null | undefined;
753
+ type?: string | null | undefined;
754
+ } | null | undefined;
755
+ certificate?: {
756
+ href?: string | null | undefined;
757
+ templated?: boolean | null | undefined;
758
+ type?: string | null | undefined;
759
+ } | null | undefined;
760
+ } | null | undefined;
761
+ }[];
762
+ }>;
763
+ export type OrganizationList = z.infer<typeof organizationListSchema>;