jamespot-user-api 1.0.84 → 1.0.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README-internal.md +41 -0
  2. package/README.md +7 -33
  3. package/documentation/assets/highlight.css +13 -6
  4. package/documentation/assets/search.js +1 -1
  5. package/documentation/classes/AdminStoreApi.html +1 -1
  6. package/documentation/classes/JApplicationApi.html +8 -8
  7. package/documentation/classes/JArticleApi.html +1 -1
  8. package/documentation/classes/JAssetReservation.html +1 -1
  9. package/documentation/classes/JAudienceApi.html +1 -1
  10. package/documentation/classes/JBaseApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JConceptApi.html +1 -1
  14. package/documentation/classes/JDiapazoneApi.html +1 -1
  15. package/documentation/classes/JFileApi.html +1 -1
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGroupApi.html +2 -2
  18. package/documentation/classes/JLandApi.html +1 -1
  19. package/documentation/classes/JLicenseApi.html +18 -0
  20. package/documentation/classes/JMessengerApi.html +1 -1
  21. package/documentation/classes/JSearchApi.html +6 -6
  22. package/documentation/classes/JShareApi.html +1 -1
  23. package/documentation/classes/JUserApi.html +5 -5
  24. package/documentation/classes/JWedocApi.html +1 -1
  25. package/documentation/classes/JamespotUserApi.html +1 -1
  26. package/documentation/classes/Network.html +1 -1
  27. package/documentation/classes/WindowBrowser.html +1 -1
  28. package/documentation/classes/WindowMock.html +2 -2
  29. package/documentation/enums/StudioApplicationStatus.html +1 -1
  30. package/documentation/index.html +5 -70
  31. package/documentation/interfaces/ApiError.html +1 -1
  32. package/documentation/interfaces/ApiWrapper.html +1 -1
  33. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  34. package/documentation/interfaces/BaseMessage.html +1 -1
  35. package/documentation/interfaces/Category.html +1 -1
  36. package/documentation/interfaces/CreateGroup.html +1 -1
  37. package/documentation/interfaces/FileBankProps.html +1 -1
  38. package/documentation/interfaces/FolderProps.html +1 -1
  39. package/documentation/interfaces/ListFilterSpec.html +1 -1
  40. package/documentation/interfaces/OF.html +1 -1
  41. package/documentation/interfaces/PagingResults.html +1 -1
  42. package/documentation/interfaces/Result.html +1 -1
  43. package/documentation/interfaces/RootFolderProps.html +1 -1
  44. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  45. package/documentation/interfaces/SearchConfig.html +1 -1
  46. package/documentation/interfaces/SearchFacetModel.html +1 -1
  47. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  48. package/documentation/interfaces/SearchQuery.html +1 -1
  49. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  50. package/documentation/interfaces/SearchQueryOption.html +1 -1
  51. package/documentation/interfaces/SearchQueryResult.html +1 -1
  52. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  53. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  54. package/documentation/interfaces/SearchResultProps.html +1 -1
  55. package/documentation/interfaces/SpotProps.html +1 -1
  56. package/documentation/interfaces/Taxonomy.html +1 -1
  57. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  58. package/documentation/interfaces/WindowInterface.html +1 -1
  59. package/documentation/modules.html +1 -1
  60. package/lib/jamespot-user-api.js +1 -1
  61. package/lib/jamespot-user-api.js.map +1 -1
  62. package/lib/src/apis/application.d.ts +2 -2
  63. package/lib/src/apis/article.d.ts +5 -4
  64. package/lib/src/apis/bookmark.d.ts +2 -2
  65. package/lib/src/apis/filebank.d.ts +2 -2
  66. package/lib/src/apis/group.d.ts +2 -2
  67. package/lib/src/apis/index.d.ts +1 -0
  68. package/lib/src/apis/jamespotUserApi.d.ts +4 -2
  69. package/lib/src/apis/jland.d.ts +14 -1
  70. package/lib/src/apis/licenses.d.ts +44 -0
  71. package/lib/src/apis/user.d.ts +4 -18
  72. package/lib/src/types/asei.d.ts +11 -10
  73. package/lib/src/types/assetReservation.d.ts +3 -3
  74. package/lib/src/types/user.d.ts +23 -12
  75. package/lib/src/types/utils.d.ts +5 -3
  76. package/lib/src/util/network.d.ts +1 -0
  77. package/package.json +1 -1
  78. package/documentation/interfaces/UserModel.html +0 -1
