jamespot-user-api 1.0.144 → 1.0.146

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 (75) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +11 -11
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBookmarkApi.html +1 -1
  11. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFaqApi.html +1 -1
  15. package/documentation/classes/JFileApi.html +5 -5
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGlobalApi.html +1 -1
  18. package/documentation/classes/JGroupApi.html +9 -9
  19. package/documentation/classes/JIAApi.html +1 -1
  20. package/documentation/classes/JLandApi.html +1 -1
  21. package/documentation/classes/JMessengerApi.html +1 -1
  22. package/documentation/classes/JObjectApi.html +1 -1
  23. package/documentation/classes/JSearchApi.html +6 -6
  24. package/documentation/classes/JShareApi.html +1 -1
  25. package/documentation/classes/JSocialActionApi.html +1 -1
  26. package/documentation/classes/JTaxonomyApi.html +2 -2
  27. package/documentation/classes/JUserApi.html +12 -6
  28. package/documentation/classes/JWedocApi.html +1 -1
  29. package/documentation/classes/JWidgetApi.html +1 -1
  30. package/documentation/classes/JamespotUserApi.html +1 -1
  31. package/documentation/classes/Network.html +1 -1
  32. package/documentation/classes/TVDisplayApi.html +1 -1
  33. package/documentation/classes/WindowBrowser.html +1 -1
  34. package/documentation/enums/StudioApplicationStatus.html +1 -1
  35. package/documentation/index.html +1 -1
  36. package/documentation/interfaces/AccessRightObject.html +1 -1
  37. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  38. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  39. package/documentation/interfaces/ApiWrapper.html +1 -1
  40. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  41. package/documentation/interfaces/BaseMessage.html +1 -1
  42. package/documentation/interfaces/Category.html +1 -1
  43. package/documentation/interfaces/FileBankProps.html +1 -1
  44. package/documentation/interfaces/FolderProps.html +1 -1
  45. package/documentation/interfaces/ListFilterSpec.html +1 -1
  46. package/documentation/interfaces/OF.html +1 -1
  47. package/documentation/interfaces/ObjectListProps.html +1 -1
  48. package/documentation/interfaces/PagingResults.html +1 -1
  49. package/documentation/interfaces/RootFolderProps.html +1 -1
  50. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  51. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  52. package/documentation/interfaces/SearchConfig.html +1 -1
  53. package/documentation/interfaces/SearchFacetModel.html +1 -1
  54. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  55. package/documentation/interfaces/SearchQuery.html +1 -1
  56. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  57. package/documentation/interfaces/SearchQueryOption.html +1 -1
  58. package/documentation/interfaces/SearchQueryResult.html +1 -1
  59. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  60. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  61. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  62. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  63. package/documentation/interfaces/SpotProps.html +1 -1
  64. package/documentation/interfaces/Taxonomy.html +1 -1
  65. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  66. package/documentation/interfaces/WindowInterface.html +1 -1
  67. package/documentation/modules.html +11 -11
  68. package/lib/jamespot-user-api.js +1 -1
  69. package/lib/jamespot-user-api.js.map +1 -1
  70. package/lib/src/apis/user/user.d.ts +8 -0
  71. package/lib/src/apis/user/user.mock.d.ts +3 -0
  72. package/lib/src/types/model.d.ts +17 -0
  73. package/lib/src/util/group.test.d.ts +1 -0
  74. package/package.json +1 -1
  75. package/phpunitMock/userEditMail-default-1.json +9 -0
@@ -79,6 +79,14 @@ export declare class JUserApi extends JBaseApi {
79
79
  * @param idFile
80
80
  */
81
81
  updateBanner(idFile: number, format?: string): Promise<ApiWrapper<jObjectLittle>>;
82
+ /**
83
+ * Update mail
84
+ * @param mail as Mail
85
+ * @param password as Password
86
+ */
87
+ updateMail(mail: string, password: string): Promise<ApiWrapper<{
88
+ success: boolean;
89
+ }>>;
82
90
  userUpdateProfile(values: jUserValues): Promise<ApiWrapper<jUserLittle>>;
83
91
  configuration(): Promise<ApiWrapper<UserDirectoryConfiguration>>;
84
92
  fieldsConfiguration(): Promise<ApiWrapper<UserFieldsConfigurationType>>;
@@ -6,6 +6,9 @@ export declare const userDirectoryConfigurationDefault: ApiWrapper<UserDirectory
6
6
  export declare const userFieldsConfiguration: ApiWrapper<UserFieldsConfigurationType>;
7
7
  export declare const userBusinessContactQueryList: ApiPagingResults<UserModel>;
8
8
  export declare const userGetValues: ApiWrapper<UserValues>;
9
+ export declare const updateMail: ApiWrapper<{
10
+ success: boolean;
11
+ }>;
9
12
  export declare const updateUserValues: ApiWrapper<jUserLittle>;
10
13
  export declare const userListRawList: ApiPagingResults<jUserList>;
11
14
  export declare const userQueryListRawList: ApiPagingResults<jUserList>;
@@ -14,6 +14,13 @@ export type WidgetNumber = {
14
14
  type: 'number';
15
15
  };
16
16
  export type WidgetNumberValue = number;
17
+ export type WidgetColor = {
18
+ type: 'color';
19
+ options: {
20
+ colors: string;
21
+ defaultColor: string;
22
+ };
23
+ };
17
24
  export type WidgetDate = {
18
25
  type: 'date';
19
26
  format: string;
@@ -28,6 +35,9 @@ export type WidgetDatePicker = {
28
35
  };
29
36
  export type WidgetDatePickerValue = string | null;
30
37
  export type WidgetActiveValue = number;
38
+ export type WidgetLink = {
39
+ type: 'link';
40
+ };
31
41
  export type WidgetMultiattribute = {
32
42
  type: 'multiattribute';
33
43
  };
@@ -54,6 +64,10 @@ export type WidgetUrl = {
54
64
  };
55
65
  };
56
66
  export type WidgetUrlValue = string;
67
+ export type WidgetPlace = {
68
+ type: 'place';
69
+ options: Record<string, string>;
70
+ };
57
71
  export type WidgetRefUser = {
58
72
  type: 'refUser';
59
73
  };
@@ -75,6 +89,9 @@ export type WidgetTaxonomy = {
75
89
  type?: string;
76
90
  };
77
91
  };
92
+ export type WidgetTel = {
93
+ type: 'tel';
94
+ };
78
95
  export type WidgetOrientedlinks = {
79
96
  type: 'orientedlinks';
80
97
  params: {
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.144",
3
+ "version": "1.0.146",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -0,0 +1,9 @@
1
+ {
2
+ "o": "user",
3
+ "f": "editMail",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "success": true
8
+ }
9
+ }