/** * * 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.UseAnyConfidential | typeof SecretIdUseOption.UseAllConfidential | typeof SecretIdUseOption.UseAnySharedWithParent | typeof SecretIdUseOption.UseAllSharedWithParent | SecretIdUseOption.Use | typeof SecretIdUseOption.UseNone; export declare namespace SecretIdUseOption { const UseAnyConfidential: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAnyConfidential'; }; const UseAllConfidential: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAllConfidential'; }; const UseAnySharedWithParent: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAnySharedWithParent'; }; const UseAllSharedWithParent: { readonly $ktClass: 'com.icure.cardinal.sdk.crypto.entities.SecretIdUseOption.UseAllSharedWithParent'; }; /** * * 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'; }; }