@metriport/commonwell-sdk 3.0.0 → 3.0.1

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.
@@ -46,22 +46,22 @@ export declare const organizationSchema: z.ZodObject<{
46
46
  fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
47
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- city?: string;
50
- state?: string;
51
- country?: string;
52
49
  address1?: string;
53
50
  address2?: string;
51
+ city?: string;
52
+ state?: string;
54
53
  postalCode?: string;
54
+ country?: string;
55
55
  phone?: string;
56
56
  fax?: string;
57
57
  email?: string;
58
58
  }, {
59
- city?: string;
60
- state?: string;
61
- country?: string;
62
59
  address1?: string;
63
60
  address2?: string;
61
+ city?: string;
62
+ state?: string;
64
63
  postalCode?: string;
64
+ country?: string;
65
65
  phone?: string;
66
66
  fax?: string;
67
67
  email?: string;
@@ -73,14 +73,14 @@ export declare const organizationSchema: z.ZodObject<{
73
73
  phone: z.ZodString;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  name?: string;
76
- phone?: string;
77
- email?: string;
78
76
  title?: string;
77
+ email?: string;
78
+ phone?: string;
79
79
  }, {
80
80
  name?: string;
81
- phone?: string;
82
- email?: string;
83
81
  title?: string;
82
+ email?: string;
83
+ phone?: string;
84
84
  }>, "many">;
85
85
  gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
86
86
  serviceType: z.ZodString;
@@ -126,69 +126,57 @@ export declare const organizationSchema: z.ZodObject<{
126
126
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
127
127
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
128
128
  }, "strip", z.ZodTypeAny, {
129
- type?: string;
130
129
  href?: string;
131
130
  templated?: boolean;
132
- }, {
133
131
  type?: string;
132
+ }, {
134
133
  href?: string;
135
134
  templated?: boolean;
135
+ type?: string;
136
136
  }>>>;
137
137
  certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
138
138
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
139
139
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
140
140
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
141
141
  }, "strip", z.ZodTypeAny, {
142
- type?: string;
143
142
  href?: string;
144
143
  templated?: boolean;
145
- }, {
146
144
  type?: string;
145
+ }, {
147
146
  href?: string;
148
147
  templated?: boolean;
148
+ type?: string;
149
149
  }>>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  self?: {
152
- type?: string;
153
152
  href?: string;
154
153
  templated?: boolean;
154
+ type?: string;
155
155
  };
156
156
  certificate?: {
157
- type?: string;
158
157
  href?: string;
159
158
  templated?: boolean;
159
+ type?: string;
160
160
  };
161
161
  }, {
162
162
  self?: {
163
- type?: string;
164
163
  href?: string;
165
164
  templated?: boolean;
165
+ type?: string;
166
166
  };
167
167
  certificate?: {
168
- type?: string;
169
168
  href?: string;
170
169
  templated?: boolean;
170
+ type?: string;
171
171
  };
172
172
  }>>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- type?: string;
175
- name?: string;
176
- _links?: {
177
- self?: {
178
- type?: string;
179
- href?: string;
180
- templated?: boolean;
181
- };
182
- certificate?: {
183
- type?: string;
184
- href?: string;
185
- templated?: boolean;
186
- };
187
- };
188
174
  organizationId?: string;
189
175
  homeCommunityId?: string;
176
+ name?: string;
190
177
  displayName?: string;
191
178
  memberName?: string;
179
+ type?: string;
192
180
  patientIdAssignAuthority?: string;
193
181
  securityTokenKeyType?: string;
