@agravity/private 11.1.2 → 12.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 (46) hide show
  1. package/.openapi-generator/FILES +19 -1
  2. package/README.md +3 -3
  3. package/api/aIOperations.agravity.ts +5 -0
  4. package/api/analyticsManagement.agravity.ts +262 -0
  5. package/api/api.ts +12 -3
  6. package/api/assetManagement.agravity.ts +7 -2
  7. package/api/assetVersioning.agravity.ts +5 -0
  8. package/api/{wordpressManagement.agravity.ts → assistantOperations.agravity.ts} +50 -116
  9. package/api/collectionTypeItemBlueprintManagement.agravity.ts +98 -4
  10. package/api/collectionTypeItemRefsManagement.agravity.ts +693 -0
  11. package/api/collectionTypeManagement.agravity.ts +24 -187
  12. package/api/generalManagement.agravity.ts +65 -0
  13. package/api/itemGroupsManagement.agravity.ts +510 -0
  14. package/api/portalManagement.agravity.ts +94 -0
  15. package/api/searchManagement.agravity.ts +15 -15
  16. package/api/secureUpload.agravity.ts +1 -1
  17. package/api/stockImport.agravity.ts +1 -1
  18. package/api/translationManagement.agravity.ts +6 -6
  19. package/api/workspaceManagement.agravity.ts +10 -0
  20. package/model/asset.agravity.ts +1 -0
  21. package/model/assistantChatMessage.agravity.ts +14 -0
  22. package/model/assistantChatRequest.agravity.ts +15 -0
  23. package/model/assistantChatResponse.agravity.ts +14 -0
  24. package/model/assistantFeedbackRequest.agravity.ts +15 -0
  25. package/model/collTypeItem.agravity.ts +4 -1
  26. package/model/collTypeItemBlueprint.agravity.ts +2 -0
  27. package/model/collTypeItemRef.agravity.ts +15 -0
  28. package/model/collection.agravity.ts +1 -0
  29. package/model/collectionType.agravity.ts +2 -0
  30. package/model/exportFieldDefinition.agravity.ts +1 -1
  31. package/model/itemGroup.agravity.ts +25 -0
  32. package/model/models.ts +15 -0
  33. package/model/reportingAnalyticsCatalogResponse.agravity.ts +14 -0
  34. package/model/reportingAnalyticsMetricCatalogItem.agravity.ts +19 -0
  35. package/model/reportingAnalyticsMetricRequest.agravity.ts +15 -0
  36. package/model/reportingAnalyticsMetricResult.agravity.ts +21 -0
  37. package/model/reportingAnalyticsRequest.agravity.ts +17 -0
  38. package/model/reportingAnalyticsResponse.agravity.ts +17 -0
  39. package/model/reportingNamedUsage.agravity.ts +15 -0
  40. package/model/reportingSystemSnapshot.agravity.ts +17 -0
  41. package/model/reportingTimeSeriesPoint.agravity.ts +14 -0
  42. package/model/searchAdminIndexerStatus.agravity.ts +1 -0
  43. package/model/secureUploadEntity.agravity.ts +9 -0
  44. package/model/versionEntity.agravity.ts +1 -0
  45. package/model/versionedAsset.agravity.ts +1 -0
  46. package/package.json +1 -1
@@ -17,43 +17,31 @@ import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
17
17
  // @ts-ignore
18
18
  import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
19
19
  // @ts-ignore
20
- import { Asset } from '../model/asset.agravity';
20
+ import { AssistantChatRequest } from '../model/assistantChatRequest.agravity';
21
+ // @ts-ignore
22
+ import { AssistantChatResponse } from '../model/assistantChatResponse.agravity';
23
+ // @ts-ignore
24
+ import { AssistantFeedbackRequest } from '../model/assistantFeedbackRequest.agravity';
21
25
 
22
26
  // @ts-ignore
23
27
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
24
28
  import { AgravityConfiguration } from '../configuration';
25
29
  import { BaseService } from '../api.base.service';
26
30
 
