diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 2efbf56fb4..da4a892dc9 100644 Binary files a/mobile/openapi/README.md and b/mobile/openapi/README.md differ diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.md index b3815f7da3..807cb5317e 100644 Binary files a/mobile/openapi/doc/APIKeyApi.md and b/mobile/openapi/doc/APIKeyApi.md differ diff --git a/mobile/openapi/doc/AlbumApi.md b/mobile/openapi/doc/AlbumApi.md index 8f9ae1699a..034750a4dc 100644 Binary files a/mobile/openapi/doc/AlbumApi.md and b/mobile/openapi/doc/AlbumApi.md differ diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md index 5752cb086e..213369d797 100644 Binary files a/mobile/openapi/doc/AssetApi.md and b/mobile/openapi/doc/AssetApi.md differ diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.md index b515698fd0..ae9755147a 100644 Binary files a/mobile/openapi/doc/AuthenticationApi.md and b/mobile/openapi/doc/AuthenticationApi.md differ diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.md index 5c6dff1cc3..b1fe36e44a 100644 Binary files a/mobile/openapi/doc/JobApi.md and b/mobile/openapi/doc/JobApi.md differ diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.md index b0952f865c..519a96d9ee 100644 Binary files a/mobile/openapi/doc/OAuthApi.md and b/mobile/openapi/doc/OAuthApi.md differ diff --git a/mobile/openapi/doc/SearchApi.md b/mobile/openapi/doc/SearchApi.md index a5e22f2b0d..2ada86a470 100644 Binary files a/mobile/openapi/doc/SearchApi.md and b/mobile/openapi/doc/SearchApi.md differ diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.md index b9d3ab5a22..3b39ef93ee 100644 Binary files a/mobile/openapi/doc/ServerInfoApi.md and b/mobile/openapi/doc/ServerInfoApi.md differ diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.md index e669d1c41f..b28da306ea 100644 Binary files a/mobile/openapi/doc/ShareApi.md and b/mobile/openapi/doc/ShareApi.md differ diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.md index 9cd479fc89..5767f7bb5c 100644 Binary files a/mobile/openapi/doc/SystemConfigApi.md and b/mobile/openapi/doc/SystemConfigApi.md differ diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.md index c3cf63232b..3dd11aab6b 100644 Binary files a/mobile/openapi/doc/TagApi.md and b/mobile/openapi/doc/TagApi.md differ diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.md index 872a6cb5f3..4c7d2b6979 100644 Binary files a/mobile/openapi/doc/UserApi.md and b/mobile/openapi/doc/UserApi.md differ diff --git a/server/apps/immich/src/decorators/authenticated.decorator.ts b/server/apps/immich/src/decorators/authenticated.decorator.ts index c176f95f73..5101db73cd 100644 --- a/server/apps/immich/src/decorators/authenticated.decorator.ts +++ b/server/apps/immich/src/decorators/authenticated.decorator.ts @@ -1,5 +1,6 @@ +import { IMMICH_API_KEY_NAME } from '@app/domain'; import { applyDecorators, SetMetadata } from '@nestjs/common'; -import { ApiBearerAuth, ApiCookieAuth, ApiQuery } from '@nestjs/swagger'; +import { ApiBearerAuth, ApiCookieAuth, ApiQuery, ApiSecurity } from '@nestjs/swagger'; interface AuthenticatedOptions { admin?: boolean; @@ -12,10 +13,13 @@ export enum Metadata { SHARED_ROUTE = 'shared_route', } -export const Authenticated = (options?: AuthenticatedOptions) => { - const decorators: MethodDecorator[] = [ApiBearerAuth(), ApiCookieAuth(), SetMetadata(Metadata.AUTH_ROUTE, true)]; - - options = options || {}; +export const Authenticated = (options: AuthenticatedOptions = {}) => { + const decorators: MethodDecorator[] = [ + ApiBearerAuth(), + ApiCookieAuth(), + ApiSecurity(IMMICH_API_KEY_NAME), + SetMetadata(Metadata.AUTH_ROUTE, true), + ]; if (options.admin) { decorators.push(SetMetadata(Metadata.ADMIN_ROUTE, true)); diff --git a/server/apps/immich/src/main.ts b/server/apps/immich/src/main.ts index 7dae533d73..c6773cf9e0 100644 --- a/server/apps/immich/src/main.ts +++ b/server/apps/immich/src/main.ts @@ -9,8 +9,15 @@ import { AppModule } from './app.module'; import { RedisIoAdapter } from '@app/infra'; import { json } from 'body-parser'; import { patchOpenAPI } from './utils/patch-open-api.util'; -import { getLogLevels, MACHINE_LEARNING_ENABLED } from '@app/domain'; -import { SERVER_VERSION, IMMICH_ACCESS_COOKIE, SearchService } from '@app/domain'; +import { + getLogLevels, + MACHINE_LEARNING_ENABLED, + SERVER_VERSION, + IMMICH_ACCESS_COOKIE, + SearchService, + IMMICH_API_KEY_HEADER, + IMMICH_API_KEY_NAME, +} from '@app/domain'; const logger = new Logger('ImmichServer'); @@ -41,6 +48,14 @@ async function bootstrap() { in: 'header', }) .addCookieAuth(IMMICH_ACCESS_COOKIE) + .addApiKey( + { + type: 'apiKey', + in: 'header', + name: IMMICH_API_KEY_HEADER, + }, + IMMICH_API_KEY_NAME, + ) .addServer('/api') .build(); diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index b20b772704..2a09bc6ba0 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -48,6 +48,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -85,6 +88,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -124,6 +130,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -154,6 +163,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -193,6 +205,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -240,6 +255,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -270,6 +288,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -367,6 +388,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -399,6 +423,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -428,6 +455,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -467,6 +497,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -496,6 +529,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -525,6 +561,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -573,6 +612,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -688,6 +730,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -717,6 +762,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -879,6 +927,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -908,6 +959,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -940,6 +994,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -969,6 +1026,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1040,6 +1100,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1072,6 +1135,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1110,6 +1176,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1149,6 +1218,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1179,6 +1251,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1226,6 +1301,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1255,6 +1333,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1292,6 +1373,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1321,6 +1405,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1350,6 +1437,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1391,6 +1481,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1428,6 +1521,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1465,6 +1561,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1504,6 +1603,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1533,6 +1635,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1603,6 +1708,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1642,6 +1750,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1682,6 +1793,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1721,6 +1835,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1770,6 +1887,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1818,6 +1938,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1870,6 +1993,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1926,6 +2052,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1992,6 +2121,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2048,6 +2180,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2080,6 +2215,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2112,6 +2250,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2144,6 +2285,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2186,6 +2330,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2225,6 +2372,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2254,6 +2404,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2283,6 +2436,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2350,6 +2506,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2390,6 +2549,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2432,6 +2594,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2475,6 +2640,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2523,6 +2691,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2573,6 +2744,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2622,6 +2796,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2662,6 +2839,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2701,6 +2881,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2749,6 +2932,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2797,6 +2983,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2836,6 +3025,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2866,6 +3058,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2905,6 +3100,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2952,6 +3150,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2982,6 +3183,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3011,6 +3215,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3060,6 +3267,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3117,6 +3327,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3164,6 +3377,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3211,6 +3427,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3241,6 +3460,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3288,6 +3510,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3328,6 +3553,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3392,6 +3620,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3431,6 +3662,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3460,6 +3694,11 @@ "type": "apiKey", "in": "cookie", "name": "immich_access_token" + }, + "api_key": { + "type": "apiKey", + "in": "header", + "name": "x-api-key" } }, "schemas": { diff --git a/server/libs/domain/src/auth/auth.constant.ts b/server/libs/domain/src/auth/auth.constant.ts index 2bf04f6721..4f3106cba8 100644 --- a/server/libs/domain/src/auth/auth.constant.ts +++ b/server/libs/domain/src/auth/auth.constant.ts @@ -1,5 +1,7 @@ export const IMMICH_ACCESS_COOKIE = 'immich_access_token'; export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type'; +export const IMMICH_API_KEY_NAME = 'api_key'; +export const IMMICH_API_KEY_HEADER = 'x-api-key'; export enum AuthType { PASSWORD = 'password', OAUTH = 'oauth', diff --git a/server/libs/domain/src/auth/auth.service.ts b/server/libs/domain/src/auth/auth.service.ts index 8229580a62..bf4ff7a830 100644 --- a/server/libs/domain/src/auth/auth.service.ts +++ b/server/libs/domain/src/auth/auth.service.ts @@ -11,7 +11,7 @@ import { IncomingHttpHeaders } from 'http'; import { OAuthCore } from '../oauth/oauth.core'; import { INITIAL_SYSTEM_CONFIG, ISystemConfigRepository } from '../system-config'; import { IUserRepository, UserCore } from '../user'; -import { AuthType, IMMICH_ACCESS_COOKIE } from './auth.constant'; +import { AuthType, IMMICH_ACCESS_COOKIE, IMMICH_API_KEY_HEADER } from './auth.constant'; import { AuthCore, LoginDetails } from './auth.core'; import { ICryptoRepository } from '../crypto/crypto.repository'; import { AuthUserDto, ChangePasswordDto, LoginCredentialDto, SignUpDto } from './dto'; @@ -137,7 +137,7 @@ export class AuthService { params.userToken || this.getBearerToken(headers) || this.getCookieToken(headers)) as string; - const apiKey = (headers['x-api-key'] || params.apiKey) as string; + const apiKey = (headers[IMMICH_API_KEY_HEADER] || params.apiKey) as string; if (shareKey) { return this.shareCore.validate(shareKey); diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts index 7da0010e5b..2d69e3395f 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -2577,6 +2577,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2619,6 +2622,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2658,6 +2664,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2693,6 +2702,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2735,6 +2747,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2969,6 +2984,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3018,6 +3036,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3059,6 +3080,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3100,6 +3124,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3142,6 +3169,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3184,6 +3214,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3231,6 +3264,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3271,6 +3307,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3312,6 +3351,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3362,6 +3404,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3408,6 +3453,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3450,6 +3498,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3920,6 +3971,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3966,6 +4020,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4011,6 +4068,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4052,6 +4112,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4093,6 +4156,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4136,6 +4202,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4179,6 +4248,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4224,6 +4296,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4275,6 +4350,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4326,6 +4404,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4366,6 +4447,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4408,6 +4492,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4449,6 +4536,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4487,6 +4577,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4522,6 +4615,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4563,6 +4659,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4606,6 +4705,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4641,6 +4743,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4680,6 +4785,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4719,6 +4827,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4764,6 +4875,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4809,6 +4923,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4863,6 +4980,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4931,6 +5051,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5889,6 +6012,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5927,6 +6053,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5997,6 +6126,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6036,6 +6168,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6071,6 +6206,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6345,6 +6483,9 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6387,6 +6528,9 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6596,6 +6740,9 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6663,6 +6810,9 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6880,6 +7030,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6915,6 +7068,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6965,6 +7121,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7224,6 +7383,9 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7288,6 +7450,9 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7505,6 +7670,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7543,6 +7711,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7579,6 +7750,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7622,6 +7796,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7661,6 +7838,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7884,6 +8064,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7919,6 +8102,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7954,6 +8140,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7992,6 +8181,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8183,6 +8375,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8221,6 +8416,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8259,6 +8457,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8298,6 +8499,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8340,6 +8544,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8570,6 +8777,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8615,6 +8825,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8657,6 +8870,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8695,6 +8911,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8734,6 +8953,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8773,6 +8995,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8812,6 +9037,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8885,6 +9113,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8923,6 +9154,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration)