@icure/cardinal-sdk 2.8.1 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -367,7 +367,7 @@ function addFormatStructureForDate(structure) {
367
367
  function addFormatStructureForTime(structure) {
368
368
  this.u3z(structure);
369
369
  }
370
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
370
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
371
371
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
372
372
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
373
373
  function set_fractionOfSecond(value) {
@@ -1,3 +1,4 @@
1
+ import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs';
1
2
  import { Insurance } from '../model/Insurance.mjs';
2
3
  import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs';
3
4
  import { InsuranceInGroupApi } from './InsuranceInGroupApi.mjs';
@@ -23,4 +24,8 @@ export interface InsuranceApi {
23
24
  purgeInsurances(insurances: Array<Insurance>): Promise<Array<StoredDocumentIdentifier>>;
24
25
  listInsurancesByCode(insuranceCode: string): Promise<Array<Insurance>>;
25
26
  listInsurancesByName(insuranceName: string): Promise<Array<Insurance>>;
27
+ matchInsurancesBy(filter: BaseFilterOptions<Insurance>): Promise<Array<string>>;
28
+ filterInsurancesBy(filter: BaseFilterOptions<Insurance>): Promise<PaginatedListIterator<Insurance>>;
29
+ matchInsurancesBySorted(filter: BaseSortableFilterOptions<Insurance>): Promise<Array<string>>;
30
+ filterInsurancesBySorted(filter: BaseSortableFilterOptions<Insurance>): Promise<PaginatedListIterator<Insurance>>;
26
31
  }
@@ -1,3 +1,4 @@
1
+ import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs';
1
2
  import { GroupScoped } from '../model/GroupScoped.mjs';
2
3
  import { Insurance } from '../model/Insurance.mjs';
3
4
  import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs';
@@ -20,4 +21,8 @@ export interface InsuranceInGroupApi {
20
21
  purgeInsuranceByIds(entityIds: Array<GroupScoped<StoredDocumentIdentifier>>): Promise<Array<GroupScoped<StoredDocumentIdentifier>>>;
21
22
  purgeInsurance(insurance: GroupScoped<Insurance>): Promise<void>;
22
23
  purgeInsurances(insurances: Array<GroupScoped<Insurance>>): Promise<Array<GroupScoped<StoredDocumentIdentifier>>>;
24
+ matchInsurancesBy(groupId: string, filter: BaseFilterOptions<Insurance>): Promise<Array<string>>;
25
+ matchInsurancesBySorted(groupId: string, filter: BaseSortableFilterOptions<Insurance>): Promise<Array<string>>;
26
+ filterInsurancesBy(groupId: string, filter: BaseFilterOptions<Insurance>): Promise<PaginatedListIterator<GroupScoped<Insurance>>>;
27
+ filterInsurancesBySorted(groupId: string, filter: BaseSortableFilterOptions<Insurance>): Promise<PaginatedListIterator<GroupScoped<Insurance>>>;
23
28
  }
@@ -509,6 +509,25 @@ export declare namespace InternalHealthcarePartyFiltersObj {
509
509
  }
510
510
  }
511
511
  }
512
+ export declare abstract class InternalInsuranceFiltersObj {
513
+ static readonly getInstance: () => typeof InternalInsuranceFiltersObj.$metadata$.type;
514
+ private constructor();
515
+ }
516
+ export declare namespace InternalInsuranceFiltersObj {
517
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
518
+ namespace $metadata$ {
519
+ abstract class type extends KtSingleton<constructor>() {
520
+ private constructor();
521
+ }
522
+ abstract class constructor {
523
+ all(): BaseFilterOptions<model.Insurance>;
524
+ byIdentifiers(identifiers: Array<model.Identifier>): BaseFilterOptions<model.Insurance>;
525
+ byCode(codeType: string, options: any): BaseSortableFilterOptions<model.Insurance>;
526
+ byTag(tagType: string, options: any): BaseSortableFilterOptions<model.Insurance>;
527
+ private constructor();
528
+ }
529
+ }
530
+ }
512
531
  export declare abstract class InternalMaintenanceTaskFiltersObj {
513
532
  static readonly getInstance: () => typeof InternalMaintenanceTaskFiltersObj.$metadata$.type;
514
533
  private constructor();