@agravity/public 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 (84) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/api.ts +3 -0
  4. package/api/publicAssetManagement.pub.agravity.ts +11 -3
  5. package/api/publicAssetOperations.pub.agravity.ts +1 -1
  6. package/api/publicAssetPublishing.pub.agravity.ts +1 -1
  7. package/api/publicAssetVersioning.pub.agravity.ts +1 -1
  8. package/api/publicAuthenticationManagement.pub.agravity.ts +1 -1
  9. package/api/publicCollectionManagement.pub.agravity.ts +1 -1
  10. package/api/publicCollectionSecureUpload.pub.agravity.ts +1 -1
  11. package/api/publicCollectionTypeManagement.pub.agravity.ts +1 -1
  12. package/api/publicConfigurationManagement.pub.agravity.ts +1 -1
  13. package/api/publicDownloadFormatManagement.pub.agravity.ts +1 -1
  14. package/api/publicEndpoints.pub.agravity.ts +174 -0
  15. package/api/publicGeneralManagement.pub.agravity.ts +95 -1
  16. package/api/publicHelperTools.pub.agravity.ts +60 -13
  17. package/api/publicPortalManagement.pub.agravity.ts +48 -1
  18. package/api/publicPublishing.pub.agravity.ts +1 -1
  19. package/api/publicSavedSearch.pub.agravity.ts +1 -1
  20. package/api/publicSearchManagement.pub.agravity.ts +134 -1
  21. package/api/publicSharingManagement.pub.agravity.ts +1 -1
  22. package/api/publicSignalRConnectionManagement.pub.agravity.ts +1 -1
  23. package/api/publicStaticDefinedListManagement.pub.agravity.ts +1 -1
  24. package/api/publicTranslationManagement.pub.agravity.ts +1 -1
  25. package/api/publicWebAppData.pub.agravity.ts +1 -1
  26. package/api/publicWorkspaceManagement.pub.agravity.ts +1 -1
  27. package/api.module.ts +1 -0
  28. package/model/agravityErrorResponse.pub.agravity.ts +1 -1
  29. package/model/agravityVersion.pub.agravity.ts +1 -1
  30. package/model/allWebAppData.pub.agravity.ts +1 -1
  31. package/model/artificialIntelligenceGroup.pub.agravity.ts +1 -1
  32. package/model/asset.pub.agravity.ts +1 -1
  33. package/model/assetAvailability.pub.agravity.ts +1 -1
  34. package/model/assetBlob.pub.agravity.ts +1 -1
  35. package/model/assetIdFormat.pub.agravity.ts +1 -1
  36. package/model/assetPageResult.pub.agravity.ts +1 -1
  37. package/model/azSearchOptions.pub.agravity.ts +1 -1
  38. package/model/badRequestResult.pub.agravity.ts +1 -1
  39. package/model/collTypeItem.pub.agravity.ts +1 -1
  40. package/model/collection.pub.agravity.ts +1 -1
  41. package/model/collectionType.pub.agravity.ts +1 -1
  42. package/model/collectionUDL.pub.agravity.ts +1 -1
  43. package/model/createSftpUserResult.pub.agravity.ts +1 -1
  44. package/model/dataResult.pub.agravity.ts +1 -1
  45. package/model/deletedEntities.pub.agravity.ts +18 -0
  46. package/model/distZipResponse.pub.agravity.ts +1 -1
  47. package/model/downloadFormat.pub.agravity.ts +1 -1
  48. package/model/dynamicImageOperation.pub.agravity.ts +1 -1
  49. package/model/entityId.pub.agravity.ts +1 -1
  50. package/model/entityIdName.pub.agravity.ts +1 -1
  51. package/model/frontendAppConfig.pub.agravity.ts +1 -1
  52. package/model/groupAllAppData.pub.agravity.ts +1 -1
  53. package/model/metadata.pub.agravity.ts +1 -1
  54. package/model/models.ts +1 -0
  55. package/model/moveCollectionBody.pub.agravity.ts +1 -1
  56. package/model/okResult.pub.agravity.ts +1 -1
  57. package/model/permissionEntity.pub.agravity.ts +1 -1
  58. package/model/portal.pub.agravity.ts +1 -1
  59. package/model/portalConfiguration.pub.agravity.ts +1 -1
  60. package/model/portalLanguages.pub.agravity.ts +1 -1
  61. package/model/portalLinks.pub.agravity.ts +1 -1
  62. package/model/portalTheme.pub.agravity.ts +1 -1
  63. package/model/portalZipRequest.pub.agravity.ts +1 -1
  64. package/model/publishEntity.pub.agravity.ts +1 -1
  65. package/model/publishedAsset.pub.agravity.ts +1 -1
  66. package/model/quickShareFull.pub.agravity.ts +1 -1
  67. package/model/sasToken.pub.agravity.ts +1 -1
  68. package/model/savedSearch.pub.agravity.ts +1 -1
  69. package/model/searchFacet.pub.agravity.ts +1 -1
  70. package/model/searchFacetEntity.pub.agravity.ts +1 -1
  71. package/model/searchResult.pub.agravity.ts +1 -1
  72. package/model/searchableItem.pub.agravity.ts +1 -1
  73. package/model/secureUploadEntity.pub.agravity.ts +1 -1
  74. package/model/sharedAllowedFormat.pub.agravity.ts +1 -1
  75. package/model/sharedAsset.pub.agravity.ts +1 -1
  76. package/model/sharedCollectionFull.pub.agravity.ts +1 -1
  77. package/model/sharedCollectionZipRequest.pub.agravity.ts +1 -1
  78. package/model/signalRConnectionInfo.pub.agravity.ts +1 -1
  79. package/model/staticDefinedList.pub.agravity.ts +1 -1
  80. package/model/versionEntity.pub.agravity.ts +1 -1
  81. package/model/versionedAsset.pub.agravity.ts +1 -1
  82. package/model/whereParam.pub.agravity.ts +1 -1
  83. package/model/workspace.pub.agravity.ts +1 -1
  84. package/package.json +1 -1
