jamespot-user-api 1.0.111 → 1.0.113

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 (67) 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/JCommunityApi.html +1 -1
  12. package/documentation/classes/JDiapazoneApi.html +1 -1
  13. package/documentation/classes/JFileApi.html +5 -5
  14. package/documentation/classes/JFilebankApi.html +1 -1
  15. package/documentation/classes/JGroupApi.html +9 -9
  16. package/documentation/classes/JLandApi.html +1 -1
  17. package/documentation/classes/JMessengerApi.html +1 -1
  18. package/documentation/classes/JSearchApi.html +6 -6
  19. package/documentation/classes/JShareApi.html +1 -1
  20. package/documentation/classes/JTaxonomyApi.html +2 -2
  21. package/documentation/classes/JUserApi.html +4 -4
  22. package/documentation/classes/JWedocApi.html +1 -1
  23. package/documentation/classes/JamespotUserApi.html +1 -1
  24. package/documentation/classes/Network.html +1 -1
  25. package/documentation/classes/TVDisplayApi.html +1 -1
  26. package/documentation/classes/WindowBrowser.html +1 -1
  27. package/documentation/enums/StudioApplicationStatus.html +1 -1
  28. package/documentation/index.html +1 -1
  29. package/documentation/interfaces/AccessRightObject.html +1 -1
  30. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  31. package/documentation/interfaces/ApiDefaultWrapper.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/FileBankProps.html +1 -1
  37. package/documentation/interfaces/FolderProps.html +1 -1
  38. package/documentation/interfaces/ListFilterSpec.html +1 -1
  39. package/documentation/interfaces/OF.html +1 -1
  40. package/documentation/interfaces/ObjectListProps.html +1 -1
  41. package/documentation/interfaces/PagingResults.html +1 -1
  42. package/documentation/interfaces/RootFolderProps.html +1 -1
  43. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  44. package/documentation/interfaces/SearchCategoryValue.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/SearchResultPropsApp.html +1 -1
  55. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  56. package/documentation/interfaces/SpotProps.html +1 -1
  57. package/documentation/interfaces/Taxonomy.html +1 -1
  58. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  59. package/documentation/interfaces/WindowInterface.html +1 -1
  60. package/documentation/modules.html +9 -9
  61. package/lib/jamespot-user-api.js +1 -1
  62. package/lib/jamespot-user-api.js.map +1 -1
  63. package/lib/src/apis/filebank.d.ts +15 -3
  64. package/lib/src/types/drive.d.ts +2 -1
  65. package/lib/src/types/group.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/phpunitMock/spotGetProperties-default.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { JBaseApi } from './base';
2
- import { jObjectLittle, PagingResults, Rights } from '../types';
2
+ import { ApiPagingResults, ApiWrapper, jObjectBase, jObjectLittle, Rights } from '../types';
3
3
  export interface RootFolderProps {
4
4
  id: number;
5
5
  title: string;
@@ -17,7 +17,7 @@ export interface SpotProps {
17
17
  folderColor?: string;
18
18
  }
19
19
  export interface FileBankProps {
20
- recents: any[];
20
+ recents: jObjectLittle[];
21
21
  rootFolder: RootFolderProps;
22
22
  spot: SpotProps;
23
23
  }
@@ -27,7 +27,19 @@ export interface FolderProps extends jObjectLittle {
27
27
  parentURI?: string;
28
28
  _right: Rights;
29
29
  }
30
+ export declare type FolderType = jObjectLittle & {
31
+ mainType: string;
32
+ folderColor?: string;
33
+ parentURI?: string;
34
+ };
35
+ export declare type jFileBase = jObjectLittle & {
36
+ mimetype: string;
37
+ };
38
+ export declare type FileBankDocument = jObjectBase & {
39
+ _attachedFiles: jFileBase[];
40
+ };
30
41
  export declare class JFilebankApi extends JBaseApi {
31
42
  getBanks(format?: string): Promise<Array<FileBankProps>>;
32
- getFolders(parentURI: string): Promise<PagingResults<FolderProps[]>>;
43
+ getFolders(parentURI: string): Promise<ApiWrapper<FolderType[]>>;
44
+ getDocuments(uri: string): Promise<ApiPagingResults<FileBankDocument>>;
33
45
  }
@@ -1,5 +1,6 @@
1
1
  export declare type MSGraphTenant = {
2
2
  title: string;
3
+ name: 'groups' | 'sites' | 'onedrive' | 'documents';
3
4
  type: string;
4
5
  };
5
6
  export declare type MSGraphGroup = {
@@ -19,7 +20,7 @@ export declare type DriveItemType = {
19
20
  webUrl: string;
20
21
  };
21
22
  export declare type DriveDocumentParams = {
22
- msTenant: 'groups' | 'sites' | undefined;
23
+ msTenant: 'groups' | 'sites' | 'onedrive' | 'documents' | undefined;
23
24
  msId: string | undefined;
24
25
  idFolder: string | undefined;
25
26
  page: number;
@@ -26,7 +26,7 @@ export declare type GroupProperties = {
26
26
  edit_access: '' | 'author';
27
27
  commentLevel: '-1' | '1' | '2' | '3';
28
28
  user_level_signup: '' | '1' | '2' | '3';
29
- nounsubscribe: '' | '1';
29
+ nounsubscribe: '0' | '1';
30
30
  useTeaser: '' | '1' | '2';
31
31
  displayType: string;
32
32
  spot_right_user: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.111",
3
+ "version": "1.0.113",
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",
@@ -58,7 +58,7 @@
58
58
  "edit_access": "",
59
59
  "commentLevel": "3",
60
60
  "user_level_signup": "2",
61
- "nounsubscribe": "1",
61
+ "nounsubscribe": "0",
62
62
  "useTeaser": "",
63
63
  "displayType": "wall",
64
64
  "spot_right_user": "2",