@@ -85,6 +85,10 @@ export interface ValidationOption {
8585 maxLength ?: number
8686}
8787
88+ export interface HasCertifiedAttributes {
89+ hasCertifiedAttributes : boolean
90+ }
91+
8892export interface HideOption {
8993 id : string
9094 value : string
@@ -116,6 +120,8 @@ export interface UpdateEServiceSeed {
116120 /** Risk Analysis Mode */
117121 mode : EServiceMode
118122 isSignalHubEnabled ?: boolean
123+ isDelegable ?: boolean
124+ isClientAccessDelegable ?: boolean
119125}
120126
121127export interface EServiceSeed {
@@ -126,6 +132,8 @@ export interface EServiceSeed {
126132 /** Risk Analysis Mode */
127133 mode : EServiceMode
128134 isSignalHubEnabled ?: boolean
135+ isDelegable ?: boolean
136+ isClientAccessDelegable ?: boolean
129137}
130138
131139export interface UpdateEServiceDescriptorQuotas {
@@ -266,11 +274,19 @@ export interface CatalogDescriptorEService {
266274 descriptors : CompactDescriptor [ ]
267275 agreement ?: CompactAgreement
268276 isMine : boolean
277+ /**
278+ * True in case:
279+ * - the requester has the certified attributes required to consume the eservice, or
280+ * - the requester is the delegated consumer for the eservice and
281+ * the delegator has the certified attributes required to consume the eservice
282+ */
269283 hasCertifiedAttributes : boolean
270284 isSubscribed : boolean
271285 activeDescriptor ?: CompactDescriptor
272286 mail ?: Mail
273287 isSignalHubEnabled ?: boolean
288+ isDelegable ?: boolean
289+ isClientAccessDelegable ?: boolean
274290}
275291
276292export interface ProducerEServiceDetails {
@@ -284,6 +300,8 @@ export interface ProducerEServiceDetails {
284300 mode : EServiceMode
285301 riskAnalysis : EServiceRiskAnalysis [ ]
286302 isSignalHubEnabled ?: boolean
303+ isDelegable ?: boolean
304+ isClientAccessDelegable ?: boolean
287305}
288306
289307/** Risk Analysis Mode */
@@ -352,6 +370,8 @@ export interface ProducerDescriptorEService {
352370 draftDescriptor ?: CompactDescriptor
353371 mail ?: Mail
354372 isSignalHubEnabled ?: boolean
373+ isDelegable ?: boolean
374+ isClientAccessDelegable ?: boolean
355375}
356376
357377export interface EServiceDoc {
@@ -421,6 +441,8 @@ export interface AgreementPayload {
421441 eserviceId : string
422442 /** @format uuid */
423443 descriptorId : string
444+ /** @format uuid */
445+ delegationId ?: string
424446}
425447
426448/** contains the information for agreement update. */
@@ -1133,6 +1155,10 @@ export type TenantFeature =
11331155 /** Delegated producer Tenant Feature */
11341156 delegatedProducer ?: DelegatedProducer
11351157 }
1158+ | {
1159+ /** Delegated consumer Tenant Feature */
1160+ delegatedConsumer ?: DelegatedConsumer
1161+ }
11361162
11371163/** Certifier Tenant Feature */
11381164export interface Certifier {
@@ -1145,6 +1171,12 @@ export interface DelegatedProducer {
11451171 availabilityTimestamp : string
11461172}
11471173
1174+ /** Delegated consumer Tenant Feature */
1175+ export interface DelegatedConsumer {
1176+ /** @format date-time */
1177+ availabilityTimestamp : string
1178+ }
1179+
11481180export interface CompactTenant {
11491181 /** @format uuid */
11501182 id : string
@@ -1520,6 +1552,24 @@ export interface AddAgreementConsumerDocumentPayload {
15201552 doc : File
15211553}
15221554
1555+ export interface VerifyTenantCertifiedAttributesPayload {
1556+ /**
1557+ * The Tenant id
1558+ * @format uuid
1559+ */
1560+ tenantId : string
1561+ /**
1562+ * The E-Service id
1563+ * @format uuid
1564+ */
1565+ eserviceId : string
1566+ /**
1567+ * The E-Service descriptor id
1568+ * @format uuid
1569+ */
1570+ descriptorId : string
1571+ }
1572+
15231573export interface GetEServicesCatalogParams {
15241574 /** Query to filter EServices by name */
15251575 q ?: string
@@ -2368,6 +2418,23 @@ export namespace Agreements {
23682418 }
23692419 export type ResponseBody = Agreement
23702420 }
2421+ /**
2422+ * @description Verify a Tenant has required certified attributes
2423+ * @tags agreements
2424+ * @name VerifyTenantCertifiedAttributes
2425+ * @summary Verify a Tenant has required certified attributes
2426+ * @request POST:/agreements/verify
2427+ * @secure
2428+ */
2429+ export namespace VerifyTenantCertifiedAttributes {
2430+ export type RequestParams = { }
2431+ export type RequestQuery = { }
2432+ export type RequestBody = VerifyTenantCertifiedAttributesPayload
2433+ export type RequestHeaders = {
2434+ 'X-Correlation-Id' : string
2435+ }
2436+ export type ResponseBody = HasCertifiedAttributes
2437+ }
23712438}
23722439
23732440export namespace Catalog {
@@ -3837,6 +3904,40 @@ export namespace Tenants {
38373904 }
38383905 export type ResponseBody = Tenants
38393906 }
3907+ /**
3908+ * No description
3909+ * @tags tenants
3910+ * @name AssignTenantDelegatedConsumerFeature
3911+ * @summary Assign delegated consumer feature to tenant caller
3912+ * @request POST:/tenants/delegatedConsumer
3913+ * @secure
3914+ */
3915+ export namespace AssignTenantDelegatedConsumerFeature {
3916+ export type RequestParams = { }
3917+ export type RequestQuery = { }
3918+ export type RequestBody = never
3919+ export type RequestHeaders = {
3920+ 'X-Correlation-Id' : string
3921+ }
3922+ export type ResponseBody = void
3923+ }
3924+ /**
3925+ * No description
3926+ * @tags tenants
3927+ * @name DeleteTenantDelegatedConsumerFeature
3928+ * @summary Delete delegated consumer feature to tenant caller
3929+ * @request DELETE:/tenants/delegatedConsumer
3930+ * @secure
3931+ */
3932+ export namespace DeleteTenantDelegatedConsumerFeature {
3933+ export type RequestParams = { }
3934+ export type RequestQuery = { }
3935+ export type RequestBody = never
3936+ export type RequestHeaders = {
3937+ 'X-Correlation-Id' : string
3938+ }
3939+ export type ResponseBody = void
3940+ }
38403941 /**
38413942 * No description
38423943 * @tags tenants
0 commit comments