@@ -13,6 +13,7 @@ api/publicCollectionSecureUpload.pub.agravity.ts
13
13
  api/publicCollectionTypeManagement.pub.agravity.ts
14
14
  api/publicConfigurationManagement.pub.agravity.ts
15
15
  api/publicDownloadFormatManagement.pub.agravity.ts
16
+ api/publicEndpoints.pub.agravity.ts
16
17
  api/publicGeneralManagement.pub.agravity.ts
17
18
  api/publicHelperTools.pub.agravity.ts
18
19
  api/publicPortalManagement.pub.agravity.ts
@@ -46,6 +47,7 @@ model/collectionType.pub.agravity.ts
46
47
  model/collectionUDL.pub.agravity.ts
47
48
  model/createSftpUserResult.pub.agravity.ts
48
49
  model/dataResult.pub.agravity.ts
50
+ model/deletedEntities.pub.agravity.ts
49
51
  model/distZipResponse.pub.agravity.ts
50
52
  model/downloadFormat.pub.agravity.ts
51
53
  model/dynamicImageOperation.pub.agravity.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @agravity/public@7.0.1
1
+ ## @agravity/public@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/public@7.0.1 --save
22
+ npm install @agravity/public@7.2.0 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
package/api/api.ts CHANGED
@@ -18,6 +18,8 @@ export * from './publicConfigurationManagement.pub.agravity';
18
18
  import { PublicConfigurationManagementService } from './publicConfigurationManagement.pub.agravity';
19
19
  export * from './publicDownloadFormatManagement.pub.agravity';
20
20
  import { PublicDownloadFormatManagementService } from './publicDownloadFormatManagement.pub.agravity';
