@agravity/private 10.3.5 → 11.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.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api/aIOperations.agravity.ts +38 -14
- package/api/assetIconRuleManagement.agravity.ts +33 -19
- package/api/assetManagement.agravity.ts +74 -37
- package/api/assetOperations.agravity.ts +175 -86
- package/api/assetPublishing.agravity.ts +33 -14
- package/api/assetRelationManagement.agravity.ts +37 -21
- package/api/assetRelationTypeManagement.agravity.ts +36 -20
- package/api/assetVersioning.agravity.ts +33 -14
- package/api/authenticationManagement.agravity.ts +57 -24
- package/api/collectionManagement.agravity.ts +86 -46
- package/api/collectionShareManagement.agravity.ts +29 -15
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +26 -15
- package/api/collectionTypeManagement.agravity.ts +50 -27
- package/api/commentsManagement.agravity.ts +14 -6
- package/api/configurationManagement.agravity.ts +25 -13
- package/api/dashboardWidgetManagement.agravity.ts +21 -10
- package/api/dataImportExportManagement.agravity.ts +49 -25
- package/api/downloadFormatManagement.agravity.ts +36 -20
- package/api/downloadZip.agravity.ts +11 -5
- package/api/featuresManagement.agravity.ts +5 -3
- package/api/generalManagement.agravity.ts +43 -22
- package/api/helperTools.agravity.ts +76 -35
- package/api/historyEntryManagement.agravity.ts +9 -6
- package/api/iccProfileManagement.agravity.ts +5 -3
- package/api/listBlobs.agravity.ts +8 -4
- package/api/listQueues.agravity.ts +5 -3
- package/api/listTables.agravity.ts +5 -3
- package/api/notificationManagement.agravity.ts +11 -5
- package/api/permissionsManagement.agravity.ts +14 -6
- package/api/portalManagement.agravity.ts +26 -10
- package/api/portalsUsersManagement.agravity.ts +17 -7
- package/api/profilesManagement.agravity.ts +20 -8
- package/api/publishing.agravity.ts +11 -7
- package/api/quickshareManagement.agravity.ts +36 -19
- package/api/savedSearchManagement.agravity.ts +23 -13
- package/api/searchManagement.agravity.ts +100 -54
- package/api/searchSettingsOperations.agravity.ts +8 -4
- package/api/secureUpload.agravity.ts +28 -14
- package/api/signalRConnectionManagement.agravity.ts +11 -5
- package/api/staticDefinedListManagement.agravity.ts +35 -20
- package/api/stockImport.agravity.ts +22 -13
- package/api/structureImport.agravity.ts +13 -8
- package/api/translationManagement.agravity.ts +32 -17
- package/api/webAppData.agravity.ts +14 -6
- package/api/widgetLayoutManagement.agravity.ts +8 -4
- package/api/wordpressManagement.agravity.ts +28 -16
- package/api/workspaceManagement.agravity.ts +39 -21
- package/api.base.service.ts +41 -27
- package/configuration.ts +3 -2
- package/encoder.ts +15 -0
- package/package.json +9 -9
- package/query.params.ts +165 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.20.0
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @agravity/private@
|
|
1
|
+
# @agravity/private@11.0.0
|
|
2
2
|
|
|
3
3
|
<p>Agravity is a powerful, enterprise-grade Headless Digital Asset Management (DAM) system designed for organizations that need complete control over how they manage, organize, and distribute their digital assets.</p> <h2>Key Features</h2> <ul> <li>Asset Management - Upload, organize, and manage all types of digital assets (images, videos, documents, etc.)</li> <li>Collections & Hierarchies - Create flexible folder structures and collection types with customizable metadata</li> <li>Advanced Search - Powered by Azure Cognitive Search with AI-enhanced capabilities for intelligent discovery</li> <li>AI Integration - Leverage AI to automatically generate metadata, tags, and descriptions for your assets</li> <li>Versioning - Track and restore previous versions of your assets with complete version history</li> <li>Publishing & Distribution - Publish assets to various channels including Vimeo, CDN, and custom portals</li> <li>Portal System - Create public-facing portals with granular permission controls and custom branding</li> <li>Download Formats - Define custom download formats with image transformations and optimizations</li> <li>Collaboration Features - Share collections, create quick shares, and manage team access with role-based permissions</li> <li>Multi-Language Support - Full translation capabilities for all metadata and UI elements</li> <li>API-First Architecture - Complete REST API for seamless integration with your applications</li> </ul> <h2>Headless DAM Benefits</h2> <p>As a headless DAM solution, Agravity separates content management from presentation. This means:</p> <ul> <li>Flexibility - Use the same assets across multiple channels and applications without duplication</li> <li>API-Driven - Access all functionality through powerful REST APIs for custom integrations</li> <li>Framework Agnostic - Integrate with any frontend framework or technology stack</li> <li>Scalability - Built on cloud-native architecture with Azure infrastructure for unlimited growth</li> <li>Multi-Channel Distribution - Publish to web, mobile, social media, and custom portals from a single source</li> </ul> <h2>Core Entities</h2> <p><strong>Assets</strong> - Your digital content (images, videos, documents). Each asset can have multiple versions, metadata, and be published to various targets.</p> <p><strong>Collections</strong> - Logical groupings of assets organized hierarchically. Support custom metadata through collection types.</p> <p><strong>Collection Types</strong> - Define the structure and metadata fields for collections, similar to database schemas.</p> <p><strong>Workspaces</strong> - Organize collection types into workspaces for multi-project management.</p> <p><strong>Download Formats</strong> - Define transformations and optimizations for assets when downloaded.</p> <p><strong>Portals</strong> - Public-facing interfaces for sharing collections with external stakeholders.</p> <h2>API Endpoints Overview</h2> <p><strong>Asset Management</strong> - Create, read, update, delete, and search assets with full metadata support</p> <p><strong>Collection Management</strong> - Organize assets into collections with hierarchical structures</p> <p><strong>AI Operations</strong> - Automatically generate asset metadata using AI-powered field generation</p> <p><strong>Publishing</strong> - Publish assets to Vimeo, CDN, or custom publishing targets</p> <p><strong>Search & Discovery</strong> - Full-text search with advanced filtering and AI-enhanced similarity search</p> <p><strong>User & Portal Management</strong> - Control access through roles, profiles, and custom portals</p> <p><strong>Content Distribution</strong> - Share collections, create download packages, and generate secure links</p> <h2>Security & Permissions</h2> <ul> <li>OAuth 2.0 authentication with Azure AD integration</li> <li>Role-based access control (RBAC) with custom profiles</li> <li>Entity-level permissions for granular control</li> <li>API key authentication for service-to-service communication</li> <li>Secure sharing with password-protected links and expiration dates</li> </ul> <h2>Use Cases</h2> <ul> <li>E-commerce product image management and distribution</li> <li>Marketing asset management across multiple channels</li> <li>Brand asset library and governance</li> <li>Video content management and publishing</li> <li>Enterprise document management with searchability</li> <li>Multi-tenant content management for agencies</li> <li>AI-powered metadata generation at scale</li> </ul> <h2>Support</h2> <p>For questions or support, contact <a href=\"mailto:support@agravity.io\">support@agravity.io</a> or visit <a href=\"https://agravity.io\">https://agravity.io</a>.</p> < p>Agravity © 2026 - Enterprise Headless Digital Asset Management</p>
|
|
4
4
|
|
|
5
|
-
The version of the OpenAPI document:
|
|
5
|
+
The version of the OpenAPI document: 11.0.0
|
|
6
6
|
|
|
7
7
|
## Building
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @agravity/private@
|
|
27
|
+
npm install @agravity/private@11.0.0 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
@@ -111,8 +111,10 @@ export class AIOperationsService extends BaseService {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* This endpoint lists all AI settings in database.
|
|
114
|
+
* @endpoint get /aisettings
|
|
114
115
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
115
116
|
* @param reportProgress flag to report request and response progress.
|
|
117
|
+
* @param options additional options
|
|
116
118
|
*/
|
|
117
119
|
public httpAISettingsGet(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }): Observable<AiSettings>;
|
|
118
120
|
public httpAISettingsGet(
|
|
@@ -163,16 +165,18 @@ export class AIOperationsService extends BaseService {
|
|
|
163
165
|
...(withCredentials ? { withCredentials } : {}),
|
|
164
166
|
headers: localVarHeaders,
|
|
165
167
|
observe: observe,
|
|
166
|
-
transferCache: localVarTransferCache,
|
|
168
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
167
169
|
reportProgress: reportProgress
|
|
168
170
|
});
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
/**
|
|
172
174
|
* This endpoint creates one AI settings entry in the database.
|
|
175
|
+
* @endpoint put /aisettings
|
|
173
176
|
* @param requestParameters
|
|
174
177
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
175
178
|
* @param reportProgress flag to report request and response progress.
|
|
179
|
+
* @param options additional options
|
|
176
180
|
*/
|
|
177
181
|
public httpAISettingsPut(
|
|
178
182
|
requestParameters: HttpAISettingsPutRequestParams,
|
|
@@ -244,16 +248,18 @@ export class AIOperationsService extends BaseService {
|
|
|
244
248
|
...(withCredentials ? { withCredentials } : {}),
|
|
245
249
|
headers: localVarHeaders,
|
|
246
250
|
observe: observe,
|
|
247
|
-
transferCache: localVarTransferCache,
|
|
251
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
248
252
|
reportProgress: reportProgress
|
|
249
253
|
});
|
|
250
254
|
}
|
|
251
255
|
|
|
252
256
|
/**
|
|
253
257
|
* This endpoint deletes the corresponding AI fields of Assets
|
|
258
|
+
* @endpoint delete /ai/fieldgeneration
|
|
254
259
|
* @param requestParameters
|
|
255
260
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
256
261
|
* @param reportProgress flag to report request and response progress.
|
|
262
|
+
* @param options additional options
|
|
257
263
|
*/
|
|
258
264
|
public httpDeleteAssetAIFieldGeneration(
|
|
259
265
|
requestParameters: HttpDeleteAssetAIFieldGenerationRequestParams,
|
|
@@ -325,16 +331,18 @@ export class AIOperationsService extends BaseService {
|
|
|
325
331
|
...(withCredentials ? { withCredentials } : {}),
|
|
326
332
|
headers: localVarHeaders,
|
|
327
333
|
observe: observe,
|
|
328
|
-
transferCache: localVarTransferCache,
|
|
334
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
329
335
|
reportProgress: reportProgress
|
|
330
336
|
});
|
|
331
337
|
}
|
|
332
338
|
|
|
333
339
|
/**
|
|
334
340
|
* This endpoint returns the AI Asset
|
|
341
|
+
* @endpoint get /ai/assets/{id}/aiasset
|
|
335
342
|
* @param requestParameters
|
|
336
343
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
337
344
|
* @param reportProgress flag to report request and response progress.
|
|
345
|
+
* @param options additional options
|
|
338
346
|
*/
|
|
339
347
|
public httpGetAIAssetById(
|
|
340
348
|
requestParameters: HttpGetAIAssetByIdRequestParams,
|
|
@@ -398,16 +406,18 @@ export class AIOperationsService extends BaseService {
|
|
|
398
406
|
...(withCredentials ? { withCredentials } : {}),
|
|
399
407
|
headers: localVarHeaders,
|
|
400
408
|
observe: observe,
|
|
401
|
-
transferCache: localVarTransferCache,
|
|
409
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
402
410
|
reportProgress: reportProgress
|
|
403
411
|
});
|
|
404
412
|
}
|
|
405
413
|
|
|
406
414
|
/**
|
|
407
415
|
* This endpoint returns the AI Asset Status
|
|
416
|
+
* @endpoint get /ai/assetsstatus/{id}
|
|
408
417
|
* @param requestParameters
|
|
409
418
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
410
419
|
* @param reportProgress flag to report request and response progress.
|
|
420
|
+
* @param options additional options
|
|
411
421
|
*/
|
|
412
422
|
public httpGetAIAssetStatusById(
|
|
413
423
|
requestParameters: HttpGetAIAssetStatusByIdRequestParams,
|
|
@@ -471,16 +481,18 @@ export class AIOperationsService extends BaseService {
|
|
|
471
481
|
...(withCredentials ? { withCredentials } : {}),
|
|
472
482
|
headers: localVarHeaders,
|
|
473
483
|
observe: observe,
|
|
474
|
-
transferCache: localVarTransferCache,
|
|
484
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
475
485
|
reportProgress: reportProgress
|
|
476
486
|
});
|
|
477
487
|
}
|
|
478
488
|
|
|
479
489
|
/**
|
|
480
490
|
* This endpoint returns the Transcript Translation for a given Asset ID
|
|
491
|
+
* @endpoint get /ai/assets/{id}/transcript/translation/{language}
|
|
481
492
|
* @param requestParameters
|
|
482
493
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
483
494
|
* @param reportProgress flag to report request and response progress.
|
|
495
|
+
* @param options additional options
|
|
484
496
|
*/
|
|
485
497
|
public httpGetAIAssetTranscriptTranslationById(
|
|
486
498
|
requestParameters: HttpGetAIAssetTranscriptTranslationByIdRequestParams,
|
|
@@ -548,15 +560,17 @@ export class AIOperationsService extends BaseService {
|
|
|
548
560
|
...(withCredentials ? { withCredentials } : {}),
|
|
549
561
|
headers: localVarHeaders,
|
|
550
562
|
observe: observe,
|
|
551
|
-
transferCache: localVarTransferCache,
|
|
563
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
552
564
|
reportProgress: reportProgress
|
|
553
565
|
});
|
|
554
566
|
}
|
|
555
567
|
|
|
556
568
|
/**
|
|
557
569
|
* This endpoint returns all deployed multimodal AI Models
|
|
570
|
+
* @endpoint get /ai/models
|
|
558
571
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
559
572
|
* @param reportProgress flag to report request and response progress.
|
|
573
|
+
* @param options additional options
|
|
560
574
|
*/
|
|
561
575
|
public httpGetAIModels(
|
|
562
576
|
observe?: 'body',
|
|
@@ -611,16 +625,18 @@ export class AIOperationsService extends BaseService {
|
|
|
611
625
|
...(withCredentials ? { withCredentials } : {}),
|
|
612
626
|
headers: localVarHeaders,
|
|
613
627
|
observe: observe,
|
|
614
|
-
transferCache: localVarTransferCache,
|
|
628
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
615
629
|
reportProgress: reportProgress
|
|
616
630
|
});
|
|
617
631
|
}
|
|
618
632
|
|
|
619
633
|
/**
|
|
620
634
|
* This endpoint applies the AI on a specific asset. It uses the AI settings from the database for all the fields to generate AI content.
|
|
635
|
+
* @endpoint patch /ai/assets
|
|
621
636
|
* @param requestParameters
|
|
622
637
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
623
638
|
* @param reportProgress flag to report request and response progress.
|
|
639
|
+
* @param options additional options
|
|
624
640
|
*/
|
|
625
641
|
public httpPatchAiAssets(
|
|
626
642
|
requestParameters: HttpPatchAiAssetsRequestParams,
|
|
@@ -692,16 +708,18 @@ export class AIOperationsService extends BaseService {
|
|
|
692
708
|
...(withCredentials ? { withCredentials } : {}),
|
|
693
709
|
headers: localVarHeaders,
|
|
694
710
|
observe: observe,
|
|
695
|
-
transferCache: localVarTransferCache,
|
|
711
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
696
712
|
reportProgress: reportProgress
|
|
697
713
|
});
|
|
698
714
|
}
|
|
699
715
|
|
|
700
716
|
/**
|
|
701
717
|
* This endpoint allows to use one asset which is used for searching similar assets.
|
|
718
|
+
* @endpoint post /ai/reverseassetsearch
|
|
702
719
|
* @param requestParameters
|
|
703
720
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
704
721
|
* @param reportProgress flag to report request and response progress.
|
|
722
|
+
* @param options additional options
|
|
705
723
|
*/
|
|
706
724
|
public httpReverseAssetSearch(
|
|
707
725
|
requestParameters?: HttpReverseAssetSearchRequestParams,
|
|
@@ -804,16 +822,18 @@ export class AIOperationsService extends BaseService {
|
|
|
804
822
|
...(withCredentials ? { withCredentials } : {}),
|
|
805
823
|
headers: localVarHeaders,
|
|
806
824
|
observe: observe,
|
|
807
|
-
transferCache: localVarTransferCache,
|
|
825
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
808
826
|
reportProgress: reportProgress
|
|
809
827
|
});
|
|
810
828
|
}
|
|
811
829
|
|
|
812
830
|
/**
|
|
813
831
|
* This endpoint returns a list of similar assets based on an Asset ID.
|
|
832
|
+
* @endpoint get /ai/assets/{id}/similar
|
|
814
833
|
* @param requestParameters
|
|
815
834
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
816
835
|
* @param reportProgress flag to report request and response progress.
|
|
836
|
+
* @param options additional options
|
|
817
837
|
*/
|
|
818
838
|
public httpSimilarAssets(
|
|
819
839
|
requestParameters: HttpSimilarAssetsRequestParams,
|
|
@@ -877,16 +897,18 @@ export class AIOperationsService extends BaseService {
|
|
|
877
897
|
...(withCredentials ? { withCredentials } : {}),
|
|
878
898
|
headers: localVarHeaders,
|
|
879
899
|
observe: observe,
|
|
880
|
-
transferCache: localVarTransferCache,
|
|
900
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
881
901
|
reportProgress: reportProgress
|
|
882
902
|
});
|
|
883
903
|
}
|
|
884
904
|
|
|
885
905
|
/**
|
|
886
906
|
* This endpoint tries out an AI Field generation on one asset and returns the result.
|
|
907
|
+
* @endpoint post /ai/fieldgeneration/{id}/{fieldName}
|
|
887
908
|
* @param requestParameters
|
|
888
909
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
889
910
|
* @param reportProgress flag to report request and response progress.
|
|
911
|
+
* @param options additional options
|
|
890
912
|
*/
|
|
891
913
|
public httpTryAIFieldGenerationPost(
|
|
892
914
|
requestParameters: HttpTryAIFieldGenerationPostRequestParams,
|
|
@@ -966,16 +988,18 @@ export class AIOperationsService extends BaseService {
|
|
|
966
988
|
...(withCredentials ? { withCredentials } : {}),
|
|
967
989
|
headers: localVarHeaders,
|
|
968
990
|
observe: observe,
|
|
969
|
-
transferCache: localVarTransferCache,
|
|
991
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
970
992
|
reportProgress: reportProgress
|
|
971
993
|
});
|
|
972
994
|
}
|
|
973
995
|
|
|
974
996
|
/**
|
|
975
997
|
* This endpoint updates the corresponding AI Asset entry in the database.
|
|
998
|
+
* @endpoint post /ai/assets/{id}
|
|
976
999
|
* @param requestParameters
|
|
977
1000
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
978
1001
|
* @param reportProgress flag to report request and response progress.
|
|
1002
|
+
* @param options additional options
|
|
979
1003
|
*/
|
|
980
1004
|
public httpUpdateAIAsset(
|
|
981
1005
|
requestParameters: HttpUpdateAIAssetRequestParams,
|
|
@@ -1051,7 +1075,7 @@ export class AIOperationsService extends BaseService {
|
|
|
1051
1075
|
...(withCredentials ? { withCredentials } : {}),
|
|
1052
1076
|
headers: localVarHeaders,
|
|
1053
1077
|
observe: observe,
|
|
1054
|
-
transferCache: localVarTransferCache,
|
|
1078
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1055
1079
|
reportProgress: reportProgress
|
|
1056
1080
|
});
|
|
1057
1081
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
@@ -79,9 +79,11 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* This endpoint creates one asset icon rule entry in the database.
|
|
82
|
+
* @endpoint post /asseticonrules
|
|
82
83
|
* @param requestParameters
|
|
83
84
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
84
85
|
* @param reportProgress flag to report request and response progress.
|
|
86
|
+
* @param options additional options
|
|
85
87
|
*/
|
|
86
88
|
public httpAssetIconRuleCreate(
|
|
87
89
|
requestParameters: HttpAssetIconRuleCreateRequestParams,
|
|
@@ -114,8 +116,9 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
114
116
|
const translations = requestParameters?.translations;
|
|
115
117
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
116
118
|
|
|
117
|
-
let localVarQueryParameters = new
|
|
118
|
-
|
|
119
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
120
|
+
|
|
121
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
119
122
|
|
|
120
123
|
let localVarHeaders = this.defaultHeaders;
|
|
121
124
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -157,21 +160,23 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
157
160
|
return this.httpClient.request<AssetIconRule>('post', `${basePath}${localVarPath}`, {
|
|
158
161
|
context: localVarHttpContext,
|
|
159
162
|
body: assetIconRule,
|
|
160
|
-
params: localVarQueryParameters,
|
|
163
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
161
164
|
responseType: <any>responseType_,
|
|
162
165
|
...(withCredentials ? { withCredentials } : {}),
|
|
163
166
|
headers: localVarHeaders,
|
|
164
167
|
observe: observe,
|
|
165
|
-
transferCache: localVarTransferCache,
|
|
168
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
166
169
|
reportProgress: reportProgress
|
|
167
170
|
});
|
|
168
171
|
}
|
|
169
172
|
|
|
170
173
|
/**
|
|
171
174
|
* This endpoint deletes a single asset icon rule.
|
|
175
|
+
* @endpoint delete /asseticonrules/{id}
|
|
172
176
|
* @param requestParameters
|
|
173
177
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
174
178
|
* @param reportProgress flag to report request and response progress.
|
|
179
|
+
* @param options additional options
|
|
175
180
|
*/
|
|
176
181
|
public httpAssetIconRuleDeleteById(
|
|
177
182
|
requestParameters: HttpAssetIconRuleDeleteByIdRequestParams,
|
|
@@ -235,16 +240,18 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
235
240
|
...(withCredentials ? { withCredentials } : {}),
|
|
236
241
|
headers: localVarHeaders,
|
|
237
242
|
observe: observe,
|
|
238
|
-
transferCache: localVarTransferCache,
|
|
243
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
239
244
|
reportProgress: reportProgress
|
|
240
245
|
});
|
|
241
246
|
}
|
|
242
247
|
|
|
243
248
|
/**
|
|
244
249
|
* This endpoint updates a single asset icon rule. Color is a hex value. Operator has to be one of the following: \'EQUALS\', \'NOT EQUALS\', \'CONTAINS\', \'STARTSWITH\'
|
|
250
|
+
* @endpoint post /asseticonrules/{id}
|
|
245
251
|
* @param requestParameters
|
|
246
252
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
247
253
|
* @param reportProgress flag to report request and response progress.
|
|
254
|
+
* @param options additional options
|
|
248
255
|
*/
|
|
249
256
|
public httpAssetIconRuleUpdateById(
|
|
250
257
|
requestParameters: HttpAssetIconRuleUpdateByIdRequestParams,
|
|
@@ -281,8 +288,9 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
281
288
|
const translations = requestParameters?.translations;
|
|
282
289
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
283
290
|
|
|
284
|
-
let localVarQueryParameters = new
|
|
285
|
-
|
|
291
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
292
|
+
|
|
293
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
286
294
|
|
|
287
295
|
let localVarHeaders = this.defaultHeaders;
|
|
288
296
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -324,21 +332,23 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
324
332
|
return this.httpClient.request<AssetIconRule>('post', `${basePath}${localVarPath}`, {
|
|
325
333
|
context: localVarHttpContext,
|
|
326
334
|
body: assetIconRule,
|
|
327
|
-
params: localVarQueryParameters,
|
|
335
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
328
336
|
responseType: <any>responseType_,
|
|
329
337
|
...(withCredentials ? { withCredentials } : {}),
|
|
330
338
|
headers: localVarHeaders,
|
|
331
339
|
observe: observe,
|
|
332
|
-
transferCache: localVarTransferCache,
|
|
340
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
333
341
|
reportProgress: reportProgress
|
|
334
342
|
});
|
|
335
343
|
}
|
|
336
344
|
|
|
337
345
|
/**
|
|
338
346
|
* This endpoint lists all asset icon rules in database.
|
|
347
|
+
* @endpoint get /asseticonrules
|
|
339
348
|
* @param requestParameters
|
|
340
349
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
341
350
|
* @param reportProgress flag to report request and response progress.
|
|
351
|
+
* @param options additional options
|
|
342
352
|
*/
|
|
343
353
|
public httpAssetIconRulesGetAll(
|
|
344
354
|
requestParameters?: HttpAssetIconRulesGetAllRequestParams,
|
|
@@ -367,8 +377,9 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
367
377
|
const translations = requestParameters?.translations;
|
|
368
378
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
369
379
|
|
|
370
|
-
let localVarQueryParameters = new
|
|
371
|
-
|
|
380
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
381
|
+
|
|
382
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
372
383
|
|
|
373
384
|
let localVarHeaders = this.defaultHeaders;
|
|
374
385
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -402,21 +413,23 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
402
413
|
const { basePath, withCredentials } = this.configuration;
|
|
403
414
|
return this.httpClient.request<Array<AssetIconRule>>('get', `${basePath}${localVarPath}`, {
|
|
404
415
|
context: localVarHttpContext,
|
|
405
|
-
params: localVarQueryParameters,
|
|
416
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
406
417
|
responseType: <any>responseType_,
|
|
407
418
|
...(withCredentials ? { withCredentials } : {}),
|
|
408
419
|
headers: localVarHeaders,
|
|
409
420
|
observe: observe,
|
|
410
|
-
transferCache: localVarTransferCache,
|
|
421
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
411
422
|
reportProgress: reportProgress
|
|
412
423
|
});
|
|
413
424
|
}
|
|
414
425
|
|
|
415
426
|
/**
|
|
416
427
|
* This endpoint gets a single asset icon rule from the database.
|
|
428
|
+
* @endpoint get /asseticonrules/{id}
|
|
417
429
|
* @param requestParameters
|
|
418
430
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
419
431
|
* @param reportProgress flag to report request and response progress.
|
|
432
|
+
* @param options additional options
|
|
420
433
|
*/
|
|
421
434
|
public httpAssetIconRulesGetById(
|
|
422
435
|
requestParameters: HttpAssetIconRulesGetByIdRequestParams,
|
|
@@ -449,8 +462,9 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
449
462
|
const translations = requestParameters?.translations;
|
|
450
463
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
451
464
|
|
|
452
|
-
let localVarQueryParameters = new
|
|
453
|
-
|
|
465
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
466
|
+
|
|
467
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
454
468
|
|
|
455
469
|
let localVarHeaders = this.defaultHeaders;
|
|
456
470
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -484,12 +498,12 @@ export class AssetIconRuleManagementService extends BaseService {
|
|
|
484
498
|
const { basePath, withCredentials } = this.configuration;
|
|
485
499
|
return this.httpClient.request<AssetIconRule>('get', `${basePath}${localVarPath}`, {
|
|
486
500
|
context: localVarHttpContext,
|
|
487
|
-
params: localVarQueryParameters,
|
|
501
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
488
502
|
responseType: <any>responseType_,
|
|
489
503
|
...(withCredentials ? { withCredentials } : {}),
|
|
490
504
|
headers: localVarHeaders,
|
|
491
505
|
observe: observe,
|
|
492
|
-
transferCache: localVarTransferCache,
|
|
506
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
493
507
|
reportProgress: reportProgress
|
|
494
508
|
});
|
|
495
509
|
}
|