@agravity/private 7.3.1 → 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.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +29 -4
  4. package/api/assetIconRuleManagement.agravity.ts +344 -150
  5. package/api/assetManagement.agravity.ts +709 -389
  6. package/api/assetOperations.agravity.ts +1414 -650
  7. package/api/assetPublishing.agravity.ts +562 -255
  8. package/api/assetVersioning.agravity.ts +598 -278
  9. package/api/authenticationManagement.agravity.ts +731 -274
  10. package/api/collectionManagement.agravity.ts +618 -309
  11. package/api/collectionShareManagement.agravity.ts +256 -121
  12. package/api/collectionTypeItemBlueprintManagement.agravity.ts +271 -123
  13. package/api/collectionTypeManagement.agravity.ts +519 -250
  14. package/api/commentsManagement.agravity.ts +284 -90
  15. package/api/configurationManagement.agravity.ts +311 -128
  16. package/api/dashboardWidgetManagement.agravity.ts +342 -124
  17. package/api/dataImportExportManagement.agravity.ts +378 -148
  18. package/api/downloadFormatManagement.agravity.ts +450 -152
  19. package/api/downloadZip.agravity.ts +75 -30
  20. package/api/generalManagement.agravity.ts +374 -164
  21. package/api/helperTools.agravity.ts +804 -273
  22. package/api/historyEntryManagement.agravity.ts +75 -33
  23. package/api/iccProfileManagement.agravity.ts +64 -23
  24. package/api/listBlobs.agravity.ts +125 -47
  25. package/api/listQueues.agravity.ts +68 -24
  26. package/api/listTables.agravity.ts +68 -25
  27. package/api/permissionsManagement.agravity.ts +174 -77
  28. package/api/portalManagement.agravity.ts +511 -198
  29. package/api/publishing.agravity.ts +69 -38
  30. package/api/quickshareManagement.agravity.ts +349 -138
  31. package/api/savedSearchManagement.agravity.ts +205 -92
  32. package/api/searchManagement.agravity.ts +517 -297
  33. package/api/secureUpload.agravity.ts +325 -126
  34. package/api/signalRConnectionManagement.agravity.ts +175 -56
  35. package/api/staticDefinedListManagement.agravity.ts +342 -162
  36. package/api/stockImport.agravity.ts +138 -74
  37. package/api/structureImport.agravity.ts +68 -25
  38. package/api/translationManagement.agravity.ts +357 -206
  39. package/api/webAppData.agravity.ts +278 -88
  40. package/api/widgetLayoutManagement.agravity.ts +131 -47
  41. package/api/wordpressManagement.agravity.ts +152 -108
  42. package/api/workspaceManagement.agravity.ts +456 -197
  43. package/api.module.ts +0 -40
  44. package/configuration.ts +42 -0
  45. package/git_push.sh +3 -4
  46. package/index.ts +1 -0
  47. package/model/agravityErrorResponse.agravity.ts +3 -4
  48. package/model/agravityInfoResponse.agravity.ts +3 -4
  49. package/model/agravityUser.agravity.ts +16 -17
  50. package/model/agravityUserDto.agravity.ts +3 -4
  51. package/model/agravityVersion.agravity.ts +8 -9
  52. package/model/allWebAppData.agravity.ts +4 -5
  53. package/model/apiKeyResponse.agravity.ts +2 -3
  54. package/model/appConfigTableEntity.agravity.ts +8 -9
  55. package/model/artificialIntelligenceGroup.agravity.ts +3 -4
  56. package/model/asset.agravity.ts +22 -23
  57. package/model/assetAvailability.agravity.ts +1 -2
  58. package/model/assetBlob.agravity.ts +27 -28
  59. package/model/assetBulkUpdate.agravity.ts +2 -3
  60. package/model/assetCollectionLink.agravity.ts +2 -3
  61. package/model/assetIconRule.agravity.ts +17 -18
  62. package/model/assetIdFormat.agravity.ts +3 -4
  63. package/model/assetPageResult.agravity.ts +4 -5
  64. package/model/assetTextContent.agravity.ts +2 -3
  65. package/model/assetsOperationBody.agravity.ts +3 -4
  66. package/model/azSearchOptions.agravity.ts +8 -9
  67. package/model/azureIdentity.agravity.ts +4 -5
  68. package/model/blobInfoObj.agravity.ts +0 -1
  69. package/model/collTypeItem.agravity.ts +16 -17
  70. package/model/collTypeItemBlueprint.agravity.ts +12 -13
  71. package/model/collection.agravity.ts +15 -16
  72. package/model/collectionType.agravity.ts +14 -15
  73. package/model/collectionUDL.agravity.ts +4 -5
  74. package/model/collectionUDLListEntity.agravity.ts +9 -10
  75. package/model/collectionUDLReference.agravity.ts +3 -4
  76. package/model/comment.agravity.ts +9 -10
  77. package/model/createSftpUserResult.agravity.ts +2 -3
  78. package/model/dashboardWidget.agravity.ts +11 -12
  79. package/model/dataResult.agravity.ts +4 -5
  80. package/model/deletedEntities.agravity.ts +4 -5
  81. package/model/distZipResponse.agravity.ts +3 -4
  82. package/model/downloadFormat.agravity.ts +18 -16
  83. package/model/downloadObject.agravity.ts +16 -16
  84. package/model/downloadZipRequest.agravity.ts +9 -10
  85. package/model/dynamicImageOperation.agravity.ts +2 -3
  86. package/model/emailAddress.agravity.ts +2 -3
  87. package/model/entityId.agravity.ts +1 -2
  88. package/model/entityIdName.agravity.ts +3 -4
  89. package/model/entityTranslations.agravity.ts +2 -3
  90. package/model/excelExportTableEntity.agravity.ts +5 -5
  91. package/model/frontendAppConfig.agravity.ts +0 -1
  92. package/model/groupAllAppData.agravity.ts +5 -6
  93. package/model/historyEntry.agravity.ts +9 -10
  94. package/model/infoEntitySkillEnhanced.agravity.ts +10 -11
  95. package/model/metadata.agravity.ts +3 -4
  96. package/model/models.ts +0 -1
  97. package/model/moveCollectionBody.agravity.ts +3 -4
  98. package/model/permissionChange.agravity.ts +1 -2
  99. package/model/permissionEntity.agravity.ts +1 -2
  100. package/model/permissionSetting.agravity.ts +8 -9
  101. package/model/portal.agravity.ts +18 -20
  102. package/model/portalLinks.agravity.ts +3 -4
  103. package/model/portalTheme.agravity.ts +6 -7
  104. package/model/portalZipRequest.agravity.ts +14 -15
  105. package/model/publishEntity.agravity.ts +9 -10
  106. package/model/publishedAsset.agravity.ts +12 -13
  107. package/model/quickShare.agravity.ts +12 -13
  108. package/model/quickShareFull.agravity.ts +15 -16
  109. package/model/sasToken.agravity.ts +6 -7
  110. package/model/savedSearch.agravity.ts +13 -14
  111. package/model/searchAdminDataSourceStatus.agravity.ts +2 -3
  112. package/model/searchAdminIndexStatus.agravity.ts +3 -4
  113. package/model/searchAdminIndexerLastRun.agravity.ts +3 -4
  114. package/model/searchAdminIndexerStatus.agravity.ts +4 -5
  115. package/model/searchAdminSkillStatus.agravity.ts +2 -3
  116. package/model/searchAdminStatistics.agravity.ts +2 -3
  117. package/model/searchAdminStatus.agravity.ts +4 -5
  118. package/model/searchFacet.agravity.ts +2 -3
  119. package/model/searchFacetEntity.agravity.ts +2 -3
  120. package/model/searchResult.agravity.ts +3 -4
  121. package/model/searchableItem.agravity.ts +3 -4
  122. package/model/secureUploadEntity.agravity.ts +10 -11
  123. package/model/sharedAllowedFormat.agravity.ts +2 -3
  124. package/model/sharedAsset.agravity.ts +5 -6
  125. package/model/sharedCollection.agravity.ts +15 -16
  126. package/model/sharedCollectionFull.agravity.ts +18 -19
  127. package/model/signalRConnectionInfo.agravity.ts +0 -1
  128. package/model/simpleAsset.agravity.ts +10 -11
  129. package/model/staticDefinedList.agravity.ts +12 -13
  130. package/model/translation.agravity.ts +2 -3
  131. package/model/translationRequest.agravity.ts +3 -4
  132. package/model/uiTutorials.agravity.ts +0 -1
  133. package/model/versionEntity.agravity.ts +9 -10
  134. package/model/versionedAsset.agravity.ts +5 -6
  135. package/model/whereParam.agravity.ts +0 -1
  136. package/model/widgetLayout.agravity.ts +8 -9
  137. package/model/widgetProperties.agravity.ts +6 -7
  138. package/model/workspace.agravity.ts +14 -15
  139. package/package.json +16 -17
  140. package/param.ts +44 -0
  141. 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.1