@@ -0,0 +1,44 @@
1
+ import { JBaseApi } from './base';
2
+ import { ApiWrapper } from '../types';
3
+ export declare type JLicense = {
4
+ id: number;
5
+ kind: string;
6
+ dateCreation: string;
7
+ idFeature: number;
8
+ uri: string;
9
+ contentId: number;
10
+ contentType: string;
11
+ status: number;
12
+ };
13
+ export declare type JLicenseAvailable = {
14
+ [key: string]: number;
15
+ };
16
+ export declare class JLicenseApi extends JBaseApi {
17
+ /**
18
+ * Retireve the list of liceses assigned to content of a given type
19
+ *
20
+ * @param type type of content for which we want to retrieve the licenses
21
+ * @returns The list of liceses assigned to content of the provided type
22
+ */
23
+ getLicensesAssigned(type: string): Promise<ApiWrapper<Array<JLicense>>>;
24
+ /**
25
+ * Retrieves the number of licenses of a given type available. License type is
26
+ * different from the content type to which it can be assigned to.
27
+ *
28
+ * @param kind The kind of license for which we want to know the availability
29
+ * @returns A paromise resolving to an object containing the kind of license as keys and number of available ones as values
30
+ */
31
+ countLicenseNotAssigned(type: string): Promise<ApiWrapper<JLicenseAvailable>>;
32
+ /**
33
+ * Assigns a license to the content with the provided uri (if any is available)
34
+ * @param uri URI of the object to which a license must be assigned
35
+ * @returns
36
+ */
37
+ assignLicense(uri: string): Promise<ApiWrapper<boolean>>;
38
+ /**
39
+ * Unassigns the licese linked to the content with the provided uri
40
+ * @param uri URI of the object to which a license must be unassigned
41
+ * @returns
42
+ */
43
+ unassignLicense(uri: string): Promise<ApiWrapper<boolean>>;
44
+ }
@@ -1,35 +1,21 @@
1
1
  import { JBaseApi } from './base';
2
- import { ApiWrapper, Little } from '../types';
3
- export declare type User = Little & {
4
- id: string;
5
- uri: string;
6
- shortUri: string;
7
- title: string;
8
- name: string;
9
- mainType: string;
10
- type: string;
11
- label: string;
12
- cssClass: string;
13
- cssColor: string;
14
- class: string;
15
- Pseudo: string;
16
- };
2
+ import { ApiWrapper, jObjectLittle, jUserAutocomplete } from '../types';
17
3
  export declare class JUserApi extends JBaseApi {
18
4
  /**
19
5
  * autocomplete return a list users
20
6
  * @param query <string>
21
7
  */
22
- autocomplete(query: string): Promise<User[]>;
8
+ autocomplete(query: string): Promise<jUserAutocomplete[]>;
23
9
  /**
24
10
  * Get a user
25
11
  * @param uri uri
26
12
  * @param format little by default. If another format is provided, the generic types should be defined
27
13
  */
28
- get<T extends Little = Little>(uri: string, format?: string): Promise<ApiWrapper<T>>;
14
+ get<T extends jObjectLittle = jObjectLittle>(uri: string, format?: string): Promise<ApiWrapper<T>>;
29
15
  /**
30
16
  * signIn function returns a Promise of users.
31
17
  * @param mail Mail or username
32
18
  * @param pwd Password to be validated
33
19
  */
34
- signIn(mail: string, pwd: string): Promise<ApiWrapper<User, string[]>>;
20
+ signIn(mail: string, pwd: string): Promise<ApiWrapper<jUserAutocomplete, string[]>>;
35
21
  }
@@ -1,12 +1,13 @@
1
- import { Little, Rights } from './utils';
1
+ import { jUserLittle } from './user';
2
+ import { jObjectLittle, Rights } from './utils';
2
3
  export declare type AseiTicketStatus = 'created' | 'validated' | 'handled';