194
182
  sendingFacility?: {
@@ -203,21 +191,21 @@ export declare const organizationSchema: z.ZodObject<{
203
191
  };
204
192
  isActive?: boolean;
205
193
  locations?: {
206
- city?: string;
207
- state?: string;
208
- country?: string;
209
194
  address1?: string;
210
195
  address2?: string;
196
+ city?: string;
197
+ state?: string;
211
198
  postalCode?: string;
199
+ country?: string;
212
200
  phone?: string;
213
201
  fax?: string;
214
202
  email?: string;
215
203
  }[];
216
204
  technicalContacts?: {
217
205
  name?: string;
218
- phone?: string;
219
- email?: string;
220
206
  title?: string;
207
+ email?: string;
208
+ phone?: string;
221
209
  }[];
222
210
  gateways?: {
223
211
  serviceType?: string;
@@ -233,25 +221,25 @@ export declare const organizationSchema: z.ZodObject<{
233
221
  documentReferenceScope?: string;
234
222
  binaryScope?: string;
235
223
  };
236
- }, {
237
- type?: string;
238
- name?: string;
239
224
  _links?: {
240
225
  self?: {
241
- type?: string;
242
226
  href?: string;
243
227
  templated?: boolean;
228
+ type?: string;
244
229
  };
245
230
  certificate?: {
246
- type?: string;
247
231
  href?: string;
248
232
  templated?: boolean;
233
+ type?: string;
249
234
  };
250
235
  };
236
+ }, {
251
237
  organizationId?: string;
252
238
  homeCommunityId?: string;
239
+ name?: string;
253
240
  displayName?: string;
254
241
  memberName?: string;
242
+ type?: string;
255
243
  patientIdAssignAuthority?: string;
256
244
  securityTokenKeyType?: string;
257
245
  sendingFacility?: {
@@ -266,21 +254,21 @@ export declare const organizationSchema: z.ZodObject<{
266
254
  };
267
255
  isActive?: boolean;
268
256
  locations?: {
269
- city?: string;
270
- state?: string;
271
- country?: string;
272
257
  address1?: string;
273
258
  address2?: string;
259
+ city?: string;
260
+ state?: string;
274
261
  postalCode?: string;
262
+ country?: string;
275
263
  phone?: string;
276
264
  fax?: string;
277
265
  email?: string;
278
266
  }[];
279
267
  technicalContacts?: {
280
268
  name?: string;
281
- phone?: string;
282
- email?: string;
283
269
  title?: string;
270
+ email?: string;
271
+ phone?: string;
284
272
  }[];
285
273
  gateways?: {
286
274
  serviceType?: string;
@@ -296,6 +284,18 @@ export declare const organizationSchema: z.ZodObject<{
296
284
  documentReferenceScope?: string;
297
285
  binaryScope?: string;
298
286
  };
287
+ _links?: {
288
+ self?: {
289
+ href?: string;
290
+ templated?: boolean;
291
+ type?: string;
292
+ };
293
+ certificate?: {
294
+ href?: string;
295
+ templated?: boolean;
296
+ type?: string;
297
+ };
298
+ };
299
299
  }>;
300
300
  export type Organization = z.infer<typeof organizationSchema>;
301
301
  export declare const organizationListSchema: z.ZodObject<{
@@ -349,22 +349,22 @@ export declare const organizationListSchema: z.ZodObject<{
349
349
  fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
350
350
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
351
351
  }, "strip", z.ZodTypeAny, {
352
- city?: string;
353
- state?: string;
354
- country?: string;
355
352
  address1?: string;
356
353
  address2?: string;
354
+ city?: string;
355
+ state?: string;
357
356
  postalCode?: string;
357
+ country?: string;
358
358
  phone?: string;
359
359
  fax?: string;
360
360
  email?: string;
361
361
  }, {
362
- city?: string;
363
- state?: string;
364
- country?: string;
365
362
  address1?: string;
366
363
  address2?: string;
364
+ city?: string;
365
+ state?: string;
367
366
  postalCode?: string;
367
+ country?: string;
368
368
  phone?: string;
369
369
  fax?: string;
370
370
  email?: string;
@@ -376,14 +376,14 @@ export declare const organizationListSchema: z.ZodObject<{
376
376
  phone: z.ZodString;
377
377
  }, "strip", z.ZodTypeAny, {
378
378
  name?: string;
379
- phone?: string;
380
- email?: string;
381
379
  title?: string;
380
+ email?: string;
381
+ phone?: string;
382
382
  }, {
383
383
  name?: string;
384
- phone?: string;
385
- email?: string;
386
384
  title?: string;
385
+ email?: string;
386
+ phone?: string;
387
387
  }>, "many">;
388
388
  gateways: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
389
389
  serviceType: z.ZodString;
@@ -429,69 +429,57 @@ export declare const organizationListSchema: z.ZodObject<{
429
429
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
430
430
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
431
431
  }, "strip", z.ZodTypeAny, {
432
- type?: string;
433
432
  href?: string;
434
433
  templated?: boolean;
435
- }, {
436
434
  type?: string;
435
+ }, {
437
436
  href?: string;
438
437
  templated?: boolean;
438
+ type?: string;
439
439
  }>>>;
440
440
  certificate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
441
441
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
442
442
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
443
443
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
444
444
  }, "strip", z.ZodTypeAny, {
445
- type?: string;
446
445
  href?: string;
447
446
  templated?: boolean;
448
- }, {
449
447
  type?: string;
448
+ }, {
450
449
  href?: string;
451
450
  templated?: boolean;
451
+ type?: string;
452
452
  }>>>;
453
453
  }, "strip", z.ZodTypeAny, {
454
454
  self?: {
455
- type?: string;
456
455
  href?: string;
457
456
  templated?: boolean;
457
+ type?: string;
458
458
  };
459
459
  certificate?: {
460
- type?: string;
461
460
  href?: string;
462
461
  templated?: boolean;
462
+ type?: string;
463
463
  };
464
464
  }, {
465
465
  self?: {
466
- type?: string;
467
466
  href?: string;
468
467
  templated?: boolean;
468
+ type?: string;
469
469
  };
470
470
  certificate?: {
471
- type?: string;
472
471
  href?: string;
473
472
  templated?: boolean;
473
+ type?: string;
474
474
  };
475
475
  }>>>;
476
476
  }, "strip", z.ZodTypeAny, {
477
- type?: string;
478
- name?: string;
479
- _links?: {
480
- self?: {
481
- type?: string;
482
- href?: string;
483
- templated?: boolean;
484
- };
485
- certificate?: {
486
- type?: string;
487
- href?: string;
488
- templated?: boolean;
489
- };
490
- };
491
477
  organizationId?: string;
492
478
  homeCommunityId?: string;
479
+ name?: string;
493
480
  displayName?: string;
494
481
  memberName?: string;
482
+ type?: string;
495
483
  patientIdAssignAuthority?: string;
496
484
  securityTokenKeyType?: string;
497
485
  sendingFacility?: {
@@ -506,21 +494,21 @@ export declare const organizationListSchema: z.ZodObject<{
506
494
  };
507
495
  isActive?: boolean;
508
496
  locations?: {
509
- city?: string;
510
- state?: string;
511
- country?: string;
512
497
  address1?: string;
513
498
  address2?: string;
499
+ city?: string;
500
+ state?: string;
514
501
  postalCode?: string;
502
+ country?: string;
515
503
  phone?: string;
516
504
  fax?: string;
517
505
  email?: string;
518
506
  }[];
519
507
  technicalContacts?: {
520
508
  name?: string;
521
- phone?: string;
522
- email?: string;
523
509
  title?: string;
510
+ email?: string;
511
+ phone?: string;
524
512
  }[];
525
513
  gateways?: {
526
514
  serviceType?: string;
@@ -536,25 +524,25 @@ export declare const organizationListSchema: z.ZodObject<{
536
524
  documentReferenceScope?: string;
537
525
  binaryScope?: string;
538
526
  };
539
- }, {
540
- type?: string;
541
- name?: string;
542
527
  _links?: {
543
528
  self?: {
544
- type?: string;
545
529
  href?: string;
546
530
  templated?: boolean;
531
+ type?: string;
547
532
  };
548
533
  certificate?: {
549
- type?: string;
550
534
  href?: string;
551
535
  templated?: boolean;
536
+ type?: string;
552
537
  };
553
538
  };
539
+ }, {
554
540
  organizationId?: string;
555
541
  homeCommunityId?: string;
542
+ name?: string;
556
543
  displayName?: string;
557
544
  memberName?: string;
545
+ type?: string;
558
546
  patientIdAssignAuthority?: string;
559
547
  securityTokenKeyType?: string;
560
548
  sendingFacility?: {
@@ -569,21 +557,21 @@ export declare const organizationListSchema: z.ZodObject<{
569
557
  };
570
558
  isActive?: boolean;
571
559
  locations?: {
572
- city?: string;
573
- state?: string;
574
- country?: string;
575
560
  address1?: string;
576
561
  address2?: string;
562
+ city?: string;
563
+ state?: string;
577
564
  postalCode?: string;
565
+ country?: string;
578
566
  phone?: string;
579
567
  fax?: string;
580
568
  email?: string;
581
569
  }[];
582
570
  technicalContacts?: {
583
571
  name?: string;
584
- phone?: string;
585
- email?: string;
586
572
  title?: string;
573
+ email?: string;
574
+ phone?: string;
587
575
  }[];
588
576
  gateways?: {
589
577
  serviceType?: string;
@@ -599,48 +587,43 @@ export declare const organizationListSchema: z.ZodObject<{
599
587
  documentReferenceScope?: string;
600
588
  binaryScope?: string;
601
589
  };
590
+ _links?: {
591
+ self?: {
592
+ href?: string;
593
+ templated?: boolean;
594
+ type?: string;
595
+ };
596
+ certificate?: {
597
+ href?: string;
598
+ templated?: boolean;
599
+ type?: string;
600
+ };
601
+ };
602
602
  }>, "many">;
603
603
  _links: z.ZodObject<{
604
604
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
605
605
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
606
606
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
607
607
  }, "strip", z.ZodTypeAny, {
608
- type?: string;
609
608
  href?: string;
610
609
  templated?: boolean;
611
- }, {
612
610
  type?: string;
611
+ }, {
613
612
  href?: string;
614
613
  templated?: boolean;
614
+ type?: string;
615
615
  }>;
616
616
  }, "strip", z.ZodTypeAny, {
617
- _links?: {
618
- type?: string;
619
- href?: string;
620
- templated?: boolean;
621
- };
622
617
  count?: number;
623
618
  from?: number;
624
619
  to?: number;
625
620
  organizations?: {
626
- type?: string;
627
- name?: string;
628
- _links?: {
629
- self?: {
630
- type?: string;
631
- href?: string;
632
- templated?: boolean;
633
- };
634
- certificate?: {
635
- type?: string;
636
- href?: string;
637
- templated?: boolean;
638
- };
639
- };
640
621
  organizationId?: string;
641
622
  homeCommunityId?: string;
623
+ name?: string;
642
624
  displayName?: string;
643
625
  memberName?: string;
626
+ type?: string;
644
627
  patientIdAssignAuthority?: string;
645
628
  securityTokenKeyType?: string;
646
629
  sendingFacility?: {
@@ -655,21 +638,21 @@ export declare const organizationListSchema: z.ZodObject<{
655
638
  };
656
639
  isActive?: boolean;
657
640
  locations?: {
658
- city?: string;
659
- state?: string;
660
- country?: string;
661
641
  address1?: string;
662
642
  address2?: string;
643
+ city?: string;
644
+ state?: string;
663
645
  postalCode?: string;
646
+ country?: string;
664
647
  phone?: string;
665
648
  fax?: string;
666
649
  email?: string;
667
650
  }[];
668
651
  technicalContacts?: {
669
652
  name?: string;
670
- phone?: string;
671
- email?: string;
672
653
  title?: string;
654
+ email?: string;
655
+ phone?: string;
673
656
  }[];
674
657
  gateways?: {
675
658
  serviceType?: string;
@@ -685,35 +668,35 @@ export declare const organizationListSchema: z.ZodObject<{
685
668
  documentReferenceScope?: string;
686
669
  binaryScope?: string;
687
670
  };
688
- }[];
689
- }, {
690
- _links?: {
691
- type?: string;
692
- href?: string;
693
- templated?: boolean;
694
- };
695
- count?: number;
696
- from?: number;
697
- to?: number;
698
- organizations?: {
699
- type?: string;
700
- name?: string;
701
671
  _links?: {
702
672
  self?: {
703
- type?: string;
704
673
  href?: string;
705
674
  templated?: boolean;
675
+ type?: string;
706
676
  };
707
677
  certificate?: {
708
- type?: string;
709
678
  href?: string;
710
679
  templated?: boolean;
680
+ type?: string;
711
681
  };
712
682
  };
683
+ }[];
684
+ _links?: {
685
+ href?: string;
686
+ templated?: boolean;
687
+ type?: string;
688
+ };
689
+ }, {
690
+ count?: number;
691
+ from?: number;
692
+ to?: number;
693
+ organizations?: {
713
694
  organizationId?: string;
714
695
  homeCommunityId?: string;
696
+ name?: string;
715
697
  displayName?: string;
716
698
  memberName?: string;
699
+ type?: string;
717
700
  patientIdAssignAuthority?: string;
718
701
  securityTokenKeyType?: string;
719
702
  sendingFacility?: {
@@ -728,21 +711,21 @@ export declare const organizationListSchema: z.ZodObject<{
728
711
  };
729
712
  isActive?: boolean;
730
713
  locations?: {
731
- city?: string;
732
- state?: string;
733
- country?: string;
734
714
  address1?: string;
735
715
  address2?: string;
716
+ city?: string;
717
+ state?: string;
736
718
  postalCode?: string;
719
+ country?: string;
737
720
  phone?: string;
738
721
  fax?: string;
739
722
  email?: string;
740
723
  }[];
741
724
  technicalContacts?: {
742
725
  name?: string;
743
- phone?: string;
744
- email?: string;
745
726
  title?: string;
727
+ email?: string;
728
+ phone?: string;
746
729
  }[];
747
730
  gateways?: {
748
731
  serviceType?: string;
@@ -758,6 +741,23 @@ export declare const organizationListSchema: z.ZodObject<{
758
741
  documentReferenceScope?: string;
759
742
  binaryScope?: string;
760
743
  };
744
+ _links?: {
745
+ self?: {
746
+ href?: string;
747
+ templated?: boolean;
748
+ type?: string;
749
+ };
750
+ certificate?: {
751
+ href?: string;
752
+ templated?: boolean;
753
+ type?: string;
754
+ };
755
+ };
761
756
  }[];
757
+ _links?: {
758
+ href?: string;
759
+ templated?: boolean;
760
+ type?: string;
761
+ };
762
762
  }>;
763
763
  export type OrganizationList = z.infer<typeof organizationListSchema>;