6
5
  * Contact: office@agravity.io
7
6
  *
8
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,16 +11,54 @@
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
- import { AgravityErrorResponse } from '../model/models';
20
- import { DashboardWidget } from '../model/models';
18
+ // @ts-ignore
19
+ import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
20
+ // @ts-ignore
21
+ import { DashboardWidget } from '../model/dashboardWidget.agravity';
21
22
 
23
+ // @ts-ignore
22
24
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
23
25
  import { AgravityConfiguration } from '../configuration';
24
26
 
27
+ export interface HttpDashboardWidgetsCreateRequestParams {
28
+ /** The dashboard widget to create. */
29
+ dashboardWidget: DashboardWidget;
30
+ /** The requested language of the response. If not matching it falls back to default language. */
31
+ acceptLanguage?: string;
32
+ }
33
+
34
+ export interface HttpDashboardWidgetsDeleteByIdRequestParams {
35
+ /** The ID of the dashboard widget. */
36
+ id: string;
37
+ }
38
+
39
+ export interface HttpDashboardWidgetsGetAllRequestParams {
40
+ /** If widgetdata should be populated. */
41
+ populate?: boolean;
42
+ /** The requested language of the response. If not matching it falls back to default language. */
43
+ acceptLanguage?: string;
44
+ }
45
+
46
+ export interface HttpDashboardWidgetsGetByIdRequestParams {
47
+ /** The ID of the dashboard widget. */
48
+ id: string;
49
+ /** The requested language of the response. If not matching it falls back to default language. */
50
+ acceptLanguage?: string;
51
+ }
52
+
53
+ export interface HttpDashboardWidgetsUpdateByIdRequestParams {
54
+ /** The ID of the dashboard widget. */
55
+ id: string;
56
+ /** Body has to be a valid dashboard widget item. */
57
+ dashboardWidget: DashboardWidget;
58
+ /** The requested language of the response. If not matching it falls back to default language. */
59
+ acceptLanguage?: string;
60
+ }
61
+
25
62
  @Injectable({
26
63
  providedIn: 'root'
27
64
  })
