import { ApiSecretRegistrationClientSecret } from "./ApiSecretRegistrationClientSecret"; export interface ApiSecretRegistration { /** * Max 128 characters */ id?: string; /** * Max 128 characters */ description?: string; clientSecrets: ApiSecretRegistrationClientSecret[]; tenantId?: string; /** * Currently max length 1 */ targetUrlsShouldStartWith: string[]; /** * Teams app Id associated with the ApiSecretRegistration, should be required if applicableToApps === "SpecificType" */ specificAppId?: string; applicableToApps: ApiSecretRegistrationAppType; /** * Default to be "HomeTenant" */ targetAudience?: ApiSecretRegistrationTargetAudience; manageableByUsers?: ApiSecretRegistrationUser[]; } export interface ApiSecretRegistrationUpdate { /** * Max 128 characters */ description?: string; /** * Currently max length 1 */ targetUrlsShouldStartWith: string[]; /** * Teams app Id associated with the ApiSecretRegistration, should be required if applicableToApps === "SpecificType" */ specificAppId?: string; applicableToApps?: ApiSecretRegistrationAppType; /** * Default to be "HomeTenant" */ targetAudience?: ApiSecretRegistrationTargetAudience; manageableByUsers?: ApiSecretRegistrationUser[]; } export declare enum ApiSecretRegistrationAppType { SpecificApp = "SpecificApp", AnyApp = "AnyApp" } export declare enum ApiSecretRegistrationTargetAudience { HomeTenant = "HomeTenant", AnyTenant = "AnyTenant" } export declare enum ApiSecretRegistrationUserAccessType { Read = "Read", ReadWrite = "ReadWrite" } export interface ApiSecretRegistrationUser { userId: string; accessType: ApiSecretRegistrationUserAccessType; } //# sourceMappingURL=ApiSecretRegistration.d.ts.map