jamespot-user-api 1.0.106 → 1.0.108

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 (110) hide show
  1. package/README-internal.md +14 -14
  2. package/documentation/assets/search.js +1 -1
  3. package/documentation/classes/AdminLicenseApi.html +11 -11
  4. package/documentation/classes/AdminStoreApi.html +1 -1
  5. package/documentation/classes/AdminUtilsApi.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/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFileApi.html +5 -5
  15. package/documentation/classes/JFilebankApi.html +1 -1
  16. package/documentation/classes/JGroupApi.html +12 -8
  17. package/documentation/classes/JLandApi.html +1 -1
  18. package/documentation/classes/JMessengerApi.html +1 -1
  19. package/documentation/classes/JSearchApi.html +6 -6
  20. package/documentation/classes/JShareApi.html +1 -1
  21. package/documentation/classes/JTaxonomyApi.html +2 -2
  22. package/documentation/classes/JUserApi.html +4 -4
  23. package/documentation/classes/JWedocApi.html +1 -1
  24. package/documentation/classes/JamespotUserApi.html +1 -1
  25. package/documentation/classes/Network.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 +19 -6
  61. package/lib/jamespot-user-api.js +1 -1
  62. package/lib/jamespot-user-api.js.map +1 -1
  63. package/lib/src/apis/{assetReservation.d.ts → assetReservation/assetReservation.d.ts} +3 -4
  64. package/lib/src/apis/assetReservation/assetReservation.mock.d.ts +6 -0
  65. package/lib/src/apis/base.d.ts +1 -1
  66. package/lib/src/apis/community.d.ts +39 -2
  67. package/lib/src/apis/diapazone/diapazone.d.ts +6 -0
  68. package/lib/src/apis/diapazone/diapazone.mock.d.ts +3 -0
  69. package/lib/src/apis/diapazone/diapazone.test.d.ts +1 -0
  70. package/lib/src/apis/{group.d.ts → group/group.d.ts} +23 -13
  71. package/lib/src/apis/group/group.mock.d.ts +4 -0
  72. package/lib/src/apis/group/group.test.d.ts +1 -0
  73. package/lib/src/apis/group/group.types.d.ts +123 -0
  74. package/lib/src/apis/group/index.d.ts +2 -0
  75. package/lib/src/apis/index.d.ts +2 -2
  76. package/lib/src/apis/jamespotUserApi.d.ts +3 -3
  77. package/lib/src/apis/share/share.d.ts +1 -0
  78. package/lib/src/apis/wedoc/wedoc.d.ts +1 -1
  79. package/lib/src/apis/wedoc/wedoc.mock.d.ts +1 -0
  80. package/lib/src/index.d.ts +1 -3
  81. package/lib/src/types/assetReservation.d.ts +2 -2
  82. package/lib/src/types/autocomplete.d.ts +12 -0
  83. package/lib/src/types/diapazone.d.ts +12 -0
  84. package/lib/src/types/index.d.ts +1 -1
  85. package/lib/src/types/realtime.d.ts +37 -11
  86. package/lib/src/types/user.d.ts +1 -1
  87. package/lib/src/types/utils.d.ts +6 -1
  88. package/lib/src/types/wedoc.d.ts +2 -0
  89. package/lib/src/util/Test.d.ts +10 -1
  90. package/lib/src/util/index.d.ts +4 -0
  91. package/lib/src/util/object.d.ts +12 -0
  92. package/lib/src/util/object.test.d.ts +1 -0
  93. package/package.json +1 -1
  94. package/phpunitMock/articleCreate-animatedMeeting.json +41 -0
  95. package/phpunitMock/assetReservationBookByDate-default.json +76 -0
  96. package/phpunitMock/assetReservationCancelReservation-default.json +75 -0
  97. package/phpunitMock/assetReservationCreateReservation-default.json +75 -0
  98. package/phpunitMock/diapazoneCreateDiapazone.json +18 -0
  99. package/phpunitMock/objectListAssetReservationList-default.json +428 -0
  100. package/phpunitMock/objectListDiapazoneQueryList-default-raw-list.json +77 -0
  101. package/phpunitMock/onlyOfficeGetFile-get-file.json +2 -1
  102. package/phpunitMock/onlyOfficeGetFiles-get-files.json +2 -1
  103. package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +7 -0
  104. package/phpunitMock/spotGet-default.json +25 -0
  105. package/phpunitMock/spotGetProperties-default.json +78 -0
  106. package/pnpm-lock.yaml +12425 -0
  107. package/lib/src/apis/assetReservation.mock.d.ts +0 -3
  108. package/lib/src/apis/diapazone.d.ts +0 -24
  109. package/lib/src/types/group.d.ts +0 -58
  110. /package/lib/src/apis/{assetReservation.test.d.ts → assetReservation/assetReservation.test.d.ts} +0 -0
@@ -9,8 +9,8 @@ The JamespotUserApi library facilitates the HTTPS calls to the Jamespot Apis. Th
9
9
  This contains the JavaScript calls to the jamespot api (user-api) and lots of type definitions. Most of the Jamespot projects depends upon it. Therefore, it needs to be installed and build first.
10
10
 
11
11
  ```
12
- npm ci
13
- npm run build
12
+ pnpm i --frozen-lockfile
13
+ pnpm run build
14
14
  ```
15
15
 
16
16
  ## Web project install order
@@ -30,7 +30,7 @@ Once everything has been installed run on local
30
30
  -
31
31
 
32
32
  ```
33
- npm run local
33
+ pnpm run local
34
34
  ```
35
35
 
36
36
  ### Solidarity
@@ -43,23 +43,23 @@ https://dokuwiki.teleport.jamespot.pro/doku.php?id=dev:utilitaires:solidarity:br
43
43
 
44
44
  ## Build
45
45
 
46
- | commande | format du bundle | avec les mock | hot reload |
47
- | -------------------- | ---------------- | ------------- | ---------- |
48
- | `npm run build` | development | non | non |
49
- | `npm run build-mock` | development | oui | non |
50
- | `npm run dev` | development | non | non |
51
- | `npm run dev-mock` | production | non | non |
52
- | `npm run local` | production | oui | oui |
53
- | `npm run local-mock` | production | non | oui |
46
+ | commande | format du bundle | avec les mock | hot reload |
47
+ | --------------------- | ---------------- | ------------- | ---------- |
48
+ | `pnpm run build` | development | non | non |
49
+ | `pnpm run build-mock` | development | oui | non |
50
+ | `pnpm run dev` | development | non | non |
51
+ | `pnpm run dev-mock` | production | non | non |
52
+ | `pnpm run local` | production | oui | oui |
53
+ | `pnpm run local-mock` | production | non | oui |
54
54
 
55
55
  ## Test - Jest (using jenkins DB located at https://jenskinsdev.jamespot.pro)
56
56
 
57
57
  ```
58
58
  # Lancer tous les tests
59
- npm run testJenkinsDev
59
+ pnpm run testJenkinsDev
60
60
 
61
61
  # Lancer un fichier de test spécifique - pattern de test a lancer
62
- npm run testJenkinsDev -- [pathFile] -t [testName]
62
+ pnpm run testJenkinsDev -- [pathFile] -t [testName]
63
63
  ```
64
64
 
65
65
  The configuration is editable in the file setEnvVars.js to use the real api or the mocked one
@@ -67,5 +67,5 @@ The configuration is editable in the file setEnvVars.js to use the real api or t
67
67
  ## Generate doc
68
68
 
69
69
  ```
70
- npm run doc
70
+ pnpm run doc
71
71
  ```