Skip to content

Commit 166a346

Browse files
committed
feat: update generated APIs
1 parent d05d2f0 commit 166a346

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

packages_generated/audit_trail/src/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class API extends ParentAPI {
6161
['project_id', request.projectId],
6262
['recorded_after', request.recordedAfter],
6363
['recorded_before', request.recordedBefore],
64+
['resource_id', request.resourceId],
6465
['resource_type', request.resourceType],
6566
['service_name', request.serviceName],
6667
['status', request.status],

packages_generated/audit_trail/src/v1alpha1/types.gen.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export type ListEventsRequest = {
313313
*/
314314
organizationId?: string
315315
/**
316-
* (Optional) Returns a paginated list of Scaleway resources' features.
316+
* (Optional) Type of the Scaleway resource.
317317
*/
318318
resourceType?: ResourceType
319319
/**
@@ -336,13 +336,17 @@ export type ListEventsRequest = {
336336
pageSize?: number
337337
pageToken?: string
338338
/**
339-
* (Optional) Name of the Scaleway resource in a hyphenated format.
339+
* (Optional) Name of the Scaleway product in a hyphenated format.
340340
*/
341341
productName?: string
342342
/**
343343
* (Optional) Name of the service of the API call performed.
344344
*/
345345
serviceName?: string
346+
/**
347+
* (Optional) ID of the Scaleway resource.
348+
*/
349+
resourceId?: string
346350
}
347351

348352
export interface ListEventsResponse {

packages_generated/audit_trail/src/v1alpha1/validation-rules.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export const ListEventsRequest = {
1212
productName: {
1313
pattern: /^[a-z]+(-[a-z]+)*$/,
1414
},
15+
resourceId: {
16+
maxLength: 100,
17+
pattern: /^[a-zA-Z0-9._-]+$/,
18+
},
1519
serviceName: {
1620
pattern: /^scaleway(\.[a-zA-Z0-9_-]*)*$/,
1721
},

0 commit comments

Comments
 (0)