@icure/cardinal-sdk 2.4.2 → 2.4.3

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.
@@ -427,6 +427,186 @@ interface ServiceFiltersFactory {
427
427
  to?: number | undefined;
428
428
  descending?: boolean;
429
429
  }): SortableFilterOptions<Service>;
430
+ byCodesAndValueDateForDataOwner(dataOwnerId: string, codeCodes: {
431
+ [key: string]: Array<string>;
432
+ }, options?: {
433
+ startOfServiceValueDate?: number | undefined;
434
+ endOfServiceValueDate?: number | undefined;
435
+ }): BaseFilterOptions<Service>;
436
+ byCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, codeCodes: {
437
+ [key: string]: Array<string>;
438
+ }, options?: {
439
+ startOfServiceValueDate?: number | undefined;
440
+ endOfServiceValueDate?: number | undefined;
441
+ }): BaseFilterOptions<Service>;
442
+ byCodesAndValueDateForSelf(codeCodes: {
443
+ [key: string]: Array<string>;
444
+ }, options?: {
445
+ startOfServiceValueDate?: number | undefined;
446
+ endOfServiceValueDate?: number | undefined;
447
+ }): FilterOptions<Service>;
448
+ byCodePrefixAndValueDateForDataOwner(dataOwnerId: string, codeType: string, codeCodePrefix: string, options?: {
449
+ startOfServiceValueDate?: number | undefined;
450
+ endOfServiceValueDate?: number | undefined;
451
+ }): BaseFilterOptions<Service>;
452
+ byCodePrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, codeType: string, codeCodePrefix: string, options?: {
453
+ startOfServiceValueDate?: number | undefined;
454
+ endOfServiceValueDate?: number | undefined;
455
+ }): BaseFilterOptions<Service>;
456
+ byCodePrefixAndValueDateForSelf(codeType: string, codeCodePrefix: string, options?: {
457
+ startOfServiceValueDate?: number | undefined;
458
+ endOfServiceValueDate?: number | undefined;
459
+ }): FilterOptions<Service>;
460
+ byTagCodesAndValueDateForDataOwner(dataOwnerId: string, tagCodes: {
461
+ [key: string]: Array<string>;
462
+ }, options?: {
463
+ startOfServiceValueDate?: number | undefined;
464
+ endOfServiceValueDate?: number | undefined;
465
+ }): BaseFilterOptions<Service>;
466
+ byTagCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, tagCodes: {
467
+ [key: string]: Array<string>;
468
+ }, options?: {
469
+ startOfServiceValueDate?: number | undefined;
470
+ endOfServiceValueDate?: number | undefined;
471
+ }): BaseFilterOptions<Service>;
472
+ byTagCodesAndValueDateForSelf(tagCodes: {
473
+ [key: string]: Array<string>;
474
+ }, options?: {
475
+ startOfServiceValueDate?: number | undefined;
476
+ endOfServiceValueDate?: number | undefined;
477
+ }): FilterOptions<Service>;
478
+ byTagPrefixAndValueDateForDataOwner(dataOwnerId: string, tagType: string, tagCodePrefix: string, options?: {
479
+ startOfServiceValueDate?: number | undefined;
480
+ endOfServiceValueDate?: number | undefined;
481
+ }): BaseFilterOptions<Service>;
482
+ byTagPrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, tagType: string, tagCodePrefix: string, options?: {
483
+ startOfServiceValueDate?: number | undefined;
484
+ endOfServiceValueDate?: number | undefined;
485
+ }): BaseFilterOptions<Service>;
486
+ byTagPrefixAndValueDateForSelf(tagType: string, tagCodePrefix: string, options?: {
487
+ startOfServiceValueDate?: number | undefined;
488
+ endOfServiceValueDate?: number | undefined;
489
+ }): FilterOptions<Service>;
490
+ byPatientsCodesAndValueDateForDataOwner(dataOwnerId: string, patients: Array<Patient>, codeCodes: {
491
+ [key: string]: Array<string>;
492
+ }, options?: {
493
+ startOfServiceValueDate?: number | undefined;
494
+ endOfServiceValueDate?: number | undefined;
495
+ }): FilterOptions<Service>;
496
+ byPatientsCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, patients: Array<Patient>, codeCodes: {
497
+ [key: string]: Array<string>;
498
+ }, options?: {
499
+ startOfServiceValueDate?: number | undefined;
500
+ endOfServiceValueDate?: number | undefined;
501
+ }): FilterOptions<Service>;
502
+ byPatientsCodesAndValueDateForSelf(patients: Array<Patient>, codeCodes: {
503
+ [key: string]: Array<string>;
504
+ }, options?: {
505
+ startOfServiceValueDate?: number | undefined;
506
+ endOfServiceValueDate?: number | undefined;
507
+ }): FilterOptions<Service>;
508
+ byPatientSecretIdsCodesAndValueDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, codeCodes: {
509
+ [key: string]: Array<string>;
510
+ }, options?: {
511
+ startOfServiceValueDate?: number | undefined;
512
+ endOfServiceValueDate?: number | undefined;
513
+ }): BaseFilterOptions<Service>;
514
+ byPatientSecretIdsCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, secretIds: Array<string>, codeCodes: {
515
+ [key: string]: Array<string>;
516
+ }, options?: {
517
+ startOfServiceValueDate?: number | undefined;
518
+ endOfServiceValueDate?: number | undefined;
519
+ }): BaseFilterOptions<Service>;
520
+ byPatientSecretIdsCodesAndValueDateForSelf(secretIds: Array<string>, codeCodes: {
521
+ [key: string]: Array<string>;
522
+ }, options?: {
523
+ startOfServiceValueDate?: number | undefined;
524
+ endOfServiceValueDate?: number | undefined;
525
+ }): FilterOptions<Service>;
526
+ byPatientsCodePrefixAndValueDateForDataOwner(dataOwnerId: string, patients: Array<Patient>, codeType: string, codeCodePrefix: string, options?: {
527
+ startOfServiceValueDate?: number | undefined;
528
+ endOfServiceValueDate?: number | undefined;
529
+ }): FilterOptions<Service>;
530
+ byPatientsCodePrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, patients: Array<Patient>, codeType: string, codeCodePrefix: string, options?: {
531
+ startOfServiceValueDate?: number | undefined;
532
+ endOfServiceValueDate?: number | undefined;
533
+ }): FilterOptions<Service>;
534
+ byPatientsCodePrefixAndValueDateForSelf(patients: Array<Patient>, codeType: string, codeCodePrefix: string, options?: {
535
+ startOfServiceValueDate?: number | undefined;
536
+ endOfServiceValueDate?: number | undefined;
537
+ }): FilterOptions<Service>;
538
+ byPatientSecretIdsCodePrefixAndValueDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, codeType: string, codeCodePrefix: string, options?: {
539
+ startOfServiceValueDate?: number | undefined;
540
+ endOfServiceValueDate?: number | undefined;
541
+ }): BaseFilterOptions<Service>;
542
+ byPatientSecretIdsCodePrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, secretIds: Array<string>, codeType: string, codeCodePrefix: string, options?: {
543
+ startOfServiceValueDate?: number | undefined;
544
+ endOfServiceValueDate?: number | undefined;
545
+ }): BaseFilterOptions<Service>;
546
+ byPatientSecretIdsCodePrefixAndValueDateForSelf(secretIds: Array<string>, codeType: string, codeCodePrefix: string, options?: {
547
+ startOfServiceValueDate?: number | undefined;
548
+ endOfServiceValueDate?: number | undefined;
549
+ }): FilterOptions<Service>;
550
+ byPatientsTagCodesAndValueDateForDataOwner(dataOwnerId: string, patients: Array<Patient>, tagCodes: {
551
+ [key: string]: Array<string>;
552
+ }, options?: {
553
+ startOfServiceValueDate?: number | undefined;
554
+ endOfServiceValueDate?: number | undefined;
555
+ }): FilterOptions<Service>;
556
+ byPatientsTagCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, patients: Array<Patient>, tagCodes: {
557
+ [key: string]: Array<string>;
558
+ }, options?: {
559
+ startOfServiceValueDate?: number | undefined;
560
+ endOfServiceValueDate?: number | undefined;
561
+ }): FilterOptions<Service>;
562
+ byPatientsTagCodesAndValueDateForSelf(patients: Array<Patient>, tagCodes: {
563
+ [key: string]: Array<string>;
564
+ }, options?: {
565
+ startOfServiceValueDate?: number | undefined;
566
+ endOfServiceValueDate?: number | undefined;
567
+ }): FilterOptions<Service>;
568
+ byPatientSecretIdsTagCodesAndValueDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, tagCodes: {
569
+ [key: string]: Array<string>;
570
+ }, options?: {
571
+ startOfServiceValueDate?: number | undefined;
572
+ endOfServiceValueDate?: number | undefined;
573
+ }): BaseFilterOptions<Service>;
574
+ byPatientSecretIdsTagCodesAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, secretIds: Array<string>, tagCodes: {
575
+ [key: string]: Array<string>;
576
+ }, options?: {
577
+ startOfServiceValueDate?: number | undefined;
578
+ endOfServiceValueDate?: number | undefined;
579
+ }): BaseFilterOptions<Service>;
580
+ byPatientSecretIdsTagCodesAndValueDateForSelf(secretIds: Array<string>, tagCodes: {
581
+ [key: string]: Array<string>;
582
+ }, options?: {
583
+ startOfServiceValueDate?: number | undefined;
584
+ endOfServiceValueDate?: number | undefined;
585
+ }): FilterOptions<Service>;
586
+ byPatientsTagPrefixAndValueDateForDataOwner(dataOwnerId: string, patients: Array<Patient>, tagType: string, tagCodePrefix: string, options?: {
587
+ startOfServiceValueDate?: number | undefined;
588
+ endOfServiceValueDate?: number | undefined;
589
+ }): FilterOptions<Service>;
590
+ byPatientsTagPrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, patients: Array<Patient>, tagType: string, tagCodePrefix: string, options?: {
591
+ startOfServiceValueDate?: number | undefined;
592
+ endOfServiceValueDate?: number | undefined;
593
+ }): FilterOptions<Service>;
594
+ byPatientsTagPrefixAndValueDateForSelf(patients: Array<Patient>, tagType: string, tagCodePrefix: string, options?: {
595
+ startOfServiceValueDate?: number | undefined;
596
+ endOfServiceValueDate?: number | undefined;
597
+ }): FilterOptions<Service>;
598
+ byPatientSecretIdsTagPrefixAndValueDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, tagType: string, tagCodePrefix: string, options?: {
599
+ startOfServiceValueDate?: number | undefined;
600
+ endOfServiceValueDate?: number | undefined;
601
+ }): BaseFilterOptions<Service>;
602
+ byPatientSecretIdsTagPrefixAndValueDateForDataOwnerInGroup(dataOwner: EntityReferenceInGroup, secretIds: Array<string>, tagType: string, tagCodePrefix: string, options?: {
603
+ startOfServiceValueDate?: number | undefined;
604
+ endOfServiceValueDate?: number | undefined;
605
+ }): BaseFilterOptions<Service>;
606
+ byPatientSecretIdsTagPrefixAndValueDateForSelf(secretIds: Array<string>, tagType: string, tagCodePrefix: string, options?: {
607
+ startOfServiceValueDate?: number | undefined;
608
+ endOfServiceValueDate?: number | undefined;
609
+ }): FilterOptions<Service>;
430
610
  }
