/** * * Configuration for which secret id to use for linking to a owning entity (e.g. which secret id of patient to use * when linking a contact to the patient) */ export type SecretIdUseOption = typeof SecretIdUseOption.UseAnySharedWithHierarchy | typeof SecretIdUseOption.UseAllSharedWithHierarchy | SecretIdUseOption.Use | typeof SecretIdUseOption.UseNone; export declare namespace SecretIdUseOption { const UseAnySharedWithHierarchy: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAnySharedWithHierarchy'; }; const UseAllSharedWithHierarchy: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAllSharedWithHierarchy'; }; /** * * Specify explicitly which secret ids to use. The secretIds can also be empty, in which case the value is * equivalent to [UseNone]. * Note that the SDK will not check that the secret id you used is actually a secret id of the owning entity. */ class Use { /** * Specify explicitly which secret ids to use. The secretIds can also be empty, in which case the value is * equivalent to [UseNone]. * Note that the SDK will not check that the secret id you used is actually a secret id of the owning entity. * / */ secretIds: Array; readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.Use'; constructor(partial: Partial & Pick); } const UseNone: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseNone'; }; }