@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
@@ -19,8 +19,6 @@ import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
19
19
  // @ts-ignore
20
20
  import { AgravityInfoResponse } from '../model/agravityInfoResponse.agravity';
21
21
  // @ts-ignore
22
- import { CollTypeItem } from '../model/collTypeItem.agravity';
23
- // @ts-ignore
24
22
  import { CollectionType } from '../model/collectionType.agravity';
25
23
  // @ts-ignore
26
24
  import { PermissionChange } from '../model/permissionChange.agravity';
@@ -31,10 +29,12 @@ import { AgravityConfiguration } from '../configuration';
31
29
  import { BaseService } from '../api.base.service';
32
30
 
33
31
  export interface HttpCollectionTypesCreateRequestParams {
34
- /** This endpoint creates a unique collection type ID and adds the information to the database. */
32
+ /** This endpoint creates a unique collection type ID and adds the information to the database. \'items\' is deprecated on create and update, use \'item_refs\': requests with \'items\' will be rejected in a future version. */
35
33
  collectionType: CollectionType;
36
34
  /** (optional) The ID of the workspace where this collection type should be assigned. */
37
35
  workspaceid?: string;
36
+ /** When true, returns the resolved collection type items alongside the item refs. */
37
+ items?: boolean;
38
38
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
39
39
  translations?: boolean;
40
40
  /** The requested language of the response. If not matching it falls back to default language. */
@@ -47,6 +47,8 @@ export interface HttpCollectionTypesDeleteRequestParams {
47
47
  }
48
48
 
49
49
  export interface HttpCollectionTypesGetRequestParams {
50
+ /** When true, returns the resolved collection type items alongside the item refs. */
51
+ items?: boolean;
50
52
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
51
53
  translations?: boolean;
52
54
  /** The requested language of the response. If not matching it falls back to default language. */
@@ -56,6 +58,8 @@ export interface HttpCollectionTypesGetRequestParams {
56
58
  export interface HttpCollectionTypesGetByIdRequestParams {
57
59
  /** The ID of the collection type. */
58
60
  id: string;
61
+ /** When true, returns the resolved collection type items alongside the item refs. */
62
+ items?: boolean;
59
63
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
60
64
  translations?: boolean;
61
65
  /** The requested language of the response. If not matching it falls back to default language. */
@@ -65,8 +69,10 @@ export interface HttpCollectionTypesGetByIdRequestParams {
65
69
  export interface HttpCollectionTypesUpdateRequestParams {
66
70
  /** The ID of the collection type. */
67
71
  id: string;
68
- /** The body has to be a valid collection type json. Not fitting properties are ignored. */
72
+ /** The body has to be a valid collection type json. Not fitting properties are ignored. \'items\' is deprecated on create and update, use \'item_refs\': requests with \'items\' will be rejected in a future version. */
69
73
  collectionType: CollectionType;
74
+ /** When true, returns the resolved collection type items alongside the item refs. */
75
+ items?: boolean;
70
76
  /** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
71
77
  translations?: boolean;
72
78
  /** The requested language of the response. If not matching it falls back to default language. */
@@ -80,20 +86,6 @@ export interface HttpCollectionTypesUpdatePermissionsByIdRequestParams {
80
86
  permissionChange: PermissionChange;
81
87
  }
82
88
 
83
- export interface HttpGetCollectionTypeItemsRequestParams {
84
- /** True if the blueprint items should be included. */
85
- includeblueprint?: boolean;
86
- /** When default language should be returned and the translation dictionary is delivered. (Ignores the \"Accept-Language\" header) */
87
- translations?: boolean;
88
- /** The requested language of the response. If not matching it falls back to default language. */
89
- acceptLanguage?: string;
90
- }
91
-
92
- export interface HttpUpdateCollectionTypeItemsRequestParams {
93
- /** Items which should be updated. */
94
- collTypeItem: Array<CollTypeItem>;
95
- }
96
-
97
89
  @Injectable({
98
90
  providedIn: 'root'
99
91
  })
@@ -107,7 +99,7 @@ export class CollectionTypeManagementService extends BaseService {
107
99
  }
108
100
 
109
101
  /**
110
- * This endpoint creates a unique collection type ID and adds the information to the database.
102
+ * This endpoint creates a unique collection type ID and adds the information to the database. There is no negative order: a missing, 0 or negative order means no order (9999). \&#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.
111
103
  * @endpoint post /collectiontypes
112
104
  * @param requestParameters
113
105
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -143,6 +135,7 @@ export class CollectionTypeManagementService extends BaseService {
143
135
  throw new Error('Required parameter collectionType was null or undefined when calling httpCollectionTypesCreate.');
144
136
  }
145
137
  const workspaceid = requestParameters?.workspaceid;
138
+ const items = requestParameters?.items;
146
139
  const translations = requestParameters?.translations;
147
140
  const acceptLanguage = requestParameters?.acceptLanguage;
148
141
 
@@ -150,6 +143,8 @@ export class CollectionTypeManagementService extends BaseService {
150
143
 
151
144
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'workspaceid', <any>workspaceid, QueryParamStyle.Form, true);
152
145
 
146
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
147
+
153
148
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
154
149
 
155
150
  let localVarHeaders = this.defaultHeaders;
@@ -309,11 +304,14 @@ export class CollectionTypeManagementService extends BaseService {
309
304
  reportProgress: boolean = false,
310
305
  options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
311
306
  ): Observable<any> {
307
+ const items = requestParameters?.items;
312
308
  const translations = requestParameters?.translations;
313
309
  const acceptLanguage = requestParameters?.acceptLanguage;
314
310
 
315
311
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
316
312
 
313
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
314
+
317
315
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
318
316
 
319
317
  let localVarHeaders = this.defaultHeaders;
@@ -394,11 +392,14 @@ export class CollectionTypeManagementService extends BaseService {
394
392
  if (id === null || id === undefined) {
395
393
  throw new Error('Required parameter id was null or undefined when calling httpCollectionTypesGetById.');
396
394
  }
395
+ const items = requestParameters?.items;
397
396
  const translations = requestParameters?.translations;
398
397
  const acceptLanguage = requestParameters?.acceptLanguage;
399
398
 
400
399
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
401
400
 
401
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
402
+
402
403
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
403
404
 
404
405
  let localVarHeaders = this.defaultHeaders;
@@ -444,7 +445,7 @@ export class CollectionTypeManagementService extends BaseService {
444
445
  }
445
446
 
446
447
  /**
447
- * This endpoint updates the collection type. Null fields will be ignored. If \&#39;items\&#39; are set they are fully reset (like PUT).
448
+ * This endpoint updates the collection type. Null fields will be ignored: a missing order keeps the order, a missing permissionless keeps permissionless and the permissions. \&#39;permissions\&#39; are only applied when permissionless is switched off, otherwise they are ignored (use the /permissions endpoint to change them). There is no negative order: a negative order (e.g. -1) resets the order. Without \&#39;items\&#39; and \&#39;item_refs\&#39; the item assignment (incl. groups) is kept. If \&#39;items\&#39; are set the assignment is fully reset (like PUT): missing items are created, existing items (same id) are only referenced - changes to existing items are ignored (use the colltypeitems endpoints). Items which are no longer referenced are kept. An item keeps the group of its existing item ref unless \&#39;group\&#39; is set: a group name is mapped to its item group, an empty string removes the group; group-only item refs are kept. 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. Empty \&#39;items\&#39; together with \&#39;item_refs\&#39; are ignored. An item_id may be referenced only once. On new list items (UDL, SDL) the default_value has to be an entry of the referenced list (ref_id). \&#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.
448
449
  * @endpoint post /collectiontypes/{id}
449
450
  * @param requestParameters
450
451
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -483,11 +484,14 @@ export class CollectionTypeManagementService extends BaseService {
483
484
  if (collectionType === null || collectionType === undefined) {
484
485
  throw new Error('Required parameter collectionType was null or undefined when calling httpCollectionTypesUpdate.');
485
486
  }
487
+ const items = requestParameters?.items;
486
488
  const translations = requestParameters?.translations;
487
489
  const acceptLanguage = requestParameters?.acceptLanguage;
488
490
 
489
491
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
490
492
 
493
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
494
+
491
495
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
492
496
 
493
497
  let localVarHeaders = this.defaultHeaders;
@@ -626,171 +630,4 @@ export class CollectionTypeManagementService extends BaseService {
626
630
  reportProgress: reportProgress
627
631
  });
628
632
  }
629
-
630
- /**
631
- * This method returns a list of all collection types items. (Regardless of the permissions)
632
- * @endpoint get /collectiontypesitems
633
- * @param requestParameters
634
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
635
- * @param reportProgress flag to report request and response progress.
636
- * @param options additional options
637
- */
638
- public httpGetCollectionTypeItems(
639
- requestParameters?: HttpGetCollectionTypeItemsRequestParams,
640
- observe?: 'body',
641
- reportProgress?: boolean,
642
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
643
- ): Observable<Array<CollTypeItem>>;
644
- public httpGetCollectionTypeItems(
645
- requestParameters?: HttpGetCollectionTypeItemsRequestParams,
646
- observe?: 'response',
647
- reportProgress?: boolean,
648
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
649
- ): Observable<HttpResponse<Array<CollTypeItem>>>;
650
- public httpGetCollectionTypeItems(
651
- requestParameters?: HttpGetCollectionTypeItemsRequestParams,
652
- observe?: 'events',
653
- reportProgress?: boolean,
654
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
655
- ): Observable<HttpEvent<Array<CollTypeItem>>>;
656
- public httpGetCollectionTypeItems(
657
- requestParameters?: HttpGetCollectionTypeItemsRequestParams,
658
- observe: any = 'body',
659
- reportProgress: boolean = false,
660
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
661
- ): Observable<any> {
662
- const includeblueprint = requestParameters?.includeblueprint;
663
- const translations = requestParameters?.translations;
664
- const acceptLanguage = requestParameters?.acceptLanguage;
665
-
666
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
667
-
668
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'includeblueprint', <any>includeblueprint, QueryParamStyle.Form, true);
669
-
670
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
671
-
672
- let localVarHeaders = this.defaultHeaders;
673
- if (acceptLanguage !== undefined && acceptLanguage !== null) {
674
- localVarHeaders = localVarHeaders.set('Accept-Language', String(acceptLanguage));
675
- }
676
-
677
- // authentication (msal_auth) required
678
- localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
679
-
680
- const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
681
- if (localVarHttpHeaderAcceptSelected !== undefined) {
682
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
683
- }
684
-
685
- const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
686
-
687
- const localVarTransferCache: boolean = options?.transferCache ?? true;
688
-
689
- let responseType_: 'text' | 'json' | 'blob' = 'json';
690
- if (localVarHttpHeaderAcceptSelected) {
691
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
692
- responseType_ = 'text';
693
- } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
694
- responseType_ = 'json';
695
- } else {
696
- responseType_ = 'blob';
697
- }
698
- }
699
-
700
- let localVarPath = `/collectiontypesitems`;
701
- const { basePath, withCredentials } = this.configuration;
702
- return this.httpClient.request<Array<CollTypeItem>>('get', `${basePath}${localVarPath}`, {
703
- context: localVarHttpContext,
704
- params: localVarQueryParameters.toHttpParams(),
705
- responseType: <any>responseType_,
706
- ...(withCredentials ? { withCredentials } : {}),
707
- headers: localVarHeaders,
708
- observe: observe,
709
- ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
710
- reportProgress: reportProgress
711
- });
712
- }
713
-
714
- /**
715
- * This endpoint updates all collection type items in all collection types regarding: Label, Order, Translations and Group
716
- * @endpoint post /collectiontypesitems
717
- * @param requestParameters
718
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
719
- * @param reportProgress flag to report request and response progress.
720
- * @param options additional options
721
- */
722
- public httpUpdateCollectionTypeItems(
723
- requestParameters: HttpUpdateCollectionTypeItemsRequestParams,
724
- observe?: 'body',
725
- reportProgress?: boolean,
726
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
727
- ): Observable<Array<CollectionType>>;
728
- public httpUpdateCollectionTypeItems(
729
- requestParameters: HttpUpdateCollectionTypeItemsRequestParams,
730
- observe?: 'response',
731
- reportProgress?: boolean,
732
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
733
- ): Observable<HttpResponse<Array<CollectionType>>>;
734
- public httpUpdateCollectionTypeItems(
735
- requestParameters: HttpUpdateCollectionTypeItemsRequestParams,
736
- observe?: 'events',
737
- reportProgress?: boolean,
738
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
739
- ): Observable<HttpEvent<Array<CollectionType>>>;
740
- public httpUpdateCollectionTypeItems(
741
- requestParameters: HttpUpdateCollectionTypeItemsRequestParams,
742
- observe: any = 'body',
743
- reportProgress: boolean = false,
744
- options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
745
- ): Observable<any> {
746
- const collTypeItem = requestParameters?.collTypeItem;
747
- if (collTypeItem === null || collTypeItem === undefined) {
748
- throw new Error('Required parameter collTypeItem was null or undefined when calling httpUpdateCollectionTypeItems.');
749
- }
750
-
751
- let localVarHeaders = this.defaultHeaders;
752
-
753
- // authentication (msal_auth) required
754
- localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
755
-
756
- const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
757
- if (localVarHttpHeaderAcceptSelected !== undefined) {
758
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
759
- }
760
-
761
- const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
762
-
763
- const localVarTransferCache: boolean = options?.transferCache ?? true;
764
-
765
- // to determine the Content-Type header
766
- const consumes: string[] = ['application/json'];
767
- const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
768
- if (httpContentTypeSelected !== undefined) {
769
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
770
- }
771
-
772
- let responseType_: 'text' | 'json' | 'blob' = 'json';
773
- if (localVarHttpHeaderAcceptSelected) {
774
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
775
- responseType_ = 'text';
776
- } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
777
- responseType_ = 'json';
778
- } else {
779
- responseType_ = 'blob';
780
- }
781
- }
782
-
783
- let localVarPath = `/collectiontypesitems`;
784
- const { basePath, withCredentials } = this.configuration;
785
- return this.httpClient.request<Array<CollectionType>>('post', `${basePath}${localVarPath}`, {
786
- context: localVarHttpContext,
787
- body: collTypeItem,
788
- responseType: <any>responseType_,
789
- ...(withCredentials ? { withCredentials } : {}),
790
- headers: localVarHeaders,
791
- observe: observe,
792
- ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
793
- reportProgress: reportProgress
794
- });
795
- }
796
633
  }
