@agravity/private 7.0.1 → 7.2.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 (133) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/assetIconRuleManagement.agravity.ts +1 -1
  4. package/api/assetManagement.agravity.ts +11 -3
  5. package/api/assetOperations.agravity.ts +2 -2
  6. package/api/assetPublishing.agravity.ts +1 -1
  7. package/api/assetVersioning.agravity.ts +1 -1
  8. package/api/authenticationManagement.agravity.ts +1 -1
  9. package/api/collectionManagement.agravity.ts +49 -1
  10. package/api/collectionShareManagement.agravity.ts +1 -1
  11. package/api/collectionTypeItemBlueprintManagement.agravity.ts +1 -1
  12. package/api/collectionTypeManagement.agravity.ts +75 -1
  13. package/api/commentsManagement.agravity.ts +1 -1
  14. package/api/configurationManagement.agravity.ts +1 -1
  15. package/api/dashboardWidgetManagement.agravity.ts +1 -1
  16. package/api/dataImportExportManagement.agravity.ts +1 -1
  17. package/api/downloadFormatManagement.agravity.ts +1 -1
  18. package/api/downloadZip.agravity.ts +1 -1
  19. package/api/generalManagement.agravity.ts +95 -1
  20. package/api/helperTools.agravity.ts +59 -13
  21. package/api/historyEntryManagement.agravity.ts +1 -1
  22. package/api/iccProfileManagement.agravity.ts +1 -1
  23. package/api/listBlobs.agravity.ts +1 -1
  24. package/api/listQueues.agravity.ts +1 -1
  25. package/api/listTables.agravity.ts +1 -1
  26. package/api/permissionsManagement.agravity.ts +1 -1
  27. package/api/portalManagement.agravity.ts +48 -1
  28. package/api/publishing.agravity.ts +1 -1
  29. package/api/quickshareManagement.agravity.ts +1 -1
  30. package/api/savedSearchManagement.agravity.ts +1 -1
  31. package/api/searchManagement.agravity.ts +181 -1
  32. package/api/secureUpload.agravity.ts +1 -1
  33. package/api/signalRConnectionManagement.agravity.ts +1 -1
  34. package/api/staticDefinedListManagement.agravity.ts +1 -1
  35. package/api/stockImport.agravity.ts +1 -1
  36. package/api/structureImport.agravity.ts +1 -1
  37. package/api/translationManagement.agravity.ts +1 -1
  38. package/api/webAppData.agravity.ts +1 -1
  39. package/api/widgetLayoutManagement.agravity.ts +1 -1
  40. package/api/wordpressManagement.agravity.ts +1 -1
  41. package/api/workspaceManagement.agravity.ts +1 -1
  42. package/model/agravityErrorResponse.agravity.ts +1 -1
  43. package/model/agravityInfoResponse.agravity.ts +1 -1
  44. package/model/agravityUser.agravity.ts +1 -1
  45. package/model/agravityUserDto.agravity.ts +1 -1
  46. package/model/agravityVersion.agravity.ts +1 -1
  47. package/model/allWebAppData.agravity.ts +1 -1
  48. package/model/apiKeyResponse.agravity.ts +1 -1
  49. package/model/appConfigTableEntity.agravity.ts +1 -1
  50. package/model/artificialIntelligenceGroup.agravity.ts +1 -1
  51. package/model/asset.agravity.ts +1 -1
  52. package/model/assetAvailability.agravity.ts +1 -1
  53. package/model/assetBlob.agravity.ts +1 -1
  54. package/model/assetBulkUpdate.agravity.ts +1 -1
  55. package/model/assetCollectionLink.agravity.ts +1 -1
  56. package/model/assetIconRule.agravity.ts +1 -1
  57. package/model/assetIdFormat.agravity.ts +1 -1
  58. package/model/assetPageResult.agravity.ts +1 -1
  59. package/model/assetTextContent.agravity.ts +1 -1
  60. package/model/assetsOperationBody.agravity.ts +1 -1
  61. package/model/azSearchOptions.agravity.ts +1 -1
  62. package/model/azureIdentity.agravity.ts +1 -1
  63. package/model/blobInfoObj.agravity.ts +1 -1
  64. package/model/collTypeItem.agravity.ts +1 -1
  65. package/model/collTypeItemBlueprint.agravity.ts +1 -1
  66. package/model/collection.agravity.ts +1 -1
  67. package/model/collectionType.agravity.ts +1 -1
  68. package/model/collectionUDL.agravity.ts +1 -1
  69. package/model/comment.agravity.ts +1 -1
  70. package/model/createSftpUserResult.agravity.ts +1 -1
  71. package/model/dashboardWidget.agravity.ts +1 -1
  72. package/model/dataResult.agravity.ts +1 -1
  73. package/model/deletedEntities.agravity.ts +18 -0
  74. package/model/distZipResponse.agravity.ts +1 -1
  75. package/model/downloadFormat.agravity.ts +1 -1
  76. package/model/downloadObject.agravity.ts +2 -1
  77. package/model/downloadZipRequest.agravity.ts +2 -1
  78. package/model/dynamicImageOperation.agravity.ts +1 -1
  79. package/model/emailAddress.agravity.ts +1 -1
  80. package/model/entityId.agravity.ts +1 -1
  81. package/model/entityIdName.agravity.ts +1 -1
  82. package/model/entityTranslations.agravity.ts +1 -1
  83. package/model/excelExportTableEntity.agravity.ts +1 -1
  84. package/model/frontendAppConfig.agravity.ts +1 -1
  85. package/model/groupAllAppData.agravity.ts +1 -1
  86. package/model/historyEntry.agravity.ts +1 -1
  87. package/model/infoEntitySkillEnhanced.agravity.ts +1 -1
  88. package/model/metadata.agravity.ts +1 -1
  89. package/model/models.ts +1 -0
  90. package/model/moveCollectionBody.agravity.ts +1 -1
  91. package/model/permissionChange.agravity.ts +1 -1
  92. package/model/permissionEntity.agravity.ts +1 -1
  93. package/model/permissionSetting.agravity.ts +1 -1
  94. package/model/portal.agravity.ts +1 -1
  95. package/model/portalLanguages.agravity.ts +1 -1
  96. package/model/portalLinks.agravity.ts +1 -1
  97. package/model/portalTheme.agravity.ts +1 -1
  98. package/model/portalZipRequest.agravity.ts +1 -1
  99. package/model/publishEntity.agravity.ts +1 -1
  100. package/model/publishedAsset.agravity.ts +1 -1
  101. package/model/quickShare.agravity.ts +1 -1
  102. package/model/quickShareFull.agravity.ts +1 -1
  103. package/model/sasToken.agravity.ts +1 -1
  104. package/model/savedSearch.agravity.ts +1 -1
  105. package/model/searchAdminDataSourceStatus.agravity.ts +1 -1
  106. package/model/searchAdminIndexStatus.agravity.ts +1 -1
  107. package/model/searchAdminIndexerLastRun.agravity.ts +1 -1
  108. package/model/searchAdminIndexerStatus.agravity.ts +1 -1
  109. package/model/searchAdminSkillStatus.agravity.ts +1 -1
  110. package/model/searchAdminStatistics.agravity.ts +1 -1
  111. package/model/searchAdminStatus.agravity.ts +1 -1
  112. package/model/searchFacet.agravity.ts +1 -1
  113. package/model/searchFacetEntity.agravity.ts +1 -1
  114. package/model/searchResult.agravity.ts +1 -1
  115. package/model/searchableItem.agravity.ts +1 -1
  116. package/model/secureUploadEntity.agravity.ts +1 -1
  117. package/model/sharedAllowedFormat.agravity.ts +1 -1
  118. package/model/sharedAsset.agravity.ts +1 -1
  119. package/model/sharedCollection.agravity.ts +1 -1
  120. package/model/sharedCollectionFull.agravity.ts +1 -1
  121. package/model/signalRConnectionInfo.agravity.ts +1 -1
  122. package/model/simpleAsset.agravity.ts +1 -1
  123. package/model/staticDefinedList.agravity.ts +1 -1
  124. package/model/translation.agravity.ts +1 -1
  125. package/model/translationRequest.agravity.ts +1 -1
  126. package/model/uiTutorials.agravity.ts +1 -1
  127. package/model/versionEntity.agravity.ts +1 -1
  128. package/model/versionedAsset.agravity.ts +1 -1
  129. package/model/whereParam.agravity.ts +1 -1
  130. package/model/widgetLayout.agravity.ts +1 -1
  131. package/model/widgetProperties.agravity.ts +1 -1
  132. package/model/workspace.agravity.ts +1 -1
  133. package/package.json +1 -1