431
611
  export declare const ServiceFilters: ServiceFiltersFactory;
432
612
  export {};
@@ -30,5 +30,41 @@ export const ServiceFilters = {
30
30
  byPatientsDateForSelf: (patients, options) => InternalServiceFiltersObj.getInstance().byPatientsDateForSelf(patients, options),
31
31
  byPatientSecretIdsDateForDataOwner: (dataOwnerId, secretIds, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsDateForDataOwner(dataOwnerId, secretIds, options),
32
32
  byPatientSecretIdsDateForDataOwnerInGroup: (dataOwner, secretIds, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsDateForDataOwnerInGroup(dataOwner, secretIds, options),
33
- byPatientSecretIdsDateForSelf: (secretIds, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsDateForSelf(secretIds, options)
33
+ byPatientSecretIdsDateForSelf: (secretIds, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsDateForSelf(secretIds, options),
34
+ byCodesAndValueDateForDataOwner: (dataOwnerId, codeCodes, options) => InternalServiceFiltersObj.getInstance().byCodesAndValueDateForDataOwner(dataOwnerId, codeCodes, options),
35
+ byCodesAndValueDateForDataOwnerInGroup: (dataOwner, codeCodes, options) => InternalServiceFiltersObj.getInstance().byCodesAndValueDateForDataOwnerInGroup(dataOwner, codeCodes, options),
36
+ byCodesAndValueDateForSelf: (codeCodes, options) => InternalServiceFiltersObj.getInstance().byCodesAndValueDateForSelf(codeCodes, options),
37
+ byCodePrefixAndValueDateForDataOwner: (dataOwnerId, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byCodePrefixAndValueDateForDataOwner(dataOwnerId, codeType, codeCodePrefix, options),
38
+ byCodePrefixAndValueDateForDataOwnerInGroup: (dataOwner, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byCodePrefixAndValueDateForDataOwnerInGroup(dataOwner, codeType, codeCodePrefix, options),
39
+ byCodePrefixAndValueDateForSelf: (codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byCodePrefixAndValueDateForSelf(codeType, codeCodePrefix, options),
40
+ byTagCodesAndValueDateForDataOwner: (dataOwnerId, tagCodes, options) => InternalServiceFiltersObj.getInstance().byTagCodesAndValueDateForDataOwner(dataOwnerId, tagCodes, options),
41
+ byTagCodesAndValueDateForDataOwnerInGroup: (dataOwner, tagCodes, options) => InternalServiceFiltersObj.getInstance().byTagCodesAndValueDateForDataOwnerInGroup(dataOwner, tagCodes, options),
42
+ byTagCodesAndValueDateForSelf: (tagCodes, options) => InternalServiceFiltersObj.getInstance().byTagCodesAndValueDateForSelf(tagCodes, options),
43
+ byTagPrefixAndValueDateForDataOwner: (dataOwnerId, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byTagPrefixAndValueDateForDataOwner(dataOwnerId, tagType, tagCodePrefix, options),
44
+ byTagPrefixAndValueDateForDataOwnerInGroup: (dataOwner, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byTagPrefixAndValueDateForDataOwnerInGroup(dataOwner, tagType, tagCodePrefix, options),
45
+ byTagPrefixAndValueDateForSelf: (tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byTagPrefixAndValueDateForSelf(tagType, tagCodePrefix, options),
46
+ byPatientsCodesAndValueDateForDataOwner: (dataOwnerId, patients, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsCodesAndValueDateForDataOwner(dataOwnerId, patients, codeCodes, options),
47
+ byPatientsCodesAndValueDateForDataOwnerInGroup: (dataOwner, patients, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsCodesAndValueDateForDataOwnerInGroup(dataOwner, patients, codeCodes, options),
48
+ byPatientsCodesAndValueDateForSelf: (patients, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsCodesAndValueDateForSelf(patients, codeCodes, options),
49
+ byPatientSecretIdsCodesAndValueDateForDataOwner: (dataOwnerId, secretIds, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodesAndValueDateForDataOwner(dataOwnerId, secretIds, codeCodes, options),
50
+ byPatientSecretIdsCodesAndValueDateForDataOwnerInGroup: (dataOwner, secretIds, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodesAndValueDateForDataOwnerInGroup(dataOwner, secretIds, codeCodes, options),
51
+ byPatientSecretIdsCodesAndValueDateForSelf: (secretIds, codeCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodesAndValueDateForSelf(secretIds, codeCodes, options),
52
+ byPatientsCodePrefixAndValueDateForDataOwner: (dataOwnerId, patients, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsCodePrefixAndValueDateForDataOwner(dataOwnerId, patients, codeType, codeCodePrefix, options),
53
+ byPatientsCodePrefixAndValueDateForDataOwnerInGroup: (dataOwner, patients, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsCodePrefixAndValueDateForDataOwnerInGroup(dataOwner, patients, codeType, codeCodePrefix, options),
54
+ byPatientsCodePrefixAndValueDateForSelf: (patients, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsCodePrefixAndValueDateForSelf(patients, codeType, codeCodePrefix, options),
55
+ byPatientSecretIdsCodePrefixAndValueDateForDataOwner: (dataOwnerId, secretIds, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodePrefixAndValueDateForDataOwner(dataOwnerId, secretIds, codeType, codeCodePrefix, options),
56
+ byPatientSecretIdsCodePrefixAndValueDateForDataOwnerInGroup: (dataOwner, secretIds, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodePrefixAndValueDateForDataOwnerInGroup(dataOwner, secretIds, codeType, codeCodePrefix, options),
57
+ byPatientSecretIdsCodePrefixAndValueDateForSelf: (secretIds, codeType, codeCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsCodePrefixAndValueDateForSelf(secretIds, codeType, codeCodePrefix, options),
58
+ byPatientsTagCodesAndValueDateForDataOwner: (dataOwnerId, patients, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsTagCodesAndValueDateForDataOwner(dataOwnerId, patients, tagCodes, options),
59
+ byPatientsTagCodesAndValueDateForDataOwnerInGroup: (dataOwner, patients, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsTagCodesAndValueDateForDataOwnerInGroup(dataOwner, patients, tagCodes, options),
60
+ byPatientsTagCodesAndValueDateForSelf: (patients, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientsTagCodesAndValueDateForSelf(patients, tagCodes, options),
61
+ byPatientSecretIdsTagCodesAndValueDateForDataOwner: (dataOwnerId, secretIds, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagCodesAndValueDateForDataOwner(dataOwnerId, secretIds, tagCodes, options),
62
+ byPatientSecretIdsTagCodesAndValueDateForDataOwnerInGroup: (dataOwner, secretIds, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagCodesAndValueDateForDataOwnerInGroup(dataOwner, secretIds, tagCodes, options),
63
+ byPatientSecretIdsTagCodesAndValueDateForSelf: (secretIds, tagCodes, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagCodesAndValueDateForSelf(secretIds, tagCodes, options),
64
+ byPatientsTagPrefixAndValueDateForDataOwner: (dataOwnerId, patients, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsTagPrefixAndValueDateForDataOwner(dataOwnerId, patients, tagType, tagCodePrefix, options),
65
+ byPatientsTagPrefixAndValueDateForDataOwnerInGroup: (dataOwner, patients, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsTagPrefixAndValueDateForDataOwnerInGroup(dataOwner, patients, tagType, tagCodePrefix, options),
66
+ byPatientsTagPrefixAndValueDateForSelf: (patients, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientsTagPrefixAndValueDateForSelf(patients, tagType, tagCodePrefix, options),
67
+ byPatientSecretIdsTagPrefixAndValueDateForDataOwner: (dataOwnerId, secretIds, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagPrefixAndValueDateForDataOwner(dataOwnerId, secretIds, tagType, tagCodePrefix, options),
68
+ byPatientSecretIdsTagPrefixAndValueDateForDataOwnerInGroup: (dataOwner, secretIds, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagPrefixAndValueDateForDataOwnerInGroup(dataOwner, secretIds, tagType, tagCodePrefix, options),
69
+ byPatientSecretIdsTagPrefixAndValueDateForSelf: (secretIds, tagType, tagCodePrefix, options) => InternalServiceFiltersObj.getInstance().byPatientSecretIdsTagPrefixAndValueDateForSelf(secretIds, tagType, tagCodePrefix, options)
34
70
  };
@@ -235,11 +235,6 @@ initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, V
235
235
  initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
236
236
  initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
237
237
  initMetadataForCoroutine($receiveCatchingCOROUTINE$, CoroutineImpl);
238
- function close$default(cause, $super) {
239
- cause = cause === VOID ? null : cause;
240
- return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
241
- }
242
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
243
238
  function cancel$default_0(cause, $super) {
244
239
  cause = cause === VOID ? null : cause;
245
240
  var tmp;
@@ -252,7 +247,12 @@ function cancel$default_0(cause, $super) {
252
247
  return tmp;
253
248
  }
254
249
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
255
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
250
+ function close$default(cause, $super) {
251
+ cause = cause === VOID ? null : cause;
252
+ return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
253
+ }
254
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
255
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
256
256
  initMetadataForClass(WaiterEB, 'WaiterEB');
257
257
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
258
258
  initMetadataForObject(Factory, 'Factory');
@@ -262,7 +262,7 @@ initMetadataForCompanion(Companion);
262
262
  initMetadataForClass(ChannelResult, 'ChannelResult');
263
263
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
264
264
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
265
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
265
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
266
266
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
267
267
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
268
268
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
@@ -294,7 +294,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
294
294
  initMetadataForClass(Symbol, 'Symbol');
295
295
  initMetadataForInterface(SelectInstance, 'SelectInstance');
296
296
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
297
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
297
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
298
298
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
299
299
  initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
300
300
  initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
@@ -123,6 +123,12 @@ export interface CalendarItem extends StoredDocument, ICureDocument<string>, Has
123
123
  * How this calendar item is considered by the availabilities algorithm.
124
124
  */
125
125
  availabilitiesAssignmentStrategy: CalendarItem.AvailabilitiesAssignmentStrategy | undefined;
126
+ /**
127
+ *
128
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
129
+ * for deletion
130
+ */
131
+ hcpId: string | undefined;
126
132
  /**
127
133
  *
128
134
  * An id for linking recurring calendar items.
@@ -300,6 +306,12 @@ export declare class DecryptedCalendarItem {
300
306
  * How this calendar item is considered by the availabilities algorithm.
301
307
  */
302
308
  availabilitiesAssignmentStrategy: CalendarItem_.AvailabilitiesAssignmentStrategy | undefined;
309
+ /**
310
+ *
311
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
312
+ * for deletion
313
+ */
314
+ hcpId: string | undefined;
303
315
  /**
304
316
  *
305
317
  * An id for linking recurring calendar items.
@@ -515,6 +527,12 @@ export declare class EncryptedCalendarItem {
515
527
  * How this calendar item is considered by the availabilities algorithm.
516
528
  */
517
529
  availabilitiesAssignmentStrategy: CalendarItem_.AvailabilitiesAssignmentStrategy | undefined;
530
+ /**
531
+ *
532
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
533
+ * for deletion
534
+ */
535
+ hcpId: string | undefined;
518
536
  /**
519
537
  *
520
538
  * An id for linking recurring calendar items.
@@ -164,6 +164,12 @@ export class DecryptedCalendarItem {
164
164
  * How this calendar item is considered by the availabilities algorithm.
165
165
  */
166
166
  this.availabilitiesAssignmentStrategy = undefined;
167
+ /**
168
+ *
169
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
170
+ * for deletion
171
+ */
172
+ this.hcpId = undefined;
167
173
  /**
168
174
  *
169
175
  * An id for linking recurring calendar items.
@@ -271,6 +277,8 @@ export class DecryptedCalendarItem {
271
277
  this.resourceGroup = partial.resourceGroup;
272
278
  if ('availabilitiesAssignmentStrategy' in partial)
273
279
  this.availabilitiesAssignmentStrategy = partial.availabilitiesAssignmentStrategy;
280
+ if ('hcpId' in partial)
281
+ this.hcpId = partial.hcpId;
274
282
  if ('recurrenceId' in partial)
275
283
  this.recurrenceId = partial.recurrenceId;
276
284
  if ('meetingTags' in partial && partial.meetingTags !== undefined)
@@ -349,6 +357,8 @@ export class DecryptedCalendarItem {
349
357
  res['resourceGroup'] = this.resourceGroup.toJSON();
350
358
  if (this.availabilitiesAssignmentStrategy != undefined)
351
359
  res['availabilitiesAssignmentStrategy'] = this.availabilitiesAssignmentStrategy;
360
+ if (this.hcpId != undefined)
361
+ res['hcpId'] = this.hcpId;
352
362
  if (this.recurrenceId != undefined)
353
363
  res['recurrenceId'] = this.recurrenceId;
354
364
  res['meetingTags'] = this.meetingTags.map((x0) => x0.toJSON());
@@ -401,6 +411,7 @@ export class DecryptedCalendarItem {
401
411
  agendaId: expectString(extractEntry(jCpy, 'agendaId', false, path), true, [...path, ".agendaId"]),
402
412
  resourceGroup: expectObject(extractEntry(jCpy, 'resourceGroup', false, path), true, ignoreUnknownKeys, [...path, ".resourceGroup"], CodeStub.fromJSON),
403
413
  availabilitiesAssignmentStrategy: expectStringEnum(extractEntry(jCpy, 'availabilitiesAssignmentStrategy', false, path), true, [...path, ".availabilitiesAssignmentStrategy"], CalendarItem_.AvailabilitiesAssignmentStrategy, 'CalendarItem.AvailabilitiesAssignmentStrategy'),
414
+ hcpId: expectString(extractEntry(jCpy, 'hcpId', false, path), true, [...path, ".hcpId"]),
404
415
  recurrenceId: expectString(extractEntry(jCpy, 'recurrenceId', false, path), true, [...path, ".recurrenceId"]),
405
416
  meetingTags: expectArray(extractEntry(jCpy, 'meetingTags', false, path), false, [...path, ".meetingTags"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedCalendarItemTag.fromJSON)),
406
417
  properties: expectArray(extractEntry(jCpy, 'properties', false, path), false, [...path, ".properties"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DecryptedPropertyStub.fromJSON)),
@@ -575,6 +586,12 @@ export class EncryptedCalendarItem {
575
586
  * How this calendar item is considered by the availabilities algorithm.
576
587
  */
577
588
  this.availabilitiesAssignmentStrategy = undefined;
589
+ /**
590
+ *
591
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
592
+ * for deletion
593
+ */
594
+ this.hcpId = undefined;
578
595
  /**
579
596
  *
580
597
  * An id for linking recurring calendar items.
@@ -682,6 +699,8 @@ export class EncryptedCalendarItem {
682
699
  this.resourceGroup = partial.resourceGroup;
683
700
  if ('availabilitiesAssignmentStrategy' in partial)
684
701
  this.availabilitiesAssignmentStrategy = partial.availabilitiesAssignmentStrategy;
702
+ if ('hcpId' in partial)
703
+ this.hcpId = partial.hcpId;
685
704
  if ('recurrenceId' in partial)
686
705
  this.recurrenceId = partial.recurrenceId;
687
706
  if ('meetingTags' in partial && partial.meetingTags !== undefined)
@@ -760,6 +779,8 @@ export class EncryptedCalendarItem {
760
779
  res['resourceGroup'] = this.resourceGroup.toJSON();
761
780
  if (this.availabilitiesAssignmentStrategy != undefined)
762
781
  res['availabilitiesAssignmentStrategy'] = this.availabilitiesAssignmentStrategy;
782
+ if (this.hcpId != undefined)
783
+ res['hcpId'] = this.hcpId;
763
784
  if (this.recurrenceId != undefined)
764
785
  res['recurrenceId'] = this.recurrenceId;
765
786
  res['meetingTags'] = this.meetingTags.map((x0) => x0.toJSON());
@@ -812,6 +833,7 @@ export class EncryptedCalendarItem {
812
833
  agendaId: expectString(extractEntry(jCpy, 'agendaId', false, path), true, [...path, ".agendaId"]),
813
834
  resourceGroup: expectObject(extractEntry(jCpy, 'resourceGroup', false, path), true, ignoreUnknownKeys, [...path, ".resourceGroup"], CodeStub.fromJSON),
814
835
  availabilitiesAssignmentStrategy: expectStringEnum(extractEntry(jCpy, 'availabilitiesAssignmentStrategy', false, path), true, [...path, ".availabilitiesAssignmentStrategy"], CalendarItem_.AvailabilitiesAssignmentStrategy, 'CalendarItem.AvailabilitiesAssignmentStrategy'),
836
+ hcpId: expectString(extractEntry(jCpy, 'hcpId', false, path), true, [...path, ".hcpId"]),
815
837
  recurrenceId: expectString(extractEntry(jCpy, 'recurrenceId', false, path), true, [...path, ".recurrenceId"]),
816
838
  meetingTags: expectArray(extractEntry(jCpy, 'meetingTags', false, path), false, [...path, ".meetingTags"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, EncryptedCalendarItemTag.fromJSON)),
817
839
  properties: expectArray(extractEntry(jCpy, 'properties', false, path), false, [...path, ".properties"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, EncryptedPropertyStub.fromJSON)),
@@ -1,3 +1,4 @@
1
+ import { Document as Document_ } from './Document.mjs';
1
2
  import { CodeStub } from './base/CodeStub.mjs';
2
3
  import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
3
4
  import { ICureDocument } from './base/ICureDocument.mjs';
@@ -78,6 +79,12 @@ export interface Document extends StoredDocument, ICureDocument<string>, HasEncr
78
79
  * Extra Uniform Type Identifiers for the main attachment.
79
80
  */
80
81
  otherUtis: Array<string>;
82
+ /**
83
+ *
84
+ * Extra Uniform Type Identifiers for the main attachment.
85
+ */
86
+ mainAttachmentStoredDataSize: number | undefined;
87
+ extraMainAttachmentInfo: Document.ExtraMainAttachmentInfo | undefined;
81
88
  /**
82
89
  *
83
90
  * Secondary attachments for this document.
@@ -206,6 +213,12 @@ export declare class DecryptedDocument {
206
213
  * Extra Uniform Type Identifiers for the main attachment.
207
214
  */
208
215
  otherUtis: Array<string>;
216
+ /**
217
+ *
218
+ * Extra Uniform Type Identifiers for the main attachment.
219
+ */
220
+ mainAttachmentStoredDataSize: number | undefined;
221
+ extraMainAttachmentInfo: Document_.ExtraMainAttachmentInfo | undefined;
209
222
  /**
210
223
  *
211
224
  * Secondary attachments for this document.
@@ -372,6 +385,12 @@ export declare class EncryptedDocument {
372
385
  * Extra Uniform Type Identifiers for the main attachment.
373
386
  */
374
387
  otherUtis: Array<string>;
388
+ /**
389
+ *
390
+ * Extra Uniform Type Identifiers for the main attachment.
391
+ */
392
+ mainAttachmentStoredDataSize: number | undefined;
393
+ extraMainAttachmentInfo: Document_.ExtraMainAttachmentInfo | undefined;
375
394
  /**
376
395
  *
377
396
  * Secondary attachments for this document.
@@ -425,3 +444,13 @@ export declare class EncryptedDocument {
425
444
  toJSON(): object;
426
445
  static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): EncryptedDocument;
427
446
  }
447
+ export declare namespace Document {
448
+ class ExtraMainAttachmentInfo {
449
+ compressionAlgorithm: string | undefined;
450
+ triedCompressionAlgorithmsVersion: string | undefined;
451
+ realDataSize: number | undefined;
452
+ constructor(partial: Partial<ExtraMainAttachmentInfo>);
453
+ toJSON(): object;
454
+ static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): ExtraMainAttachmentInfo;
455
+ }
456
+ }
@@ -1,6 +1,7 @@
1
1
  // auto-generated file
2
2
  import { expectArray, expectMap, expectNumber, expectObject, expectString, expectStringEnum, extractEntry } from '../internal/JsonDecodeUtils.mjs';
3
3
  import { randomUuid } from '../utils/Id.mjs';
4
+ import { Document as Document_ } from './Document.mjs';
4
5
  import { CodeStub } from './base/CodeStub.mjs';
5
6
  import { DataAttachment } from './embed/DataAttachment.mjs';
6
7
  import { Delegation } from './embed/Delegation.mjs';
@@ -118,6 +119,12 @@ export class DecryptedDocument {
118
119
  * Extra Uniform Type Identifiers for the main attachment.
119
120
  */
120
121
  this.otherUtis = [];
122
+ /**
123
+ *
124
+ * Extra Uniform Type Identifiers for the main attachment.
125
+ */
126
+ this.mainAttachmentStoredDataSize = undefined;
127
+ this.extraMainAttachmentInfo = undefined;
121
128
  /**
122
129
  *
123
130
  * Secondary attachments for this document.
@@ -202,6 +209,10 @@ export class DecryptedDocument {
202
209
  this.mainUti = partial.mainUti;
203
210
  if ('otherUtis' in partial && partial.otherUtis !== undefined)
204
211
  this.otherUtis = partial.otherUtis;
212
+ if ('mainAttachmentStoredDataSize' in partial)
213
+ this.mainAttachmentStoredDataSize = partial.mainAttachmentStoredDataSize;
214
+ if ('extraMainAttachmentInfo' in partial)
215
+ this.extraMainAttachmentInfo = partial.extraMainAttachmentInfo;
205
216
  if ('secondaryAttachments' in partial && partial.secondaryAttachments !== undefined)
206
217
  this.secondaryAttachments = partial.secondaryAttachments;
207
218
  if ('deletedAttachments' in partial && partial.deletedAttachments !== undefined)
@@ -259,6 +270,10 @@ export class DecryptedDocument {
259
270
  if (this.mainUti != undefined)
260
271
  res['mainUti'] = this.mainUti;
261
272
  res['otherUtis'] = this.otherUtis.map((x0) => x0);
273
+ if (this.mainAttachmentStoredDataSize != undefined)
274
+ res['mainAttachmentStoredDataSize'] = this.mainAttachmentStoredDataSize;
275
+ if (this.extraMainAttachmentInfo != undefined)
276
+ res['extraMainAttachmentInfo'] = this.extraMainAttachmentInfo.toJSON();
262
277
  res['secondaryAttachments'] = Object.fromEntries(Object.entries(this.secondaryAttachments).map(([k0, v0]) => [k0, v0.toJSON()]));
263
278
  res['deletedAttachments'] = this.deletedAttachments.map((x0) => x0.toJSON());
264
279
  res['secretForeignKeys'] = this.secretForeignKeys.map((x0) => x0);
@@ -300,6 +315,8 @@ export class DecryptedDocument {
300
315
  objectStoreReference: expectString(extractEntry(jCpy, 'objectStoreReference', false, path), true, [...path, ".objectStoreReference"]),
301
316
  mainUti: expectString(extractEntry(jCpy, 'mainUti', false, path), true, [...path, ".mainUti"]),
302
317
  otherUtis: expectArray(extractEntry(jCpy, 'otherUtis', false, path), false, [...path, ".otherUtis"], (x0, p0) => expectString(x0, false, p0)),
318
+ mainAttachmentStoredDataSize: expectNumber(extractEntry(jCpy, 'mainAttachmentStoredDataSize', false, path), true, true, [...path, ".mainAttachmentStoredDataSize"]),
319
+ extraMainAttachmentInfo: expectObject(extractEntry(jCpy, 'extraMainAttachmentInfo', false, path), true, ignoreUnknownKeys, [...path, ".extraMainAttachmentInfo"], Document_.ExtraMainAttachmentInfo.fromJSON),
303
320
  secondaryAttachments: expectMap(extractEntry(jCpy, 'secondaryAttachments', false, path), false, [...path, ".secondaryAttachments"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectObject(v0, false, ignoreUnknownKeys, p0, DataAttachment.fromJSON)),
304
321
  deletedAttachments: expectArray(extractEntry(jCpy, 'deletedAttachments', false, path), false, [...path, ".deletedAttachments"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DeletedAttachment.fromJSON)),
305
322
  secretForeignKeys: expectArray(extractEntry(jCpy, 'secretForeignKeys', false, path), false, [...path, ".secretForeignKeys"], (x0, p0) => expectString(x0, false, p0)),
@@ -427,6 +444,12 @@ export class EncryptedDocument {
427
444
  * Extra Uniform Type Identifiers for the main attachment.
428
445
  */
429
446
  this.otherUtis = [];
447
+ /**
448
+ *
449
+ * Extra Uniform Type Identifiers for the main attachment.
450
+ */
451
+ this.mainAttachmentStoredDataSize = undefined;
452
+ this.extraMainAttachmentInfo = undefined;
430
453
  /**
431
454
  *
432
455
  * Secondary attachments for this document.
@@ -511,6 +534,10 @@ export class EncryptedDocument {
511
534
  this.mainUti = partial.mainUti;
512
535
  if ('otherUtis' in partial && partial.otherUtis !== undefined)
513
536
  this.otherUtis = partial.otherUtis;
537
+ if ('mainAttachmentStoredDataSize' in partial)
538
+ this.mainAttachmentStoredDataSize = partial.mainAttachmentStoredDataSize;
539
+ if ('extraMainAttachmentInfo' in partial)
540
+ this.extraMainAttachmentInfo = partial.extraMainAttachmentInfo;
514
541
  if ('secondaryAttachments' in partial && partial.secondaryAttachments !== undefined)
515
542
  this.secondaryAttachments = partial.secondaryAttachments;
516
543
  if ('deletedAttachments' in partial && partial.deletedAttachments !== undefined)
@@ -568,6 +595,10 @@ export class EncryptedDocument {
568
595
  if (this.mainUti != undefined)
569
596
  res['mainUti'] = this.mainUti;
570
597
  res['otherUtis'] = this.otherUtis.map((x0) => x0);
598
+ if (this.mainAttachmentStoredDataSize != undefined)
599
+ res['mainAttachmentStoredDataSize'] = this.mainAttachmentStoredDataSize;
600
+ if (this.extraMainAttachmentInfo != undefined)
601
+ res['extraMainAttachmentInfo'] = this.extraMainAttachmentInfo.toJSON();
571
602
  res['secondaryAttachments'] = Object.fromEntries(Object.entries(this.secondaryAttachments).map(([k0, v0]) => [k0, v0.toJSON()]));
572
603
  res['deletedAttachments'] = this.deletedAttachments.map((x0) => x0.toJSON());
573
604
  res['secretForeignKeys'] = this.secretForeignKeys.map((x0) => x0);
@@ -609,6 +640,8 @@ export class EncryptedDocument {
609
640
  objectStoreReference: expectString(extractEntry(jCpy, 'objectStoreReference', false, path), true, [...path, ".objectStoreReference"]),
610
641
  mainUti: expectString(extractEntry(jCpy, 'mainUti', false, path), true, [...path, ".mainUti"]),
611
642
  otherUtis: expectArray(extractEntry(jCpy, 'otherUtis', false, path), false, [...path, ".otherUtis"], (x0, p0) => expectString(x0, false, p0)),
643
+ mainAttachmentStoredDataSize: expectNumber(extractEntry(jCpy, 'mainAttachmentStoredDataSize', false, path), true, true, [...path, ".mainAttachmentStoredDataSize"]),
644
+ extraMainAttachmentInfo: expectObject(extractEntry(jCpy, 'extraMainAttachmentInfo', false, path), true, ignoreUnknownKeys, [...path, ".extraMainAttachmentInfo"], Document_.ExtraMainAttachmentInfo.fromJSON),
612
645
  secondaryAttachments: expectMap(extractEntry(jCpy, 'secondaryAttachments', false, path), false, [...path, ".secondaryAttachments"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectObject(v0, false, ignoreUnknownKeys, p0, DataAttachment.fromJSON)),
613
646
  deletedAttachments: expectArray(extractEntry(jCpy, 'deletedAttachments', false, path), false, [...path, ".deletedAttachments"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, DeletedAttachment.fromJSON)),
614
647
  secretForeignKeys: expectArray(extractEntry(jCpy, 'secretForeignKeys', false, path), false, [...path, ".secretForeignKeys"], (x0, p0) => expectString(x0, false, p0)),
@@ -626,3 +659,46 @@ export class EncryptedDocument {
626
659
  return res;
627
660
  }
628
661
  }
662
+ export var Document;
663
+ (function (Document) {
664
+ class ExtraMainAttachmentInfo {
665
+ constructor(partial) {
666
+ this.compressionAlgorithm = undefined;
667
+ this.triedCompressionAlgorithmsVersion = undefined;
668
+ this.realDataSize = undefined;
669
+ if ('compressionAlgorithm' in partial)
670
+ this.compressionAlgorithm = partial.compressionAlgorithm;
671
+ if ('triedCompressionAlgorithmsVersion' in partial)
672
+ this.triedCompressionAlgorithmsVersion = partial.triedCompressionAlgorithmsVersion;
673
+ if ('realDataSize' in partial)
674
+ this.realDataSize = partial.realDataSize;
675
+ }
676
+ toJSON() {
677
+ const res = {};
678
+ if (this.compressionAlgorithm != undefined)
679
+ res['compressionAlgorithm'] = this.compressionAlgorithm;
680
+ if (this.triedCompressionAlgorithmsVersion != undefined)
681
+ res['triedCompressionAlgorithmsVersion'] = this.triedCompressionAlgorithmsVersion;
682
+ if (this.realDataSize != undefined)
683
+ res['realDataSize'] = this.realDataSize;
684
+ return res;
685
+ }
686
+ static fromJSON(json, ignoreUnknownKeys = false, path = ['ExtraMainAttachmentInfo']) {
687
+ if (typeof json != 'object')
688
+ throw new Error(`Expected json object at path ${path.join("")}`);
689
+ const jCpy = Object.assign({}, json);
690
+ const res = new ExtraMainAttachmentInfo({
691
+ compressionAlgorithm: expectString(extractEntry(jCpy, 'compressionAlgorithm', false, path), true, [...path, ".compressionAlgorithm"]),
692
+ triedCompressionAlgorithmsVersion: expectString(extractEntry(jCpy, 'triedCompressionAlgorithmsVersion', false, path), true, [...path, ".triedCompressionAlgorithmsVersion"]),
693
+ realDataSize: expectNumber(extractEntry(jCpy, 'realDataSize', false, path), true, true, [...path, ".realDataSize"]),
694
+ });
695
+ if (!ignoreUnknownKeys) {
696
+ const unused = Object.keys(jCpy);
697
+ if (unused.length > 0)
698
+ throw new Error(`Unexpected key(s) for json object ExtraMainAttachmentInfo at path ${path.join("")}: ${unused}`);
699
+ }
700
+ return res;
701
+ }
702
+ }
703
+ Document.ExtraMainAttachmentInfo = ExtraMainAttachmentInfo;
704
+ })(Document || (Document = {}));