@@ -33,13 +70,18 @@ export class DashboardWidgetManagementService {
33
70
 
34
71
  constructor(
35
72
  protected httpClient: HttpClient,
36
- @Optional() @Inject(BASE_PATH) basePath: string,
73
+ @Optional() @Inject(BASE_PATH) basePath: string | string[],
37
74
  @Optional() configuration: AgravityConfiguration
38
75
  ) {
39
76
  if (configuration) {
40
77
  this.configuration = configuration;
41
78
  }
42
79
  if (typeof this.configuration.basePath !== 'string') {
80
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
81
+ if (firstBasePath != undefined) {
82
+ basePath = firstBasePath;
83
+ }
84
+
43
85
  if (typeof basePath !== 'string') {
44
86
  basePath = this.basePath;
45
87
  }
@@ -48,6 +90,7 @@ export class DashboardWidgetManagementService {
48
90
  this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
49
91
  }
50
92
 
93
+ // @ts-ignore
51
94
  private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
52
95
  if (typeof value === 'object' && value instanceof Date === false) {
53
96
  httpParams = this.addToHttpParamsRecursive(httpParams, value);
@@ -67,7 +110,7 @@ export class DashboardWidgetManagementService {
67
110
  (value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
68
111
  } else if (value instanceof Date) {
69
112
  if (key != null) {
70
- httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
113
+ httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
71
114
  } else {
72
115
  throw Error('key may not be null if value is Date');
73
116
  }
@@ -84,299 +127,474 @@ export class DashboardWidgetManagementService {
84
127
 
85
128
  /**
86
129
  * This endpoint creates a dashboard widget in database.
87
- * @param dashboardWidget The dashboard widget to create.
130
+ * @param requestParameters
88
131
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
89
132
  * @param reportProgress flag to report request and response progress.
90
133
  */
91
- public httpDashboardWidgetsCreate(dashboardWidget: DashboardWidget, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<DashboardWidget>;
92
134
  public httpDashboardWidgetsCreate(
93
- dashboardWidget: DashboardWidget,
135
+ requestParameters?: HttpDashboardWidgetsCreateRequestParams,
136
+ observe?: 'body',
137
+ reportProgress?: boolean,
138
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
139
+ ): Observable<DashboardWidget>;
140
+ public httpDashboardWidgetsCreate(
141
+ requestParameters?: HttpDashboardWidgetsCreateRequestParams,
94
142
  observe?: 'response',
95
143
  reportProgress?: boolean,
96
- options?: { httpHeaderAccept?: 'application/json' }
144
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
97
145
  ): Observable<HttpResponse<DashboardWidget>>;
98
146
  public httpDashboardWidgetsCreate(
99
- dashboardWidget: DashboardWidget,
147
+ requestParameters?: HttpDashboardWidgetsCreateRequestParams,
100
148
  observe?: 'events',
101
149
  reportProgress?: boolean,
102
- options?: { httpHeaderAccept?: 'application/json' }
150
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
103
151
  ): Observable<HttpEvent<DashboardWidget>>;
104
- public httpDashboardWidgetsCreate(dashboardWidget: DashboardWidget, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
152
+ public httpDashboardWidgetsCreate(
153
+ requestParameters?: HttpDashboardWidgetsCreateRequestParams,
154
+ observe: any = 'body',
155
+ reportProgress: boolean = false,
156
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
157
+ ): Observable<any> {
158
+ const dashboardWidget = requestParameters?.dashboardWidget;
105
159
  if (dashboardWidget === null || dashboardWidget === undefined) {
106
160
  throw new Error('Required parameter dashboardWidget was null or undefined when calling httpDashboardWidgetsCreate.');
107
161
  }
162
+ const acceptLanguage = requestParameters?.acceptLanguage;
108
163
 
109
- let headers = this.defaultHeaders;
164
+ let localVarHeaders = this.defaultHeaders;
165
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
166
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
167
+ }
110
168
 
111
- let credential: string | undefined;
169
+ let localVarCredential: string | undefined;
112
170
  // authentication (msal_auth) required
113
- credential = this.configuration.lookupCredential('msal_auth');
114
- if (credential) {
115
- headers = headers.set('Authorization', 'Bearer ' + credential);
171
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
172
+ if (localVarCredential) {
173
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
116
174
  }
117
175
 
118
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
119
- if (httpHeaderAcceptSelected === undefined) {
176
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
177
+ if (localVarHttpHeaderAcceptSelected === undefined) {
120
178
  // to determine the Accept header
121
179
  const httpHeaderAccepts: string[] = ['application/json'];
122
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
180
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
123
181
  }
124
- if (httpHeaderAcceptSelected !== undefined) {
125
- headers = headers.set('Accept', httpHeaderAcceptSelected);
182
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
183
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
184
+ }
185
+
186
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
187
+ if (localVarHttpContext === undefined) {
188
+ localVarHttpContext = new HttpContext();
189
+ }
190
+
191
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
192
+ if (localVarTransferCache === undefined) {
193
+ localVarTransferCache = true;
126
194
  }
127
195
 
128
196
  // to determine the Content-Type header
129
197
  const consumes: string[] = ['application/json'];
130
198
  const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
131
199
  if (httpContentTypeSelected !== undefined) {
132
- headers = headers.set('Content-Type', httpContentTypeSelected);
200
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
133
201
  }
134
202
 
135
- let responseType_: 'text' | 'json' = 'json';
136
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
137
- responseType_ = 'text';
203
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
204
+ if (localVarHttpHeaderAcceptSelected) {
205
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
206
+ responseType_ = 'text';
207
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
208
+ responseType_ = 'json';
209
+ } else {
210
+ responseType_ = 'blob';
211
+ }
138
212
  }
139
213
 
140
- return this.httpClient.post<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets`, dashboardWidget, {
214
+ let localVarPath = `/dashboard/widgets`;
215
+ return this.httpClient.request<DashboardWidget>('post', `${this.configuration.basePath}${localVarPath}`, {
216
+ context: localVarHttpContext,
217
+ body: dashboardWidget,
141
218
  responseType: <any>responseType_,
142
219
  withCredentials: this.configuration.withCredentials,
143
- headers: headers,
220
+ headers: localVarHeaders,
144
221
  observe: observe,
222
+ transferCache: localVarTransferCache,
145
223
  reportProgress: reportProgress
146
224
  });
147
225
  }
148
226
 
149
227
  /**
150
228
  * This endpoint deletes a single dashboard widget.
151
- * @param id The ID of the dashboard widget.
229
+ * @param requestParameters
152
230
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
153
231
  * @param reportProgress flag to report request and response progress.
154
232
  */
155
- public httpDashboardWidgetsDeleteById(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<any>;
156
- public httpDashboardWidgetsDeleteById(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<any>>;
157
- public httpDashboardWidgetsDeleteById(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<any>>;
158
- public httpDashboardWidgetsDeleteById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
233
+ public httpDashboardWidgetsDeleteById(
234
+ requestParameters?: HttpDashboardWidgetsDeleteByIdRequestParams,
235
+ observe?: 'body',
236
+ reportProgress?: boolean,
237
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
238
+ ): Observable<any>;
239
+ public httpDashboardWidgetsDeleteById(
240
+ requestParameters?: HttpDashboardWidgetsDeleteByIdRequestParams,
241
+ observe?: 'response',
242
+ reportProgress?: boolean,
243
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
244
+ ): Observable<HttpResponse<any>>;
245
+ public httpDashboardWidgetsDeleteById(
246
+ requestParameters?: HttpDashboardWidgetsDeleteByIdRequestParams,
247
+ observe?: 'events',
248
+ reportProgress?: boolean,
249
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
250
+ ): Observable<HttpEvent<any>>;
251
+ public httpDashboardWidgetsDeleteById(
252
+ requestParameters?: HttpDashboardWidgetsDeleteByIdRequestParams,
253
+ observe: any = 'body',
254
+ reportProgress: boolean = false,
255
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
256
+ ): Observable<any> {
257
+ const id = requestParameters?.id;
159
258
  if (id === null || id === undefined) {
160
259
  throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsDeleteById.');
161
260
  }
162
261
 
163
- let headers = this.defaultHeaders;
262
+ let localVarHeaders = this.defaultHeaders;
164
263
 
165
- let credential: string | undefined;
264
+ let localVarCredential: string | undefined;
166
265
  // authentication (msal_auth) required
167
- credential = this.configuration.lookupCredential('msal_auth');
168
- if (credential) {
169
- headers = headers.set('Authorization', 'Bearer ' + credential);
266
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
267
+ if (localVarCredential) {
268
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
170
269
  }
171
270
 
172
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
173
- if (httpHeaderAcceptSelected === undefined) {
271
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
272
+ if (localVarHttpHeaderAcceptSelected === undefined) {
174
273
  // to determine the Accept header
175
274
  const httpHeaderAccepts: string[] = ['application/json'];
176
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
275
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
276
+ }
277
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
278
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
177
279
  }
178
- if (httpHeaderAcceptSelected !== undefined) {
179
- headers = headers.set('Accept', httpHeaderAcceptSelected);
280
+
281
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
282
+ if (localVarHttpContext === undefined) {
283
+ localVarHttpContext = new HttpContext();
284
+ }
285
+
286
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
287
+ if (localVarTransferCache === undefined) {
288
+ localVarTransferCache = true;
180
289
  }
181
290
 
182
- let responseType_: 'text' | 'json' = 'json';
183
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
184
- responseType_ = 'text';
291
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
292
+ if (localVarHttpHeaderAcceptSelected) {
293
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
294
+ responseType_ = 'text';
295
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
296
+ responseType_ = 'json';
297
+ } else {
298
+ responseType_ = 'blob';
299
+ }
185
300
  }
186
301
 
187
- return this.httpClient.delete<any>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, {
302
+ let localVarPath = `/dashboard/widgets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
303
+ return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`, {
304
+ context: localVarHttpContext,
188
305
  responseType: <any>responseType_,
189
306
  withCredentials: this.configuration.withCredentials,
190
- headers: headers,
307
+ headers: localVarHeaders,
191
308
  observe: observe,
309
+ transferCache: localVarTransferCache,
192
310
  reportProgress: reportProgress
193
311
  });
194
312
  }
195
313
 
196
314
  /**
197
315
  * This endpoint lists all dashboard widgets in database.
198
- * @param populate If widgetdata should be populated.
316
+ * @param requestParameters
199
317
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
200
318
  * @param reportProgress flag to report request and response progress.
201
319
  */
202
- public httpDashboardWidgetsGetAll(populate?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<Array<DashboardWidget>>;
203
320
  public httpDashboardWidgetsGetAll(
204
- populate?: boolean,
321
+ requestParameters?: HttpDashboardWidgetsGetAllRequestParams,
322
+ observe?: 'body',
323
+ reportProgress?: boolean,
324
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
325
+ ): Observable<Array<DashboardWidget>>;
326
+ public httpDashboardWidgetsGetAll(
327
+ requestParameters?: HttpDashboardWidgetsGetAllRequestParams,
205
328
  observe?: 'response',
206
329
  reportProgress?: boolean,
207
- options?: { httpHeaderAccept?: 'application/json' }
330
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
208
331
  ): Observable<HttpResponse<Array<DashboardWidget>>>;
209
332
  public httpDashboardWidgetsGetAll(
210
- populate?: boolean,
333
+ requestParameters?: HttpDashboardWidgetsGetAllRequestParams,
211
334
  observe?: 'events',
212
335
  reportProgress?: boolean,
213
- options?: { httpHeaderAccept?: 'application/json' }
336
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
214
337
  ): Observable<HttpEvent<Array<DashboardWidget>>>;
215
- public httpDashboardWidgetsGetAll(populate?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
216
- let queryParameters = new HttpParams({ encoder: this.encoder });
338
+ public httpDashboardWidgetsGetAll(
339
+ requestParameters?: HttpDashboardWidgetsGetAllRequestParams,
340
+ observe: any = 'body',
341
+ reportProgress: boolean = false,
342
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
343
+ ): Observable<any> {
344
+ const populate = requestParameters?.populate;
345
+ const acceptLanguage = requestParameters?.acceptLanguage;
346
+
347
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
217
348
  if (populate !== undefined && populate !== null) {
218
- queryParameters = this.addToHttpParams(queryParameters, <any>populate, 'populate');
349
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>populate, 'populate');
219
350
  }
220
351
 
221
- let headers = this.defaultHeaders;
352
+ let localVarHeaders = this.defaultHeaders;
353
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
354
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
355
+ }
222
356
 
223
- let credential: string | undefined;
357
+ let localVarCredential: string | undefined;
224
358
  // authentication (msal_auth) required
225
- credential = this.configuration.lookupCredential('msal_auth');
226
- if (credential) {
227
- headers = headers.set('Authorization', 'Bearer ' + credential);
359
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
360
+ if (localVarCredential) {
361
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
228
362
  }
229
363
 
230
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
231
- if (httpHeaderAcceptSelected === undefined) {
364
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
365
+ if (localVarHttpHeaderAcceptSelected === undefined) {
232
366
  // to determine the Accept header
233
367
  const httpHeaderAccepts: string[] = ['application/json'];
234
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
368
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
235
369
  }
236
- if (httpHeaderAcceptSelected !== undefined) {
237
- headers = headers.set('Accept', httpHeaderAcceptSelected);
370
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
371
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
372
+ }
373
+
374
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
375
+ if (localVarHttpContext === undefined) {
376
+ localVarHttpContext = new HttpContext();
238
377
  }
239
378
 
240
- let responseType_: 'text' | 'json' = 'json';
241
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
242
- responseType_ = 'text';
379
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
380
+ if (localVarTransferCache === undefined) {
381
+ localVarTransferCache = true;
243
382
  }
244
383
 
245
- return this.httpClient.get<Array<DashboardWidget>>(`${this.configuration.basePath}/dashboard/widgets`, {
246
- params: queryParameters,
384
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
385
+ if (localVarHttpHeaderAcceptSelected) {
386
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
387
+ responseType_ = 'text';
388
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
389
+ responseType_ = 'json';
390
+ } else {
391
+ responseType_ = 'blob';
392
+ }
393
+ }
394
+
395
+ let localVarPath = `/dashboard/widgets`;
396
+ return this.httpClient.request<Array<DashboardWidget>>('get', `${this.configuration.basePath}${localVarPath}`, {
397
+ context: localVarHttpContext,
398
+ params: localVarQueryParameters,
247
399
  responseType: <any>responseType_,
248
400
  withCredentials: this.configuration.withCredentials,
249
- headers: headers,
401
+ headers: localVarHeaders,
250
402
  observe: observe,
403
+ transferCache: localVarTransferCache,
251
404
  reportProgress: reportProgress
252
405
  });
253
406
  }
254
407
 
255
408
  /**
256
409
  * This endpoint gets a dashboard widget from database.
257
- * @param id The ID of the dashboard widget.
410
+ * @param requestParameters
258
411
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
259
412
  * @param reportProgress flag to report request and response progress.
260
413
  */
261
- public httpDashboardWidgetsGetById(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<DashboardWidget>;
262
- public httpDashboardWidgetsGetById(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<DashboardWidget>>;
263
- public httpDashboardWidgetsGetById(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<DashboardWidget>>;
264
- public httpDashboardWidgetsGetById(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
414
+ public httpDashboardWidgetsGetById(
415
+ requestParameters?: HttpDashboardWidgetsGetByIdRequestParams,
416
+ observe?: 'body',
417
+ reportProgress?: boolean,
418
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
419
+ ): Observable<DashboardWidget>;
420
+ public httpDashboardWidgetsGetById(
421
+ requestParameters?: HttpDashboardWidgetsGetByIdRequestParams,
422
+ observe?: 'response',
423
+ reportProgress?: boolean,
424
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
425
+ ): Observable<HttpResponse<DashboardWidget>>;
426
+ public httpDashboardWidgetsGetById(
427
+ requestParameters?: HttpDashboardWidgetsGetByIdRequestParams,
428
+ observe?: 'events',
429
+ reportProgress?: boolean,
430
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
431
+ ): Observable<HttpEvent<DashboardWidget>>;
432
+ public httpDashboardWidgetsGetById(
433
+ requestParameters?: HttpDashboardWidgetsGetByIdRequestParams,
434
+ observe: any = 'body',
435
+ reportProgress: boolean = false,
436
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
437
+ ): Observable<any> {
438
+ const id = requestParameters?.id;
265
439
  if (id === null || id === undefined) {
266
440
  throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsGetById.');
267
441
  }
442
+ const acceptLanguage = requestParameters?.acceptLanguage;
268
443
 
269
- let headers = this.defaultHeaders;
444
+ let localVarHeaders = this.defaultHeaders;
445
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
446
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
447
+ }
270
448
 
271
- let credential: string | undefined;
449
+ let localVarCredential: string | undefined;
272
450
  // authentication (msal_auth) required
273
- credential = this.configuration.lookupCredential('msal_auth');
274
- if (credential) {
275
- headers = headers.set('Authorization', 'Bearer ' + credential);
451
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
452
+ if (localVarCredential) {
453
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
276
454
  }
277
455
 
278
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
279
- if (httpHeaderAcceptSelected === undefined) {
456
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
457
+ if (localVarHttpHeaderAcceptSelected === undefined) {
280
458
  // to determine the Accept header
281
459
  const httpHeaderAccepts: string[] = ['application/json'];
282
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
460
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
461
+ }
462
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
463
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
464
+ }
465
+
466
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
467
+ if (localVarHttpContext === undefined) {
468
+ localVarHttpContext = new HttpContext();
283
469
  }
284
- if (httpHeaderAcceptSelected !== undefined) {
285
- headers = headers.set('Accept', httpHeaderAcceptSelected);
470
+
471
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
472
+ if (localVarTransferCache === undefined) {
473
+ localVarTransferCache = true;
286
474
  }
287
475
 
288
- let responseType_: 'text' | 'json' = 'json';
289
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
290
- responseType_ = 'text';
476
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
477
+ if (localVarHttpHeaderAcceptSelected) {
478
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
479
+ responseType_ = 'text';
480
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
481
+ responseType_ = 'json';
482
+ } else {
483
+ responseType_ = 'blob';
484
+ }
291
485
  }
292
486
 
293
- return this.httpClient.get<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, {
487
+ let localVarPath = `/dashboard/widgets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
488
+ return this.httpClient.request<DashboardWidget>('get', `${this.configuration.basePath}${localVarPath}`, {
489
+ context: localVarHttpContext,
294
490
  responseType: <any>responseType_,
295
491
  withCredentials: this.configuration.withCredentials,
296
- headers: headers,
492
+ headers: localVarHeaders,
297
493
  observe: observe,
494
+ transferCache: localVarTransferCache,
298
495
  reportProgress: reportProgress
299
496
  });
300
497
  }
301
498
 
302
499
  /**
303
500
  * Updates a dashboard widget in database.
304
- * @param id The ID of the dashboard widget.
305
- * @param dashboardWidget Body has to be a valid dashboard widget item.
501
+ * @param requestParameters
306
502
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
307
503
  * @param reportProgress flag to report request and response progress.
308
504
  */
309
505
  public httpDashboardWidgetsUpdateById(
310
- id: string,
311
- dashboardWidget: DashboardWidget,
506
+ requestParameters?: HttpDashboardWidgetsUpdateByIdRequestParams,
312
507
  observe?: 'body',
313
508
  reportProgress?: boolean,
314
- options?: { httpHeaderAccept?: 'application/json' }
509
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
315
510
  ): Observable<DashboardWidget>;
316
511
  public httpDashboardWidgetsUpdateById(
317
- id: string,
318
- dashboardWidget: DashboardWidget,
512
+ requestParameters?: HttpDashboardWidgetsUpdateByIdRequestParams,
319
513
  observe?: 'response',
320
514
  reportProgress?: boolean,
321
- options?: { httpHeaderAccept?: 'application/json' }
515
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
322
516
  ): Observable<HttpResponse<DashboardWidget>>;
323
517
  public httpDashboardWidgetsUpdateById(
324
- id: string,
325
- dashboardWidget: DashboardWidget,
518
+ requestParameters?: HttpDashboardWidgetsUpdateByIdRequestParams,
326
519
  observe?: 'events',
327
520
  reportProgress?: boolean,
328
- options?: { httpHeaderAccept?: 'application/json' }
521
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
329
522
  ): Observable<HttpEvent<DashboardWidget>>;
330
523
  public httpDashboardWidgetsUpdateById(
331
- id: string,
332
- dashboardWidget: DashboardWidget,
524
+ requestParameters?: HttpDashboardWidgetsUpdateByIdRequestParams,
333
525
  observe: any = 'body',
334
526
  reportProgress: boolean = false,
335
- options?: { httpHeaderAccept?: 'application/json' }
527
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
336
528
  ): Observable<any> {
529
+ const id = requestParameters?.id;
337
530
  if (id === null || id === undefined) {
338
531
  throw new Error('Required parameter id was null or undefined when calling httpDashboardWidgetsUpdateById.');
339
532
  }
533
+ const dashboardWidget = requestParameters?.dashboardWidget;
340
534
  if (dashboardWidget === null || dashboardWidget === undefined) {
341
535
  throw new Error('Required parameter dashboardWidget was null or undefined when calling httpDashboardWidgetsUpdateById.');
342
536
  }
537
+ const acceptLanguage = requestParameters?.acceptLanguage;
343
538
 
344
- let headers = this.defaultHeaders;
539
+ let localVarHeaders = this.defaultHeaders;
540
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
541
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
542
+ }
345
543
 
346
- let credential: string | undefined;
544
+ let localVarCredential: string | undefined;
347
545
  // authentication (msal_auth) required
348
- credential = this.configuration.lookupCredential('msal_auth');
349
- if (credential) {
350
- headers = headers.set('Authorization', 'Bearer ' + credential);
546
+ localVarCredential = this.configuration.lookupCredential('msal_auth');
547
+ if (localVarCredential) {
548
+ localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
351
549
  }
352
550
 
353
- let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
354
- if (httpHeaderAcceptSelected === undefined) {
551
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
552
+ if (localVarHttpHeaderAcceptSelected === undefined) {
355
553
  // to determine the Accept header
356
554
  const httpHeaderAccepts: string[] = ['application/json'];
357
- httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
555
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
556
+ }
557
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
558
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
358
559
  }
359
- if (httpHeaderAcceptSelected !== undefined) {
360
- headers = headers.set('Accept', httpHeaderAcceptSelected);
560
+
561
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
562
+ if (localVarHttpContext === undefined) {
563
+ localVarHttpContext = new HttpContext();
564
+ }
565
+
566
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
567
+ if (localVarTransferCache === undefined) {
568
+ localVarTransferCache = true;
361
569
  }
362
570
 
363
571
  // to determine the Content-Type header
364
572
  const consumes: string[] = ['application/json'];
365
573
  const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
366
574
  if (httpContentTypeSelected !== undefined) {
367
- headers = headers.set('Content-Type', httpContentTypeSelected);
575
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
368
576
  }
369
577
 
370
- let responseType_: 'text' | 'json' = 'json';
371
- if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
372
- responseType_ = 'text';
578
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
579
+ if (localVarHttpHeaderAcceptSelected) {
580
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
581
+ responseType_ = 'text';
582
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
583
+ responseType_ = 'json';
584
+ } else {
585
+ responseType_ = 'blob';
586
+ }
373
587
  }
374
588
 
375
- return this.httpClient.post<DashboardWidget>(`${this.configuration.basePath}/dashboard/widgets/${encodeURIComponent(String(id))}`, dashboardWidget, {
589
+ let localVarPath = `/dashboard/widgets/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
590
+ return this.httpClient.request<DashboardWidget>('post', `${this.configuration.basePath}${localVarPath}`, {
591
+ context: localVarHttpContext,
592
+ body: dashboardWidget,
376
593
  responseType: <any>responseType_,
377
594
  withCredentials: this.configuration.withCredentials,
378
- headers: headers,
595
+ headers: localVarHeaders,
379
596
  observe: observe,
597
+ transferCache: localVarTransferCache,
380
598
  reportProgress: reportProgress
381
599
  });
382
600
  }