21
+ export * from './publicEndpoints.pub.agravity';
22
+ import { PublicEndpointsService } from './publicEndpoints.pub.agravity';
21
23
  export * from './publicGeneralManagement.pub.agravity';
22
24
  import { PublicGeneralManagementService } from './publicGeneralManagement.pub.agravity';
23
25
  export * from './publicHelperTools.pub.agravity';
@@ -53,6 +55,7 @@ export const APIS = [
53
55
  PublicCollectionTypeManagementService,
54
56
  PublicConfigurationManagementService,
55
57
  PublicDownloadFormatManagementService,
58
+ PublicEndpointsService,
56
59
  PublicGeneralManagementService,
57
60
  PublicHelperToolsService,
58
61
  PublicPortalManagementService,
@@ -2,7 +2,7 @@
2
2
  * Agravity OpenAPI Documentation - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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).
@@ -310,12 +310,13 @@ export class PublicAssetManagementService {
310
310
 
311
311
  /**
312
312
  * This endpoint lists all the assets, which are stored in the database and not deleted (status \&quot;A\&quot;)
313
- * @param collectionid The ID of the collection where these assets should come from. (\&quot;empty\&quot; is allowed)
313
+ * @param collectionid The ID of the collection where these assets should come from. (Is not required when \&#39;collectiontypeid\&#39; is set.)
314
+ * @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!
314
315
  * @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.
315
316
  * @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.)
316
317
  * @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!)
317
318
  * @param limit This number limits the page result of assets.
318
- * @param orderby How the return assets are sorted. Default is property: created_date (newest first).
319
+ * @param orderby How the return assets are sorted. Default is property: modified_date (newest first).
319
320
  * @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;
320
321
  * @param items The items can be extended to fully filled items.
321
322
  * @param translations When default language should be returned and the translation dictionary is delivered. (Ignores the \&quot;Accept-Language\&quot; header)
@@ -324,6 +325,7 @@ export class PublicAssetManagementService {
324
325
  */
325
326
  public httpAssetsGet(
326
327
  collectionid?: string,
328
+ collectiontypeid?: string,
327
329
  fields?: string,
328
330
  expose?: boolean,
329
331
  continuationToken?: string,
@@ -338,6 +340,7 @@ export class PublicAssetManagementService {
338
340
  ): Observable<AssetPageResult>;
339
341
  public httpAssetsGet(
340
342
  collectionid?: string,
343
+ collectiontypeid?: string,
341
344
  fields?: string,
342
345
  expose?: boolean,
343
346
  continuationToken?: string,
@@ -352,6 +355,7 @@ export class PublicAssetManagementService {
352
355
  ): Observable<HttpResponse<AssetPageResult>>;
353
356
  public httpAssetsGet(
354
357
  collectionid?: string,
358
+ collectiontypeid?: string,
355
359
  fields?: string,
356
360
  expose?: boolean,
357
361
  continuationToken?: string,
@@ -366,6 +370,7 @@ export class PublicAssetManagementService {
366
370
  ): Observable<HttpEvent<AssetPageResult>>;
367
371
  public httpAssetsGet(
368
372
  collectionid?: string,
373
+ collectiontypeid?: string,
369
374
  fields?: string,
370
375
  expose?: boolean,
371
376
  continuationToken?: string,
@@ -382,6 +387,9 @@ export class PublicAssetManagementService {
382
387
  if (collectionid !== undefined && collectionid !== null) {
383
388
  queryParameters = this.addToHttpParams(queryParameters, <any>collectionid, 'collectionid');
384
389
  }
390
+ if (collectiontypeid !== undefined && collectiontypeid !== null) {
391
+ queryParameters = this.addToHttpParams(queryParameters, <any>collectiontypeid, 'collectiontypeid');
392
+ }
385
393
  if (fields !== undefined && fields !== null) {
386
394
  queryParameters = this.addToHttpParams(queryParameters, <any>fields, 'fields');
387
395
  }
@@ -2,7 +2,7 @@
2
2
  * Agravity OpenAPI Documentation - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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).
@@ -0,0 +1,174 @@
1
+ /**
2
+ * Agravity OpenAPI Documentation - Public Functions
3
+ * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><br/>Copyright © Agravity GmbH 2024. All Rights Reserved
4
+ *
5
+ * The version of the OpenAPI document: 7.2.0
6
+ * Contact: office@agravity.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /* tslint:disable:no-unused-variable member-ordering */
13
+
14
+ import { Inject, Injectable, Optional } from '@angular/core';
15
+ import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
16
+ import { CustomHttpParameterCodec } from '../encoder';
17
+ import { Observable } from 'rxjs';
18
+
19
+ import { AgravityErrorResponse } from '../model/models';
20
+
21
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
22
+ import { AgravityPublicConfiguration } from '../configuration';
23
+
24
+ @Injectable({
25
+ providedIn: 'root'
26
+ })
27
+ export class PublicEndpointsService {
28
+ protected basePath = 'http://localhost:7072/api';
29
+ public defaultHeaders = new HttpHeaders();
30
+ public configuration = new AgravityPublicConfiguration();
31
+ public encoder: HttpParameterCodec;
32
+
33
+ constructor(
34
+ protected httpClient: HttpClient,
35
+ @Optional() @Inject(BASE_PATH) basePath: string,
36
+ @Optional() configuration: AgravityPublicConfiguration
37
+ ) {
38
+ if (configuration) {
39
+ this.configuration = configuration;
40
+ }
41
+ if (typeof this.configuration.basePath !== 'string') {
42
+ if (typeof basePath !== 'string') {
43
+ basePath = this.basePath;
44
+ }
45
+ this.configuration.basePath = basePath;
46
+ }
47
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
48
+ }
49
+
50
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
51
+ if (typeof value === 'object' && value instanceof Date === false) {
52
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
53
+ } else {
54
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
55
+ }
56
+ return httpParams;
57
+ }
58
+
59
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
60
+ if (value == null) {
61
+ return httpParams;
62
+ }
63
+
64
+ if (typeof value === 'object') {
65
+ if (Array.isArray(value)) {
66
+ (value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
67
+ } else if (value instanceof Date) {
68
+ if (key != null) {
69
+ httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
70
+ } else {
71
+ throw Error('key may not be null if value is Date');
72
+ }
73
+ } else {
74
+ Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
75
+ }
76
+ } else if (key != null) {
77
+ httpParams = httpParams.append(key, value);
78
+ } else {
79
+ throw Error('key may not be null if value is not object or array');
80
+ }
81
+ return httpParams;
82
+ }
83
+
84
+ /**
85
+ * This endpoint returns the content of an asset which is available in a specific portal (portal_id is \&quot;key\&quot;) and returns the blob directly.
86
+ * @param assetId The ID of the asset.
87
+ * @param portalId If the request comes from portal this is the indicator.
88
+ * @param format The name of the format (download format) or container.
89
+ * @param download True if a direct download with file name should be started.
90
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
91
+ * @param reportProgress flag to report request and response progress.
92
+ */
93
+ public httpAssetGetViewForPortal(
94
+ assetId: string,
95
+ portalId: string,
96
+ format: string,
97
+ download?: string,
98
+ observe?: 'body',
99
+ reportProgress?: boolean,
100
+ options?: { httpHeaderAccept?: 'application/octet-stream' | 'application/json' }
101
+ ): Observable<Blob>;
102
+ public httpAssetGetViewForPortal(
103
+ assetId: string,
104
+ portalId: string,
105
+ format: string,
106
+ download?: string,
107
+ observe?: 'response',
108
+ reportProgress?: boolean,
109
+ options?: { httpHeaderAccept?: 'application/octet-stream' | 'application/json' }
110
+ ): Observable<HttpResponse<Blob>>;
111
+ public httpAssetGetViewForPortal(
112
+ assetId: string,
113
+ portalId: string,
114
+ format: string,
115
+ download?: string,
116
+ observe?: 'events',
117
+ reportProgress?: boolean,
118
+ options?: { httpHeaderAccept?: 'application/octet-stream' | 'application/json' }
119
+ ): Observable<HttpEvent<Blob>>;
120
+ public httpAssetGetViewForPortal(
121
+ assetId: string,
122
+ portalId: string,
123
+ format: string,
124
+ download?: string,
125
+ observe: any = 'body',
126
+ reportProgress: boolean = false,
127
+ options?: { httpHeaderAccept?: 'application/octet-stream' | 'application/json' }
128
+ ): Observable<any> {
129
+ if (assetId === null || assetId === undefined) {
130
+ throw new Error('Required parameter assetId was null or undefined when calling httpAssetGetViewForPortal.');
131
+ }
132
+ if (portalId === null || portalId === undefined) {
133
+ throw new Error('Required parameter portalId was null or undefined when calling httpAssetGetViewForPortal.');
134
+ }
135
+ if (format === null || format === undefined) {
136
+ throw new Error('Required parameter format was null or undefined when calling httpAssetGetViewForPortal.');
137
+ }
138
+
139
+ let queryParameters = new HttpParams({ encoder: this.encoder });
140
+ if (assetId !== undefined && assetId !== null) {
141
+ queryParameters = this.addToHttpParams(queryParameters, <any>assetId, 'asset_id');
142
+ }
143
+ if (portalId !== undefined && portalId !== null) {
144
+ queryParameters = this.addToHttpParams(queryParameters, <any>portalId, 'portal_id');
145
+ }
146
+ if (format !== undefined && format !== null) {
147
+ queryParameters = this.addToHttpParams(queryParameters, <any>format, 'format');
148
+ }
149
+ if (download !== undefined && download !== null) {
150
+ queryParameters = this.addToHttpParams(queryParameters, <any>download, 'download');
151
+ }
152
+
153
+ let headers = this.defaultHeaders;
154
+
155
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
156
+ if (httpHeaderAcceptSelected === undefined) {
157
+ // to determine the Accept header
158
+ const httpHeaderAccepts: string[] = ['application/octet-stream', 'application/json'];
159
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
160
+ }
161
+ if (httpHeaderAcceptSelected !== undefined) {
162
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
163
+ }
164
+
165
+ return this.httpClient.get(`${this.configuration.basePath}/public/view`, {
166
+ params: queryParameters,
167
+ responseType: 'blob',
168
+ withCredentials: this.configuration.withCredentials,
169
+ headers: headers,
170
+ observe: observe,
171
+ reportProgress: reportProgress
172
+ });
173
+ }
174
+ }
@@ -2,7 +2,7 @@
2
2
  * Agravity OpenAPI Documentation - Public Functions
3
3
  * <h1>Agravity API Reference</h1>This is the public 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>Collection Sharing (consume share)</li> <li>Secure Upload (validate + upload file)</li> <li>Download ZIP</li> <li>Search</li> <li>General management</li></ul><h2> Operations</h2>Agravity API performs the following operations:<ul> <li>List / get single collection types</li> <li>List / get single collections</li> <li>List / get single assets</li> <li>Operations on assets like: blobs, rotate, resize, similar, collections, customfields, download</li> <li>List / get single published asset</li> <li>Search for assets or collections</li> <li>Get version of deployment</li></ul><br/><b>API key is needed to access these endpoints.</b><br/><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 { AgravityVersion } from '../model/models';
21
21
  import { BadRequestResult } from '../model/models';
22
+ import { DeletedEntities } from '../model/models';
22
23
  import { OkResult } from '../model/models';
23
24
 
24
25
  import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
@@ -119,6 +120,99 @@ export class PublicGeneralManagementService {
119
120
  });
120
121
  }
121
122
 
123
+ /**
124
+ * This endpoint checks all deleted entities in the database until a specific date and returns the elements which are deleted.
125
+ * @param entityType The date in the past since the entities are marked as deleted in the database.
126
+ * @param since The date in the past since the entities are marked as deleted in the database.
127
+ * @param until The date in the past until the entities are marked as deleted in the database.
128
+ * @param portalId If the request comes from portal this is the indicator.
129
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
130
+ * @param reportProgress flag to report request and response progress.
131
+ */
132
+ public httpGetDeletedEntities(
133
+ entityType?: string,
134
+ since?: string,
135
+ until?: string,
136
+ portalId?: string,
137
+ observe?: 'body',
138
+ reportProgress?: boolean,
139
+ options?: { httpHeaderAccept?: 'application/json' }
140
+ ): Observable<Array<DeletedEntities>>;
141
+ public httpGetDeletedEntities(
142
+ entityType?: string,
143
+ since?: string,
144
+ until?: string,
145
+ portalId?: string,
146
+ observe?: 'response',
147
+ reportProgress?: boolean,
148
+ options?: { httpHeaderAccept?: 'application/json' }
149
+ ): Observable<HttpResponse<Array<DeletedEntities>>>;
150
+ public httpGetDeletedEntities(
151
+ entityType?: string,
152
+ since?: string,
153
+ until?: string,
154
+ portalId?: string,
155
+ observe?: 'events',
156
+ reportProgress?: boolean,
157
+ options?: { httpHeaderAccept?: 'application/json' }
158
+ ): Observable<HttpEvent<Array<DeletedEntities>>>;
159
+ public httpGetDeletedEntities(
160
+ entityType?: string,
161
+ since?: string,
162
+ until?: string,
163
+ portalId?: string,
164
+ observe: any = 'body',
165
+ reportProgress: boolean = false,
166
+ options?: { httpHeaderAccept?: 'application/json' }
167
+ ): Observable<any> {
168
+ let queryParameters = new HttpParams({ encoder: this.encoder });
169
+ if (entityType !== undefined && entityType !== null) {
170
+ queryParameters = this.addToHttpParams(queryParameters, <any>entityType, 'entity_type');
171
+ }
172
+ if (since !== undefined && since !== null) {
173
+ queryParameters = this.addToHttpParams(queryParameters, <any>since, 'since');
174
+ }
175
+ if (until !== undefined && until !== null) {
176
+ queryParameters = this.addToHttpParams(queryParameters, <any>until, 'until');
177
+ }
178
+ if (portalId !== undefined && portalId !== null) {
179
+ queryParameters = this.addToHttpParams(queryParameters, <any>portalId, 'portal_id');
180
+ }
181
+
182
+ let headers = this.defaultHeaders;
183
+
184
+ let credential: string | undefined;
185
+ // authentication (function_key) required
186
+ credential = this.configuration.lookupCredential('function_key');
187
+ if (credential) {
188
+ headers = headers.set('x-functions-key', credential);
189
+ }
190
+
191
+ let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
192
+ if (httpHeaderAcceptSelected === undefined) {
193
+ // to determine the Accept header
194
+ const httpHeaderAccepts: string[] = ['application/json'];
195
+ httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
196
+ }
197
+ if (httpHeaderAcceptSelected !== undefined) {
198
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
199
+ }
200
+
201
+ let responseType_: 'text' | 'json' = 'json';
202
+ if (httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {
203
+ responseType_ = 'text';
204
+ }
205
+
206
+ return this.httpClient.get<Array<DeletedEntities>>(`${this.configuration.basePath}/deleted`, {
207
+ params: queryParameters,
208
+ responseType: <any>responseType_,
209
+ withCredentials: this.configuration.withCredentials,
210
+ headers: headers,
211
+ observe: observe,
212
+ reportProgress: reportProgress
213
+ });
214
+ }
215
+
122
216
  /**
123
217
  * Trigger the durable execution to continue
124
218
  * @param instanceId The instance ID of the durable function.