3
- export declare type AseiTicket = Little & {
4
+ export declare type AseiTicket = jObjectLittle & {
4
5
  _right: Rights;
5
- _user: Little;
6
- aseiClearanceTicketValidator: Little[];
7
- aseiClearanceTicketHandler: Little[];
8
- aseiClearanceTicketApplicationManagers: Little[];
9
- aseiClearanceTicketInstitution: Little[];
6
+ _user: jUserLittle;
7
+ aseiClearanceTicketValidator: jObjectLittle[];
8
+ aseiClearanceTicketHandler: jObjectLittle[];
9
+ aseiClearanceTicketApplicationManagers: jObjectLittle[];
10
+ aseiClearanceTicketInstitution: jObjectLittle[];
10
11
  processContext: null;
11
12
  aseiClearanceTicketNatureOfDemand: string;
12
13
  aseiClearanceTicketInternetAccess: string;
@@ -51,10 +52,10 @@ export declare type AseiTicket = Little & {
51
52
  aseiClearanceTicketPosition: string;
52
53
  aseiClearanceTicketStatus: AseiTicketStatus;
53
54
  };
54
- export declare type AseiInstitution = Little & {
55
+ export declare type AseiInstitution = jObjectLittle & {
55
56
  _right: Rights;
56
- _user: Little;
57
- aseiInstitutionValidator: Little[];
57
+ _user: jUserLittle;
58
+ aseiInstitutionValidator: jObjectLittle[];
58
59
  processContext: null;
59
60
  };
60
61
  export declare type AseiGroups = {
@@ -1,4 +1,4 @@
1
- import { List } from './utils';
1
+ import { jArticleList } from './utils';
2
2
  export declare type AssetReservationConfiguration = {
3
3
  description: string;
4
4
  right: {
@@ -10,7 +10,7 @@ export declare type AssetReservationConfiguration = {
10
10
  bookingClosingTime: string;
11
11
  lastBookingSchedule: string;
12
12
  };
13
- export declare type BookableAssetList = List & {
13
+ export declare type BookableAssetList = jArticleList & {
14
14
  _isColorDark: boolean;
15
15
  assetPlannerBackgroundColor: string;
16
16
  };
@@ -23,7 +23,7 @@ export declare type BookableAssetView = BookableAssetList & {
23
23
  };
24
24
  };
25
25
  };
26
- export declare type ReservationList = List & {
26
+ export declare type ReservationList = jArticleList & {
27
27
  dateStart: string;
28
28
  dateEnd: string;
29
29
  reservationCancelled: boolean;
@@ -1,14 +1,25 @@
1
- export interface UserModel {
2
- id: number;
3
- title: string;
4
- type: string;
1
+ import { jObjectLittle } from './utils';
2
+ export declare const UserLevel: {
3
+ readonly ADMIN: 9;
4
+ readonly USER: 5;
5
+ readonly EXTERNAL: 3;
6
+ readonly GUEST: 0;
7
+ };
8
+ export declare type jUserAutocomplete = {
9
+ id: string;
5
10
  uri: string;
11
+ shortUri: string;
12
+ title: string;
13
+ name: string;
6
14
  mainType: string;
7
- _cssColor: string;
8
- _cssClass: string;
9
- url: string;
10
- firstname: string;
11
- lastname: string;
12
- company: string;
13
- mail: string;
14
- }
15
+ type: string;
16
+ label: string;
17
+ cssClass: string;
18
+ cssColor: string;
19
+ class: string;
20
+ Pseudo: string;
21
+ };
22
+ export declare type jUserLittle = jObjectLittle & {
23
+ level: typeof UserLevel[keyof typeof UserLevel];
24
+ };
25
+ export declare type jUserList = jUserLittle & {};
@@ -1,3 +1,4 @@
1
+ import { jUserLittle } from './user';
1
2
  export interface ApiWrapper<T, U = string[]> {
2
3
  o: string;
3
4
  f: string;
@@ -35,7 +36,7 @@ export declare type Rights = {
35
36
  comment: boolean;
36
37
  member: boolean;
37
38
  };
38
- export declare type Little = {
39
+ export declare type jObjectLittle = {
39
40
  id: number;
40
41
  mainType: string;
41
42
  type: string;
@@ -45,9 +46,10 @@ export declare type Little = {
45
46
  dateCreation: string;
46
47
  dateModified: string;
47
48
  };
48
- export declare type List = Little & {
49
+ export declare type jArticleLittle = jObjectLittle & {};
50
+ export declare type jArticleList = jObjectLittle & {
49
51
  description?: string;
50
- _user: Little;
52
+ _user: jUserLittle;
51
53
  _right: Rights;
52
54
  };
53
55
  export declare type Order = {
@@ -14,6 +14,7 @@ export declare class Network {
14
14
  static _formatPostOptions(body: object): RequestInit;
15
15
  static _formatQueryOptions(options: Record<string, string | boolean | number>): string;
16
16
  getUrl(o: string, f: string): Promise<string>;
17
+ getHostname(): Promise<string>;
17
18
  fetch({ o, f, ...body }: OF, signal?: AbortSignal | null): FetchReturnType;
18
19
  post<T, U = string[]>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
19
20
  postFile(body: FormData): Promise<FileResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.84",
3
+ "version": "1.0.90",
4
4
  "scripts": {
5
5
  "build": "npx webpack --env NODE_ENV=production",
6
6
  "build-dev-vm": "npx webpack --env NODE_ENV=development --env NODE_BUILD=VM",
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UserModel | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="UserModel.html">UserModel</a></li></ul><h1>Interface UserModel</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">UserModel</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssClass" class="tsd-kind-icon">_css<wbr/>Class</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssColor" class="tsd-kind-icon">_css<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#company" class="tsd-kind-icon">company</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#firstname" class="tsd-kind-icon">firstname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#lastname" class="tsd-kind-icon">lastname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mail" class="tsd-kind-icon">mail</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mainType" class="tsd-kind-icon">main<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#title" class="tsd-kind-icon">title</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#type" class="tsd-kind-icon">type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#uri" class="tsd-kind-icon">uri</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#url" class="tsd-kind-icon">url</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="_cssClass" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_css<wbr/>Class<a href="#_cssClass" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_css<wbr/>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L8">types/user.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="_cssColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_css<wbr/>Color<a href="#_cssColor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_css<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L7">types/user.ts:7</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="company" class="tsd-anchor"></a><h3 class="tsd-anchor-link">company<a href="#company" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">company<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L12">types/user.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="firstname" class="tsd-anchor"></a><h3 class="tsd-anchor-link">firstname<a href="#firstname" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">firstname<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L10">types/user.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link">id<a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L2">types/user.ts:2</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lastname" class="tsd-anchor"></a><h3 class="tsd-anchor-link">lastname<a href="#lastname" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">lastname<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L11">types/user.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mail" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mail<a href="#mail" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">mail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L13">types/user.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mainType" class="tsd-anchor"></a><h3 class="tsd-anchor-link">main<wbr/>Type<a href="#mainType" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">main<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L6">types/user.ts:6</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="title" class="tsd-anchor"></a><h3 class="tsd-anchor-link">title<a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">title<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L3">types/user.ts:3</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link">type<a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L4">types/user.ts:4</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="uri" class="tsd-anchor"></a><h3 class="tsd-anchor-link">uri<a href="#uri" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">uri<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L5">types/user.ts:5</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="url" class="tsd-anchor"></a><h3 class="tsd-anchor-link">url<a href="#url" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/b7ecbe6/src/types/user.ts#L9">types/user.ts:9</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface"><a href="UserModel.html" class="tsd-kind-icon">User<wbr/>Model</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssClass" class="tsd-kind-icon">_css<wbr/>Class</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#_cssColor" class="tsd-kind-icon">_css<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#company" class="tsd-kind-icon">company</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#firstname" class="tsd-kind-icon">firstname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#id" class="tsd-kind-icon">id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#lastname" class="tsd-kind-icon">lastname</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mail" class="tsd-kind-icon">mail</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#mainType" class="tsd-kind-icon">main<wbr/>Type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#title" class="tsd-kind-icon">title</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#type" class="tsd-kind-icon">type</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#uri" class="tsd-kind-icon">uri</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="UserModel.html#url" class="tsd-kind-icon">url</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>