Skip to content

Commit 386f489

Browse files
committed
feat: generate portal models
1 parent bdb6073 commit 386f489

File tree

5 files changed

+38
-1
lines changed

5 files changed

+38
-1
lines changed

gravitee-apim-portal-webui/projects/portal-webclient-sdk/src/lib/api/subscription.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface GetSubscriptionByIdRequestParams {
4141
/** Id of a subscription. */
4242
subscriptionId: string;
4343
/** Comma-separated list of related objects to include in the response. */
44-
include?: Array<'keys'>;
44+
include?: Array<'keys' | 'consumerConfiguration'>;
4545
}
4646

4747
export interface GetSubscriptionsRequestParams {

gravitee-apim-portal-webui/projects/portal-webclient-sdk/src/lib/model/models.ts

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export * from './searchApplicationsLogsParams';
116116
export * from './simpleApplicationSettings';
117117
export * from './subscription';
118118
export * from './subscriptionConfigurationInput';
119+
export * from './subscriptionConsumerConfiguration';
119120
export * from './subscriptionInput';
120121
export * from './subscriptionsResponse';
121122
export * from './themeLinks';

gravitee-apim-portal-webui/projects/portal-webclient-sdk/src/lib/model/searchApplicationsLogsParams.ts

+4
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,9 @@ export interface SearchApplicationsLogsParams {
5656
* List of filters for response time ranges
5757
*/
5858
responseTimeRanges?: Array<ResponseTimeRange>;
59+
/**
60+
* Filter for text in either the request or response body
61+
*/
62+
bodyText?: string;
5963
}
6064

gravitee-apim-portal-webui/projects/portal-webclient-sdk/src/lib/model/subscription.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* https://openapi-generator.tech
99
* Do not edit the class manually.
1010
*/
11+
import { SubscriptionConsumerConfiguration } from './subscriptionConsumerConfiguration';
1112
import { Key } from './key';
1213

1314

@@ -88,6 +89,7 @@ export interface Subscription {
8889
* Only returned with (*)/subscriptions/{subscriptionId}*. Need *include* query param to contain \'keys\'. List of APIKeys of the subscription.
8990
*/
9091
keys?: Array<Key>;
92+
consumerConfiguration?: SubscriptionConsumerConfiguration;
9193
}
9294
export namespace Subscription {
9395
export type StatusEnum = 'PENDING' | 'ACCEPTED' | 'CLOSED' | 'REJECTED' | 'PAUSED';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/**
2+
* Gravitee.io Portal Rest API
3+
* API dedicated to the devportal part of Gravitee
4+
*
5+
* Contact: contact@graviteesource.com
6+
*
7+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8+
* https://openapi-generator.tech
9+
* Do not edit the class manually.
10+
*/
11+
12+
13+
/**
14+
* Consumer configuration associated to the subscription in case it is attached to a push plan.
15+
*/
16+
export interface SubscriptionConsumerConfiguration {
17+
/**
18+
* The id of the targeted entrypoint
19+
*/
20+
entrypointId: string;
21+
/**
22+
* The channel to consume
23+
*/
24+
channel?: string;
25+
/**
26+
* The configuration to use at subscription time to push to the target service.
27+
*/
28+
entrypointConfiguration?: object;
29+
}
30+

0 commit comments

Comments
 (0)