jamespot-user-api 1.0.42 → 1.0.46
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.
- package/documentation/.nojekyll +1 -0
- package/documentation/assets/highlight.css +50 -0
- package/documentation/assets/icons.css +1043 -0
- package/documentation/assets/icons.png +0 -0
- package/documentation/assets/icons@2x.png +0 -0
- package/documentation/assets/main.js +52 -0
- package/documentation/assets/search.js +1 -0
- package/documentation/assets/style.css +1413 -0
- package/documentation/assets/widgets.png +0 -0
- package/documentation/assets/widgets@2x.png +0 -0
- package/documentation/classes/JApplication.html +1 -0
- package/documentation/classes/JApplicationApi.html +30 -0
- package/documentation/classes/JArticleApi.html +1 -0
- package/documentation/classes/JAudienceApi.html +4 -0
- package/documentation/classes/JBaseApi.html +1 -0
- package/documentation/classes/JBaseObject.html +4 -0
- package/documentation/classes/JBookmark.html +1 -0
- package/documentation/classes/JBookmarkApi.html +1 -0
- package/documentation/classes/JCommunityApi.html +1 -0
- package/documentation/classes/JConcept.html +1 -0
- package/documentation/classes/JConceptApi.html +7 -0
- package/documentation/classes/JDiapazoneApi.html +1 -0
- package/documentation/classes/JFileApi.html +1 -0
- package/documentation/classes/JFilebankApi.html +1 -0
- package/documentation/classes/JGroupApi.html +12 -0
- package/documentation/classes/JLandApi.html +1 -0
- package/documentation/classes/JMessengerApi.html +1 -0
- package/documentation/classes/JSearchApi.html +18 -0
- package/documentation/classes/JUser.html +1 -0
- package/documentation/classes/JUserApi.html +17 -0
- package/documentation/classes/JWedocApi.html +1 -0
- package/documentation/classes/JamespotUserApi.html +6 -0
- package/documentation/classes/Network.html +1 -0
- package/documentation/enums/JApplicationStatus.html +1 -0
- package/documentation/index.html +79 -0
- package/documentation/interfaces/ApiError.html +1 -0
- package/documentation/interfaces/ApiWrapper.html +1 -0
- package/documentation/interfaces/AseiGroups.html +1 -0
- package/documentation/interfaces/AseiInstitution.html +1 -0
- package/documentation/interfaces/AseiRights.html +1 -0
- package/documentation/interfaces/AseiTicket.html +1 -0
- package/documentation/interfaces/BaseAutocomplete.html +1 -0
- package/documentation/interfaces/BaseMessage.html +1 -0
- package/documentation/interfaces/Category.html +1 -0
- package/documentation/interfaces/CreateGroup.html +1 -0
- package/documentation/interfaces/FileBankProps.html +1 -0
- package/documentation/interfaces/FileOption.html +1 -0
- package/documentation/interfaces/FolderProps.html +1 -0
- package/documentation/interfaces/ListFilterSpec.html +1 -0
- package/documentation/interfaces/OF.html +1 -0
- package/documentation/interfaces/PagingResults.html +1 -0
- package/documentation/interfaces/Result.html +1 -0
- package/documentation/interfaces/RootFolderProps.html +1 -0
- package/documentation/interfaces/SearchCategoryModel.html +1 -0
- package/documentation/interfaces/SearchConfig.html +1 -0
- package/documentation/interfaces/SearchFacetModel.html +1 -0
- package/documentation/interfaces/SearchFacetValueModel.html +1 -0
- package/documentation/interfaces/SearchQuery.html +1 -0
- package/documentation/interfaces/SearchQueryFilterModel.html +6 -0
- package/documentation/interfaces/SearchQueryOption.html +4 -0
- package/documentation/interfaces/SearchQueryResult.html +1 -0
- package/documentation/interfaces/SearchQuerySortModel.html +5 -0
- package/documentation/interfaces/SearchResultCatProps.html +1 -0
- package/documentation/interfaces/SearchResultProps.html +1 -0
- package/documentation/interfaces/SpotProps.html +1 -0
- package/documentation/interfaces/Taxonomy.html +1 -0
- package/documentation/interfaces/TaxonomyCreate.html +1 -0
- package/documentation/interfaces/TmpApplication.html +1 -0
- package/documentation/interfaces/TmpUser.html +1 -0
- package/documentation/interfaces/UserModel.html +1 -0
- package/documentation/modules.html +1 -0
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/application.d.ts +60 -0
- package/lib/src/apis/article.d.ts +38 -0
- package/lib/src/apis/asei.d.ts +25 -0
- package/lib/src/apis/audience.d.ts +9 -0
- package/lib/src/apis/base.d.ts +5 -0
- package/lib/src/apis/bookmark.d.ts +21 -0
- package/lib/src/apis/community.d.ts +9 -0
- package/lib/src/apis/concept.d.ts +10 -0
- package/lib/src/apis/diapazone.d.ts +8 -0
- package/lib/src/apis/file.d.ts +5 -0
- package/lib/src/apis/filebank.d.ts +34 -0
- package/lib/src/apis/group.d.ts +16 -0
- package/lib/src/apis/index.d.ts +17 -0
- package/lib/src/apis/jamespotUserApi.d.ts +47 -0
- package/lib/src/apis/jland.d.ts +24 -0
- package/lib/src/apis/messenger.d.ts +6 -0
- package/lib/src/apis/search.d.ts +47 -0
- package/lib/src/apis/taxonomy.d.ts +9 -0
- package/lib/src/apis/user.d.ts +27 -0
- package/lib/src/apis/wedoc.d.ts +32 -0
- package/lib/src/classes/JApplication.d.ts +16 -0
- package/lib/src/classes/JBaseObject.d.ts +15 -0
- package/lib/src/classes/JBookmark.d.ts +16 -0
- package/lib/src/classes/JConcept.d.ts +3 -0
- package/lib/src/classes/JDiapazone.d.ts +16 -0
- package/lib/src/classes/JFile.d.ts +13 -0
- package/lib/src/classes/JUser.d.ts +4 -0
- package/lib/src/classes/index.d.ts +5 -0
- package/lib/src/index.d.ts +13 -0
- package/lib/src/indexMock.d.ts +9 -0
- package/lib/src/mock/windowMock.d.ts +9 -0
- package/lib/src/types/asei.d.ts +28 -0
- package/lib/src/types/autocomplete.d.ts +16 -0
- package/lib/src/types/group.d.ts +22 -0
- package/lib/src/types/index.d.ts +7 -0
- package/lib/src/types/listWrapper.d.ts +6 -0
- package/lib/src/types/search.d.ts +99 -0
- package/lib/src/types/taxonomy.d.ts +46 -0
- package/lib/src/types/user.d.ts +14 -0
- package/lib/src/types/utils.d.ts +56 -0
- package/lib/src/util/network.d.ts +23 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ApiWrapper } from '../types';
|
|
2
|
+
export interface FileOption {
|
|
3
|
+
makeImage: boolean;
|
|
4
|
+
size: string;
|
|
5
|
+
}
|
|
6
|
+
export interface OF {
|
|
7
|
+
o: string;
|
|
8
|
+
f: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class Network {
|
|
11
|
+
private readonly backUrl;
|
|
12
|
+
private readonly apiUrl;
|
|
13
|
+
private readonly window;
|
|
14
|
+
constructor(window: Window, suffix?: string);
|
|
15
|
+
static _formatPostOptions(body: object): RequestInit;
|
|
16
|
+
static _formatQueryOptions(options: Record<string, string | boolean | number>): string;
|
|
17
|
+
fetch(body: OF, signal?: AbortSignal): Promise<Response>;
|
|
18
|
+
post<T, U = string[]>(body: OF, signal?: AbortSignal): Promise<ApiWrapper<T, U>>;
|
|
19
|
+
postFile(body: FormData, options: FileOption): Promise<any>;
|
|
20
|
+
postCSRF<T, U = string[]>(body: OF): Promise<ApiWrapper<T, U>>;
|
|
21
|
+
token(): Promise<ApiWrapper<string>>;
|
|
22
|
+
tokenCSRF(): Promise<ApiWrapper<string>>;
|
|
23
|
+
}
|