@@ -421,6 +421,71 @@ export class GeneralManagementService extends BaseService {
421
421
  });
422
422
  }
423
423
 
424
+ /**
425
+ * Queues the one-off, durable migration from embedded collection type items to standalone items, groups, and item refs. Runs as a durable orchestration (AgravityQueueFunctions) so it scales to large (100k+) data sets: collection types/blueprints are migrated in series first, then collections and assets are migrated in parallel, paged batches.
426
+ * @endpoint post /migration/colltypeitems/itemrefs
427
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
428
+ * @param reportProgress flag to report request and response progress.
429
+ * @param options additional options
430
+ */
431
+ public httpMigrateCollectionTypeItemsToRefs(
432
+ observe?: 'body',
433
+ reportProgress?: boolean,
434
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
435
+ ): Observable<AgravityInfoResponse>;
436
+ public httpMigrateCollectionTypeItemsToRefs(
437
+ observe?: 'response',
438
+ reportProgress?: boolean,
439
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
440
+ ): Observable<HttpResponse<AgravityInfoResponse>>;
441
+ public httpMigrateCollectionTypeItemsToRefs(
442
+ observe?: 'events',
443
+ reportProgress?: boolean,
444
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
445
+ ): Observable<HttpEvent<AgravityInfoResponse>>;
446
+ public httpMigrateCollectionTypeItemsToRefs(
447
+ observe: any = 'body',
448
+ reportProgress: boolean = false,
449
+ options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
450
+ ): Observable<any> {
451
+ let localVarHeaders = this.defaultHeaders;
452
+
453
+ // authentication (msal_auth) required
454
+ localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
455
+
456
+ const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
457
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
458
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
459
+ }
460
+
461
+ const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
462
+
463
+ const localVarTransferCache: boolean = options?.transferCache ?? true;
464
+
465
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
466
+ if (localVarHttpHeaderAcceptSelected) {
467
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
468
+ responseType_ = 'text';
469
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
470
+ responseType_ = 'json';
471
+ } else {
472
+ responseType_ = 'blob';
473
+ }
474
+ }
475
+
476
+ let localVarPath = `/migration/colltypeitems/itemrefs`;
477
+ const { basePath, withCredentials } = this.configuration;
478
+ return this.httpClient.request<AgravityInfoResponse>('post', `${basePath}${localVarPath}`, {
479
+ context: localVarHttpContext,
480
+ responseType: <any>responseType_,
481
+ ...(withCredentials ? { withCredentials } : {}),
482
+ headers: localVarHeaders,
483
+ observe: observe,
484
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
485
+ reportProgress: reportProgress
486
+ });
487
+ }
488
+
424
489
  /**
425
490
  * This endpoint runs the initial setup of an environment.
426
491
  * @endpoint post /setup