@@ -77,6 +77,7 @@ model/comment.agravity.ts
77
77
  model/createSftpUserResult.agravity.ts
78
78
  model/dashboardWidget.agravity.ts
79
79
  model/dataResult.agravity.ts
80
+ model/deletedEntities.agravity.ts
80
81
  model/distZipResponse.agravity.ts
81
82
  model/downloadFormat.agravity.ts
82
83
  model/downloadObject.agravity.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @agravity/private@7.0.1
1
+ ## @agravity/private@7.2.0
2
2
 
3
3
  ### Building
4
4
 
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
19
19
  _published:_
20
20
 
21
21
  ```
22
- npm install @agravity/private@7.0.1 --save
22
+ npm install @agravity/private@7.2.0 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -607,12 +607,13 @@ export class AssetManagementService {
607
607
  }
608
608
 
609
609
  /**
610
- * @param collectionid The ID of the collection where these assets should come from. (\&quot;empty\&quot; is allowed)
610
+ * @param collectionid The ID of the collection where these assets should come from. (Is not required when \&#39;collectiontypeid\&#39; is set.)
611
+ * @param collectiontypeid The ID of the collection type where these assets should come from. (Is not required when \&#39;collectionid\&#39; is set.) CAUTION: The assets returned are not distinct &#x3D;&gt; Duplicates are possible if assets are in multiple collections in this collection type!
611
612
  * @param fields This limits the fields which are returned, separated by comma (\&#39;,\&#39;). Blobs can be limited with \&#39;.\&#39; on their container. (i.e. fields&#x3D;blobs.thumbnails). Only if \&#39;thumbnails\&#39; is set, the placeholder of this asset type are returned if no thumbnail blob is found.
612
613
  * @param expose This indicates if the given blobs should have URLs where these can be requested. (If not limited through \&#39;fields\&#39; parameter it will expose all URLs of all blobs.)
613
614
  * @param continuationToken Each result returns the continous token if more results are available than requested. With this token, the next page could be fetched. (URL encoded!)
614
615
  * @param limit This number limits the page result of assets.
615
- * @param orderby How the return assets are sorted. Default is property: created_date (newest first).
616
+ * @param orderby How the return assets are sorted. Default is property: modified_date (newest first).
616
617
  * @param filter This will limit the output on specific parameters which are separated by \&#39;:\&#39;, \&#39;!:\&#39;, \&#39;&gt;\&#39;, \&#39;&gt;&#x3D;\&#39;, \&#39;&lt;\&#39;, \&#39;&lt;&#x3D;\&#39;
617
618
  * @param items The items can be extended to fully filled items.
618
619
  * @param translations When default language should be returned and the translation dictionary is delivered. (Ignores the \&quot;Accept-Language\&quot; header)
@@ -621,6 +622,7 @@ export class AssetManagementService {
621
622
  */
622
623
  public httpAssetsGet(
623
624
  collectionid?: string,
625
+ collectiontypeid?: string,
624
626
  fields?: string,
625
627
  expose?: boolean,
626
628
  continuationToken?: string,
@@ -635,6 +637,7 @@ export class AssetManagementService {
635
637
  ): Observable<AssetPageResult>;
636
638
  public httpAssetsGet(
637
639
  collectionid?: string,
640
+ collectiontypeid?: string,
638
641
  fields?: string,
639
642
  expose?: boolean,
640
643
  continuationToken?: string,
@@ -649,6 +652,7 @@ export class AssetManagementService {
649
652
  ): Observable<HttpResponse<AssetPageResult>>;
650
653
  public httpAssetsGet(
651
654
  collectionid?: string,
655
+ collectiontypeid?: string,
652
656
  fields?: string,
653
657
  expose?: boolean,
654
658
  continuationToken?: string,
@@ -663,6 +667,7 @@ export class AssetManagementService {
663
667
  ): Observable<HttpEvent<AssetPageResult>>;
664
668
  public httpAssetsGet(
665
669
  collectionid?: string,
670
+ collectiontypeid?: string,
666
671
  fields?: string,
667
672
  expose?: boolean,
668
673
  continuationToken?: string,
@@ -679,6 +684,9 @@ export class AssetManagementService {
679
684
  if (collectionid !== undefined && collectionid !== null) {
680
685
  queryParameters = this.addToHttpParams(queryParameters, <any>collectionid, 'collectionid');
681
686
  }
687
+ if (collectiontypeid !== undefined && collectiontypeid !== null) {
688
+ queryParameters = this.addToHttpParams(queryParameters, <any>collectiontypeid, 'collectiontypeid');
689
+ }
682
690
  if (fields !== undefined && fields !== null) {
683
691
  queryParameters = this.addToHttpParams(queryParameters, <any>fields, 'fields');
684
692
  }
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1315,7 +1315,7 @@ export class AssetOperationsService {
1315
1315
  }
1316
1316
 
1317
1317
  /**
1318
- * This endpoint repairs the items of an asset. Checks all collection type items and assign it to asset.
1318
+ * This endpoint repairs the asset, it\&#39;s items, custom fields and collections. It also checks the original blob and the blobs of the asset.
1319
1319
  * @param id The ID of the asset.
1320
1320
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1321
1321
  * @param reportProgress flag to report request and response progress.
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,6 +17,7 @@ import { CustomHttpParameterCodec } from '../encoder';
17
17
  import { Observable } from 'rxjs';
18
18
 
19
19
  import { AgravityErrorResponse } from '../model/models';
20
+ import { AgravityInfoResponse } from '../model/models';
20
21
  import { Collection } from '../model/models';
21
22
 
22
23
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
@@ -728,4 +729,51 @@ export class CollectionManagementService {
728
729
  reportProgress: reportProgress
729
730
  });
730
731
  }
732
+
733
+ /**
734
+ * This endpoint repairs the items of an collection. Checks all collection type items and assign it to collection.
735
+ * @param id The ID of the collection.
736
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
737
+ * @param reportProgress flag to report request and response progress.
738
+ */
739
+ public httpPatchCollectionRepair(id: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<AgravityInfoResponse>;
740
+ public httpPatchCollectionRepair(id: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpResponse<AgravityInfoResponse>>;
741
+ public httpPatchCollectionRepair(id: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json' }): Observable<HttpEvent<AgravityInfoResponse>>;
742
+ public httpPatchCollectionRepair(id: string, observe: any = 'body', reportProgress: boolean = false, options?: { httpHeaderAccept?: 'application/json' }): Observable<any> {
743
+ if (id === null || id === undefined) {
744
+ throw new Error('Required parameter id was null or undefined when calling httpPatchCollectionRepair.');
745
+ }
746
+
747
+ let headers = this.defaultHeaders;
748
+
749
+ let credential: string | undefined;
750
+ // authentication (msal_auth) required
751
+ credential = this.configuration.lookupCredential('msal_auth');
752
+ if (credential) {
753
+ headers = headers.set('Authorization', 'Bearer ' + credential);
754
+ }
755
+
756
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
757
+ if (httpHeaderAcceptSelected === undefined) {
758
+ // to determine the Accept header
759
+ const httpHeaderAccepts: string[] = ['application/json'];
760
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
761
+ }
762
+ if (httpHeaderAcceptSelected !== undefined) {
763
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
764
+ }
765
+
766
+ let responseType_: 'text' | 'json' = 'json';
767
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
768
+ responseType_ = 'text';
769
+ }
770
+
771
+ return this.httpClient.patch<AgravityInfoResponse>(`${this.configuration.basePath}/collections/${encodeURIComponent(String(id))}/repair`, null, {
772
+ responseType: <any>responseType_,
773
+ withCredentials: this.configuration.withCredentials,
774
+ headers: headers,
775
+ observe: observe,
776
+ reportProgress: reportProgress
777
+ });
778
+ }
731
779
  }
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -607,4 +607,78 @@ export class CollectionTypeManagementService {
607
607
  reportProgress: reportProgress
608
608
  });
609
609
  }
610
+
611
+ /**
612
+ * This endpoint updates all collection type items in all collection types regarding: Label, Order, Translations and Group
613
+ * @param collTypeItem Items which should be updated.
614
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
615
+ * @param reportProgress flag to report request and response progress.
616
+ */
617
+ public httpUpdateCollectionTypeItems(
618
+ collTypeItem: Array<CollTypeItem>,
619
+ observe?: 'body',
620
+ reportProgress?: boolean,
621
+ options?: { httpHeaderAccept?: 'application/json' }
622
+ ): Observable<Array<CollectionType>>;
623
+ public httpUpdateCollectionTypeItems(
624
+ collTypeItem: Array<CollTypeItem>,
625
+ observe?: 'response',
626
+ reportProgress?: boolean,
627
+ options?: { httpHeaderAccept?: 'application/json' }
628
+ ): Observable<HttpResponse<Array<CollectionType>>>;
629
+ public httpUpdateCollectionTypeItems(
630
+ collTypeItem: Array<CollTypeItem>,
631
+ observe?: 'events',
632
+ reportProgress?: boolean,
633
+ options?: { httpHeaderAccept?: 'application/json' }
634
+ ): Observable<HttpEvent<Array<CollectionType>>>;
635
+ public httpUpdateCollectionTypeItems(
636
+ collTypeItem: Array<CollTypeItem>,
637
+ observe: any = 'body',
638
+ reportProgress: boolean = false,
639
+ options?: { httpHeaderAccept?: 'application/json' }
640
+ ): Observable<any> {
641
+ if (collTypeItem === null || collTypeItem === undefined) {
642
+ throw new Error('Required parameter collTypeItem was null or undefined when calling httpUpdateCollectionTypeItems.');
643
+ }
644
+
645
+ let headers = this.defaultHeaders;
646
+
647
+ let credential: string | undefined;
648
+ // authentication (msal_auth) required
649
+ credential = this.configuration.lookupCredential('msal_auth');
650
+ if (credential) {
651
+ headers = headers.set('Authorization', 'Bearer ' + credential);
652
+ }
653
+
654
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
655
+ if (httpHeaderAcceptSelected === undefined) {
656
+ // to determine the Accept header
657
+ const httpHeaderAccepts: string[] = ['application/json'];
658
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
659
+ }
660
+ if (httpHeaderAcceptSelected !== undefined) {
661
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
662
+ }
663
+
664
+ // to determine the Content-Type header
665
+ const consumes: string[] = ['application/json'];
666
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
667
+ if (httpContentTypeSelected !== undefined) {
668
+ headers = headers.set('Content-Type', httpContentTypeSelected);
669
+ }
670
+
671
+ let responseType_: 'text' | 'json' = 'json';
672
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
673
+ responseType_ = 'text';
674
+ }
675
+
676
+ return this.httpClient.post<Array<CollectionType>>(`${this.configuration.basePath}/collectiontypesitems`, collTypeItem, {
677
+ responseType: <any>responseType_,
678
+ withCredentials: this.configuration.withCredentials,
679
+ headers: headers,
680
+ observe: observe,
681
+ reportProgress: reportProgress
682
+ });
683
+ }
610
684
  }
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
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.0.1
5
+ * The version of the OpenAPI document: 7.2.0
6
6
  * Contact: office@agravity.io
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,6 +19,7 @@ import { Observable } from 'rxjs';
19
19
  import { AgravityErrorResponse } from '../model/models';
20
20
  import { AgravityInfoResponse } from '../model/models';
21
21
  import { AgravityVersion } from '../model/models';
22
+ import { DeletedEntities } from '../model/models';
22
23
 
23
24
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
24
25
  import { AgravityConfiguration } from '../configuration';
@@ -258,6 +259,99 @@ export class GeneralManagementService {
258
259
  });
259
260
  }
260
261
 
262
+ /**
263
+ * This endpoint checks all deleted entities in the database until a specific date and returns the elements which are deleted.
264
+ * @param entityType The date in the past since the entities are marked as deleted in the database.
265
+ * @param since The date in the past since the entities are marked as deleted in the database.
266
+ * @param until The date in the past until the entities are marked as deleted in the database.
267
+ * @param portalId If the request comes from portal this is the indicator.
268
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
269
+ * @param reportProgress flag to report request and response progress.
270
+ */
271
+ public httpGetDeletedEntities(
272
+ entityType?: string,
273
+ since?: string,
274
+ until?: string,
275
+ portalId?: string,
276
+ observe?: 'body',
277
+ reportProgress?: boolean,
278
+ options?: { httpHeaderAccept?: 'application/json' }
279
+ ): Observable<Array<DeletedEntities>>;
280
+ public httpGetDeletedEntities(
281
+ entityType?: string,
282
+ since?: string,
283
+ until?: string,
284
+ portalId?: string,
285
+ observe?: 'response',
286
+ reportProgress?: boolean,
287
+ options?: { httpHeaderAccept?: 'application/json' }
288
+ ): Observable<HttpResponse<Array<DeletedEntities>>>;
289
+ public httpGetDeletedEntities(
290
+ entityType?: string,
291
+ since?: string,
292
+ until?: string,
293
+ portalId?: string,
294
+ observe?: 'events',
295
+ reportProgress?: boolean,
296
+ options?: { httpHeaderAccept?: 'application/json' }
297
+ ): Observable<HttpEvent<Array<DeletedEntities>>>;
298
+ public httpGetDeletedEntities(
299
+ entityType?: string,
300
+ since?: string,
301
+ until?: string,
302
+ portalId?: string,
303
+ observe: any = 'body',
304
+ reportProgress: boolean = false,
305
+ options?: { httpHeaderAccept?: 'application/json' }
306
+ ): Observable<any> {
307
+ let queryParameters = new HttpParams({ encoder: this.encoder });
308
+ if (entityType !== undefined && entityType !== null) {
309
+ queryParameters = this.addToHttpParams(queryParameters, <any>entityType, 'entity_type');
310
+ }
311
+ if (since !== undefined && since !== null) {
312
+ queryParameters = this.addToHttpParams(queryParameters, <any>since, 'since');
313
+ }
314
+ if (until !== undefined && until !== null) {
315
+ queryParameters = this.addToHttpParams(queryParameters, <any>until, 'until');
316
+ }
317
+ if (portalId !== undefined && portalId !== null) {
318
+ queryParameters = this.addToHttpParams(queryParameters, <any>portalId, 'portal_id');
319
+ }
320
+
321
+ let headers = this.defaultHeaders;
322
+
323
+ let credential: string | undefined;
324
+ // authentication (msal_auth) required
325
+ credential = this.configuration.lookupCredential('msal_auth');
326
+ if (credential) {
327
+ headers = headers.set('Authorization', 'Bearer ' + credential);
328
+ }
329
+
330
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
331
+ if (httpHeaderAcceptSelected === undefined) {
332
+ // to determine the Accept header
333
+ const httpHeaderAccepts: string[] = ['application/json'];
334
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
335
+ }
336
+ if (httpHeaderAcceptSelected !== undefined) {
337
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
338
+ }
339
+
340
+ let responseType_: 'text' | 'json' = 'json';
341
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
342
+ responseType_ = 'text';
343
+ }
344
+
345
+ return this.httpClient.get<Array<DeletedEntities>>(`${this.configuration.basePath}/deleted`, {
346
+ params: queryParameters,
347
+ responseType: <any>responseType_,
348
+ withCredentials: this.configuration.withCredentials,
349
+ headers: headers,
350
+ observe: observe,
351
+ reportProgress: reportProgress
352
+ });
353
+ }
354
+
261
355
  /**
262
356
  * This endpoint runs the initial setup of an environment.
263
357
  * @param createfolder (Default true) - Set to false if base collections (Folder) should not be created.