27
- export interface HttpWordpressPageRequestParams {
28
- /** The title of the wordpress post. */
29
- pageTitle: string;
30
- /** The excerpt of the wordpress page as well as the first part of the page. */
31
- pageContentBefore: string;
32
- /** The URL where the image can be publically retrieved. */
33
- pageImage: string;
34
- /** The content of the wordpress page, which is shown below the image. */
35
- pageContentAfter: string;
36
- /** This endpoint creates a Wordpress Page */
37
- asset: Asset;
31
+ export interface HttpAssistantChatRequestParams {
32
+ /** The message of the user and, to continue a conversation, the id of the previous response. */
33
+ assistantChatRequest: AssistantChatRequest;
38
34
  }
39
35
 
40
- export interface HttpWordpressPostRequestParams {
41
- /** The title of the wordpress post. */
42
- postTitle: string;
43
- /** The excerpt of the wordpress post as well as the first part of the post. */
44
- postContentBefore: string;
45
- /** The URL where the image can be publically retrieved. */
46
- postImage: string;
47
- /** The content of the wordpress post, which is shown below the image. */
48
- postContentAfter: string;
49
- /** This endpoint creates a Wordpress Post */
50
- asset: Asset;
36
+ export interface HttpAssistantFeedbackRequestParams {
37
+ /** The rating and the full conversation the feedback is about. */
38
+ assistantFeedbackRequest: AssistantFeedbackRequest;
51
39
  }
52
40
 
53
41
  @Injectable({
54
42
  providedIn: 'root'
55
43
  })
56
- export class WordpressManagementService extends BaseService {
44
+ export class AssistantOperationsService extends BaseService {
57
45
  constructor(
58
46
  protected httpClient: HttpClient,
59
47
  @Optional() @Inject(BASE_PATH) basePath: string | string[],
@@ -63,67 +51,41 @@ export class WordpressManagementService extends BaseService {
63
51
  }
64
52
 
65
53
  /**
66
- * This endpoint creates a Wordpress Page
67
- * @endpoint post /wordpresspage
54
+ * This endpoint asks the assistant agent a question and returns its answer.
55
+ * @endpoint post /assistant/chat
68
56
  * @param requestParameters
69
57
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
70
58
  * @param reportProgress flag to report request and response progress.
71
59
  * @param options additional options
72
60
  */
73
- public httpWordpressPage(
74
- requestParameters: HttpWordpressPageRequestParams,
61
+ public httpAssistantChat(
62
+ requestParameters: HttpAssistantChatRequestParams,
75
63
  observe?: 'body',
76
64
  reportProgress?: boolean,
77
65
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
78
- ): Observable<number>;
79
- public httpWordpressPage(
80
- requestParameters: HttpWordpressPageRequestParams,
66
+ ): Observable<AssistantChatResponse>;
67
+ public httpAssistantChat(
68
+ requestParameters: HttpAssistantChatRequestParams,
81
69
  observe?: 'response',
82
70
  reportProgress?: boolean,
83
71
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
84
- ): Observable<HttpResponse<number>>;
85
- public httpWordpressPage(
86
- requestParameters: HttpWordpressPageRequestParams,
72
+ ): Observable<HttpResponse<AssistantChatResponse>>;
73
+ public httpAssistantChat(
74
+ requestParameters: HttpAssistantChatRequestParams,
87
75
  observe?: 'events',
88
76
  reportProgress?: boolean,
89
77
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
90
- ): Observable<HttpEvent<number>>;
91
- public httpWordpressPage(
92
- requestParameters: HttpWordpressPageRequestParams,
78
+ ): Observable<HttpEvent<AssistantChatResponse>>;
79
+ public httpAssistantChat(
80
+ requestParameters: HttpAssistantChatRequestParams,
93
81
  observe: any = 'body',
94
82
  reportProgress: boolean = false,
95
83
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
96
84
  ): Observable<any> {
97
- const pageTitle = requestParameters?.pageTitle;
98
- if (pageTitle === null || pageTitle === undefined) {
99
- throw new Error('Required parameter pageTitle was null or undefined when calling httpWordpressPage.');
100
- }
101
- const pageContentBefore = requestParameters?.pageContentBefore;
102
- if (pageContentBefore === null || pageContentBefore === undefined) {
103
- throw new Error('Required parameter pageContentBefore was null or undefined when calling httpWordpressPage.');
104
- }
105
- const pageImage = requestParameters?.pageImage;
106
- if (pageImage === null || pageImage === undefined) {
107
- throw new Error('Required parameter pageImage was null or undefined when calling httpWordpressPage.');
108
- }
109
- const pageContentAfter = requestParameters?.pageContentAfter;
110
- if (pageContentAfter === null || pageContentAfter === undefined) {
111
- throw new Error('Required parameter pageContentAfter was null or undefined when calling httpWordpressPage.');
85
+ const assistantChatRequest = requestParameters?.assistantChatRequest;
86
+ if (assistantChatRequest === null || assistantChatRequest === undefined) {
87
+ throw new Error('Required parameter assistantChatRequest was null or undefined when calling httpAssistantChat.');
112
88
  }
113
- const asset = requestParameters?.asset;
114
- if (asset === null || asset === undefined) {
115
- throw new Error('Required parameter asset was null or undefined when calling httpWordpressPage.');
116
- }
117
-
118
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
119
-
120
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_title', <any>pageTitle, QueryParamStyle.Form, true);
121
-
122
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_content_before', <any>pageContentBefore, QueryParamStyle.Form, true);
123
-
124
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_image', <any>pageImage, QueryParamStyle.Form, true);
125
-
126
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'page_content_after', <any>pageContentAfter, QueryParamStyle.Form, true);
127
89
 
128
90
  let localVarHeaders = this.defaultHeaders;
129
91
 
@@ -157,12 +119,11 @@ export class WordpressManagementService extends BaseService {
157
119
  }
158
120
  }
159
121
 
160
- let localVarPath = `/wordpresspage`;
122
+ let localVarPath = `/assistant/chat`;
161
123
  const { basePath, withCredentials } = this.configuration;
162
- return this.httpClient.request<number>('post', `${basePath}${localVarPath}`, {
124
+ return this.httpClient.request<AssistantChatResponse>('post', `${basePath}${localVarPath}`, {
163
125
  context: localVarHttpContext,
164
- body: asset,
165
- params: localVarQueryParameters.toHttpParams(),
126
+ body: assistantChatRequest,
166
127
  responseType: <any>responseType_,
167
128
  ...(withCredentials ? { withCredentials } : {}),
168
129
  headers: localVarHeaders,
@@ -173,68 +134,42 @@ export class WordpressManagementService extends BaseService {
173
134
  }
174
135
 
175
136
  /**
176
- * This endpoint creates a Wordpress Post
177
- * @endpoint post /wordpresspost
137
+ * This endpoint mails a thumbs up / down on an assistant answer, with the conversation, to the company contact.
138
+ * @endpoint post /assistant/feedback
178
139
  * @param requestParameters
179
140
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
180
141
  * @param reportProgress flag to report request and response progress.
181
142
  * @param options additional options
182
143
  */
183
- public httpWordpressPost(
184
- requestParameters: HttpWordpressPostRequestParams,
144
+ public httpAssistantFeedback(
145
+ requestParameters: HttpAssistantFeedbackRequestParams,
185
146
  observe?: 'body',
186
147
  reportProgress?: boolean,
187
148
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
188
- ): Observable<number>;
189
- public httpWordpressPost(
190
- requestParameters: HttpWordpressPostRequestParams,
149
+ ): Observable<any>;
150
+ public httpAssistantFeedback(
151
+ requestParameters: HttpAssistantFeedbackRequestParams,
191
152
  observe?: 'response',
192
153
  reportProgress?: boolean,
193
154
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
194
- ): Observable<HttpResponse<number>>;
195
- public httpWordpressPost(
196
- requestParameters: HttpWordpressPostRequestParams,
155
+ ): Observable<HttpResponse<any>>;
156
+ public httpAssistantFeedback(
157
+ requestParameters: HttpAssistantFeedbackRequestParams,
197
158
  observe?: 'events',
198
159
  reportProgress?: boolean,
199
160
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
200
- ): Observable<HttpEvent<number>>;
201
- public httpWordpressPost(
202
- requestParameters: HttpWordpressPostRequestParams,
161
+ ): Observable<HttpEvent<any>>;
162
+ public httpAssistantFeedback(
163
+ requestParameters: HttpAssistantFeedbackRequestParams,
203
164
  observe: any = 'body',
204
165
  reportProgress: boolean = false,
205
166
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
206
167
  ): Observable<any> {
207
- const postTitle = requestParameters?.postTitle;
208
- if (postTitle === null || postTitle === undefined) {
209
- throw new Error('Required parameter postTitle was null or undefined when calling httpWordpressPost.');
210
- }
211
- const postContentBefore = requestParameters?.postContentBefore;
212
- if (postContentBefore === null || postContentBefore === undefined) {
213
- throw new Error('Required parameter postContentBefore was null or undefined when calling httpWordpressPost.');
214
- }
215
- const postImage = requestParameters?.postImage;
216
- if (postImage === null || postImage === undefined) {
217
- throw new Error('Required parameter postImage was null or undefined when calling httpWordpressPost.');
218
- }
219
- const postContentAfter = requestParameters?.postContentAfter;
220
- if (postContentAfter === null || postContentAfter === undefined) {
221
- throw new Error('Required parameter postContentAfter was null or undefined when calling httpWordpressPost.');
222
- }
223
- const asset = requestParameters?.asset;
224
- if (asset === null || asset === undefined) {
225
- throw new Error('Required parameter asset was null or undefined when calling httpWordpressPost.');
168
+ const assistantFeedbackRequest = requestParameters?.assistantFeedbackRequest;
169
+ if (assistantFeedbackRequest === null || assistantFeedbackRequest === undefined) {
170
+ throw new Error('Required parameter assistantFeedbackRequest was null or undefined when calling httpAssistantFeedback.');
226
171
  }
227
172
 
228
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
229
-
230
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'post_title', <any>postTitle, QueryParamStyle.Form, true);
231
-
232
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'post_content_before', <any>postContentBefore, QueryParamStyle.Form, true);
233
-
234
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'post_image', <any>postImage, QueryParamStyle.Form, true);
235
-
236
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'post_content_after', <any>postContentAfter, QueryParamStyle.Form, true);
237
-
238
173
  let localVarHeaders = this.defaultHeaders;
239
174
 
240
175
  // authentication (msal_auth) required
@@ -267,12 +202,11 @@ export class WordpressManagementService extends BaseService {
267
202
  }
268
203
  }
269
204
 
270
- let localVarPath = `/wordpresspost`;
205
+ let localVarPath = `/assistant/feedback`;
271
206
  const { basePath, withCredentials } = this.configuration;
272
- return this.httpClient.request<number>('post', `${basePath}${localVarPath}`, {
207
+ return this.httpClient.request<any>('post', `${basePath}${localVarPath}`, {
273
208
  context: localVarHttpContext,
274
- body: asset,
275
- params: localVarQueryParameters.toHttpParams(),
209
+ body: assistantFeedbackRequest,
276
210
  responseType: <any>responseType_,
277
211
  ...(withCredentials ? { withCredentials } : {}),
278
212
  headers: localVarHeaders,
@@ -25,7 +25,7 @@ import { AgravityConfiguration } from '../configuration';
25
25
  import { BaseService } from '../api.base.service';
26
26
 
27
27
  export interface HttpCollTypeItemBlueprintsCreateRequestParams {
28
- /** This endpoint creates an unique blueprint and adds the information to the database. */
28
+ /** This endpoint creates an unique blueprint and adds the information to the database. \&#39;items\&#39; is deprecated on create and update, use \&#39;item_refs\&#39;: requests with \&#39;items\&#39; will be rejected in a future version. */
29
29
  collTypeItemBlueprint: CollTypeItemBlueprint;
30
30
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \&quot;Accept-Language\&quot; header) */
31
31
  translations?: boolean;
@@ -45,10 +45,19 @@ export interface HttpCollTypeItemBlueprintsGetAllRequestParams {
45
45
  acceptLanguage?: string;
46
46
  }
47
47
 
48
+ export interface HttpCollTypeItemBlueprintsGetByIdRequestParams {
49
+ /** The ID of the blueprint. */
50
+ id: string;
51
+ /** When default language should be returned and the translation dictionary is delivered. (Ignores the \&quot;Accept-Language\&quot; header) */
52
+ translations?: boolean;
53
+ /** The requested language of the response. If not matching it falls back to default language. */
54
+ acceptLanguage?: string;
55
+ }
56
+
48
57
  export interface HttpCollTypeItemBlueprintsUpdateByIdRequestParams {
49
58
  /** The ID of the blueprint. */
50
59
  id: string;
51
- /** This endpoint updates an the given blueprint with ID and adds the information to the database. */
60
+ /** This endpoint updates an the given blueprint with ID and adds the information to the database. \&#39;items\&#39; is deprecated on create and update, use \&#39;item_refs\&#39;: requests with \&#39;items\&#39; will be rejected in a future version. */
52
61
  collTypeItemBlueprint: CollTypeItemBlueprint;
53
62
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \&quot;Accept-Language\&quot; header) */
54
63
  translations?: boolean;
@@ -69,7 +78,7 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
69
78
  }
70
79
 
71
80
  /**
72
- * This endpoint creates one collection type item blueprint entry in the database.
81
+ * This endpoint creates one collection type item blueprint entry in the database. Items and item refs are handled like the create of a collection type: missing items are created, existing items are only referenced; if \&#39;item_refs\&#39; are set as well, group and order are taken from the item ref with the same item_id and the other item refs are appended. An item_id may be referenced only once. \&#39;items\&#39; is deprecated on create and update, use \&#39;item_refs\&#39;: requests with \&#39;items\&#39; will be rejected in a future version.
73
82
  * @endpoint post /colltypeitemblueprints
74
83
  * @param requestParameters
75
84
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -318,7 +327,92 @@ export class CollectionTypeItemBlueprintManagementService extends BaseService {
318
327
  }
319
328
 
320
329
  /**
321
- * This endpoint updates a single collection type item blueprint.
330
+ * This endpoint returns a single collection type item blueprint by ID.
331
+ * @endpoint get /colltypeitemblueprints/{id}
332
+ * @param requestParameters
333
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
334
+ * @param reportProgress flag to report request and response progress.
335
+ * @param options additional options
336
+ */
337
+ public httpCollTypeItemBlueprintsGetById(
338
+ requestParameters: HttpCollTypeItemBlueprintsGetByIdRequestParams,
339
+ observe?: 'body',
340
+ reportProgress?: boolean,
341
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
342
+ ): Observable<CollTypeItemBlueprint>;
343
+ public httpCollTypeItemBlueprintsGetById(
344
+ requestParameters: HttpCollTypeItemBlueprintsGetByIdRequestParams,
345
+ observe?: 'response',
346
+ reportProgress?: boolean,
347
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
348
+ ): Observable<HttpResponse<CollTypeItemBlueprint>>;
349
+ public httpCollTypeItemBlueprintsGetById(
350
+ requestParameters: HttpCollTypeItemBlueprintsGetByIdRequestParams,
351
+ observe?: 'events',
352
+ reportProgress?: boolean,
353
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
354
+ ): Observable<HttpEvent<CollTypeItemBlueprint>>;
355
+ public httpCollTypeItemBlueprintsGetById(
356
+ requestParameters: HttpCollTypeItemBlueprintsGetByIdRequestParams,
357
+ observe: any = 'body',
358
+ reportProgress: boolean = false,
359
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
360
+ ): Observable<any> {
361
+ const id = requestParameters?.id;
362
+ if (id === null || id === undefined) {
363
+ throw new Error('Required parameter id was null or undefined when calling httpCollTypeItemBlueprintsGetById.');
364
+ }
365
+ const translations = requestParameters?.translations;
366
+ const acceptLanguage = requestParameters?.acceptLanguage;
367
+
368
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
369
+
370
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
371
+
372
+ let localVarHeaders = this.defaultHeaders;
373
+ if (acceptLanguage !== undefined && acceptLanguage !== null) {
374
+ localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
375
+ }
376
+
377
+ // authentication (msal_auth) required
378
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
379
+
380
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
381
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
382
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
383
+ }
384
+
385
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
386
+
387
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
388
+
389
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
390
+ if (localVarHttpHeaderAcceptSelected) {
391
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
392
+ responseType_ = 'text';
393
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
394
+ responseType_ = 'json';
395
+ } else {
396
+ responseType_ = 'blob';
397
+ }
398
+ }
399
+
400
+ let localVarPath = `/colltypeitemblueprints/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
401
+ const { basePath, withCredentials } = this.configuration;
402
+ return this.httpClient.request<CollTypeItemBlueprint>('get', `${basePath}${localVarPath}`, {
403
+ context: localVarHttpContext,
404
+ params: localVarQueryParameters.toHttpParams(),
405
+ responseType: <any>responseType_,
406
+ ...(withCredentials ? { withCredentials } : {}),
407
+ headers: localVarHeaders,
408
+ observe: observe,
409
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
410
+ reportProgress: reportProgress
411
+ });
412
+ }
413
+
414
+ /**
415
+ * This endpoint updates a single collection type item blueprint. Items and item refs are handled like the update of a collection type: missing items are created, existing items are only referenced; if \&#39;item_refs\&#39; are set as well, group and order are taken from the item ref with the same item_id and the other item refs are appended. A group name of an item is mapped to its item group. Stored refs to items or item groups which do not exist anymore are removed. \&#39;items\&#39; is deprecated on create and update, use \&#39;item_refs\&#39;: requests with \&#39;items\&#39; will be rejected in a future version.
322
416
  * @endpoint post /colltypeitemblueprints/{id}
323
417
  * @param requestParameters
324
418
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.