From 03817e1704a24049a972c3e709ed42d184af4224 Mon Sep 17 00:00:00 2001 From: Kerem Nalbant Date: Fri, 14 Jun 2024 13:56:15 +0300 Subject: [PATCH] chore(user-client): bump 3.7.0 --- clients/user-client/package.json | 2 +- clients/user-client/src/openapi.d.ts | 16 +++++++++++++++- clients/user-client/src/openapi.json | 19 ++++++++++++++++++- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/clients/user-client/package.json b/clients/user-client/package.json index 4275451c..477159cc 100644 --- a/clients/user-client/package.json +++ b/clients/user-client/package.json @@ -1,6 +1,6 @@ { "name": "@epilot/user-client", - "version": "3.6.0", + "version": "3.7.0", "description": "Client library for the epilot User API", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/clients/user-client/src/openapi.d.ts b/clients/user-client/src/openapi.d.ts index 60579ffe..9a253b0c 100644 --- a/clients/user-client/src/openapi.d.ts +++ b/clients/user-client/src/openapi.d.ts @@ -382,10 +382,24 @@ declare namespace Components { * de */ preferred_language?: string; + /** + * User's start page after login + */ + custom_start_page?: string | null; // ^/app/* /** * This field is used to override the release channel for the user. */ - override_release_channel?: "canary" | "rc" | "stable"; + override_release_channel?: "canary" | "rc" | "stable" | null; + /** + * User's feature preferences + * example: + * { + * "feature_name": true + * } + */ + feature_preferences?: { + [name: string]: any; + } | null; /** * User's custom profile image * example: diff --git a/clients/user-client/src/openapi.json b/clients/user-client/src/openapi.json index f81c6829..c7cf1e4e 100644 --- a/clients/user-client/src/openapi.json +++ b/clients/user-client/src/openapi.json @@ -809,6 +809,13 @@ "type": "string", "example": "de" }, + "custom_start_page": { + "description": "User's start page after login", + "type": "string", + "pattern": "^/app/*", + "default": "/app/dashboard", + "nullable": true + }, "override_release_channel": { "description": "This field is used to override the release channel for the user.", "type": "string", @@ -816,9 +823,19 @@ "enum": [ "canary", "rc", - "stable" + "stable", + null ] }, + "feature_preferences": { + "description": "User's feature preferences", + "type": "object", + "nullable": true, + "additionalProperties": true, + "example": { + "feature_name": true + } + }, "image_uri": { "type": "object", "description": "User's custom profile image",