commonMain.city.smartb.im.organization.domain.OrganizationQueryFeatures.kt Maven / Gradle / Ivy
package city.smartb.im.organization.domain
import city.smartb.im.organization.domain.features.query.OrganizationGetFromInseeFunction
import city.smartb.im.organization.domain.features.query.OrganizationGetFunction
import city.smartb.im.organization.domain.features.query.OrganizationPageFunction
import city.smartb.im.organization.domain.features.query.OrganizationRefListFunction
import city.smartb.im.organization.domain.model.OrganizationDTO
interface OrganizationQueryFeatures {
/**
* Fetch an Organization by its ID.
*/
fun organizationGet(): OrganizationGetFunction
/**
* Fetch an Organization by its siret number from the Insee Sirene API.
*/
fun organizationGetFromInsee(): OrganizationGetFromInseeFunction
/**
* Fetch a page of organizations.
*/
fun organizationPage(): OrganizationPageFunction
/**
* Fetch all OrganizationRef.
*/
fun organizationRefList(): OrganizationRefListFunction
}