export declare enum Permission { ALL_PERMISSIONS = "all_permissions", ACTIVITY_LOG_READ = "activity-log.read", CONTACT_CREATE = "contact.create", CONTACT_READ = "contact.read", CONTACT_UPDATE = "contact.update", CONTACT_DELETE = "contact.delete", EVENT_LOG_READ = "event-log.read", FILE_READ = "file.read", FILE_CREATE = "file.create", FILE_DELETE = "file.delete", JOBS_READ_INDEX = "jobs.read.index", JOBS_READ_DETAIL = "jobs.read.detail", NOTIFICATION_READ_OWN = "notification.read.own", NOTIFICATION_READ_CONFIG = "notification.read.config", NOTIFICATION_UPDATE_READ = "notification.update.read", NOTIFICATION_UPDATE_UNREAD = "notification.update.unread", NOTIFICATION_PREFERENCES_UPDATE_CHANNEL = "notification.preferences.update.channel", NOTIFICATION_PREFERENCES_UPDATE_PRESET = "notification.preferences.update.preset", NOTIFICATION_PREFERENCES_UPDATE_TYPES = "notification.preferences.update.types", NOTIFICATION_PREFERENCES_READ_OWN = "notification.preferences.read.own", NOTIFICATION_MIGRATE_TYPE = "notification.migrate-type", NOTIFICATION_SEND_TEST = "notification.send-test", ROLE_READ = "role.read", ROLE_CREATE = "role.create", ROLE_UPDATE = "role.update", ROLE_DELETE = "role.delete", ROLE_CACHE_CLEAR = "role.cache.clear", SEND_PUSH_NOTIFICATION = "send_push_notification", TYPESENSE = "typesense", USER_READ = "user.read", USER_CREATE = "user.create", USER_UPDATE = "user.update", USER_DELETE = "user.delete", LOCATION_CREATE = "location.create", LOCATION_UPDATE = "location.update", LOCATION_READ = "location.read", CONTACT_PERSON_ARCHIVE = "contact-person.archive", CONTACT_PERSON_UNARCHIVE = "contact-person.unarchive", CONTACT_PERSON_CREATE = "contact-person.create", CONTACT_PERSON_UPDATE = "contact-person.update", CONTACT_PERSON_READ = "contact-person.read", INDIVIDUAL_CREATE = "individual.create", INDIVIDUAL_UPDATE = "individual.update", INDIVIDUAL_STATUS_UPDATE = "individual.status.update", INDIVIDUAL_READ = "individual.read", INDIVIDUAL_READ_ACTIVITY_LOG = "individual.read-activity-log", BUSINESS_CREATE = "business.create", BUSINESS_LINK_AS_CHILD = "business.link-as-child", BUSINESS_LINK_AS_PARENT = "business.link-as-parent", BUSINESS_READ = "business.read", BUSINESS_READ_ACTIVITY_LOG = "business.read-activity-log", BUSINESS_UPDATE = "business.update", BUSINESS_VAT_NUMBER_EXISTENCE_CHECK = "business.vat-number-existence-check", BILLING_INFORMATION_UPSERT = "billing-information.upsert", BILLING_INFORMATION_READ = "billing-information.read", TENANT_CONFIG_READ = "tenant.config.read", TENANT_CONFIG_UPDATE = "tenant.config.update", TENANT_CREATE = "tenant.create", TENANT_READ_INDEX = "tenant.read_index", TENANT_READ_DETAIL = "tenant.read_detail", TENANT_UPDATE = "tenant.update", CUSTOM_FIELD_DEFINITION_CREATE = "custom-field-definition.create", CUSTOM_FIELD_DEFINITION_READ = "custom-field-definition.read", NOTE_CREATE = "note.create", NOTE_UPDATE = "note.update", NOTE_READ = "note.read", NOTE_DELETE = "note.delete", NOTE_FILE_CREATE = "note-file.create", NOTE_FILE_DELETE = "note-file.delete", BOARD_CREATE = "board.create", BOARD_READ = "board.read", DEAL_CREATE = "deal.create", DEAL_READ = "deal.read", DEAL_UPDATE = "deal.update", DEAL_CONTACT_PERSON_UPDATE = "deal.contact.person.update", DEAL_CONTACT_PERSON_READ = "deal.contact.person.read", VAT_NUMBER_CHECK = "vat-number-check", CBE_IMPORT = "cbe.import", CBE_SEARCH = "cbe.search", MAIL_TEMPLATE_READ = "mail.template.read", MAIL_TEMPLATE_CREATE = "mail.template.create", MAIL_TEMPLATE_UPDATE = "mail.template.update", MAIL_READ = "mail.read", MAIL_CREATE = "mail.create" } export type ViewPermissionIndexPermissionResponse = { name: string; key: Permission; description: string; }; export type ViewPermissionIndexGroupResponse = { name: string; permissions: Array; }; export type ViewPermissionIndexResponse = { groups: Array; }; export type BrandColorsCommand = { brand25: string; brand50: string; brand100: string; brand200: string; brand300: string; brand400: string; brand500: string; brand600: string; brand700: string; brand800: string; brand900: string; brand950: string; }; export declare enum Locale { EN_US = "en-US", NL_BE = "nl-BE", FR_BE = "fr-BE" } export type LocalizedString = { language: Locale; value: string; }; export declare enum EntityColor { MOSS = "moss", GREEN_LIGHT = "green-light", GREEN = "green", TEAL = "teal", CYAN = "cyan", BLUE_LIGHT = "blue-light", BLUE = "blue", BLUE_DARK = "blue-dark", INDIGO = "indigo", VIOLET = "violet", PURPLE = "purple", FUCHSIA = "fuchsia", PINK = "pink", ROSE = "rose", ORANGE_DARK = "orange-dark", ORANGE = "orange", YELLOW = "yellow", ERROR = "error", WARNING = "warning", SUCCESS = "success" } export declare enum BillingInformationRequirement { EMAIL_ONLY = "EMAIL_ONLY", ADDRESS_ONLY = "ADDRESS_ONLY", EMAIL_AND_ADDRESS = "EMAIL_AND_ADDRESS", EMAIL_OR_ADDRESS = "EMAIL_OR_ADDRESS" } export type BusinessConfigCommand = { name: Array; entityColor: EntityColor; viesValidation: boolean; requireIndividualOnCreate: boolean; billingInformationRequirement: BillingInformationRequirement; }; export type IndividualConfigCommand = { name: Array; entityColor: EntityColor; billingInformationRequirement: BillingInformationRequirement; }; export type CreateTenantCommand = { name: string; slug: string; domain: string; logoUrl: string | null; oidcIssuer: string; oidcClientId: string; oidcOrganizationId: string; nativeClientId: string; czOidcIssuer: string; czOidcAudience: string; czOidcOrganizationId: string; czNativeClientId: string; brandColors: BrandColorsCommand; businessConfig: BusinessConfigCommand; individualConfig: IndividualConfigCommand; }; export type CreateTenantResponse = { uuid: string; name: string; slug: string; oidcIssuer: string; oidcClientId: string; }; export type UpdateTenantCommand = { name: string; slug: string; domain: string | null; logoUrl: string | null; oidcIssuer?: string; oidcClientId?: string; oidcOrganizationId?: string; nativeClientId?: string; czOidcIssuer?: string; czOidcAudience?: string; czOidcOrganizationId?: string; czNativeClientId?: string; brandColors: BrandColorsCommand; businessConfig: BusinessConfigCommand; individualConfig: IndividualConfigCommand; }; export type TenantNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'tenant_not_found'; }; export type UpdateTenantBrandColorsCommand = { brandColors: BrandColorsCommand; }; export declare enum EntityType { INDIVIDUAL = "individual", BUSINESS = "business" } export type TenantEntityConfigCommand = { entityType: EntityType; entityName: Array; entityColor: EntityColor; }; export type UpdateTenantEntitiesConfigCommand = { entities: Array; }; export declare enum TenantCompanywebLocale { NL = "NL", FR = "FR", EN = "EN" } export type TenantCompanywebConfigCommand = { login: string; password: string; secret: string; language: TenantCompanywebLocale; integrator: string; }; export type TenantBusinessConfigCommand = { viesValidation: boolean; requireIndividualOnCreate: boolean; companyweb: TenantCompanywebConfigCommand | null; }; export type UpdateTenantBusinessConfigCommand = { businessConfig: TenantBusinessConfigCommand; }; export type TenantBillingConfigCommand = { individualBillingInformationRequirement: BillingInformationRequirement; businessBillingInformationRequirement: BillingInformationRequirement; }; export type UpdateTenantBillingConfigCommand = { billingConfig: TenantBillingConfigCommand; }; export type ViewTenantDetailResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; slug: string; domain: string | null; }; export type PaginatedOffsetQuery = { limit: number; offset: number; }; export type TenantResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; slug: string; domain: string | null; }; export type PaginatedOffsetResponseMeta = { /** * the total amount of items that exist */ total: number; /** * the amount of items skipped */ offset: number; /** * the amount of items per response */ limit: number; }; export type ViewTenantIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type TenantConfigEntities = { entityType: EntityType; entityName: string; entityColor: EntityColor; }; export type TenantConfigBusiness = { viesValidation: boolean; requireIndividualOnCreate: boolean; }; export type TenantConfigBilling = { individualBillingInformationRequirement: BillingInformationRequirement; businessBillingInformationRequirement: BillingInformationRequirement; }; export declare enum BusinessStatus { LEAD = "lead", CUSTOMER = "customer", INACTIVE = "inactive", ARCHIVED = "archived" } export declare enum IndividualStatus { CONTACT = "contact", LEAD = "lead", CUSTOMER = "customer", INACTIVE = "inactive" } export type TenantDealConfigResponse = { enableBusinessDeals: boolean; enableIndividualDeals: boolean; creatableBusinessStatuses: Array; creatableIndividualStatuses: Array; }; export type BrandColorsResponse = { brand25: string; brand50: string; brand100: string; brand200: string; brand300: string; brand400: string; brand500: string; brand600: string; brand700: string; brand800: string; brand900: string; brand950: string; }; export type ViewTenantConfigDetailResponse = { uuid: string; name: string; entities: Array; businessConfig: TenantConfigBusiness; billingConfig: TenantConfigBilling; dealConfig: TenantDealConfigResponse; brandColors: BrandColorsResponse; logoUrl: string | null; }; export declare enum RecentEntityType { INDIVIDUAL = "individual", BUSINESS = "business", DEAL = "deal" } export type ViewRecentEntitiesFilterQuery = { types?: Array; }; export type ViewRecentEntitiesResponseItem = { type: 'individual' | 'business' | 'deal'; uuid: string; name: string; createdAt: string; }; export type ViewRecentEntitiesResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type UserConnectedToOtherTenantError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '409'; code: 'user_connected_to_other_tenant'; }; export type UserNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'user_not_found'; }; export type AssignUserAsAdminCommand = { /** * Zitadel user identifier */ userId: string; }; export declare enum TypesenseCollectionName { USER = "user", LOCATION = "location", INDIVIDUAL = "individual", BUSINESS = "business", CBE_ENTERPRISE = "cbe-enterprise", CBE_ESTABLISHMENT = "cbe-establishment" } export type ViewCollectionIndexResponse = { collections: Array<'user' | 'location' | 'individual' | 'business' | 'cbe-enterprise' | 'cbe-establishment'>; }; export type ViewLoginConfigResponse = { /** * The base URL for login */ baseUrl: string; /** * The client ID for the application */ clientId: string; /** * The organization ID associated with the login */ organizationID: string; nativeClientId: string; brandColors: BrandColorsResponse; logoUrl: string | null; }; export type ViewCzLoginConfigResponse = { /** * The base URL for CZ login */ baseUrl: string; /** * The client ID used for CZ authentication */ clientId: string; /** * The organization ID associated with the CZ login */ organizationID: string; nativeClientId: string; brandColors: BrandColorsResponse; }; export type GetApiInfoResponse = { environment: string; /** * Commit SHA of the current build */ commit: string; /** * Version of the current build */ version: string; /** * Timestamp of the current build */ timestamp: string; }; export type SetUserRolesCommand = { roleUuids: Array; }; export type ViewRoleDetailResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; permissions: Array; isDefault: boolean; isSystemAdmin: boolean; }; export type ViewMeResponse = { uuid: string; email: string | null; firstName: string | null; lastName: string | null; tenantUuid: string | null; roles: Array; }; export type ViewUserDetailResponse = { uuid: string; email: string | null; firstName: string | null; lastName: string | null; tenantUuid: string | null; roles: Array; }; export type UserIndexRoleView = { uuid: string; name: string; }; export type UserIndexView = { uuid: string; email: string | null; firstName: string | null; lastName: string | null; roles: Array; }; export type ViewUserIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type CreateRoleCommand = { /** * The name of the role */ name: string; }; export type CreateRoleResponse = { uuid: string; }; export type ClearRolePermissionsCacheCommand = { /** * clears the cache for all roles when omitted or null */ roleUuids?: Array | null; }; export type RoleNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'role_not_found'; }; export type UpdateRoleCommand = { /** * The name of the role */ name: string; }; export type RoleResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; permissions: Array; isDefault: boolean; isSystemAdmin: boolean; }; export type ViewRoleIndexResponse = { items: Array; }; export type UpdateRolesPermissionsCommandItem = { roleUuid: string; permissions: Array; }; export type UpdateRolesPermissionsCommand = { roles: Array; }; export declare enum MimeType { APPLICATION_PDF = "application/pdf", APPLICATION_MSWORD = "application/msword", APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint", APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation", TEXT_PLAIN = "text/plain", TEXT_HTML = "text/html", TEXT_CSV = "text/csv", IMAGE_JPEG = "image/jpeg", IMAGE_PNG = "image/png", IMAGE_TIFF = "image/tiff", IMAGE_BMP = "image/bmp", IMAGE_HEIC = "image/heic", IMAGE_WEBP = "image/webp", IMAGE_GIF = "image/gif", APPLICATION_OCTET_STREAM = "application/octet-stream" } export type CreateFileCommand = { name: string; mimeType: MimeType; }; export type CreateFileResponse = { uuid: string; name: string; mimeType: MimeType | null; uploadUrl: string; }; export type FileNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'file_not_found'; }; export type ConfirmFileUploadCommand = { blurHash: string | null; }; export declare enum UiTheme { LIGHT = "light", DARK = "dark", SYSTEM = "system" } export declare enum FontSize { SMALLER = "smaller", SMALL = "small", DEFAULT = "default", LARGE = "large", LARGER = "larger" } export type UpdateUiPreferencesCommand = { theme?: UiTheme; language?: Locale; fontSize?: FontSize; showShortcuts?: boolean; reduceMotion?: boolean; highContrast?: boolean; }; export type ViewUiPreferencesResponse = { theme: UiTheme; language: Locale; fontSize: FontSize; showShortcuts: boolean; reduceMotion: boolean; highContrast: boolean; }; export type CreateOneSignalTokenResponse = { token: string; userUuid: string; }; export type Translations = { nl?: string; en?: string; }; export type SendPushNotificationCommand = { name: string; title: Translations; description: Translations; userUuids: Array; }; export declare enum SubjectType { USER = "user", FILE = "file", LOCATION = "location", CONTACT_PERSON = "contact_person", INDIVIDUAL = "individual", BUSINESS = "business", ROLE = "role", CONTACT = "contact", TENANT = "tenant", CUSTOM_FIELD_DEFINITION = "custom_field_definition", NOTE = "note", NOTE_FILE = "note_file", CBE_ENTERPRISE = "cbe_enterprise", BOARD_COLUMN = "board_column", MAIL_TEMPLATE = "mail_template", DEAL = "deal", DEAL_CONTACT_PERSON = "deal.contact.person", MAIL = "mail" } export type ViewDomainEventLogIndexFilterQuery = { subjectType?: SubjectType; subjectId?: string; userUuid?: string; }; export type ViewDomainEventLogIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewDomainEventLogIndexPaginationQuery = { limit: number; key?: ViewDomainEventLogIndexQueryKey | null; }; export type Address = { [key: string]: unknown; }; export type IndividualBillingInformationUpsertedEventContent = { individualUuid: string; billingInformationUuid: string; address: Address | null; invoiceEmail: string | null; invoiceCcEmails: Array; }; export type IndividualBillingInformationUpsertedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.billing-information.upserted'; content: IndividualBillingInformationUpsertedEventContent; }; export type IndividualStatusUpdatedDomainEventContent = { individualUuid: string; previousStatus: IndividualStatus; status: IndividualStatus; }; export type IndividualStatusUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.status.updated'; content: IndividualStatusUpdatedDomainEventContent; }; export type ValueChange = { key: string; oldValue: string | number | boolean | null; newValue: string | number | boolean | null; }; export type IndividualUpdatedDomainEventContent = { individualUuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; address?: Address; changes: Array; customFields?: { [key: string]: unknown; }; language: Locale; }; export type IndividualUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.updated'; content: IndividualUpdatedDomainEventContent; }; export type IndividualCreatedDomainEventContent = { individualUuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; address: Address | null; customFields: { [key: string]: unknown; } | null; }; export type IndividualCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.created'; content: IndividualCreatedDomainEventContent; }; export type BusinessCreatedDomainEventContent = { businessUuid: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: string | null; companyNumber: string | null; address: Address; customFields: { [key: string]: unknown; } | null; language: Locale; }; export type BusinessCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.created'; content: BusinessCreatedDomainEventContent; }; export declare enum CountryCode { AF = "AF", AL = "AL", DZ = "DZ", AD = "AD", AO = "AO", AG = "AG", AR = "AR", AM = "AM", AU = "AU", AT = "AT", AZ = "AZ", BS = "BS", BH = "BH", BD = "BD", BB = "BB", BY = "BY", BE = "BE", BZ = "BZ", BJ = "BJ", BT = "BT", BO = "BO", BA = "BA", BW = "BW", BR = "BR", BN = "BN", BG = "BG", BF = "BF", BI = "BI", KH = "KH", CM = "CM", CA = "CA", CV = "CV", CF = "CF", TD = "TD", CL = "CL", CN = "CN", CO = "CO", KM = "KM", CG = "CG", CR = "CR", HR = "HR", CU = "CU", CY = "CY", CZ = "CZ", DK = "DK", DJ = "DJ", DM = "DM", DO = "DO", EC = "EC", EG = "EG", SV = "SV", GQ = "GQ", ER = "ER", EE = "EE", ET = "ET", FJ = "FJ", FI = "FI", FR = "FR", GA = "GA", GM = "GM", GE = "GE", DE = "DE", GH = "GH", GR = "GR", GD = "GD", GT = "GT", GN = "GN", GW = "GW", GY = "GY", HT = "HT", HN = "HN", HU = "HU", IS = "IS", IN = "IN", ID = "ID", IR = "IR", IQ = "IQ", IE = "IE", IL = "IL", IT = "IT", JM = "JM", JP = "JP", JO = "JO", KZ = "KZ", KE = "KE", KI = "KI", KP = "KP", KR = "KR", KW = "KW", KG = "KG", LA = "LA", LV = "LV", LB = "LB", LS = "LS", LR = "LR", LY = "LY", LI = "LI", LT = "LT", LU = "LU", MG = "MG", MW = "MW", MY = "MY", MV = "MV", ML = "ML", MT = "MT", MH = "MH", MR = "MR", MU = "MU", MX = "MX", FM = "FM", MD = "MD", MC = "MC", MN = "MN", ME = "ME", MA = "MA", MZ = "MZ", MM = "MM", NA = "NA", NR = "NR", NP = "NP", NL = "NL", NZ = "NZ", NI = "NI", NE = "NE", NG = "NG", XI = "XI", MK = "MK", NO = "NO", OM = "OM", PK = "PK", PW = "PW", PA = "PA", PG = "PG", PY = "PY", PE = "PE", PH = "PH", PL = "PL", PT = "PT", QA = "QA", RO = "RO", RU = "RU", RW = "RW", KN = "KN", LC = "LC", VC = "VC", WS = "WS", SM = "SM", ST = "ST", SA = "SA", SN = "SN", RS = "RS", SC = "SC", SL = "SL", SG = "SG", SK = "SK", SI = "SI", SB = "SB", SO = "SO", ZA = "ZA", SS = "SS", ES = "ES", LK = "LK", SD = "SD", SR = "SR", SE = "SE", CH = "CH", SY = "SY", TW = "TW", TJ = "TJ", TZ = "TZ", TH = "TH", TL = "TL", TG = "TG", TO = "TO", TT = "TT", TN = "TN", TR = "TR", TM = "TM", TV = "TV", UG = "UG", UA = "UA", AE = "AE", GB = "GB", US = "US", UY = "UY", UZ = "UZ", VU = "VU", VA = "VA", VE = "VE", VN = "VN", YE = "YE", ZM = "ZM", ZW = "ZW" } export type BusinessUpdatedDomainEventContent = { businessUuid: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: string | null; vatNumberCountryCode: CountryCode | null; companyNumber: string | null; address: Address; changes: ValueChange; customFields: { [key: string]: unknown; } | null; language: Locale; }; export type BusinessUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.updated'; content: BusinessUpdatedDomainEventContent; }; export type BusinessBillingInformationUpsertedEventContent = { businessUuid: string; billingInformationUuid: string; address: Address | null; invoiceEmail: string | null; invoiceCcEmails: Array; reminderEmail: string | null; reminderCcEmails: Array; purchaseNoteEmail: string | null; purchaseNoteCcEmails: Array; }; export type BusinessBillingInformationUpsertedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.billing-information.upserted'; content: BusinessBillingInformationUpsertedEventContent; }; export type BusinessStatusUpdatedDomainEventContent = { businessUuid: string; previousStatus: BusinessStatus; status: BusinessStatus; archivedAt: string | null; }; export type BusinessStatusUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.status.updated'; content: BusinessStatusUpdatedDomainEventContent; }; export type CbeEnterpriseImportedDomainEventContent = { enterpriseNumber: string; }; export type CbeEnterpriseImportedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'cbe-enterprise.imported'; content: CbeEnterpriseImportedDomainEventContent; }; export type CbeDenominationImportedDomainEventContent = { enterpriseNumber: string; }; export type CbeDenominationImportedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'cbe-denomination.imported'; content: CbeDenominationImportedDomainEventContent; }; export type CbeContactImportedDomainEventContent = { entityNumber: string; }; export type CbeContactImportedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'cbe-contact.imported'; content: CbeContactImportedDomainEventContent; }; export type CbeAddressImportedDomainEventContent = { entityNumber: string; }; export type CbeAddressImportedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'cbe-address.imported'; content: CbeAddressImportedDomainEventContent; }; export type ContactPersonContent = { uuid: string; name: string; }; export type ContactPersonLinkedToBusinessEventContent = { businessUuid: string; contactPerson: ContactPersonContent; position: string | null; }; export type BusinessContactPersonLinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.contact-person.linked'; content: ContactPersonLinkedToBusinessEventContent; }; export type ContactPersonLinkedToDealEventContent = { dealUuid: string; contactPerson: ContactPersonContent; }; export type DealContactPersonLinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.contact.person.linked'; content: ContactPersonLinkedToDealEventContent; }; export type CbeEstablishmentImportedDomainEventContent = { establishmentNumber: string; }; export type CbeEstablishmentImportedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'cbe-establishment.imported'; content: CbeEstablishmentImportedDomainEventContent; }; export type ClientId = { [key: string]: unknown; }; export declare enum SdkContentLocale { NL_BE = "nl-BE", EN_US = "en-US", FR_BE = "fr-BE", DE_DE = "de-DE" } export type DealCreatedEventContent = { dealUuid: string; name: string; clientId: ClientId; columnKey: string; language: SdkContentLocale; }; export type DealCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.created'; content: DealCreatedEventContent; }; export type DealUpdatedEventContent = { dealUuid: string; name: string; columnKey: string; language: SdkContentLocale; }; export type DealUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.updated'; content: DealUpdatedEventContent; }; export type DealColumnTransitionedEventContent = { fromBoardColumnUuid: string; toBoardColumnUuid: string; }; export type DealColumnTransitionedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.column.transitioned'; content: DealColumnTransitionedEventContent; }; export type MailCreatedEventContent = { mailUuid: string; to: Array; cc: Array; bcc: Array; subject: string; mailTemplateUuid: string | null; mailTemplateKey: string | null; dealUuid: string | null; }; export type MailCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'mail.created'; content: MailCreatedEventContent; }; export type LocationCreatedEventContent = { locationUuid: string; }; export type LocationCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'location.created'; content: LocationCreatedEventContent; }; export type LocationUpdatedEventContent = { locationUuid: string; }; export type LocationUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'location.updated'; content: LocationUpdatedEventContent; }; export type MailSentEventContent = { mailUuid: string; to: Array; cc: Array; bcc: Array; subject: string; mailTemplateUuid: string | null; mailTemplateKey: string | null; dealUuid: string | null; }; export type MailSentDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'mail.sent'; content: MailSentEventContent; }; export type BoardColumnCreatedEventContent = { boardColumnUuid: string; key: string; position: number; tenantUuid: string; }; export type BoardColumnCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'board-column.created'; content: BoardColumnCreatedEventContent; }; export type BoardColumnTransitionCreatedEventContent = { boardColumnTransitionUuid: string; fromColumnUuid: string; toColumnUuid: string; tenantUuid: string; }; export type BoardColumnTransitionCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'board-column-transition.created'; content: BoardColumnTransitionCreatedEventContent; }; export declare enum BoardColumnTransitionTriggerType { MANUAL = "manual", EMAIL = "email" } export type BoardColumnTransitionTriggerCreatedEventContent = { boardColumnTransitionTriggerUuid: string; boardColumnTransitionUuid: string; triggerType: BoardColumnTransitionTriggerType; tenantUuid: string; }; export type BoardColumnTransitionTriggerCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'board-column-transition-trigger.created'; content: BoardColumnTransitionTriggerCreatedEventContent; }; export type ContactPersonUnlinkedFromBusinessEventContent = { businessUuid: string; contactPerson: ContactPersonContent; }; export type BusinessContactPersonUnlinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.contact-person.unlinked'; content: ContactPersonUnlinkedFromBusinessEventContent; }; export type BusinessContactPersonUpdatedEventContent = { businessUuid: string; contactPerson: ContactPersonContent; diff: Array; }; export type BusinessContactPersonUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.contact-person.updated'; content: BusinessContactPersonUpdatedEventContent; }; export type BusinessContactPersonMadePrimaryEventContent = { businessUuid: string; contactPerson: ContactPersonContent; }; export type BusinessContactPersonMadePrimaryDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.contact-person.made-primary'; content: BusinessContactPersonMadePrimaryEventContent; }; export type CustomFieldDefinitionCreatedEventContent = { customFieldDefinitionUuid: string; }; export type CustomFieldDefinitionCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'custom-field-definition.created'; content: CustomFieldDefinitionCreatedEventContent; }; export type CreateUserIndividualGrantCreatedEventContent = { userUuid: string; customerZoneIndividualUserUuid: string; }; export type IndividualUserGrantCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual-user-grant.created'; content: CreateUserIndividualGrantCreatedEventContent; }; export type IndividualUserGrantEmailVerifiedEventContent = { customerZoneIndividualUserUuid: string; userUuid: string; }; export type IndividualUserGrantEmailVerifiedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual-user-grant.email-verified'; content: IndividualUserGrantEmailVerifiedEventContent; }; export type DealContactPersonMadePrimaryEventContent = { dealUuid: string; contactPerson: ContactPersonContent; }; export type DealContactPersonMadePrimaryDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.contact.person.made-primary'; content: DealContactPersonMadePrimaryEventContent; }; export type ContactPersonUnlinkedFromDealEventContent = { dealUuid: string; contactPerson: ContactPersonContent; }; export type DealContactPersonUnlinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.contact.person.unlinked'; content: ContactPersonUnlinkedFromDealEventContent; }; export type DealContactPersonUpdatedEventContent = { dealUuid: string; contactPerson: ContactPersonContent; diff: Array; }; export type DealContactPersonUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.contact.person.updated'; content: DealContactPersonUpdatedEventContent; }; export type DealOwnerUpdatedEventContent = { dealUuid: string; previousOwnerUuid: { [key: string]: unknown; } | null; dealOwnerUuid: { [key: string]: unknown; } | null; }; export type DealOwnerUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.owner.updated'; content: DealOwnerUpdatedEventContent; }; export type ContactPersonLinkedToIndividualEventContent = { individualUuid: string; contactPerson: ContactPersonContent; position: string | null; }; export type IndividualContactPersonLinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.contact-person.linked'; content: ContactPersonLinkedToIndividualEventContent; }; export type ContactPersonUnlinkedFromIndividualEventContent = { individualUuid: string; contactPerson: ContactPersonContent; }; export type IndividualContactPersonUnlinkedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.contact-person.unlinked'; content: ContactPersonUnlinkedFromIndividualEventContent; }; export type IndividualContactPersonUpdatedEventContent = { individualUuid: string; contactPerson: ContactPersonContent; diff: Array; }; export type IndividualContactPersonUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.contact-person.updated'; content: IndividualContactPersonUpdatedEventContent; }; export type IndividualContactPersonMadePrimaryEventContent = { individualUuid: string; contactPerson: ContactPersonContent; }; export type IndividualContactPersonMadePrimaryDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.contact-person.made-primary'; content: IndividualContactPersonMadePrimaryEventContent; }; export type MailTemplateCreatedEventContent = { mailTemplateUuid: string; key: string; }; export type MailTemplateCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'mail.template.created'; content: MailTemplateCreatedEventContent; }; export type MailTemplateUpdatedEventContent = { mailTemplateUuid: string; }; export type MailTemplateUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'mail.template.updated'; content: MailTemplateUpdatedEventContent; }; export type NoteDomainEventContent = { uuid: string; name: string; }; export type BusinessNoteCreatedDomainEventContent = { businessUuid: string; individualUuid: string; note: NoteDomainEventContent; }; export type BusinessNoteCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.note.created'; content: BusinessNoteCreatedDomainEventContent; }; export type IndividualNoteCreatedDomainEventContent = { businessUuid: string; individualUuid: string; note: NoteDomainEventContent; }; export type IndividualNoteCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.note.created'; content: IndividualNoteCreatedDomainEventContent; }; export type DealNoteCreatedDomainEventContent = { dealUuid: string; note: NoteDomainEventContent; }; export type DealNoteCreatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.note.created'; content: DealNoteCreatedDomainEventContent; }; export type BusinessNoteUpdatedDomainEventContent = { note: NoteDomainEventContent; businessUuid: string; changes: Array; }; export type BusinessNoteUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.note.updated'; content: BusinessNoteUpdatedDomainEventContent; }; export type IndividualNoteUpdatedDomainEventContent = { note: NoteDomainEventContent; individualUuid: string; changes: Array; }; export type IndividualNoteUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.note.updated'; content: IndividualNoteUpdatedDomainEventContent; }; export type DealNoteUpdatedDomainEventContent = { note: NoteDomainEventContent; dealUuid: string; changes: Array; }; export type DealNoteUpdatedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.note.updated'; content: DealNoteUpdatedDomainEventContent; }; export type IndividualNoteFileAddedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; individualUuid: string; }; export type IndividualNoteFileAddedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.note.file.added'; content: IndividualNoteFileAddedDomainEventContent; }; export type BusinessNoteFileAddedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; businessUuid: string; }; export type BusinessNoteFileAddedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.note.file.added'; content: BusinessNoteFileAddedDomainEventContent; }; export type DealNoteFileAddedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; }; export type DealNoteFileAddedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.note.file.added'; content: DealNoteFileAddedDomainEventContent; }; export type BusinessNoteFileDeletedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; businessUuid: string; }; export type BusinessNoteFileDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.note.file.deleted'; content: BusinessNoteFileDeletedDomainEventContent; }; export type IndividualNoteFileDeletedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; individualUuid: string; }; export type IndividualNoteFileDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.note.file.deleted'; content: IndividualNoteFileDeletedDomainEventContent; }; export type DealNoteFileDeletedDomainEventContent = { note: NoteDomainEventContent; fileUuid: string; }; export type DealNoteFileDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.note.file.deleted'; content: DealNoteFileDeletedDomainEventContent; }; export type BusinessNoteDeletedDomainEventContent = { noteUuid: string; businessUuid: string; }; export type BusinessNoteDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'business.note.deleted'; content: BusinessNoteDeletedDomainEventContent; }; export type IndividualNoteDeletedDomainEventContent = { noteUuid: string; individualUuid: string; }; export type IndividualNoteDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'individual.note.deleted'; content: IndividualNoteDeletedDomainEventContent; }; export type DealNoteDeletedDomainEventContent = { note: NoteDomainEventContent; dealUuid: string; }; export type DealNoteDeletedDomainEventLog = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; type: 'deal.note.deleted'; content: DealNoteDeletedDomainEventContent; }; export type DomainEventLogResponse = { uuid: string; createdAt: string; version: number; source: string; userUuid: string | null; message: string; subjectType: SubjectType | null; subjectId: string | null; }; export type ViewDomainEventLogIndexResponseMeta = { next: ViewDomainEventLogIndexQueryKey | null; }; export type ViewDomainEventLogIndexResponse = { items: Array; meta: ViewDomainEventLogIndexResponseMeta; }; export declare enum GlobalSearchCollectionName { USER = "user", BUSINESS = "business", INDIVIDUAL = "individual" } export type SearchCollectionsFilterContactQuery = { isActive?: boolean; }; export type SearchCollectionsFilterQuery = { collections?: Array; contact?: SearchCollectionsFilterContactQuery; }; export type SearchCollectionUserResponse = { uuid: string; name: string; email: { [key: string]: unknown; } | null; }; export type VatNumberResponse = { countryCode: CountryCode; /** * only numbers */ number: string; }; export type CoordinatesResponse = { longitude: number; latitude: number; }; export type AddressResponse = { placeName: string | null; placeId: string | null; country: string | null; city: string | null; postalCode: string | null; streetName: string | null; streetNumber: string | null; unit: string | null; coordinates: CoordinatesResponse | null; }; export type SearchCollectionBusinessResponse = { uuid: string; name: string; vatNumber: VatNumberResponse | null; address: AddressResponse; parentName: string | null; }; export type SearchCollectionIndividualResponse = { uuid: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; address: AddressResponse | null; }; export type SearchCollectionsResponseItem = { collection: GlobalSearchCollectionName; entity: SearchCollectionUserResponse | SearchCollectionBusinessResponse | SearchCollectionIndividualResponse; text_match: number; }; export type SearchCollectionsResponse = { items: Array; }; export declare enum NotificationPreset { ALL = "all", DEFAULT = "default", CUSTOM = "custom", NONE = "none" } export declare enum NotificationType { USER_CREATED = "user.created", SYSTEM_TEST_NOTIFICATION = "system.test-notification" } export type PreferenceTypes = { email: Array; sms: Array; app: Array; push: Array; }; export type GetMyNotificationPreferencesResponse = { preset: NotificationPreset; emailEnabled: boolean; smsEnabled: boolean; appEnabled: boolean; pushEnabled: boolean; preferences: PreferenceTypes; }; export declare enum NotificationChannel { EMAIL = "email", SMS = "sms", APP = "app", PUSH = "push" } export type NotificationTypeChannelConfig = { channel: NotificationChannel; defaultValue: boolean; isSupported: boolean; }; export type ViewNotificationTypeConfigTypeResponse = { key: NotificationType; description: string; channelConfigs: Array; }; export type ViewNotificationTypesConfigGroupResponse = { name: string; description: string; types: Array; }; export type GetNotificationTypesConfigResponse = { groups: Array; }; export type UpdateMyChannelNotificationPreferenceCommand = { channel: NotificationChannel; isEnabled: boolean; }; export type GetMyNotificationsFilterQuery = { onlyUnread?: string; }; export type GetMyNotificationsQueryKey = { createdAt: string; notificationUuid: string; }; export type GetMyNotificationsPaginationQuery = { limit: number; key?: GetMyNotificationsQueryKey | null; }; export type CreatedByUserResponse = { uuid: string; name: string; }; export type TestNotificationContent = { message: string; }; export type SystemTestNotificationNotification = { createdAt: string; readAt: string | null; notificationUuid: string; createdByUser: CreatedByUserResponse | null; message: string; type: 'system.test-notification'; meta: TestNotificationContent; }; export type GetMyNotificationsResponseMeta = { next: GetMyNotificationsQueryKey | null; }; export type GetMyNotificationsResponse = { items: Array; meta: GetMyNotificationsResponseMeta; }; export type ViewUnreadNotificationsCountResponse = { amount: number; exceedsLimit: boolean; }; export type UserNotificationNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'user_notification_not_found'; }; export type UpdateMyNotificationTypePreferenceCommand = { channel: NotificationChannel; isEnabled: boolean; types: Array; }; export type UpdateMyNotificationPreferencePresetCommand = { preset: NotificationPreset; }; export type MigrationAlreadyPerformedErrorMeta = { type: Array; }; export type MigrationAlreadyPerformedError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'migration_already_performed'; /** * a meta object containing non-standard meta-information about the error */ meta: MigrationAlreadyPerformedErrorMeta; }; export type MigrateNotificationTypesCommand = { types: Array; }; export type SendTestNotificationCommand = { message: string; }; export declare enum ViewJobsIndexSortQueryKey { CREATED_AT = "createdAt" } export declare enum SortDirection { ASC = "asc", DESC = "desc" } export type ViewJobsIndexSortQuery = { key: ViewJobsIndexSortQueryKey; order: SortDirection; }; export declare enum QueueName { SYSTEM = "system" } export type ViewJobsIndexFilterQuery = { queueNames?: Array; }; export type ViewJobsIndexQueryKey = { createdAt?: string; id: string; }; export type ViewJobsIndexPaginationQuery = { limit: number; key?: ViewJobsIndexQueryKey | null; }; export declare enum JobStatus { CREATED = "created", ACTIVE = "active", COMPLETED = "completed", RETRY = "retry", FAILED = "failed", CANCELLED = "cancelled" } export type ViewJobsIndexItemResponse = { queueName: QueueName; id: string; name: string; status: JobStatus; createdAt: string; completedAt: string | null; }; export type ViewJobsIndexResponseMeta = { next: ViewJobsIndexQueryKey | null; }; export type ViewJobsIndexResponse = { items: Array; meta: ViewJobsIndexResponseMeta; }; export type JobNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'job_not_found'; }; export type ViewJobDetailResponse = { id: string; queueName: QueueName; priority: number; name: string; data: { [key: string]: unknown; }; status: JobStatus; retryLimit: number; retryCount: number; retryDelay: number; retryBackoff: boolean; startAfter: string; startedAt: string | null; singletonKey: string | null; singletonOn: string | null; expireIn: { [key: string]: unknown; }; createdAt: string; completedAt: string | null; keepUntil: string; output: { [key: string]: unknown; } | null; deadLetter: string | null; policy: string | null; }; export type CoordinatesCommand = { longitude: number; latitude: number; }; export type AddressCommand = { placeName: string | null; placeId: string | null; country: string | null; city: string | null; postalCode: string | null; streetName: string | null; streetNumber: string | null; unit: string | null; coordinates: CoordinatesCommand | null; }; export type CreateLocationCommand = { address: AddressCommand; }; export type CreateLocationResponse = { uuid: string; }; export type UpdateLocationCommand = { address: AddressCommand; }; export type LocationDetailResponse = { uuid: string; createdAt: string; updatedAt: string; address: AddressResponse; }; export type CoordinatesNotProvidedApiError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'coordinates_not_provided'; }; export type CoordinatesQuery = { longitude: string; latitude: string; }; export type ViewLocationIndexFilterQuery = { postalCodes?: Array; coordinates?: CoordinatesQuery; radiusInMeters?: string; }; export declare enum ViewLocationIndexSortQueryKey { COORDINATES = "coordinates" } export type ViewLocationIndexSortQuery = { key: ViewLocationIndexSortQueryKey; order: SortDirection; }; export type LocationResponse = { uuid: string; address: AddressResponse | null; }; export type ViewLocationIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type LocationNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'location_not_found'; }; export type CreateIndividualCommand = { uuid?: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; address: AddressCommand | null; customFields: { [key: string]: unknown; } | null; }; export type CreateIndividualResponse = { uuid: string; }; export type IndividualNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'individual_not_found'; }; export type UpdateIndividualCommand = { firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; address?: AddressCommand | null; customFields?: { [key: string]: unknown; } | null; language?: Locale; }; export type UpdateIndividualStatusCommand = { status: IndividualStatus; }; export type ViewIndividualStatisticsResponse = { total: number; /** * Percentage growth of individuals created in the last 30 days compared to the preceding 30 days */ monthlyPercentageGrowth: number | null; /** * Amount of added individuals in the past 30 days */ monthlyAdded: number; }; export type ViewIndividualIndexResponseItem = { uuid: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; status: IndividualStatus; }; export type ViewIndividualIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type IndividualBillingInformationResponse = { uuid: string; invoiceEmail: string | null; invoiceCcEmails: Array; location: LocationDetailResponse | null; }; export type IndividualContactPersonResponse = { uuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; isPrimary: boolean; }; export type LinkedBusinessResponse = { uuid: string; name: string; position: string | null; email: string | null; phone: string | null; mobilePhone: string | null; }; export type ViewIndividualDetailResponse = { uuid: string; createdAt: string; updatedAt: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; location: LocationDetailResponse | null; billingInformation: IndividualBillingInformationResponse | null; contactPersons: Array; linkedBusinesses: Array; status: IndividualStatus; language: Locale; customFields: { [key: string]: unknown; } | null; }; export type ViewIndividualActivityLogIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewIndividualActivityLogIndexPaginationQuery = { limit: number; key?: ViewIndividualActivityLogIndexQueryKey | null; }; export declare enum DomainEventType { FILE_CREATED = "file.created", FILE_UPLOADED = "file.uploaded", NOTIFICATION_CREATED = "notification.created", NOTIFICATION_READ = "notification.read", NOTIFICATION_READ_ALL = "notification.read.all", NOTIFICATION_UNREAD = "notification.unread", NOTIFICATION_TYPES_MIGRATED = "notification.types.migrated", NOTIFICATION_PREFERENCE_PRESET_UPDATED = "notification.preference.preset.updated", ROLE_CREATED = "role.created", ROLE_DELETED = "role.deleted", ROLE_RENAMED = "role.renamed", ROLE_PERMISSIONS_UPDATED = "role.permissions.updated", ROLE_PERMISSIONS_CACHE_CLEARED = "role.permissions.cache.cleared", TEST_NOTIFICATION_SENT = "test-notification.sent", TENANT_CREATED = "tenant.created", TENANT_UPDATED = "tenant.updated", USER_CREATED = "user.created", USER_UPDATED = "user.updated", USER_ROLE_ASSIGNED = "user.role-assigned", USER_ROLES_SET = "user.roles-set", USER_NOTIFICATION_CREATED = "user.notification.created", USER_DEFAULT_NOTIFICATION_PREFERENCES_ASSIGNED = "user.default-notification-preferences.assigned", LOCATION_CREATED = "location.created", LOCATION_UPDATED = "location.updated", INDIVIDUAL_CREATED = "individual.created", INDIVIDUAL_UPDATED = "individual.updated", INDIVIDUAL_STATUS_UPDATED = "individual.status.updated", INDIVIDUAL_USER_GRANT_CREATED = "individual-user-grant.created", INDIVIDUAL_USER_GRANT_EMAIL_VERIFIED = "individual-user-grant.email-verified", BUSINESS_CREATED = "business.created", BUSINESS_UPDATED = "business.updated", BUSINESS_STATUS_UPDATED = "business.status.updated", INDIVIDUAL_CONTACT_PERSON_LINKED = "individual.contact-person.linked", INDIVIDUAL_CONTACT_PERSON_UNLINKED = "individual.contact-person.unlinked", INDIVIDUAL_CONTACT_PERSON_UPDATED = "individual.contact-person.updated", INDIVIDUAL_CONTACT_PERSON_MADE_PRIMARY = "individual.contact-person.made-primary", BUSINESS_CONTACT_PERSON_LINKED = "business.contact-person.linked", BUSINESS_CONTACT_PERSON_UNLINKED = "business.contact-person.unlinked", BUSINESS_CONTACT_PERSON_UPDATED = "business.contact-person.updated", BUSINESS_CONTACT_PERSON_MADE_PRIMARY = "business.contact-person.made-primary", BUSINESS_BILLING_INFORMATION_UPSERTED = "business.billing-information.upserted", INDIVIDUAL_BILLING_INFORMATION_UPSERTED = "individual.billing-information.upserted", CUSTOM_FIELD_DEFINITION_CREATED = "custom-field-definition.created", BUSINESS_NOTE_CREATED = "business.note.created", BUSINESS_NOTE_UPDATED = "business.note.updated", BUSINESS_NOTE_DELETED = "business.note.deleted", INDIVIDUAL_NOTE_CREATED = "individual.note.created", INDIVIDUAL_NOTE_UPDATED = "individual.note.updated", INDIVIDUAL_NOTE_DELETED = "individual.note.deleted", DEAL_NOTE_CREATED = "deal.note.created", DEAL_NOTE_UPDATED = "deal.note.updated", DEAL_NOTE_DELETED = "deal.note.deleted", INDIVIDUAL_NOTE_FILE_ADDED = "individual.note.file.added", INDIVIDUAL_NOTE_FILE_DELETED = "individual.note.file.deleted", BUSINESS_NOTE_FILE_ADDED = "business.note.file.added", BUSINESS_NOTE_FILE_DELETED = "business.note.file.deleted", DEAL_NOTE_FILE_ADDED = "deal.note.file.added", DEAL_NOTE_FILE_DELETED = "deal.note.file.deleted", CBE_ENTERPRISE_IMPORTED = "cbe-enterprise.imported", CBE_DENOMINATION_IMPORTED = "cbe-denomination.imported", CBE_CONTACT_IMPORTED = "cbe-contact.imported", CBE_ADDRESS_IMPORTED = "cbe-address.imported", CBE_ESTABLISHMENT_IMPORTED = "cbe-establishment.imported", BOARD_COLUMN_CREATED = "board-column.created", BOARD_COLUMN_TRANSITION_CREATED = "board-column-transition.created", BOARD_COLUMN_TRANSITION_TRIGGER_CREATED = "board-column-transition-trigger.created", DEAL_CREATED = "deal.created", DEAL_COLUMN_TRANSITIONED = "deal.column.transitioned", DEAL_UPDATED = "deal.updated", DEAL_CONTACT_PERSON_LINKED = "deal.contact.person.linked", DEAL_CONTACT_PERSON_UNLINKED = "deal.contact.person.unlinked", DEAL_CONTACT_PERSON_MADE_PRIMARY = "deal.contact.person.made-primary", DEAL_OWNER_UPDATED = "deal.owner.updated", DEAL_CONTACT_PERSON_UPDATED = "deal.contact.person.updated", MAIL_TEMPLATE_CREATED = "mail.template.created", MAIL_TEMPLATE_UPDATED = "mail.template.updated", MAIL_CREATED = "mail.created", MAIL_SENT = "mail.sent" } export type IndividualActivityLogItemResponse = { createdAt: string; type: DomainEventType; message: string; userUuid: string | null; changes: Array; changedBy: string; content: { [key: string]: unknown; }; }; export type ViewIndividualActivityLogIndexResponseMeta = { next: ViewIndividualActivityLogIndexQueryKey | null; }; export type ViewIndividualActivityLogIndexResponse = { items: Array; meta: ViewIndividualActivityLogIndexResponseMeta; }; export type BusinessVatNumberAlreadyExistsError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '409'; code: 'business_vat_number_already_exists'; }; export type InvalidVatNumberError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'invalid_vat_number'; }; export type CreateBusinessIndividualCommand = { firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; }; export type VatNumberCommand = { countryCode: CountryCode; /** * only numbers */ number: string; }; export type CreateBusinessCommand = { uuid?: string; name: string; individual: CreateBusinessIndividualCommand | null; individualUuid: string | null; individualPosition: string | null; vatNumber: VatNumberCommand | null; companyNumber: string | null; address: AddressCommand; customFields: { [key: string]: unknown; } | null; parentUuid: string | null; childUuid: string | null; }; export type CreateBusinessResponse = { uuid: string; }; export type ViesServiceUnavailableError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '503'; code: 'vies_service_unavailable'; }; export type CheckVatNumberResponse = { countryCode: CountryCode; vatNumber: string; requestDate: string; isValid: boolean; requestIdentifier: string | null; name: string | null; address: string | null; traderName: string | null; traderStreet: string | null; traderPostalCode: string | null; traderCity: string | null; traderCompanyType: string | null; traderNameMatch: string | null; traderStreetMatch: string | null; traderPostalCodeMatch: string | null; traderCityMatch: string | null; traderCompanyTypeMatch: string | null; }; export type BusinessNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'business_not_found'; }; export type UpdateBusinessCommand = { name: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: VatNumberCommand | null; companyNumber: string | null; address: AddressCommand; customFields: { [key: string]: unknown; } | null; language: Locale; }; export type UpdateBusinessStatusCommand = { status: BusinessStatus; }; export type ViewBusinessStatisticsResponse = { total: number; /** * Percentage growth of businesses created in the last 30 days compared to the preceding 30 days */ monthlyPercentageGrowth: number; /** * Amount of added businesses in the past 30 days */ monthlyAdded: number; }; export type ViewBusinessIndexResponseItem = { uuid: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: VatNumberResponse | null; companyNumber: string | null; parentName: string | null; }; export type ViewBusinessIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type BusinessBillingInformationResponse = { uuid: string; invoiceEmail: string | null; invoiceCcEmails: Array; reminderEmail: string | null; reminderCcEmails: Array; purchaseNoteEmail: string | null; purchaseNoteCcEmails: Array; location: LocationDetailResponse | null; }; export type BusinessContactPersonResponse = { uuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; isPrimary: boolean; }; export type ChildParentBusinessResponse = { uuid: string; name: string; createdAt: string; updatedAt: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: VatNumberResponse | null; companyNumber: string | null; location: LocationDetailResponse | null; }; export type ViewBusinessDetailResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; email: string | null; phone: string | null; mobilePhone: string | null; vatNumber: VatNumberResponse | null; companyNumber: string | null; location: LocationDetailResponse | null; billingInformation: BusinessBillingInformationResponse | null; contactPersons: Array; parent: ChildParentBusinessResponse | null; children: Array; language: Locale; customFields: { [key: string]: unknown; } | null; }; export type InvalidBillingInformationError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'invalid_billing_information'; }; export type UpsertBusinessBillingInformationCommand = { billingAddress?: AddressCommand | null; invoiceEmail?: string | null; invoiceCcEmails?: Array | null; reminderEmail?: string | null; reminderCcEmails?: Array | null; purchaseNoteEmail?: string | null; purchaseNoteCcEmails?: Array | null; }; export type BusinessCircularReferenceError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'business_circular_reference'; }; export type ViewBusinessActivityLogIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewBusinessActivityLogIndexPaginationQuery = { limit: number; key?: ViewBusinessActivityLogIndexQueryKey | null; }; export type BusinessActivityLogItemResponse = { createdAt: string; type: DomainEventType; message: string; userUuid: string | null; changes: Array; changedBy: string; content: { [key: string]: unknown; }; }; export type ViewBusinessActivityLogIndexResponseMeta = { next: ViewBusinessActivityLogIndexQueryKey | null; }; export type ViewBusinessActivityLogIndexResponse = { items: Array; meta: ViewBusinessActivityLogIndexResponseMeta; }; export type CheckBusinessVatNumberExistenceResponse = { doesExist: boolean; }; export type NoteMustHaveEntityError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'note_must_have_entity'; }; export type CreateNoteCommand = { content: string; businessUuid: string | null; individualUuid: string | null; dealUuid: string | null; }; export type CreateNoteResponse = { uuid: string; }; export type UpdateNoteCommand = { content: string; }; export type ViewBusinessNotesIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewBusinessNotesIndexPaginationQuery = { limit: number; key?: ViewBusinessNotesIndexQueryKey | null; }; export type PresignedFileVariantResponse = { label: string; url: string; }; export type PresignedFileResponse = { uuid: string; name: string; mimeType: MimeType | null; url: string; blurHash: string | null; variants: Array; }; export type BusinessNotesResponse = { uuid: string; updatedAt: string; content: string; files: Array; lastUpdatedByUser: string; lastUpdatedByUserUuid: string; }; export type ViewBusinessNotesIndexResponseMeta = { next: ViewBusinessNotesIndexQueryKey | null; }; export type ViewBusinessNotesIndexResponse = { items: Array; meta: ViewBusinessNotesIndexResponseMeta; }; export type ViewIndividualNotesIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewIndividualNotesIndexPaginationQuery = { limit: number; key?: ViewIndividualNotesIndexQueryKey | null; }; export type IndividualNotesResponse = { uuid: string; updatedAt: string; content: string; files: Array; lastUpdatedByUser: string; lastUpdatedByUserUuid: string; }; export type ViewIndividualNotesIndexResponseMeta = { next: ViewIndividualNotesIndexQueryKey | null; }; export type ViewIndividualNotesIndexResponse = { items: Array; meta: ViewIndividualNotesIndexResponseMeta; }; export type ViewDealNotesIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewDealNotesIndexPaginationQuery = { limit: number; key?: ViewDealNotesIndexQueryKey | null; }; export type DealNotesResponse = { uuid: string; updatedAt: string; content: string; files: Array; lastUpdatedByUser: string; lastUpdatedByUserUuid: string; }; export type ViewDealNotesIndexResponseMeta = { next: ViewDealNotesIndexQueryKey | null; }; export type ViewDealNotesIndexResponse = { items: Array; meta: ViewDealNotesIndexResponseMeta; }; export type AddNoteFileCommand = { fileUuid: string; }; export type AddNoteFileResponse = { noteUuid: string; fileUuid: string; }; export type LinkContactPersonToIndividualCommand = { contactPersonUuid: string; position: string | null; email: string | null; phone: string | null; mobilePhone: string | null; }; export type LinkContactPersonToIndividualResponse = { individualUuid: string; contactPersonUuid: string; }; export type IndividualContactPersonNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'individual_contact_person_not_found'; }; export type UnlinkContactPersonFromIndividualCommand = { contactPersonUuid: string; }; export type UpdateIndividualContactPersonCommand = { firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; }; export type ViewIndividualContactPersonDetailResponse = { individualUuid: string; contactPersonUuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; isPrimary: boolean; }; export type LinkContactPersonToBusinessCommand = { contactPersonUuid: string; position: string | null; email: string | null; phone: string | null; mobilePhone: string | null; }; export type LinkContactPersonToBusinessResponse = { businessUuid: string; contactPersonUuid: string; }; export type PrimaryContactOfBusinessNotUnlinkableError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'primary_contact_of_business_not_unlinkable'; }; export type BusinessContactPersonNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'business_contact_person_not_found'; }; export type UnlinkContactPersonFromBusinessCommand = { contactPersonUuid: string; }; export type UpdateBusinessContactPersonCommand = { firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; }; export type ViewBusinessContactPersonDetailResponse = { businessUuid: string; contactPersonUuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; position: string | null; isPrimary: boolean; }; export type StringValidationRulesCommand = { minLength?: number; maxLength?: number; regex?: string; }; export type NumberValidationRulesCommand = { min?: number; max?: number; }; export type ValidationSelectOption = { key: string; translations: Array; }; export type SelectValidationRulesCommand = { options: Array; }; export type DateValidationRulesCommand = { minDate?: string; maxDate?: string; }; export type MultiSelectValidationRulesCommand = { options: Array; minSelections?: number; maxSelections?: number; }; export type CheckboxValidationRulesCommand = { defaultValue?: boolean; }; export type RadioButtonValidationRulesCommand = { options: Array; }; export declare enum CustomFieldEntityType { INDIVIDUAL = "individual", BUSINESS = "business" } export declare enum CustomFieldType { STRING = "string", NUMBER = "number", DATE = "date", SELECT = "select", MULTISELECT = "multiselect", CHECKBOX = "checkbox", RADIO = "radio" } export declare enum CustomFieldWidth { HALF = "half", FULL = "full" } export type CreateCustomFieldDefinitionCommand = { entityType: CustomFieldEntityType; key: string; displayName: Array; type: CustomFieldType; validationRules: StringValidationRulesCommand | NumberValidationRulesCommand | SelectValidationRulesCommand | DateValidationRulesCommand | MultiSelectValidationRulesCommand | CheckboxValidationRulesCommand | RadioButtonValidationRulesCommand; width: CustomFieldWidth; isDisplayedOnCreate: boolean; isRequiredForLead: boolean; }; export type ViewCustomFieldDefinitionIndexFilterQuery = { entityType: CustomFieldEntityType; onlyWithIsDisplayedOnCreate?: boolean; }; export type StringValidationResponse = { minLength?: number; maxLength?: number; regex?: string; }; export type NumberValidationResponse = { min?: number; max?: number; }; export type ValidationSelectOptionResponse = { key: string; value: string; }; export type SelectValidationResponse = { options: Array; }; export type DateValidationResponse = { minDate?: string; maxDate?: string; }; export type MultiSelectValidationResponse = { options: Array; minSelections?: number; maxSelections?: number; }; export type CheckboxValidationResponse = { defaultValue?: boolean; }; export type RadioButtonValidationResponse = { options: Array; }; export type ViewCustomFieldDefinitionIndexResponseItem = { uuid: string; key: string; displayName: string; type: 'string' | 'number' | 'date' | 'select' | 'multiselect' | 'checkbox' | 'radio'; validationRules: StringValidationResponse | NumberValidationResponse | SelectValidationResponse | DateValidationResponse | MultiSelectValidationResponse | CheckboxValidationResponse | RadioButtonValidationResponse; order: number; width: 'half' | 'full'; isDisplayedOnCreate: boolean; isRequiredForLead: boolean; }; export type BusinessBillingInformationNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'business_billing_information_not_found'; }; export type ViewBusinessBillingInformationDetailResponse = { uuid: string; createdAt: string; updatedAt: string; invoiceEmail: string | null; invoiceCcEmails: Array; reminderEmail: string | null; reminderCcEmails: Array; purchaseNoteEmail: string | null; purchaseNoteCcEmails: Array; billingLocation: LocationDetailResponse | null; }; export type UpsertIndividualBillingInformationCommand = { billingAddress?: AddressCommand | null; invoiceEmail?: string | null; invoiceCcEmails?: Array | null; }; export type IndividualBillingInformationNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'individual_billing_information_not_found'; }; export type ViewIndividualBillingInformationDetailResponse = { uuid: string; createdAt: string; updatedAt: string; invoiceEmail: string | null; invoiceCcEmails: Array; billingLocation: LocationDetailResponse | null; }; export type ImportCbeCodesCommand = { fileUuid: string; }; export type ImportCbeEnterprisesCommand = { fileUuid: string; }; export type ImportCbeDenominationCommand = { fileUuid: string; }; export type ImportCbeContactCommand = { fileUuid: string; }; export type ImportCbeAddressCommand = { fileUuid: string; }; export type ImportCbeEstablishmentsCommand = { fileUuid: string; }; export declare enum CbeEnterpriseStatus { ACTIVE = "active", INACTIVE = "inactive" } export type SearchCbeEnterprisesView = { enterpriseNumber: string; status: CbeEnterpriseStatus; startDate: string | null; name: string | null; abbreviation: string | null; phone: string | null; fax: string | null; email: string | null; website: string | null; address: AddressResponse | null; }; export type SearchCbeEnterprisesResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type SearchCbeEstablishmentsFilterQuery = { enterpriseNumber?: string; }; export type SearchCbeEstablishmentsView = { establishmentNumber: string; enterpriseNumber: string; startDate: string | null; commercialName: string | null; address: AddressResponse | null; }; export type SearchCbeEstablishmentResponse = { /** * The items for the current page */ items: Array>; meta: PaginatedOffsetResponseMeta; results: Array; }; export type BoardColumnsAlreadyExistError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '409'; code: 'board_columns_already_exist'; }; export type BoardColumnConfigCommand = { maxDaysInColumnBeforeHighlight?: number | null; onlyShowLeadInColumn?: boolean; businessStatusOnEntry?: BusinessStatus; }; export type CreateBoardColumnCommand = { key: string; displayName: Array; /** * The position of the column in the board (1-based) */ position: number; color: EntityColor; config?: BoardColumnConfigCommand; }; export type CreateBoardTransitionTriggerEmailConfigCommand = { mailTemplateKey: string; }; export type CreateBoardTransitionTriggerCommand = { triggerType: BoardColumnTransitionTriggerType; config?: CreateBoardTransitionTriggerEmailConfigCommand; }; export type CreateBoardColumnTransitionCommand = { key: string; triggers: Array; }; export type CreateBoardTransitionCommand = { fromKey: string; to: Array; }; export type CreateBoardCommand = { /** * Array of board column objects with name, position, and color */ columns: Array; transitions: Array; }; export type CreateBoardResponse = { /** * Array of created board column UUIDs */ columnUuids: Array; /** * Array of created board column transition UUIDs */ transitionUuids: Array; }; export type BoardColumnConfigResponse = { maxDaysInColumnBeforeHighlight: number | null; onlyShowLeadInColumn: boolean; }; export type ListBoardColumnsResponseItem = { uuid: string; key: string; displayName: string; position: number; color: EntityColor; config: BoardColumnConfigResponse; }; export type ListBoardColumnsResponse = { items: Array; }; export type BoardColumnNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'board_column_not_found'; }; export type BoardColumnTransitionTriggerEmailConfigResponse = { mailTemplateKey: string; }; export type BoardColumnTransitionTriggerResponse = { uuid: string; triggerType: BoardColumnTransitionTriggerType; config: BoardColumnTransitionTriggerEmailConfigResponse | null; }; export type BoardColumnTransitionResponse = { uuid: string; toColumnUuid: string; toColumnKey: string; toColumnDisplayName: string; toColumnColor: EntityColor; triggers: Array; }; export type ListBoardColumnTransitionsResponse = { items: Array; }; export type ClientNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'client_not_found'; }; export type DealCreationNotAllowedError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'deal_creation_not_allowed'; }; export type NoBoardColumnsError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'no_board_columns'; }; export declare enum DealSource { MAIL = "mail", WEBSITE = "website", PHONE = "phone", TENDER = "tender" } export declare enum ClientType { BUSINESS = "business", INDIVIDUAL = "individual" } export type ClientIdCommand = { uuid: string; type: ClientType; }; export type CreateDealCommand = { name: string; dealLanguage: SdkContentLocale; dealSource: DealSource; clientId: ClientIdCommand; dealOwnerUuid: string | null; }; export type CreateDealResponse = { uuid: string; }; export type DealNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'deal_not_found'; }; export type UpdateDealCommand = { name?: string; dealLanguage?: SdkContentLocale; dealSource?: DealSource; dealOwnerUuid?: string | null; }; export type UpdateDealOwnerCommand = { dealOwnerUuid: string | null; }; export type DealColumnTransitionNotAllowedErrorMeta = { fromBoardColumnUuid: string; toBoardColumnUuid: string; }; export type DealColumnTransitionNotAllowedError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'deal_column_transition_not_allowed'; meta: DealColumnTransitionNotAllowedErrorMeta; }; export type TransitionDealColumnCommand = { boardColumnUuid: string; }; export declare enum ClientStatus { LEAD = "lead", CUSTOMER = "customer", INACTIVE = "inactive", ARCHIVED = "archived", CONTACT = "contact" } export type DealClientResponse = { uuid: string; type: ClientType; status: ClientStatus; name: string; }; export type DealUserResponse = { uuid: string; firstName: string | null; lastName: string | null; }; export type DealBoardColumnResponse = { uuid: string; key: string; displayName: string; color: EntityColor; }; export type DealContactPersonResponse = { uuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; isPrimary: boolean; }; export type ViewDealDetailResponse = { uuid: string; name: string; dealLanguage: SdkContentLocale; dealSource: DealSource; client: DealClientResponse; createdBy: DealUserResponse; owner: DealUserResponse | null; boardColumn: DealBoardColumnResponse; contactPersons: Array; createdAt: string; updatedAt: string; }; export type ViewDealIndexFilterQuery = { boardColumnUuids?: Array; dealOwnerUuids?: Array; businessUuids?: Array; }; export type DealIndexUserResponse = { uuid: string; firstName: string | null; lastName: string | null; }; export type DealIndexBoardColumnResponse = { uuid: string; key: string; displayName: string; }; export type ViewDealIndexResponseItem = { uuid: string; name: string; dealLanguage: 'nl-BE' | 'en-US' | 'fr-BE' | 'de-DE'; dealSource: 'mail' | 'website' | 'phone' | 'tender'; client: DealClientResponse; createdBy: DealIndexUserResponse; owner: DealIndexUserResponse | null; boardColumn: DealIndexBoardColumnResponse; createdAt: string; updatedAt: string; }; export type ViewDealIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type LinkContactPersonToDealCommand = { contactPersonUuid: string; email: string | null; phone: string | null; mobilePhone: string | null; }; export type LinkContactPersonToDealResponse = { dealUuid: string; contactPersonUuid: string; }; export type DealContactPersonNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'deal_contact_person_not_found'; }; export type PrimaryContactOfDealNotUnlinkableError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'primary_contact_of_deal_not_unlinkable'; }; export type UnlinkContactPersonFromDealCommand = { contactPersonUuid: string; }; export type UpdateDealContactPersonCommand = { firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; }; export type ViewDealContactPersonDetailResponse = { dealUuid: string; contactPersonUuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; isPrimary: boolean; }; export type CustomerZoneEmailVerificationOrganizationMismatchError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'customer_zone_email_verification_organization_mismatch'; }; export type CustomerZoneInvalidEmailVerificationCodeError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'customer_zone_invalid_email_verification_code'; }; export type CustomerZoneTenantDomainNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'customer_zone_tenant_domain_not_found'; }; export type CustomerZoneEmailVerificationUserNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'customer_zone_email_verification_user_not_found'; }; export type CustomerZoneIndividualUserGrantNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'customer_zone_individual_user_grant_not_found'; }; export type VerifyIndividualUserEmailCommand = { /** * Zitadel user identifier */ userId: string; /** * Verification code delivered by email */ verificationCode: string; /** * Zitadel organization identifier */ organizationId: string; /** * Tenant slug (domain) that initiated the invite */ domain: string; }; export type CreateUserIndividualGrantCommand = { email: string; firstName: string | null; lastName: string | null; }; export type CustomerZoneIndividualUserAlreadyLinkedError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '409'; code: 'customer_zone_individual_already_linked'; }; export type ViewCustomerIndividualResponse = { uuid: string; firstName: string; lastName: string; email: string | null; phone: string | null; mobilePhone: string | null; customFields: { [key: string]: unknown; } | null; }; export type CustomerZoneIndividualGrantNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'customer_zone_individual_grant_not_found'; }; export type MailTemplateResponse = { uuid: string; createdAt: string; updatedAt: string; name: string; }; export type ViewMailTemplateIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type MailTemplateNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'mail_template_not_found'; }; export type FileResponse = { uuid: string; name: string; mimeType: MimeType; blurHash: string | null; }; export type MailTemplateLocaleResponse = { uuid: string; language: 'nl-BE' | 'en-US' | 'fr-BE' | 'de-DE'; replyTo: string | null; subject: string; message: string; createdAt: string; updatedAt: string; attachments: Array; }; export type ViewMailTemplateDetailResponse = { uuid: string; createdAt: string; updatedAt: string; key: string; displayName: string; defaultCC: Array; defaultBCC: Array; locales: Array; }; export type MailTemplateKeyAlreadyInUseError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '409'; code: 'mail_template_key_already_in_use'; }; export type MailTemplateLocaleLanguageAlreadyProvidedError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '400'; code: 'mail_template_locale_language_already_provided'; }; export type LocalizedStringCommand = { language: Locale; value: string; }; export type CreateMailTemplateLocaleAttachmentCommand = { fileUuid: string; }; export type CreateMailTemplateLocaleCommand = { language: SdkContentLocale; replyTo: string | null; subject: string; message: string; attachments?: Array; }; export type CreateMailTemplateCommand = { key: string; displayName: Array; defaultCC?: Array; defaultBCC?: Array; locales: Array; }; export type CreateMailTemplateResponse = { uuid: string; }; export type UpdateMailTemplateLocaleCommand = { language: SdkContentLocale; replyTo: string | null; subject: string; message: string; attachments: Array; }; export type UpdateMailTemplateCommand = { defaultCC?: Array; defaultBCC?: Array; locales: Array; }; export type MailTemplateKeyNotFoundErrorMeta = { key: string; }; export type MailTemplateKeyNotFoundError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '404'; code: 'mail_template_key_not_found'; /** * a meta object containing non-standard meta-information about the error */ meta: MailTemplateKeyNotFoundErrorMeta; }; export type CreateMailExternalAttachmentCommand = { uuid: string; name: string; mimeType: MimeType; downloadUrl: string; }; export type CreateMailCommand = { to: Array; cc?: Array; bcc?: Array; from?: string; replyTo?: string; subject: string; text: string; attachments?: Array; clientId: ClientIdCommand; dealUuid: string | null; mailTemplateUuid: string | null; externalAttachments?: Array; }; export declare enum MailStatus { SENDING = "sending", DELIVERED = "delivered", FAILED = "failed" } export type CreateMailResponse = { uuid: string; status: MailStatus; }; export type ViewMailIndexFilterQuery = { clientUuid?: string; clientType?: ClientType; dealUuid?: string; }; export type ViewMailIndexClientResponse = { uuid: string; type: ClientType; }; export type ViewMailAttachmentResponse = { uuid: string; name: string; mimeType: MimeType; downloadUrl: string; }; export type ViewMailExternalAttachmentResponse = { uuid: string; name: string; mimeType: MimeType; downloadUrl: string; }; export type ViewMailIndexMailTemplateResponse = { uuid: string; key: string; displayName: Array<{ [key: string]: unknown; }>; }; export type ViewMailIndexResponseItem = { uuid: string; to: Array; cc: Array; bcc: Array; from: string | null; replyTo: string | null; subject: string; text: string; status: MailStatus; client: ViewMailIndexClientResponse; dealUuid: string | null; attachments: Array; externalAttachments: Array; mailTemplateDisplayName: string | null; mailTemplateUuid: string | null; mailTemplate: ViewMailIndexMailTemplateResponse | null; createdAt: string; updatedAt: string; }; export type ViewMailIndexResponse = { /** * The items for the current page */ items: Array; meta: PaginatedOffsetResponseMeta; }; export type ViewActivityLogIndexFilterQuery = { entityUuids?: Array; entityTypes?: Array<'business' | 'individual' | 'file' | 'note'>; roles?: Array<'actor' | 'business' | 'individual' | 'file' | 'note'>; }; export type ViewActivityLogIndexQueryKey = { createdAt: string; uuid: string; }; export type ViewActivityLogIndexPaginationQuery = { limit: number; key?: ViewActivityLogIndexQueryKey | null; }; export declare enum ActivityType { BUSINESS_UPDATED = "business-updated" } export declare enum ActivityChangeType { CREATE = "create", UPDATE = "update", DELETE = "delete" } export declare enum ActivityActorType { USER = "user", SERVICE = "service", SYSTEM = "system" } export type ActivityActorResponse = { uuid: string; firstName: string | null; lastName: string | null; email: string | null; }; export declare enum ActivityEntityRole { ACTOR = "actor", BUSINESS = "business", INDIVIDUAL = "individual", FILE = "file", NOTE = "note" } export declare enum ActivityEntityType { BUSINESS = "business", INDIVIDUAL = "individual", FILE = "file", NOTE = "note" } export type ActivityEntityResponse = { role: ActivityEntityRole; type: ActivityEntityType; uuid: string; label: string | null; }; export type ActivityChange = { entityRole: ActivityEntityRole; field: string; from: string | number | boolean | null; to: string | number | boolean | null; }; export type ActivityLogItemResponse = { action: ActivityType; changeType: ActivityChangeType; actorType: ActivityActorType; actor: ActivityActorResponse | null; entities: Array; changes: Array | null; }; export type ViewActivityLogIndexResponse = { logs: Array; nextKey: ViewActivityLogIndexQueryKey | null; }; export type InternalServerApiError = { /** * a human-readable explanation specific to this occurrence of the problem */ detail?: string; status: '500'; code: 'internal_server_error'; }; export type ViewPermissionIndexV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/permissions'; }; export type ViewPermissionIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewPermissionIndexV1Error = ViewPermissionIndexV1Errors[keyof ViewPermissionIndexV1Errors]; export type ViewPermissionIndexV1Responses = { 200: ViewPermissionIndexResponse; }; export type ViewPermissionIndexV1Response = ViewPermissionIndexV1Responses[keyof ViewPermissionIndexV1Responses]; export type ViewTenantIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; search?: string; }; url: '/api/v1/tenants'; }; export type ViewTenantIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewTenantIndexV1Error = ViewTenantIndexV1Errors[keyof ViewTenantIndexV1Errors]; export type ViewTenantIndexV1Responses = { 200: ViewTenantIndexResponse; }; export type ViewTenantIndexV1Response = ViewTenantIndexV1Responses[keyof ViewTenantIndexV1Responses]; export type CreateTenantV1Data = { body: CreateTenantCommand; path?: never; query?: never; url: '/api/v1/tenants'; }; export type CreateTenantV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateTenantV1Error = CreateTenantV1Errors[keyof CreateTenantV1Errors]; export type CreateTenantV1Responses = { 201: CreateTenantResponse; }; export type CreateTenantV1Response = CreateTenantV1Responses[keyof CreateTenantV1Responses]; export type ViewTenantDetailV1Data = { body?: never; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}'; }; export type ViewTenantDetailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewTenantDetailV1Error = ViewTenantDetailV1Errors[keyof ViewTenantDetailV1Errors]; export type ViewTenantDetailV1Responses = { 200: ViewTenantDetailResponse; }; export type ViewTenantDetailV1Response = ViewTenantDetailV1Responses[keyof ViewTenantDetailV1Responses]; export type UpdateTenantV1Data = { body: UpdateTenantCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}'; }; export type UpdateTenantV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateTenantV1Error = UpdateTenantV1Errors[keyof UpdateTenantV1Errors]; export type UpdateTenantV1Responses = { 204: void; }; export type UpdateTenantV1Response = UpdateTenantV1Responses[keyof UpdateTenantV1Responses]; export type UpdateTenantBrandColorsV1Data = { body: UpdateTenantBrandColorsCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/brand-colors'; }; export type UpdateTenantBrandColorsV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateTenantBrandColorsV1Error = UpdateTenantBrandColorsV1Errors[keyof UpdateTenantBrandColorsV1Errors]; export type UpdateTenantBrandColorsV1Responses = { 204: void; }; export type UpdateTenantBrandColorsV1Response = UpdateTenantBrandColorsV1Responses[keyof UpdateTenantBrandColorsV1Responses]; export type UpdateTenantEntitiesConfigV1Data = { body: UpdateTenantEntitiesConfigCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/entities-config'; }; export type UpdateTenantEntitiesConfigV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateTenantEntitiesConfigV1Error = UpdateTenantEntitiesConfigV1Errors[keyof UpdateTenantEntitiesConfigV1Errors]; export type UpdateTenantEntitiesConfigV1Responses = { 204: void; }; export type UpdateTenantEntitiesConfigV1Response = UpdateTenantEntitiesConfigV1Responses[keyof UpdateTenantEntitiesConfigV1Responses]; export type UpdateTenantBusinessConfigV1Data = { body: UpdateTenantBusinessConfigCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/business-config'; }; export type UpdateTenantBusinessConfigV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateTenantBusinessConfigV1Error = UpdateTenantBusinessConfigV1Errors[keyof UpdateTenantBusinessConfigV1Errors]; export type UpdateTenantBusinessConfigV1Responses = { 204: void; }; export type UpdateTenantBusinessConfigV1Response = UpdateTenantBusinessConfigV1Responses[keyof UpdateTenantBusinessConfigV1Responses]; export type UpdateTenantBillingConfigV1Data = { body: UpdateTenantBillingConfigCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/billing-config'; }; export type UpdateTenantBillingConfigV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateTenantBillingConfigV1Error = UpdateTenantBillingConfigV1Errors[keyof UpdateTenantBillingConfigV1Errors]; export type UpdateTenantBillingConfigV1Responses = { 204: void; }; export type UpdateTenantBillingConfigV1Response = UpdateTenantBillingConfigV1Responses[keyof UpdateTenantBillingConfigV1Responses]; export type ViewTenantConfigDetailV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/tenant-configs'; }; export type ViewTenantConfigDetailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewTenantConfigDetailV1Error = ViewTenantConfigDetailV1Errors[keyof ViewTenantConfigDetailV1Errors]; export type ViewTenantConfigDetailV1Responses = { 200: ViewTenantConfigDetailResponse; }; export type ViewTenantConfigDetailV1Response = ViewTenantConfigDetailV1Responses[keyof ViewTenantConfigDetailV1Responses]; export type ViewRecentEntitiesV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; filter?: ViewRecentEntitiesFilterQuery; }; url: '/api/v1/recent-entities'; }; export type ViewRecentEntitiesV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewRecentEntitiesV1Error = ViewRecentEntitiesV1Errors[keyof ViewRecentEntitiesV1Errors]; export type ViewRecentEntitiesV1Responses = { 200: ViewRecentEntitiesResponse; }; export type ViewRecentEntitiesV1Response = ViewRecentEntitiesV1Responses[keyof ViewRecentEntitiesV1Responses]; export type AssignUserAsAdminV1Data = { body: AssignUserAsAdminCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/assign-user-as-admin'; }; export type AssignUserAsAdminV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 409: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type AssignUserAsAdminV1Error = AssignUserAsAdminV1Errors[keyof AssignUserAsAdminV1Errors]; export type MigrateCollectionsV1Data = { body?: never; path?: never; query: { fresh: boolean; collections?: Array; }; url: '/api/v1/typesense/migrate'; }; export type MigrateCollectionsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type MigrateCollectionsV1Error = MigrateCollectionsV1Errors[keyof MigrateCollectionsV1Errors]; export type MigrateCollectionsV1Responses = { 200: unknown; }; export type ImportCollectionsV1Data = { body?: never; path?: never; query?: { collections?: Array; }; url: '/api/v1/typesense/import'; }; export type ImportCollectionsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCollectionsV1Error = ImportCollectionsV1Errors[keyof ImportCollectionsV1Errors]; export type ImportCollectionsV1Responses = { 200: unknown; }; export type ViewCollectionsV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/typesense/collections/details'; }; export type ViewCollectionsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewCollectionsV1Error = ViewCollectionsV1Errors[keyof ViewCollectionsV1Errors]; export type ViewCollectionsV1Responses = { 200: unknown; }; export type ViewCollectionIndexV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/typesense/collections'; }; export type ViewCollectionIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewCollectionIndexV1Error = ViewCollectionIndexV1Errors[keyof ViewCollectionIndexV1Errors]; export type ViewCollectionIndexV1Responses = { 200: ViewCollectionIndexResponse; }; export type ViewCollectionIndexV1Response = ViewCollectionIndexV1Responses[keyof ViewCollectionIndexV1Responses]; export type ViewLoginConfigV1Data = { body?: never; path: { domain: string; }; query?: never; url: '/api/v1/auth/login-config/{domain}'; }; export type ViewLoginConfigV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewLoginConfigV1Error = ViewLoginConfigV1Errors[keyof ViewLoginConfigV1Errors]; export type ViewLoginConfigV1Responses = { /** * The login configuration has been successfully received. */ 200: ViewLoginConfigResponse; }; export type ViewLoginConfigV1Response = ViewLoginConfigV1Responses[keyof ViewLoginConfigV1Responses]; export type ViewCzLoginConfigV1Data = { body?: never; path: { domain: string; }; query?: never; url: '/api/v1/auth/cz-login-config/{domain}'; }; export type ViewCzLoginConfigV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewCzLoginConfigV1Error = ViewCzLoginConfigV1Errors[keyof ViewCzLoginConfigV1Errors]; export type ViewCzLoginConfigV1Responses = { /** * The CZ login configuration has been successfully received. */ 200: ViewCzLoginConfigResponse; }; export type ViewCzLoginConfigV1Response = ViewCzLoginConfigV1Responses[keyof ViewCzLoginConfigV1Responses]; export type GetApiInfoData = { body?: never; path?: never; query?: never; url: '/api'; }; export type GetApiInfoErrors = { 500: { traceId?: string | null; errors?: Array; }; }; export type GetApiInfoError = GetApiInfoErrors[keyof GetApiInfoErrors]; export type GetApiInfoResponses = { 200: GetApiInfoResponse; }; export type GetApiInfoResponse2 = GetApiInfoResponses[keyof GetApiInfoResponses]; export type SetUserRolesV1Data = { body: SetUserRolesCommand; path: { user: string; }; query?: never; url: '/api/v1/users/{user}/role'; }; export type SetUserRolesV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type SetUserRolesV1Error = SetUserRolesV1Errors[keyof SetUserRolesV1Errors]; export type ViewMeV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/users/me'; }; export type ViewMeV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewMeV1Error = ViewMeV1Errors[keyof ViewMeV1Errors]; export type ViewMeV1Responses = { /** * User details retrieved */ 200: ViewMeResponse; }; export type ViewMeV1Response = ViewMeV1Responses[keyof ViewMeV1Responses]; export type ViewUserDetailV1Data = { body?: never; path: { uuid: string; }; query?: never; url: '/api/v1/users/{uuid}'; }; export type ViewUserDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewUserDetailV1Error = ViewUserDetailV1Errors[keyof ViewUserDetailV1Errors]; export type ViewUserDetailV1Responses = { /** * User details retrieved */ 200: ViewUserDetailResponse; }; export type ViewUserDetailV1Response = ViewUserDetailV1Responses[keyof ViewUserDetailV1Responses]; export type ViewUserIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; search?: string; }; url: '/api/v1/users'; }; export type ViewUserIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewUserIndexV1Error = ViewUserIndexV1Errors[keyof ViewUserIndexV1Errors]; export type ViewUserIndexV1Responses = { /** * Users retrieved */ 200: ViewUserIndexResponse; }; export type ViewUserIndexV1Response = ViewUserIndexV1Responses[keyof ViewUserIndexV1Responses]; export type ViewRoleIndexV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/roles'; }; export type ViewRoleIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewRoleIndexV1Error = ViewRoleIndexV1Errors[keyof ViewRoleIndexV1Errors]; export type ViewRoleIndexV1Responses = { /** * The roles has been successfully received. */ 200: ViewRoleIndexResponse; }; export type ViewRoleIndexV1Response = ViewRoleIndexV1Responses[keyof ViewRoleIndexV1Responses]; export type UpdateRolesPermissionsV1Data = { body: UpdateRolesPermissionsCommand; path?: never; query?: never; url: '/api/v1/roles'; }; export type UpdateRolesPermissionsV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateRolesPermissionsV1Error = UpdateRolesPermissionsV1Errors[keyof UpdateRolesPermissionsV1Errors]; export type UpdateRolesPermissionsV1Responses = { 204: void; }; export type UpdateRolesPermissionsV1Response = UpdateRolesPermissionsV1Responses[keyof UpdateRolesPermissionsV1Responses]; export type CreateRoleV1Data = { body: CreateRoleCommand; path?: never; query?: never; url: '/api/v1/roles'; }; export type CreateRoleV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateRoleV1Error = CreateRoleV1Errors[keyof CreateRoleV1Errors]; export type CreateRoleV1Responses = { 201: CreateRoleResponse; }; export type CreateRoleV1Response = CreateRoleV1Responses[keyof CreateRoleV1Responses]; export type ClearRolePermissionsCacheV1Data = { body: ClearRolePermissionsCacheCommand; path?: never; query?: never; url: '/api/v1/roles/clear-cache'; }; export type ClearRolePermissionsCacheV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ClearRolePermissionsCacheV1Error = ClearRolePermissionsCacheV1Errors[keyof ClearRolePermissionsCacheV1Errors]; export type ClearRolePermissionsCacheV1Responses = { 204: void; }; export type ClearRolePermissionsCacheV1Response = ClearRolePermissionsCacheV1Responses[keyof ClearRolePermissionsCacheV1Responses]; export type DeleteRoleV1Data = { body?: never; path: { role: string; }; query?: never; url: '/api/v1/roles/{role}'; }; export type DeleteRoleV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type DeleteRoleV1Error = DeleteRoleV1Errors[keyof DeleteRoleV1Errors]; export type DeleteRoleV1Responses = { 204: void; }; export type DeleteRoleV1Response = DeleteRoleV1Responses[keyof DeleteRoleV1Responses]; export type ViewRoleDetailV1Data = { body?: never; path: { role: string; }; query?: never; url: '/api/v1/roles/{role}'; }; export type ViewRoleDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewRoleDetailV1Error = ViewRoleDetailV1Errors[keyof ViewRoleDetailV1Errors]; export type ViewRoleDetailV1Responses = { /** * The role has been successfully received. */ 200: ViewRoleDetailResponse; }; export type ViewRoleDetailV1Response = ViewRoleDetailV1Responses[keyof ViewRoleDetailV1Responses]; export type UpdateRoleV1Data = { body: UpdateRoleCommand; path: { role: string; }; query?: never; url: '/api/v1/roles/{role}'; }; export type UpdateRoleV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateRoleV1Error = UpdateRoleV1Errors[keyof UpdateRoleV1Errors]; export type UpdateRoleV1Responses = { 204: void; }; export type UpdateRoleV1Response = UpdateRoleV1Responses[keyof UpdateRoleV1Responses]; export type CreateFileV1Data = { body: CreateFileCommand; path?: never; query?: never; url: '/api/v1/files'; }; export type CreateFileV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateFileV1Error = CreateFileV1Errors[keyof CreateFileV1Errors]; export type CreateFileV1Responses = { 201: CreateFileResponse; }; export type CreateFileV1Response = CreateFileV1Responses[keyof CreateFileV1Responses]; export type ConfirmFileUploadV1Data = { body?: never; path: { file: string; }; query?: never; url: '/api/v1/files/{file}/confirm-upload'; }; export type ConfirmFileUploadV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ConfirmFileUploadV1Error = ConfirmFileUploadV1Errors[keyof ConfirmFileUploadV1Errors]; export type ConfirmFileUploadV1Responses = { 204: void; }; export type ConfirmFileUploadV1Response = ConfirmFileUploadV1Responses[keyof ConfirmFileUploadV1Responses]; export type ConfirmFileUploadV2Data = { body: ConfirmFileUploadCommand; path: { file: string; }; query?: never; url: '/api/v2/files/{file}/confirm-upload'; }; export type ConfirmFileUploadV2Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ConfirmFileUploadV2Error = ConfirmFileUploadV2Errors[keyof ConfirmFileUploadV2Errors]; export type ConfirmFileUploadV2Responses = { 204: void; }; export type ConfirmFileUploadV2Response = ConfirmFileUploadV2Responses[keyof ConfirmFileUploadV2Responses]; export type DownloadFileV1Data = { body?: never; path: { file: string; }; query?: never; url: '/api/v1/files/{file}/download'; }; export type DownloadFileV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type DownloadFileV1Error = DownloadFileV1Errors[keyof DownloadFileV1Errors]; export type DownloadPublicFileV1Data = { body?: never; path: { file: string; }; query: { token: string; }; url: '/api/v1/public/files/{file}/download'; }; export type DownloadPublicFileV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type DownloadPublicFileV1Error = DownloadPublicFileV1Errors[keyof DownloadPublicFileV1Errors]; export type ViewUiPreferencesV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/me/ui-preferences'; }; export type ViewUiPreferencesV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewUiPreferencesV1Error = ViewUiPreferencesV1Errors[keyof ViewUiPreferencesV1Errors]; export type ViewUiPreferencesV1Responses = { 200: ViewUiPreferencesResponse; }; export type ViewUiPreferencesV1Response = ViewUiPreferencesV1Responses[keyof ViewUiPreferencesV1Responses]; export type UpdateUiPreferencesV1Data = { body: UpdateUiPreferencesCommand; path?: never; query?: never; url: '/api/v1/me/ui-preferences'; }; export type UpdateUiPreferencesV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateUiPreferencesV1Error = UpdateUiPreferencesV1Errors[keyof UpdateUiPreferencesV1Errors]; export type UpdateUiPreferencesV1Responses = { 200: unknown; }; export type CreateOneSignalTokenV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/onesignal/token'; }; export type CreateOneSignalTokenV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateOneSignalTokenV1Error = CreateOneSignalTokenV1Errors[keyof CreateOneSignalTokenV1Errors]; export type CreateOneSignalTokenV1Responses = { 201: CreateOneSignalTokenResponse; }; export type CreateOneSignalTokenV1Response = CreateOneSignalTokenV1Responses[keyof CreateOneSignalTokenV1Responses]; export type SendPushNotificationV1Data = { body: SendPushNotificationCommand; path?: never; query?: never; url: '/api/v1/onesignal/push-notification'; }; export type SendPushNotificationV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type SendPushNotificationV1Error = SendPushNotificationV1Errors[keyof SendPushNotificationV1Errors]; export type SendPushNotificationV1Responses = { 201: unknown; }; export type ViewDomainEventLogIndexV1Data = { body?: never; path?: never; query?: { filter?: ViewDomainEventLogIndexFilterQuery; pagination?: ViewDomainEventLogIndexPaginationQuery; }; url: '/api/v1/event-logs'; }; export type ViewDomainEventLogIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewDomainEventLogIndexV1Error = ViewDomainEventLogIndexV1Errors[keyof ViewDomainEventLogIndexV1Errors]; export type ViewDomainEventLogIndexV1Responses = { 200: ViewDomainEventLogIndexResponse; }; export type ViewDomainEventLogIndexV1Response = ViewDomainEventLogIndexV1Responses[keyof ViewDomainEventLogIndexV1Responses]; export type SearchCollectionsV1Data = { body?: never; path?: never; query: { filter?: SearchCollectionsFilterQuery; search: string; }; url: '/api/v1/search'; }; export type SearchCollectionsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type SearchCollectionsV1Error = SearchCollectionsV1Errors[keyof SearchCollectionsV1Errors]; export type SearchCollectionsV1Responses = { 200: SearchCollectionsResponse; }; export type SearchCollectionsV1Response = SearchCollectionsV1Responses[keyof SearchCollectionsV1Responses]; export type GetMyNotificationPreferencesV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/me/notification-preferences'; }; export type GetMyNotificationPreferencesV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type GetMyNotificationPreferencesV1Error = GetMyNotificationPreferencesV1Errors[keyof GetMyNotificationPreferencesV1Errors]; export type GetMyNotificationPreferencesV1Responses = { 200: GetMyNotificationPreferencesResponse; }; export type GetMyNotificationPreferencesV1Response = GetMyNotificationPreferencesV1Responses[keyof GetMyNotificationPreferencesV1Responses]; export type GetNotificationTypesConfigV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/notification-preferences/config'; }; export type GetNotificationTypesConfigV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type GetNotificationTypesConfigV1Error = GetNotificationTypesConfigV1Errors[keyof GetNotificationTypesConfigV1Errors]; export type GetNotificationTypesConfigV1Responses = { 200: GetNotificationTypesConfigResponse; }; export type GetNotificationTypesConfigV1Response = GetNotificationTypesConfigV1Responses[keyof GetNotificationTypesConfigV1Responses]; export type UpdateMyChannelNotificationPreferenceV1Data = { body: UpdateMyChannelNotificationPreferenceCommand; path?: never; query?: never; url: '/api/v1/me/notification-preferences/channels'; }; export type UpdateMyChannelNotificationPreferenceV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateMyChannelNotificationPreferenceV1Error = UpdateMyChannelNotificationPreferenceV1Errors[keyof UpdateMyChannelNotificationPreferenceV1Errors]; export type UpdateMyChannelNotificationPreferenceV1Responses = { 204: void; }; export type UpdateMyChannelNotificationPreferenceV1Response = UpdateMyChannelNotificationPreferenceV1Responses[keyof UpdateMyChannelNotificationPreferenceV1Responses]; export type GetMyNotificationsV1Data = { body?: never; path?: never; query?: { filter?: GetMyNotificationsFilterQuery; pagination?: GetMyNotificationsPaginationQuery; }; url: '/api/v1/me/notifications'; }; export type GetMyNotificationsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type GetMyNotificationsV1Error = GetMyNotificationsV1Errors[keyof GetMyNotificationsV1Errors]; export type GetMyNotificationsV1Responses = { 200: GetMyNotificationsResponse; }; export type GetMyNotificationsV1Response = GetMyNotificationsV1Responses[keyof GetMyNotificationsV1Responses]; export type ViewUnreadNotificationsCountV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/me/notifications/unread-count'; }; export type ViewUnreadNotificationsCountV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewUnreadNotificationsCountV1Error = ViewUnreadNotificationsCountV1Errors[keyof ViewUnreadNotificationsCountV1Errors]; export type ViewUnreadNotificationsCountV1Responses = { 200: ViewUnreadNotificationsCountResponse; }; export type ViewUnreadNotificationsCountV1Response = ViewUnreadNotificationsCountV1Responses[keyof ViewUnreadNotificationsCountV1Responses]; export type ViewUserNotificationDetailV1Data = { body?: never; path: { notificationUuid: string; }; query?: never; url: '/api/v1/me/notifications/{notificationUuid}'; }; export type ViewUserNotificationDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewUserNotificationDetailV1Error = ViewUserNotificationDetailV1Errors[keyof ViewUserNotificationDetailV1Errors]; export type ViewUserNotificationDetailV1Responses = { 200: SystemTestNotificationNotification; }; export type ViewUserNotificationDetailV1Response = ViewUserNotificationDetailV1Responses[keyof ViewUserNotificationDetailV1Responses]; export type MarkAllNotificationAsReadV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/me/notifications/mark-as-read'; }; export type MarkAllNotificationAsReadV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type MarkAllNotificationAsReadV1Error = MarkAllNotificationAsReadV1Errors[keyof MarkAllNotificationAsReadV1Errors]; export type MarkAllNotificationAsReadV1Responses = { 204: void; }; export type MarkAllNotificationAsReadV1Response = MarkAllNotificationAsReadV1Responses[keyof MarkAllNotificationAsReadV1Responses]; export type UpdateMyNotificationTypePreferenceV1Data = { body: UpdateMyNotificationTypePreferenceCommand; path?: never; query?: never; url: '/api/v1/me/notification-preferences/types'; }; export type UpdateMyNotificationTypePreferenceV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateMyNotificationTypePreferenceV1Error = UpdateMyNotificationTypePreferenceV1Errors[keyof UpdateMyNotificationTypePreferenceV1Errors]; export type UpdateMyNotificationTypePreferenceV1Responses = { 204: void; }; export type UpdateMyNotificationTypePreferenceV1Response = UpdateMyNotificationTypePreferenceV1Responses[keyof UpdateMyNotificationTypePreferenceV1Responses]; export type MarkNotificationAsReadV1Data = { body?: never; path: { notificationUuid: string; }; query?: never; url: '/api/v1/me/notifications/{notificationUuid}/mark-as-read'; }; export type MarkNotificationAsReadV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MarkNotificationAsReadV1Error = MarkNotificationAsReadV1Errors[keyof MarkNotificationAsReadV1Errors]; export type MarkNotificationAsReadV1Responses = { 204: void; }; export type MarkNotificationAsReadV1Response = MarkNotificationAsReadV1Responses[keyof MarkNotificationAsReadV1Responses]; export type MarkNotificationAsUnreadV1Data = { body?: never; path: { notificationUuid: string; }; query?: never; url: '/api/v1/me/notifications/{notificationUuid}/mark-as-unread'; }; export type MarkNotificationAsUnreadV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MarkNotificationAsUnreadV1Error = MarkNotificationAsUnreadV1Errors[keyof MarkNotificationAsUnreadV1Errors]; export type MarkNotificationAsUnreadV1Responses = { 204: void; }; export type MarkNotificationAsUnreadV1Response = MarkNotificationAsUnreadV1Responses[keyof MarkNotificationAsUnreadV1Responses]; export type UpdateMyNotificationPreferencePresetV1Data = { body: UpdateMyNotificationPreferencePresetCommand; path?: never; query?: never; url: '/api/v1/me/notification-preferences/preset'; }; export type UpdateMyNotificationPreferencePresetV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateMyNotificationPreferencePresetV1Error = UpdateMyNotificationPreferencePresetV1Errors[keyof UpdateMyNotificationPreferencePresetV1Errors]; export type UpdateMyNotificationPreferencePresetV1Responses = { 204: void; }; export type UpdateMyNotificationPreferencePresetV1Response = UpdateMyNotificationPreferencePresetV1Responses[keyof UpdateMyNotificationPreferencePresetV1Responses]; export type MigrateNotificationTypesV1Data = { body: MigrateNotificationTypesCommand; path?: never; query?: never; url: '/api/v1/notifications/migrate'; }; export type MigrateNotificationTypesV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MigrateNotificationTypesV1Error = MigrateNotificationTypesV1Errors[keyof MigrateNotificationTypesV1Errors]; export type MigrateNotificationTypesV1Responses = { 204: void; }; export type MigrateNotificationTypesV1Response = MigrateNotificationTypesV1Responses[keyof MigrateNotificationTypesV1Responses]; export type SendTestNotificationV1Data = { body: SendTestNotificationCommand; path?: never; query?: never; url: '/api/v1/notifications/test-notification'; }; export type SendTestNotificationV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type SendTestNotificationV1Error = SendTestNotificationV1Errors[keyof SendTestNotificationV1Errors]; export type SendTestNotificationV1Responses = { 204: void; }; export type SendTestNotificationV1Response = SendTestNotificationV1Responses[keyof SendTestNotificationV1Responses]; export type ViewJobsIndexV1Data = { body?: never; path?: never; query?: { sort?: Array; filter?: ViewJobsIndexFilterQuery; pagination?: ViewJobsIndexPaginationQuery; }; url: '/api/v1/jobs'; }; export type ViewJobsIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewJobsIndexV1Error = ViewJobsIndexV1Errors[keyof ViewJobsIndexV1Errors]; export type ViewJobsIndexV1Responses = { 200: ViewJobsIndexResponse; }; export type ViewJobsIndexV1Response = ViewJobsIndexV1Responses[keyof ViewJobsIndexV1Responses]; export type ViewJobDetailV1Data = { body?: never; path: { jobId: string; }; query?: never; url: '/api/v1/jobs/{jobId}'; }; export type ViewJobDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewJobDetailV1Error = ViewJobDetailV1Errors[keyof ViewJobDetailV1Errors]; export type ViewJobDetailV1Responses = { 200: ViewJobDetailResponse; }; export type ViewJobDetailV1Response = ViewJobDetailV1Responses[keyof ViewJobDetailV1Responses]; export type ViewLocationIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; filter?: ViewLocationIndexFilterQuery; search?: string; sort?: Array; }; url: '/api/v1/locations'; }; export type ViewLocationIndexV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewLocationIndexV1Error = ViewLocationIndexV1Errors[keyof ViewLocationIndexV1Errors]; export type ViewLocationIndexV1Responses = { 200: ViewLocationIndexResponse; }; export type ViewLocationIndexV1Response = ViewLocationIndexV1Responses[keyof ViewLocationIndexV1Responses]; export type CreateLocationV1Data = { body: CreateLocationCommand; path?: never; query?: never; url: '/api/v1/locations'; }; export type CreateLocationV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateLocationV1Error = CreateLocationV1Errors[keyof CreateLocationV1Errors]; export type CreateLocationV1Responses = { 201: CreateLocationResponse; }; export type CreateLocationV1Response = CreateLocationV1Responses[keyof CreateLocationV1Responses]; export type ViewLocationDetailV1Data = { body?: never; path: { uuid: string; }; query?: never; url: '/api/v1/locations/{uuid}'; }; export type ViewLocationDetailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewLocationDetailV1Error = ViewLocationDetailV1Errors[keyof ViewLocationDetailV1Errors]; export type ViewLocationDetailV1Responses = { 200: LocationDetailResponse; }; export type ViewLocationDetailV1Response = ViewLocationDetailV1Responses[keyof ViewLocationDetailV1Responses]; export type UpdateLocationV1Data = { body: UpdateLocationCommand; path: { uuid: string; }; query?: never; url: '/api/v1/locations/{uuid}'; }; export type UpdateLocationV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateLocationV1Error = UpdateLocationV1Errors[keyof UpdateLocationV1Errors]; export type UpdateLocationV1Responses = { 200: unknown; }; export type ViewIndividualIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; search?: string; }; url: '/api/v1/individuals'; }; export type ViewIndividualIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualIndexV1Error = ViewIndividualIndexV1Errors[keyof ViewIndividualIndexV1Errors]; export type ViewIndividualIndexV1Responses = { 200: ViewIndividualIndexResponse; }; export type ViewIndividualIndexV1Response = ViewIndividualIndexV1Responses[keyof ViewIndividualIndexV1Responses]; export type CreateIndividualV1Data = { body: CreateIndividualCommand; path?: never; query?: never; url: '/api/v1/individuals'; }; export type CreateIndividualV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateIndividualV1Error = CreateIndividualV1Errors[keyof CreateIndividualV1Errors]; export type CreateIndividualV1Responses = { 201: CreateIndividualResponse; }; export type CreateIndividualV1Response = CreateIndividualV1Responses[keyof CreateIndividualV1Responses]; export type ViewIndividualDetailV1Data = { body?: never; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}'; }; export type ViewIndividualDetailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualDetailV1Error = ViewIndividualDetailV1Errors[keyof ViewIndividualDetailV1Errors]; export type ViewIndividualDetailV1Responses = { 200: ViewIndividualDetailResponse; }; export type ViewIndividualDetailV1Response = ViewIndividualDetailV1Responses[keyof ViewIndividualDetailV1Responses]; export type UpdateIndividualV1Data = { body: UpdateIndividualCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}'; }; export type UpdateIndividualV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateIndividualV1Error = UpdateIndividualV1Errors[keyof UpdateIndividualV1Errors]; export type UpdateIndividualV1Responses = { 204: void; }; export type UpdateIndividualV1Response = UpdateIndividualV1Responses[keyof UpdateIndividualV1Responses]; export type UpdateIndividualStatusV1Data = { body: UpdateIndividualStatusCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/status'; }; export type UpdateIndividualStatusV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateIndividualStatusV1Error = UpdateIndividualStatusV1Errors[keyof UpdateIndividualStatusV1Errors]; export type UpdateIndividualStatusV1Responses = { 204: void; }; export type UpdateIndividualStatusV1Response = UpdateIndividualStatusV1Responses[keyof UpdateIndividualStatusV1Responses]; export type ViewIndividualStatisticsV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/individuals/statistics'; }; export type ViewIndividualStatisticsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualStatisticsV1Error = ViewIndividualStatisticsV1Errors[keyof ViewIndividualStatisticsV1Errors]; export type ViewIndividualStatisticsV1Responses = { 200: ViewIndividualStatisticsResponse; }; export type ViewIndividualStatisticsV1Response = ViewIndividualStatisticsV1Responses[keyof ViewIndividualStatisticsV1Responses]; export type ViewIndividualActivityLogIndexV1Data = { body?: never; path: { individualUuid: string; }; query?: { pagination?: ViewIndividualActivityLogIndexPaginationQuery; }; url: '/api/v1/individual/{individualUuid}/activity-log'; }; export type ViewIndividualActivityLogIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualActivityLogIndexV1Error = ViewIndividualActivityLogIndexV1Errors[keyof ViewIndividualActivityLogIndexV1Errors]; export type ViewIndividualActivityLogIndexV1Responses = { 200: ViewIndividualActivityLogIndexResponse; }; export type ViewIndividualActivityLogIndexV1Response = ViewIndividualActivityLogIndexV1Responses[keyof ViewIndividualActivityLogIndexV1Responses]; export type ViewBusinessIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; search?: string; }; url: '/api/v1/businesses'; }; export type ViewBusinessIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessIndexV1Error = ViewBusinessIndexV1Errors[keyof ViewBusinessIndexV1Errors]; export type ViewBusinessIndexV1Responses = { 200: ViewBusinessIndexResponse; }; export type ViewBusinessIndexV1Response = ViewBusinessIndexV1Responses[keyof ViewBusinessIndexV1Responses]; export type CreateBusinessV1Data = { body: CreateBusinessCommand; path?: never; query?: never; url: '/api/v1/businesses'; }; export type CreateBusinessV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 409: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateBusinessV1Error = CreateBusinessV1Errors[keyof CreateBusinessV1Errors]; export type CreateBusinessV1Responses = { 201: CreateBusinessResponse; }; export type CreateBusinessV1Response = CreateBusinessV1Responses[keyof CreateBusinessV1Responses]; export type CheckVatNumberV1Data = { body: VatNumberCommand; path?: never; query?: never; url: '/api/v1/vat-numbers/check'; }; export type CheckVatNumberV1Errors = { 500: { traceId?: string | null; errors?: Array; }; 503: { traceId?: string | null; errors?: Array; }; }; export type CheckVatNumberV1Error = CheckVatNumberV1Errors[keyof CheckVatNumberV1Errors]; export type CheckVatNumberV1Responses = { 200: CheckVatNumberResponse; }; export type CheckVatNumberV1Response = CheckVatNumberV1Responses[keyof CheckVatNumberV1Responses]; export type ViewBusinessDetailV1Data = { body?: never; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}'; }; export type ViewBusinessDetailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessDetailV1Error = ViewBusinessDetailV1Errors[keyof ViewBusinessDetailV1Errors]; export type ViewBusinessDetailV1Responses = { 200: ViewBusinessDetailResponse; }; export type ViewBusinessDetailV1Response = ViewBusinessDetailV1Responses[keyof ViewBusinessDetailV1Responses]; export type UpdateBusinessV1Data = { body: UpdateBusinessCommand; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}'; }; export type UpdateBusinessV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateBusinessV1Error = UpdateBusinessV1Errors[keyof UpdateBusinessV1Errors]; export type UpdateBusinessV1Responses = { 204: void; }; export type UpdateBusinessV1Response = UpdateBusinessV1Responses[keyof UpdateBusinessV1Responses]; export type UpdateBusinessStatusV1Data = { body: UpdateBusinessStatusCommand; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/status'; }; export type UpdateBusinessStatusV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateBusinessStatusV1Error = UpdateBusinessStatusV1Errors[keyof UpdateBusinessStatusV1Errors]; export type UpdateBusinessStatusV1Responses = { 204: void; }; export type UpdateBusinessStatusV1Response = UpdateBusinessStatusV1Responses[keyof UpdateBusinessStatusV1Responses]; export type ViewBusinessStatisticsV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/businesses/statistics'; }; export type ViewBusinessStatisticsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessStatisticsV1Error = ViewBusinessStatisticsV1Errors[keyof ViewBusinessStatisticsV1Errors]; export type ViewBusinessStatisticsV1Responses = { 200: ViewBusinessStatisticsResponse; }; export type ViewBusinessStatisticsV1Response = ViewBusinessStatisticsV1Responses[keyof ViewBusinessStatisticsV1Responses]; export type ViewBusinessBillingInformationDetailV1Data = { body?: never; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/billing-information'; }; export type ViewBusinessBillingInformationDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessBillingInformationDetailV1Error = ViewBusinessBillingInformationDetailV1Errors[keyof ViewBusinessBillingInformationDetailV1Errors]; export type ViewBusinessBillingInformationDetailV1Responses = { 200: ViewBusinessBillingInformationDetailResponse; }; export type ViewBusinessBillingInformationDetailV1Response = ViewBusinessBillingInformationDetailV1Responses[keyof ViewBusinessBillingInformationDetailV1Responses]; export type UpsertBusinessBillingInformationV1Data = { body: UpsertBusinessBillingInformationCommand; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/billing-information'; }; export type UpsertBusinessBillingInformationV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpsertBusinessBillingInformationV1Error = UpsertBusinessBillingInformationV1Errors[keyof UpsertBusinessBillingInformationV1Errors]; export type UpsertBusinessBillingInformationV1Responses = { 204: void; }; export type UpsertBusinessBillingInformationV1Response = UpsertBusinessBillingInformationV1Responses[keyof UpsertBusinessBillingInformationV1Responses]; export type LinkBusinessAsParentV1Data = { body?: never; path: { parentUuid: string; businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/link-as-parent/{parentUuid}'; }; export type LinkBusinessAsParentV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type LinkBusinessAsParentV1Error = LinkBusinessAsParentV1Errors[keyof LinkBusinessAsParentV1Errors]; export type LinkBusinessAsParentV1Responses = { 204: void; }; export type LinkBusinessAsParentV1Response = LinkBusinessAsParentV1Responses[keyof LinkBusinessAsParentV1Responses]; export type LinkBusinessAsChildV1Data = { body?: never; path: { childUuid: string; businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/link-as-child/{childUuid}'; }; export type LinkBusinessAsChildV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type LinkBusinessAsChildV1Error = LinkBusinessAsChildV1Errors[keyof LinkBusinessAsChildV1Errors]; export type LinkBusinessAsChildV1Responses = { 204: void; }; export type LinkBusinessAsChildV1Response = LinkBusinessAsChildV1Responses[keyof LinkBusinessAsChildV1Responses]; export type ViewBusinessActivityLogIndexV1Data = { body?: never; path: { businessUuid: string; }; query?: { pagination?: ViewBusinessActivityLogIndexPaginationQuery; }; url: '/api/v1/business/{businessUuid}/activity-log'; }; export type ViewBusinessActivityLogIndexV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessActivityLogIndexV1Error = ViewBusinessActivityLogIndexV1Errors[keyof ViewBusinessActivityLogIndexV1Errors]; export type ViewBusinessActivityLogIndexV1Responses = { 200: ViewBusinessActivityLogIndexResponse; }; export type ViewBusinessActivityLogIndexV1Response = ViewBusinessActivityLogIndexV1Responses[keyof ViewBusinessActivityLogIndexV1Responses]; export type CheckBusinessVatNumberExistenceV1Data = { body: VatNumberCommand; path?: never; query?: never; url: '/api/v1/businesses/vat-number/check-existence'; }; export type CheckBusinessVatNumberExistenceV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CheckBusinessVatNumberExistenceV1Error = CheckBusinessVatNumberExistenceV1Errors[keyof CheckBusinessVatNumberExistenceV1Errors]; export type CheckBusinessVatNumberExistenceV1Responses = { 200: CheckBusinessVatNumberExistenceResponse; }; export type CheckBusinessVatNumberExistenceV1Response = CheckBusinessVatNumberExistenceV1Responses[keyof CheckBusinessVatNumberExistenceV1Responses]; export type CreateNoteV1Data = { body: CreateNoteCommand; path?: never; query?: never; url: '/api/v1/notes'; }; export type CreateNoteV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateNoteV1Error = CreateNoteV1Errors[keyof CreateNoteV1Errors]; export type CreateNoteV1Responses = { 201: CreateNoteResponse; }; export type CreateNoteV1Response = CreateNoteV1Responses[keyof CreateNoteV1Responses]; export type DeleteNoteV1Data = { body?: never; path: { uuid: string; }; query?: never; url: '/api/v1/notes/{uuid}'; }; export type DeleteNoteV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type DeleteNoteV1Error = DeleteNoteV1Errors[keyof DeleteNoteV1Errors]; export type DeleteNoteV1Responses = { 200: unknown; }; export type UpdateNoteV1Data = { body: UpdateNoteCommand; path: { uuid: string; }; query?: never; url: '/api/v1/notes/{uuid}'; }; export type UpdateNoteV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateNoteV1Error = UpdateNoteV1Errors[keyof UpdateNoteV1Errors]; export type UpdateNoteV1Responses = { 200: unknown; }; export type ViewBusinessNotesIndexV1Data = { body?: never; path: { businessUuid: string; }; query?: { pagination?: ViewBusinessNotesIndexPaginationQuery; }; url: '/api/v1/notes/{businessUuid}/business'; }; export type ViewBusinessNotesIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessNotesIndexV1Error = ViewBusinessNotesIndexV1Errors[keyof ViewBusinessNotesIndexV1Errors]; export type ViewBusinessNotesIndexV1Responses = { 200: ViewBusinessNotesIndexResponse; }; export type ViewBusinessNotesIndexV1Response = ViewBusinessNotesIndexV1Responses[keyof ViewBusinessNotesIndexV1Responses]; export type ViewIndividualNotesIndexV1Data = { body?: never; path: { individualUuid: string; }; query?: { pagination?: ViewIndividualNotesIndexPaginationQuery; }; url: '/api/v1/notes/{individualUuid}/individual'; }; export type ViewIndividualNotesIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualNotesIndexV1Error = ViewIndividualNotesIndexV1Errors[keyof ViewIndividualNotesIndexV1Errors]; export type ViewIndividualNotesIndexV1Responses = { 200: ViewIndividualNotesIndexResponse; }; export type ViewIndividualNotesIndexV1Response = ViewIndividualNotesIndexV1Responses[keyof ViewIndividualNotesIndexV1Responses]; export type ViewDealNotesIndexV1Data = { body?: never; path: { dealUuid: string; }; query?: { pagination?: ViewDealNotesIndexPaginationQuery; }; url: '/api/v1/notes/{dealUuid}/deal'; }; export type ViewDealNotesIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewDealNotesIndexV1Error = ViewDealNotesIndexV1Errors[keyof ViewDealNotesIndexV1Errors]; export type ViewDealNotesIndexV1Responses = { 200: ViewDealNotesIndexResponse; }; export type ViewDealNotesIndexV1Response = ViewDealNotesIndexV1Responses[keyof ViewDealNotesIndexV1Responses]; export type AddNoteFileV1Data = { body: AddNoteFileCommand; path: { noteUuid: string; }; query?: never; url: '/api/v1/notes/{noteUuid}/files'; }; export type AddNoteFileV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type AddNoteFileV1Error = AddNoteFileV1Errors[keyof AddNoteFileV1Errors]; export type AddNoteFileV1Responses = { 201: AddNoteFileResponse; }; export type AddNoteFileV1Response = AddNoteFileV1Responses[keyof AddNoteFileV1Responses]; export type DeleteNoteFileV1Data = { body?: never; path: { noteUuid: string; fileUuid: string; }; query?: never; url: '/api/v1/notes/{noteUuid}/files/{fileUuid}'; }; export type DeleteNoteFileV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type DeleteNoteFileV1Error = DeleteNoteFileV1Errors[keyof DeleteNoteFileV1Errors]; export type DeleteNoteFileV1Responses = { 204: void; }; export type DeleteNoteFileV1Response = DeleteNoteFileV1Responses[keyof DeleteNoteFileV1Responses]; export type LinkContactPersonToIndividualV1Data = { body: LinkContactPersonToIndividualCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/contact-persons/link'; }; export type LinkContactPersonToIndividualV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type LinkContactPersonToIndividualV1Error = LinkContactPersonToIndividualV1Errors[keyof LinkContactPersonToIndividualV1Errors]; export type LinkContactPersonToIndividualV1Responses = { 201: LinkContactPersonToIndividualResponse; }; export type LinkContactPersonToIndividualV1Response = LinkContactPersonToIndividualV1Responses[keyof LinkContactPersonToIndividualV1Responses]; export type UnlinkContactPersonFromIndividualV1Data = { body: UnlinkContactPersonFromIndividualCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/contact-persons/unlink'; }; export type UnlinkContactPersonFromIndividualV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UnlinkContactPersonFromIndividualV1Error = UnlinkContactPersonFromIndividualV1Errors[keyof UnlinkContactPersonFromIndividualV1Errors]; export type UnlinkContactPersonFromIndividualV1Responses = { 204: void; }; export type UnlinkContactPersonFromIndividualV1Response = UnlinkContactPersonFromIndividualV1Responses[keyof UnlinkContactPersonFromIndividualV1Responses]; export type ViewIndividualContactPersonDetailV1Data = { body?: never; path: { individualUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/contact-persons/{contactPersonUuid}'; }; export type ViewIndividualContactPersonDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualContactPersonDetailV1Error = ViewIndividualContactPersonDetailV1Errors[keyof ViewIndividualContactPersonDetailV1Errors]; export type ViewIndividualContactPersonDetailV1Responses = { 200: ViewIndividualContactPersonDetailResponse; }; export type ViewIndividualContactPersonDetailV1Response = ViewIndividualContactPersonDetailV1Responses[keyof ViewIndividualContactPersonDetailV1Responses]; export type UpdateIndividualContactPersonV1Data = { body: UpdateIndividualContactPersonCommand; path: { individualUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/contact-persons/{contactPersonUuid}'; }; export type UpdateIndividualContactPersonV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateIndividualContactPersonV1Error = UpdateIndividualContactPersonV1Errors[keyof UpdateIndividualContactPersonV1Errors]; export type UpdateIndividualContactPersonV1Responses = { 204: void; }; export type UpdateIndividualContactPersonV1Response = UpdateIndividualContactPersonV1Responses[keyof UpdateIndividualContactPersonV1Responses]; export type MakeIndividualContactPersonPrimaryV1Data = { body?: never; path: { individualUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/contact-persons/{contactPersonUuid}/primary'; }; export type MakeIndividualContactPersonPrimaryV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MakeIndividualContactPersonPrimaryV1Error = MakeIndividualContactPersonPrimaryV1Errors[keyof MakeIndividualContactPersonPrimaryV1Errors]; export type MakeIndividualContactPersonPrimaryV1Responses = { 204: void; }; export type MakeIndividualContactPersonPrimaryV1Response = MakeIndividualContactPersonPrimaryV1Responses[keyof MakeIndividualContactPersonPrimaryV1Responses]; export type LinkContactPersonToBusinessV1Data = { body: LinkContactPersonToBusinessCommand; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/contact-persons/link'; }; export type LinkContactPersonToBusinessV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type LinkContactPersonToBusinessV1Error = LinkContactPersonToBusinessV1Errors[keyof LinkContactPersonToBusinessV1Errors]; export type LinkContactPersonToBusinessV1Responses = { 201: LinkContactPersonToBusinessResponse; }; export type LinkContactPersonToBusinessV1Response = LinkContactPersonToBusinessV1Responses[keyof LinkContactPersonToBusinessV1Responses]; export type UnlinkContactPersonFromBusinessV1Data = { body: UnlinkContactPersonFromBusinessCommand; path: { businessUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/contact-persons/unlink'; }; export type UnlinkContactPersonFromBusinessV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UnlinkContactPersonFromBusinessV1Error = UnlinkContactPersonFromBusinessV1Errors[keyof UnlinkContactPersonFromBusinessV1Errors]; export type UnlinkContactPersonFromBusinessV1Responses = { 204: void; }; export type UnlinkContactPersonFromBusinessV1Response = UnlinkContactPersonFromBusinessV1Responses[keyof UnlinkContactPersonFromBusinessV1Responses]; export type ViewBusinessContactPersonDetailV1Data = { body?: never; path: { businessUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/contact-persons/{contactPersonUuid}'; }; export type ViewBusinessContactPersonDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewBusinessContactPersonDetailV1Error = ViewBusinessContactPersonDetailV1Errors[keyof ViewBusinessContactPersonDetailV1Errors]; export type ViewBusinessContactPersonDetailV1Responses = { 200: ViewBusinessContactPersonDetailResponse; }; export type ViewBusinessContactPersonDetailV1Response = ViewBusinessContactPersonDetailV1Responses[keyof ViewBusinessContactPersonDetailV1Responses]; export type UpdateBusinessContactPersonV1Data = { body: UpdateBusinessContactPersonCommand; path: { businessUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/contact-persons/{contactPersonUuid}'; }; export type UpdateBusinessContactPersonV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateBusinessContactPersonV1Error = UpdateBusinessContactPersonV1Errors[keyof UpdateBusinessContactPersonV1Errors]; export type UpdateBusinessContactPersonV1Responses = { 204: void; }; export type UpdateBusinessContactPersonV1Response = UpdateBusinessContactPersonV1Responses[keyof UpdateBusinessContactPersonV1Responses]; export type MakeBusinessContactPersonPrimaryV1Data = { body?: never; path: { businessUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/businesses/{businessUuid}/contact-persons/{contactPersonUuid}/primary'; }; export type MakeBusinessContactPersonPrimaryV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MakeBusinessContactPersonPrimaryV1Error = MakeBusinessContactPersonPrimaryV1Errors[keyof MakeBusinessContactPersonPrimaryV1Errors]; export type MakeBusinessContactPersonPrimaryV1Responses = { 204: void; }; export type MakeBusinessContactPersonPrimaryV1Response = MakeBusinessContactPersonPrimaryV1Responses[keyof MakeBusinessContactPersonPrimaryV1Responses]; export type ViewCustomFieldDefinitionIndexV1Data = { body?: never; path?: never; query: { filter: ViewCustomFieldDefinitionIndexFilterQuery; }; url: '/api/v1/custom-field-definitions'; }; export type ViewCustomFieldDefinitionIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewCustomFieldDefinitionIndexV1Error = ViewCustomFieldDefinitionIndexV1Errors[keyof ViewCustomFieldDefinitionIndexV1Errors]; export type ViewCustomFieldDefinitionIndexV1Responses = { /** * List of custom field definitions */ 200: Array; }; export type ViewCustomFieldDefinitionIndexV1Response = ViewCustomFieldDefinitionIndexV1Responses[keyof ViewCustomFieldDefinitionIndexV1Responses]; export type CreateCustomFieldDefinitionV1Data = { body: CreateCustomFieldDefinitionCommand; path?: never; query?: never; url: '/api/v1/custom-field-definitions'; }; export type CreateCustomFieldDefinitionV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateCustomFieldDefinitionV1Error = CreateCustomFieldDefinitionV1Errors[keyof CreateCustomFieldDefinitionV1Errors]; export type CreateCustomFieldDefinitionV1Responses = { 201: unknown; }; export type ViewIndividualBillingInformationDetailV1Data = { body?: never; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/billing-information'; }; export type ViewIndividualBillingInformationDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewIndividualBillingInformationDetailV1Error = ViewIndividualBillingInformationDetailV1Errors[keyof ViewIndividualBillingInformationDetailV1Errors]; export type ViewIndividualBillingInformationDetailV1Responses = { 200: ViewIndividualBillingInformationDetailResponse; }; export type ViewIndividualBillingInformationDetailV1Response = ViewIndividualBillingInformationDetailV1Responses[keyof ViewIndividualBillingInformationDetailV1Responses]; export type UpsertIndividualBillingInformationV1Data = { body: UpsertIndividualBillingInformationCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/individuals/{individualUuid}/billing-information'; }; export type UpsertIndividualBillingInformationV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpsertIndividualBillingInformationV1Error = UpsertIndividualBillingInformationV1Errors[keyof UpsertIndividualBillingInformationV1Errors]; export type UpsertIndividualBillingInformationV1Responses = { 204: void; }; export type UpsertIndividualBillingInformationV1Response = UpsertIndividualBillingInformationV1Responses[keyof UpsertIndividualBillingInformationV1Responses]; export type ImportCbeCodesV1Data = { body: ImportCbeCodesCommand; path?: never; query?: never; url: '/api/v1/cbe/codes'; }; export type ImportCbeCodesV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeCodesV1Error = ImportCbeCodesV1Errors[keyof ImportCbeCodesV1Errors]; export type ImportCbeCodesV1Responses = { 201: unknown; }; export type SearchCbeEnterprisesV1Data = { body?: never; path?: never; query: { pagination?: PaginatedOffsetQuery; search: string; }; url: '/api/v1/cbe/enterprises'; }; export type SearchCbeEnterprisesV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type SearchCbeEnterprisesV1Error = SearchCbeEnterprisesV1Errors[keyof SearchCbeEnterprisesV1Errors]; export type SearchCbeEnterprisesV1Responses = { 200: SearchCbeEnterprisesResponse; }; export type SearchCbeEnterprisesV1Response = SearchCbeEnterprisesV1Responses[keyof SearchCbeEnterprisesV1Responses]; export type ImportCbeEnterprisesV1Data = { body: ImportCbeEnterprisesCommand; path?: never; query?: never; url: '/api/v1/cbe/enterprises'; }; export type ImportCbeEnterprisesV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeEnterprisesV1Error = ImportCbeEnterprisesV1Errors[keyof ImportCbeEnterprisesV1Errors]; export type ImportCbeEnterprisesV1Responses = { 201: unknown; }; export type ImportCbeDenominationV1Data = { body: ImportCbeDenominationCommand; path?: never; query?: never; url: '/api/v1/cbe/denominations'; }; export type ImportCbeDenominationV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeDenominationV1Error = ImportCbeDenominationV1Errors[keyof ImportCbeDenominationV1Errors]; export type ImportCbeDenominationV1Responses = { 201: unknown; }; export type ImportCbeContactV1Data = { body: ImportCbeContactCommand; path?: never; query?: never; url: '/api/v1/cbe/contacts'; }; export type ImportCbeContactV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeContactV1Error = ImportCbeContactV1Errors[keyof ImportCbeContactV1Errors]; export type ImportCbeContactV1Responses = { 201: unknown; }; export type ImportCbeAddressV1Data = { body: ImportCbeAddressCommand; path?: never; query?: never; url: '/api/v1/cbe/addresses'; }; export type ImportCbeAddressV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeAddressV1Error = ImportCbeAddressV1Errors[keyof ImportCbeAddressV1Errors]; export type ImportCbeAddressV1Responses = { 201: unknown; }; export type SearchCbeEstablishmentsCbeV1Data = { body?: never; path?: never; query: { pagination?: PaginatedOffsetQuery; filter?: SearchCbeEstablishmentsFilterQuery; search: string; }; url: '/api/v1/cbe/establishments'; }; export type SearchCbeEstablishmentsCbeV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type SearchCbeEstablishmentsCbeV1Error = SearchCbeEstablishmentsCbeV1Errors[keyof SearchCbeEstablishmentsCbeV1Errors]; export type SearchCbeEstablishmentsCbeV1Responses = { 200: SearchCbeEstablishmentResponse; }; export type SearchCbeEstablishmentsCbeV1Response = SearchCbeEstablishmentsCbeV1Responses[keyof SearchCbeEstablishmentsCbeV1Responses]; export type ImportCbeEstablishmentsV1Data = { body: ImportCbeEstablishmentsCommand; path?: never; query?: never; url: '/api/v1/cbe/establishments'; }; export type ImportCbeEstablishmentsV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ImportCbeEstablishmentsV1Error = ImportCbeEstablishmentsV1Errors[keyof ImportCbeEstablishmentsV1Errors]; export type ImportCbeEstablishmentsV1Responses = { 201: unknown; }; export type CreateBoardV1Data = { body: CreateBoardCommand; path: { uuid: string; }; query?: never; url: '/api/v1/tenants/{uuid}/board'; }; export type CreateBoardV1Errors = { 409: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateBoardV1Error = CreateBoardV1Errors[keyof CreateBoardV1Errors]; export type CreateBoardV1Responses = { 201: CreateBoardResponse; }; export type CreateBoardV1Response = CreateBoardV1Responses[keyof CreateBoardV1Responses]; export type ListBoardColumnsV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/board/columns'; }; export type ListBoardColumnsV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ListBoardColumnsV1Error = ListBoardColumnsV1Errors[keyof ListBoardColumnsV1Errors]; export type ListBoardColumnsV1Responses = { 200: ListBoardColumnsResponse; }; export type ListBoardColumnsV1Response = ListBoardColumnsV1Responses[keyof ListBoardColumnsV1Responses]; export type ListBoardColumnTransitionsV1Data = { body?: never; path: { boardColumnUuid: string; }; query?: { triggerTypes?: Array; }; url: '/api/v1/board/columns/{boardColumnUuid}/transitions'; }; export type ListBoardColumnTransitionsV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ListBoardColumnTransitionsV1Error = ListBoardColumnTransitionsV1Errors[keyof ListBoardColumnTransitionsV1Errors]; export type ListBoardColumnTransitionsV1Responses = { 200: ListBoardColumnTransitionsResponse; }; export type ListBoardColumnTransitionsV1Response = ListBoardColumnTransitionsV1Responses[keyof ListBoardColumnTransitionsV1Responses]; export type ViewDealIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; filter?: ViewDealIndexFilterQuery; }; url: '/api/v1/deals'; }; export type ViewDealIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewDealIndexV1Error = ViewDealIndexV1Errors[keyof ViewDealIndexV1Errors]; export type ViewDealIndexV1Responses = { 200: ViewDealIndexResponse; }; export type ViewDealIndexV1Response = ViewDealIndexV1Responses[keyof ViewDealIndexV1Responses]; export type CreateDealV1Data = { body: CreateDealCommand; path?: never; query?: never; url: '/api/v1/deals'; }; export type CreateDealV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateDealV1Error = CreateDealV1Errors[keyof CreateDealV1Errors]; export type CreateDealV1Responses = { 201: CreateDealResponse; }; export type CreateDealV1Response = CreateDealV1Responses[keyof CreateDealV1Responses]; export type ViewDealDetailV1Data = { body?: never; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}'; }; export type ViewDealDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewDealDetailV1Error = ViewDealDetailV1Errors[keyof ViewDealDetailV1Errors]; export type ViewDealDetailV1Responses = { 200: ViewDealDetailResponse; }; export type ViewDealDetailV1Response = ViewDealDetailV1Responses[keyof ViewDealDetailV1Responses]; export type UpdateDealV1Data = { body: UpdateDealCommand; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}'; }; export type UpdateDealV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateDealV1Error = UpdateDealV1Errors[keyof UpdateDealV1Errors]; export type UpdateDealV1Responses = { 204: void; }; export type UpdateDealV1Response = UpdateDealV1Responses[keyof UpdateDealV1Responses]; export type UpdateDealOwnerV1Data = { body: UpdateDealOwnerCommand; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/owner'; }; export type UpdateDealOwnerV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateDealOwnerV1Error = UpdateDealOwnerV1Errors[keyof UpdateDealOwnerV1Errors]; export type UpdateDealOwnerV1Responses = { 204: void; }; export type UpdateDealOwnerV1Response = UpdateDealOwnerV1Responses[keyof UpdateDealOwnerV1Responses]; export type TransitionDealColumnV1Data = { body: TransitionDealColumnCommand; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/column'; }; export type TransitionDealColumnV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type TransitionDealColumnV1Error = TransitionDealColumnV1Errors[keyof TransitionDealColumnV1Errors]; export type TransitionDealColumnV1Responses = { 204: void; }; export type TransitionDealColumnV1Response = TransitionDealColumnV1Responses[keyof TransitionDealColumnV1Responses]; export type LinkContactPersonToDealV1Data = { body: LinkContactPersonToDealCommand; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/contact-persons/link'; }; export type LinkContactPersonToDealV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type LinkContactPersonToDealV1Error = LinkContactPersonToDealV1Errors[keyof LinkContactPersonToDealV1Errors]; export type LinkContactPersonToDealV1Responses = { 201: LinkContactPersonToDealResponse; }; export type LinkContactPersonToDealV1Response = LinkContactPersonToDealV1Responses[keyof LinkContactPersonToDealV1Responses]; export type MakeDealContactPersonPrimaryV1Data = { body?: never; path: { dealUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/contact-persons/{contactPersonUuid}/primary'; }; export type MakeDealContactPersonPrimaryV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type MakeDealContactPersonPrimaryV1Error = MakeDealContactPersonPrimaryV1Errors[keyof MakeDealContactPersonPrimaryV1Errors]; export type MakeDealContactPersonPrimaryV1Responses = { 204: void; }; export type MakeDealContactPersonPrimaryV1Response = MakeDealContactPersonPrimaryV1Responses[keyof MakeDealContactPersonPrimaryV1Responses]; export type UnlinkContactPersonFromDealV1Data = { body: UnlinkContactPersonFromDealCommand; path: { dealUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/contact-persons/unlink'; }; export type UnlinkContactPersonFromDealV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UnlinkContactPersonFromDealV1Error = UnlinkContactPersonFromDealV1Errors[keyof UnlinkContactPersonFromDealV1Errors]; export type UnlinkContactPersonFromDealV1Responses = { 204: void; }; export type UnlinkContactPersonFromDealV1Response = UnlinkContactPersonFromDealV1Responses[keyof UnlinkContactPersonFromDealV1Responses]; export type ViewDealContactPersonDetailV1Data = { body?: never; path: { dealUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/contact-persons/{contactPersonUuid}'; }; export type ViewDealContactPersonDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewDealContactPersonDetailV1Error = ViewDealContactPersonDetailV1Errors[keyof ViewDealContactPersonDetailV1Errors]; export type ViewDealContactPersonDetailV1Responses = { 200: ViewDealContactPersonDetailResponse; }; export type ViewDealContactPersonDetailV1Response = ViewDealContactPersonDetailV1Responses[keyof ViewDealContactPersonDetailV1Responses]; export type UpdateDealContactPersonV1Data = { body: UpdateDealContactPersonCommand; path: { dealUuid: string; contactPersonUuid: string; }; query?: never; url: '/api/v1/deals/{dealUuid}/contact-persons/{contactPersonUuid}'; }; export type UpdateDealContactPersonV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateDealContactPersonV1Error = UpdateDealContactPersonV1Errors[keyof UpdateDealContactPersonV1Errors]; export type UpdateDealContactPersonV1Responses = { 204: void; }; export type UpdateDealContactPersonV1Response = UpdateDealContactPersonV1Responses[keyof UpdateDealContactPersonV1Responses]; export type VerifyIndividualUserEmailV1Data = { body: VerifyIndividualUserEmailCommand; path?: never; query?: never; url: '/api/v1/customer-zone/verify-email'; }; export type VerifyIndividualUserEmailV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 409: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type VerifyIndividualUserEmailV1Error = VerifyIndividualUserEmailV1Errors[keyof VerifyIndividualUserEmailV1Errors]; export type VerifyIndividualUserEmailV1Responses = { 204: void; }; export type VerifyIndividualUserEmailV1Response = VerifyIndividualUserEmailV1Responses[keyof VerifyIndividualUserEmailV1Responses]; export type CreateUserIndividualGrantV1Data = { body: CreateUserIndividualGrantCommand; path: { individualUuid: string; }; query?: never; url: '/api/v1/customer-zone/individuals/{individualUuid}/grant-user'; }; export type CreateUserIndividualGrantV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 409: CustomerZoneIndividualUserAlreadyLinkedError; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateUserIndividualGrantV1Error = CreateUserIndividualGrantV1Errors[keyof CreateUserIndividualGrantV1Errors]; export type ViewCustomerIndividualV1Data = { body?: never; path?: never; query?: never; url: '/api/v1/customer-zone/individuals'; }; export type ViewCustomerIndividualV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewCustomerIndividualV1Error = ViewCustomerIndividualV1Errors[keyof ViewCustomerIndividualV1Errors]; export type ViewCustomerIndividualV1Responses = { 200: ViewCustomerIndividualResponse; }; export type ViewCustomerIndividualV1Response = ViewCustomerIndividualV1Responses[keyof ViewCustomerIndividualV1Responses]; export type UpdateCustomerIndividualV1Data = { body: UpdateIndividualCommand; path?: never; query?: never; url: '/api/v1/customer-zone/individuals'; }; export type UpdateCustomerIndividualV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateCustomerIndividualV1Error = UpdateCustomerIndividualV1Errors[keyof UpdateCustomerIndividualV1Errors]; export type UpdateCustomerIndividualV1Responses = { /** * Customer individual updated successfully. */ 204: void; }; export type UpdateCustomerIndividualV1Response = UpdateCustomerIndividualV1Responses[keyof UpdateCustomerIndividualV1Responses]; export type ViewMailTemplateIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; }; url: '/api/v1/mail-templates'; }; export type ViewMailTemplateIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewMailTemplateIndexV1Error = ViewMailTemplateIndexV1Errors[keyof ViewMailTemplateIndexV1Errors]; export type ViewMailTemplateIndexV1Responses = { 200: ViewMailTemplateIndexResponse; }; export type ViewMailTemplateIndexV1Response = ViewMailTemplateIndexV1Responses[keyof ViewMailTemplateIndexV1Responses]; export type CreateMailTemplateV1Data = { body: CreateMailTemplateCommand; path?: never; query?: never; url: '/api/v1/mail-templates'; }; export type CreateMailTemplateV1Errors = { 400: { traceId?: string | null; errors?: Array; }; 404: { traceId?: string | null; errors?: Array; }; 409: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type CreateMailTemplateV1Error = CreateMailTemplateV1Errors[keyof CreateMailTemplateV1Errors]; export type CreateMailTemplateV1Responses = { 201: CreateMailTemplateResponse; }; export type CreateMailTemplateV1Response = CreateMailTemplateV1Responses[keyof CreateMailTemplateV1Responses]; export type ViewMailTemplateDetailV1Data = { body?: never; path: { mailTemplateUuid: string; }; query?: never; url: '/api/v1/mail-templates/{mailTemplateUuid}'; }; export type ViewMailTemplateDetailV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewMailTemplateDetailV1Error = ViewMailTemplateDetailV1Errors[keyof ViewMailTemplateDetailV1Errors]; export type ViewMailTemplateDetailV1Responses = { 200: ViewMailTemplateDetailResponse; }; export type ViewMailTemplateDetailV1Response = ViewMailTemplateDetailV1Responses[keyof ViewMailTemplateDetailV1Responses]; export type UpdateMailTemplateV1Data = { body: UpdateMailTemplateCommand; path: { mailTemplateUuid: string; }; query?: never; url: '/api/v1/mail-templates/{mailTemplateUuid}'; }; export type UpdateMailTemplateV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type UpdateMailTemplateV1Error = UpdateMailTemplateV1Errors[keyof UpdateMailTemplateV1Errors]; export type UpdateMailTemplateV1Responses = { 204: void; }; export type UpdateMailTemplateV1Response = UpdateMailTemplateV1Responses[keyof UpdateMailTemplateV1Responses]; export type ViewMailTemplateDetailByKeyV1Data = { body?: never; path: { mailTemplateKey: string; }; query?: never; url: '/api/v1/mail-templates/key/{mailTemplateKey}'; }; export type ViewMailTemplateDetailByKeyV1Errors = { 404: { traceId?: string | null; errors?: Array; }; 500: { traceId?: string | null; errors?: Array; }; }; export type ViewMailTemplateDetailByKeyV1Error = ViewMailTemplateDetailByKeyV1Errors[keyof ViewMailTemplateDetailByKeyV1Errors]; export type ViewMailTemplateDetailByKeyV1Responses = { 200: ViewMailTemplateDetailResponse; }; export type ViewMailTemplateDetailByKeyV1Response = ViewMailTemplateDetailByKeyV1Responses[keyof ViewMailTemplateDetailByKeyV1Responses]; export type ViewMailIndexV1Data = { body?: never; path?: never; query?: { pagination?: PaginatedOffsetQuery; filter?: ViewMailIndexFilterQuery; }; url: '/api/v1/mail'; }; export type ViewMailIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewMailIndexV1Error = ViewMailIndexV1Errors[keyof ViewMailIndexV1Errors]; export type ViewMailIndexV1Responses = { 200: ViewMailIndexResponse; }; export type ViewMailIndexV1Response = ViewMailIndexV1Responses[keyof ViewMailIndexV1Responses]; export type CreateMailV1Data = { body: CreateMailCommand; path?: never; query?: never; url: '/api/v1/mail'; }; export type CreateMailV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type CreateMailV1Error = CreateMailV1Errors[keyof CreateMailV1Errors]; export type CreateMailV1Responses = { 201: CreateMailResponse; }; export type CreateMailV1Response = CreateMailV1Responses[keyof CreateMailV1Responses]; export type ViewActivityLogIndexV1Data = { body?: never; path?: never; query?: { filter?: ViewActivityLogIndexFilterQuery; pagination?: ViewActivityLogIndexPaginationQuery; }; url: '/api/v1/activity-logs'; }; export type ViewActivityLogIndexV1Errors = { 500: { traceId?: string | null; errors?: Array; }; }; export type ViewActivityLogIndexV1Error = ViewActivityLogIndexV1Errors[keyof ViewActivityLogIndexV1Errors]; export type ViewActivityLogIndexV1Responses = { 200: ViewActivityLogIndexResponse; }; export type ViewActivityLogIndexV1Response = ViewActivityLogIndexV1Responses[keyof ViewActivityLogIndexV1Responses]; export type ClientOptions = { baseUrl: 'http://localhost:3000' | (string & {}); };