@agravity/private 7.3.0 → 8.0.0
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/.openapi-generator/FILES +1 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +29 -4
- package/api/assetIconRuleManagement.agravity.ts +344 -150
- package/api/assetManagement.agravity.ts +709 -389
- package/api/assetOperations.agravity.ts +1414 -650
- package/api/assetPublishing.agravity.ts +562 -255
- package/api/assetVersioning.agravity.ts +598 -278
- package/api/authenticationManagement.agravity.ts +731 -274
- package/api/collectionManagement.agravity.ts +618 -309
- package/api/collectionShareManagement.agravity.ts +256 -121
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +271 -123
- package/api/collectionTypeManagement.agravity.ts +519 -250
- package/api/commentsManagement.agravity.ts +284 -90
- package/api/configurationManagement.agravity.ts +311 -128
- package/api/dashboardWidgetManagement.agravity.ts +342 -124
- package/api/dataImportExportManagement.agravity.ts +378 -148
- package/api/downloadFormatManagement.agravity.ts +450 -152
- package/api/downloadZip.agravity.ts +75 -30
- package/api/generalManagement.agravity.ts +374 -164
- package/api/helperTools.agravity.ts +804 -273
- package/api/historyEntryManagement.agravity.ts +75 -33
- package/api/iccProfileManagement.agravity.ts +64 -23
- package/api/listBlobs.agravity.ts +125 -47
- package/api/listQueues.agravity.ts +68 -24
- package/api/listTables.agravity.ts +68 -25
- package/api/permissionsManagement.agravity.ts +174 -77
- package/api/portalManagement.agravity.ts +511 -198
- package/api/publishing.agravity.ts +69 -38
- package/api/quickshareManagement.agravity.ts +349 -138
- package/api/savedSearchManagement.agravity.ts +205 -92
- package/api/searchManagement.agravity.ts +517 -297
- package/api/secureUpload.agravity.ts +325 -126
- package/api/signalRConnectionManagement.agravity.ts +175 -56
- package/api/staticDefinedListManagement.agravity.ts +342 -162
- package/api/stockImport.agravity.ts +138 -74
- package/api/structureImport.agravity.ts +68 -25
- package/api/translationManagement.agravity.ts +357 -206
- package/api/webAppData.agravity.ts +278 -88
- package/api/widgetLayoutManagement.agravity.ts +131 -47
- package/api/wordpressManagement.agravity.ts +152 -108
- package/api/workspaceManagement.agravity.ts +456 -197
- package/api.module.ts +0 -40
- package/configuration.ts +42 -0
- package/git_push.sh +3 -4
- package/index.ts +1 -0
- package/model/agravityErrorResponse.agravity.ts +3 -4
- package/model/agravityInfoResponse.agravity.ts +3 -4
- package/model/agravityUser.agravity.ts +16 -17
- package/model/agravityUserDto.agravity.ts +3 -4
- package/model/agravityVersion.agravity.ts +8 -9
- package/model/allWebAppData.agravity.ts +4 -5
- package/model/apiKeyResponse.agravity.ts +2 -3
- package/model/appConfigTableEntity.agravity.ts +8 -9
- package/model/artificialIntelligenceGroup.agravity.ts +3 -4
- package/model/asset.agravity.ts +22 -23
- package/model/assetAvailability.agravity.ts +1 -2
- package/model/assetBlob.agravity.ts +27 -28
- package/model/assetBulkUpdate.agravity.ts +2 -3
- package/model/assetCollectionLink.agravity.ts +2 -3
- package/model/assetIconRule.agravity.ts +17 -18
- package/model/assetIdFormat.agravity.ts +3 -4
- package/model/assetPageResult.agravity.ts +4 -5
- package/model/assetTextContent.agravity.ts +2 -3
- package/model/assetsOperationBody.agravity.ts +3 -4
- package/model/azSearchOptions.agravity.ts +8 -9
- package/model/azureIdentity.agravity.ts +4 -5
- package/model/blobInfoObj.agravity.ts +0 -1
- package/model/collTypeItem.agravity.ts +16 -17
- package/model/collTypeItemBlueprint.agravity.ts +12 -13
- package/model/collection.agravity.ts +15 -16
- package/model/collectionType.agravity.ts +14 -15
- package/model/collectionUDL.agravity.ts +4 -5
- package/model/collectionUDLListEntity.agravity.ts +9 -10
- package/model/collectionUDLReference.agravity.ts +3 -4
- package/model/comment.agravity.ts +9 -10
- package/model/createSftpUserResult.agravity.ts +2 -3
- package/model/dashboardWidget.agravity.ts +11 -12
- package/model/dataResult.agravity.ts +4 -5
- package/model/deletedEntities.agravity.ts +4 -5
- package/model/distZipResponse.agravity.ts +3 -4
- package/model/downloadFormat.agravity.ts +19 -16
- package/model/downloadObject.agravity.ts +16 -16
- package/model/downloadZipRequest.agravity.ts +9 -10
- package/model/dynamicImageOperation.agravity.ts +2 -3
- package/model/emailAddress.agravity.ts +2 -3
- package/model/entityId.agravity.ts +1 -2
- package/model/entityIdName.agravity.ts +3 -4
- package/model/entityTranslations.agravity.ts +2 -3
- package/model/excelExportTableEntity.agravity.ts +5 -5
- package/model/frontendAppConfig.agravity.ts +0 -1
- package/model/groupAllAppData.agravity.ts +5 -6
- package/model/historyEntry.agravity.ts +9 -10
- package/model/infoEntitySkillEnhanced.agravity.ts +10 -11
- package/model/metadata.agravity.ts +3 -4
- package/model/models.ts +0 -1
- package/model/moveCollectionBody.agravity.ts +3 -4
- package/model/permissionChange.agravity.ts +1 -2
- package/model/permissionEntity.agravity.ts +1 -2
- package/model/permissionSetting.agravity.ts +8 -9
- package/model/portal.agravity.ts +18 -20
- package/model/portalLinks.agravity.ts +3 -4
- package/model/portalTheme.agravity.ts +6 -7
- package/model/portalZipRequest.agravity.ts +14 -15
- package/model/publishEntity.agravity.ts +9 -10
- package/model/publishedAsset.agravity.ts +12 -13
- package/model/quickShare.agravity.ts +12 -13
- package/model/quickShareFull.agravity.ts +15 -16
- package/model/sasToken.agravity.ts +6 -7
- package/model/savedSearch.agravity.ts +13 -14
- package/model/searchAdminDataSourceStatus.agravity.ts +2 -3
- package/model/searchAdminIndexStatus.agravity.ts +3 -4
- package/model/searchAdminIndexerLastRun.agravity.ts +3 -4
- package/model/searchAdminIndexerStatus.agravity.ts +4 -5
- package/model/searchAdminSkillStatus.agravity.ts +2 -3
- package/model/searchAdminStatistics.agravity.ts +2 -3
- package/model/searchAdminStatus.agravity.ts +4 -5
- package/model/searchFacet.agravity.ts +2 -3
- package/model/searchFacetEntity.agravity.ts +2 -3
- package/model/searchResult.agravity.ts +3 -4
- package/model/searchableItem.agravity.ts +3 -4
- package/model/secureUploadEntity.agravity.ts +10 -11
- package/model/sharedAllowedFormat.agravity.ts +2 -3
- package/model/sharedAsset.agravity.ts +5 -6
- package/model/sharedCollection.agravity.ts +15 -16
- package/model/sharedCollectionFull.agravity.ts +18 -19
- package/model/signalRConnectionInfo.agravity.ts +0 -1
- package/model/simpleAsset.agravity.ts +10 -11
- package/model/staticDefinedList.agravity.ts +12 -13
- package/model/translation.agravity.ts +2 -3
- package/model/translationRequest.agravity.ts +3 -4
- package/model/uiTutorials.agravity.ts +0 -1
- package/model/versionEntity.agravity.ts +9 -10
- package/model/versionedAsset.agravity.ts +5 -6
- package/model/whereParam.agravity.ts +0 -1
- package/model/widgetLayout.agravity.ts +8 -9
- package/model/widgetProperties.agravity.ts +6 -7
- package/model/workspace.agravity.ts +14 -15
- package/package.json +16 -17
- package/param.ts +44 -0
- package/model/portalLanguages.agravity.ts +0 -16
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Agravity OpenAPI Documentation - Private Functions
|
|
3
3
|
* <h1>Agravity API Reference</h1>This is the full API description of Agravity GmbH.<br/><h2>Resources</h2><ul> <li>Collection type management</li> <li>Collections management</li> <li>Assets management</li> <li>Assets operations</li> <li>Assets publishing</li> <li>Assets versioning</li> <li>Sharing collection</li> <li>Secure upload to collection</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li> <li>Authentication management</li> <li>Blob management</li> <li>Queue management</li> <li>Structure management</li> <li>Bulk get all data from collection / collection type</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>Create / update / list / delete collection types</li> <li>Create / update / list / delete collections</li> <li>Create / update / list / delete assets</li> <li>Operations on assets like: move to collection, renew asset(through queue pipe), rotate, resize, etc.</li> <li>Publish / de-publish an asset or specific variants of an asset</li> <li>Create / delete version of asset</li> <li>Bulk download of Assets</li> <li>Search for assets or collections</li> <li>Authenticated access like e.g. getting access to blobs directly (for upload on folder or generate SAS token)</li> <li>List / delete blobs</li> <li>Create structures based on blob storage input</li></ul><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.3.0
|
|
6
5
|
* Contact: office@agravity.io
|
|
7
6
|
*
|
|
8
7
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,17 +11,26 @@
|
|
|
12
11
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
12
|
|
|
14
13
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
15
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
|
|
14
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
16
15
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
17
16
|
import { Observable } from 'rxjs';
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
import {
|
|
21
|
-
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { SignalRConnectionInfo } from '../model/signalRConnectionInfo.agravity';
|
|
22
24
|
|
|
25
|
+
// @ts-ignore
|
|
23
26
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
24
27
|
import { AgravityConfiguration } from '../configuration';
|
|
25
28
|
|
|
29
|
+
export interface HttpSignalRSendMessageToUserRequestParams {
|
|
30
|
+
/** The ID of the user to which the message should be sent to. */
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
26
34
|
@Injectable({
|
|
27
35
|
providedIn: 'root'
|
|
28
36
|
})
|
|
@@ -34,13 +42,18 @@ export class SignalRConnectionManagementService {
|
|
|
34
42
|
|
|
35
43
|
constructor(
|
|
36
44
|
protected httpClient: HttpClient,
|
|
37
|
-
@Optional() @Inject(BASE_PATH) basePath: string,
|
|
45
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
38
46
|
@Optional() configuration: AgravityConfiguration
|
|
39
47
|
) {
|
|
40
48
|
if (configuration) {
|
|
41
49
|
this.configuration = configuration;
|
|
42
50
|
}
|
|
43
51
|
if (typeof this.configuration.basePath !== 'string') {
|
|
52
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
53
|
+
if (firstBasePath != undefined) {
|
|
54
|
+
basePath = firstBasePath;
|
|
55
|
+
}
|
|
56
|
+
|
|
44
57
|
if (typeof basePath !== 'string') {
|
|
45
58
|
basePath = this.basePath;
|
|
46
59
|
}
|
|
@@ -49,6 +62,7 @@ export class SignalRConnectionManagementService {
|
|
|
49
62
|
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
50
63
|
}
|
|
51
64
|
|
|
65
|
+
// @ts-ignore
|
|
52
66
|
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
53
67
|
if (typeof value === 'object' && value instanceof Date === false) {
|
|
54
68
|
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
@@ -68,7 +82,7 @@ export class SignalRConnectionManagementService {
|
|
|
68
82
|
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
69
83
|
} else if (value instanceof Date) {
|
|
70
84
|
if (key != null) {
|
|
71
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().
|
|
85
|
+
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
72
86
|
} else {
|
|
73
87
|
throw Error('key may not be null if value is Date');
|
|
74
88
|
}
|
|
@@ -88,32 +102,67 @@ export class SignalRConnectionManagementService {
|
|
|
88
102
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
89
103
|
* @param reportProgress flag to report request and response progress.
|
|
90
104
|
*/
|
|
91
|
-
public httpSignalRNegotiate(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
105
|
+
public httpSignalRNegotiate(
|
|
106
|
+
observe?: 'body',
|
|
107
|
+
reportProgress?: boolean,
|
|
108
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
109
|
+
): Observable<SignalRConnectionInfo>;
|
|
110
|
+
public httpSignalRNegotiate(
|
|
111
|
+
observe?: 'response',
|
|
112
|
+
reportProgress?: boolean,
|
|
113
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
114
|
+
): Observable<HttpResponse<SignalRConnectionInfo>>;
|
|
115
|
+
public httpSignalRNegotiate(
|
|
116
|
+
observe?: 'events',
|
|
117
|
+
reportProgress?: boolean,
|
|
118
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
119
|
+
): Observable<HttpEvent<SignalRConnectionInfo>>;
|
|
120
|
+
public httpSignalRNegotiate(
|
|
121
|
+
observe: any = 'body',
|
|
122
|
+
reportProgress: boolean = false,
|
|
123
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
124
|
+
): Observable<any> {
|
|
125
|
+
let localVarHeaders = this.defaultHeaders;
|
|
126
|
+
|
|
127
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
128
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
99
129
|
// to determine the Accept header
|
|
100
130
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
101
|
-
|
|
131
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
102
132
|
}
|
|
103
|
-
if (
|
|
104
|
-
|
|
133
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
134
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
105
135
|
}
|
|
106
136
|
|
|
107
|
-
let
|
|
108
|
-
if (
|
|
109
|
-
|
|
137
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
138
|
+
if (localVarHttpContext === undefined) {
|
|
139
|
+
localVarHttpContext = new HttpContext();
|
|
110
140
|
}
|
|
111
141
|
|
|
112
|
-
|
|
142
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
143
|
+
if (localVarTransferCache === undefined) {
|
|
144
|
+
localVarTransferCache = true;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
148
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
149
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
150
|
+
responseType_ = 'text';
|
|
151
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
152
|
+
responseType_ = 'json';
|
|
153
|
+
} else {
|
|
154
|
+
responseType_ = 'blob';
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
let localVarPath = `/signalr/negotiate`;
|
|
159
|
+
return this.httpClient.request<SignalRConnectionInfo>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
160
|
+
context: localVarHttpContext,
|
|
113
161
|
responseType: <any>responseType_,
|
|
114
162
|
withCredentials: this.configuration.withCredentials,
|
|
115
|
-
headers:
|
|
163
|
+
headers: localVarHeaders,
|
|
116
164
|
observe: observe,
|
|
165
|
+
transferCache: localVarTransferCache,
|
|
117
166
|
reportProgress: reportProgress
|
|
118
167
|
});
|
|
119
168
|
}
|
|
@@ -123,77 +172,147 @@ export class SignalRConnectionManagementService {
|
|
|
123
172
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
124
173
|
* @param reportProgress flag to report request and response progress.
|
|
125
174
|
*/
|
|
126
|
-
public httpSignalRSendMessage(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
175
|
+
public httpSignalRSendMessage(
|
|
176
|
+
observe?: 'body',
|
|
177
|
+
reportProgress?: boolean,
|
|
178
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
179
|
+
): Observable<AgravityInfoResponse>;
|
|
180
|
+
public httpSignalRSendMessage(
|
|
181
|
+
observe?: 'response',
|
|
182
|
+
reportProgress?: boolean,
|
|
183
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
184
|
+
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
185
|
+
public httpSignalRSendMessage(
|
|
186
|
+
observe?: 'events',
|
|
187
|
+
reportProgress?: boolean,
|
|
188
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
189
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
190
|
+
public httpSignalRSendMessage(
|
|
191
|
+
observe: any = 'body',
|
|
192
|
+
reportProgress: boolean = false,
|
|
193
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
194
|
+
): Observable<any> {
|
|
195
|
+
let localVarHeaders = this.defaultHeaders;
|
|
196
|
+
|
|
197
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
198
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
134
199
|
// to determine the Accept header
|
|
135
200
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
136
|
-
|
|
201
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
202
|
+
}
|
|
203
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
204
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
208
|
+
if (localVarHttpContext === undefined) {
|
|
209
|
+
localVarHttpContext = new HttpContext();
|
|
137
210
|
}
|
|
138
|
-
|
|
139
|
-
|
|
211
|
+
|
|
212
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
213
|
+
if (localVarTransferCache === undefined) {
|
|
214
|
+
localVarTransferCache = true;
|
|
140
215
|
}
|
|
141
216
|
|
|
142
|
-
let responseType_: 'text' | 'json' = 'json';
|
|
143
|
-
if (
|
|
144
|
-
|
|
217
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
218
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
219
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
220
|
+
responseType_ = 'text';
|
|
221
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
222
|
+
responseType_ = 'json';
|
|
223
|
+
} else {
|
|
224
|
+
responseType_ = 'blob';
|
|
225
|
+
}
|
|
145
226
|
}
|
|
146
227
|
|
|
147
|
-
|
|
228
|
+
let localVarPath = `/signalr/messages`;
|
|
229
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
230
|
+
context: localVarHttpContext,
|
|
148
231
|
responseType: <any>responseType_,
|
|
149
232
|
withCredentials: this.configuration.withCredentials,
|
|
150
|
-
headers:
|
|
233
|
+
headers: localVarHeaders,
|
|
151
234
|
observe: observe,
|
|
235
|
+
transferCache: localVarTransferCache,
|
|
152
236
|
reportProgress: reportProgress
|
|
153
237
|
});
|
|
154
238
|
}
|
|
155
239
|
|
|
156
240
|
/**
|
|
157
241
|
* Allowes a client via rest to send messages to one client (user)
|
|
158
|
-
* @param
|
|
242
|
+
* @param requestParameters
|
|
159
243
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
160
244
|
* @param reportProgress flag to report request and response progress.
|
|
161
245
|
*/
|
|
162
|
-
public httpSignalRSendMessageToUser(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
|
|
163
246
|
public httpSignalRSendMessageToUser(
|
|
164
|
-
|
|
247
|
+
requestParameters?: HttpSignalRSendMessageToUserRequestParams,
|
|
248
|
+
observe?: 'body',
|
|
249
|
+
reportProgress?: boolean,
|
|
250
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
251
|
+
): Observable<AgravityInfoResponse>;
|
|
252
|
+
public httpSignalRSendMessageToUser(
|
|
253
|
+
requestParameters?: HttpSignalRSendMessageToUserRequestParams,
|
|
165
254
|
observe?: 'response',
|
|
166
255
|
reportProgress?: boolean,
|
|
167
|
-
options?: { httpHeaderAccept?: 'application/json' }
|
|
256
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
168
257
|
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
169
|
-
public httpSignalRSendMessageToUser(
|
|
170
|
-
|
|
258
|
+
public httpSignalRSendMessageToUser(
|
|
259
|
+
requestParameters?: HttpSignalRSendMessageToUserRequestParams,
|
|
260
|
+
observe?: 'events',
|
|
261
|
+
reportProgress?: boolean,
|
|
262
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
263
|
+
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
264
|
+
public httpSignalRSendMessageToUser(
|
|
265
|
+
requestParameters?: HttpSignalRSendMessageToUserRequestParams,
|
|
266
|
+
observe: any = 'body',
|
|
267
|
+
reportProgress: boolean = false,
|
|
268
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
269
|
+
): Observable<any> {
|
|
270
|
+
const id = requestParameters?.id;
|
|
171
271
|
if (id === null || id === undefined) {
|
|
172
272
|
throw new Error('Required parameter id was null or undefined when calling httpSignalRSendMessageToUser.');
|
|
173
273
|
}
|
|
174
274
|
|
|
175
|
-
let
|
|
275
|
+
let localVarHeaders = this.defaultHeaders;
|
|
176
276
|
|
|
177
|
-
let
|
|
178
|
-
if (
|
|
277
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
278
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
179
279
|
// to determine the Accept header
|
|
180
280
|
const httpHeaderAccepts: string[] = ['application/json'];
|
|
181
|
-
|
|
281
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
182
282
|
}
|
|
183
|
-
if (
|
|
184
|
-
|
|
283
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
284
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
288
|
+
if (localVarHttpContext === undefined) {
|
|
289
|
+
localVarHttpContext = new HttpContext();
|
|
185
290
|
}
|
|
186
291
|
|
|
187
|
-
let
|
|
188
|
-
if (
|
|
189
|
-
|
|
292
|
+
let localVarTransferCache: boolean | undefined = options && options.transferCache;
|
|
293
|
+
if (localVarTransferCache === undefined) {
|
|
294
|
+
localVarTransferCache = true;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
298
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
299
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
300
|
+
responseType_ = 'text';
|
|
301
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
302
|
+
responseType_ = 'json';
|
|
303
|
+
} else {
|
|
304
|
+
responseType_ = 'blob';
|
|
305
|
+
}
|
|
190
306
|
}
|
|
191
307
|
|
|
192
|
-
|
|
308
|
+
let localVarPath = `/signalr/info/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
309
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
310
|
+
context: localVarHttpContext,
|
|
193
311
|
responseType: <any>responseType_,
|
|
194
312
|
withCredentials: this.configuration.withCredentials,
|
|
195
|
-
headers:
|
|
313
|
+
headers: localVarHeaders,
|
|
196
314
|
observe: observe,
|
|
315
|
+
transferCache: localVarTransferCache,
|
|
197
316
|
reportProgress: reportProgress
|
|
198
317
|
});
|
|
199
318
|
}
|