import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs'; import { Contact, EncryptedContact } from '../model/Contact.mjs'; import { GroupScoped } from '../model/GroupScoped.mjs'; import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs'; import { EncryptedService, Service } from '../model/embed/Service.mjs'; export interface ContactBasicInGroupApi { /** * * In-group version of [ContactBasicApi.matchContactsBy] */ matchContactsBy(groupId: string, filter: BaseFilterOptions): Promise>; /** * * In-group version of [ContactBasicApi.matchContactsBySorted] */ matchContactsBySorted(groupId: string, filter: BaseSortableFilterOptions): Promise>; /** * * In-group version of [ContactBasicApi.matchServicesBy] */ matchServicesBy(groupId: string, filter: BaseFilterOptions): Promise>; /** * * In-group version of [ContactBasicApi.matchServicesBySorted] */ matchServicesBySorted(groupId: string, filter: BaseSortableFilterOptions): Promise>; /** * * In-group version of [ContactBasicApi.filterContactsBy] */ filterContactsBy(groupId: string, filter: BaseFilterOptions): Promise>>; /** * * In-group version of [ContactBasicApi.filterContactsBySorted] */ filterContactsBySorted(groupId: string, filter: BaseSortableFilterOptions): Promise>>; /** * * In-group version of [ContactBasicApi.filterServicesBy] */ filterServicesBy(groupId: string, filter: BaseFilterOptions): Promise>>; /** * * In-group version of [ContactBasicApi.filterServicesBySorted] */ filterServicesBySorted(groupId: string, filter: BaseSortableFilterOptions): Promise>>; /** * * In-group version of [ContactBasicFlavourlessApi.deleteContactById] */ deleteContactById(entityId: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavourlessApi.deleteContactsByIds] */ deleteContactsByIds(entityIds: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavourlessApi.purgeContactById] */ purgeContactById(entityId: GroupScoped): Promise; /** * * In-group version of [ContactBasicFlavourlessApi.purgeContactsByIds] */ purgeContactsByIds(entityIds: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavourlessApi.deleteContact] */ deleteContact(contact: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavourlessApi.deleteContacts] */ deleteContacts(contacts: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavourlessApi.purgeContact] */ purgeContact(contact: GroupScoped): Promise; /** * * In-group version of [ContactBasicFlavourlessApi.purgeContacts] */ purgeContacts(contacts: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.createContact]. */ createContact(entity: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavouredApi.createContacts]. */ createContacts(entities: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.undeleteContactById] */ undeleteContactById(entityId: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavouredApi.undeleteContactsByIds] */ undeleteContactsByIds(entityIds: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.undeleteContact] */ undeleteContact(contact: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavouredApi.undeleteContacts] */ undeleteContacts(contacts: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.modifyContact] */ modifyContact(entity: GroupScoped): Promise>; /** * * In-group version of [ContactBasicFlavouredApi.modifyContacts] */ modifyContacts(entities: Array>): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.getContact] */ getContact(groupId: string, entityId: string): Promise | undefined>; /** * * In-group version of [ContactBasicFlavouredApi.getContacts] */ getContacts(groupId: string, entityIds: Array): Promise>>; /** * * In-group version of [ContactBasicFlavouredApi.getService] */ getService(groupId: string, serviceId: string): Promise | undefined>; /** * * In-group version of [ContactBasicFlavouredApi.getServices] */ getServices(groupId: string, entityIds: Array): Promise>>; }