Skip to content

Commit 70c482a

Browse files
committed
feat: update generated APIs
1 parent 8ce2450 commit 70c482a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/clients/src/api/audit_trail/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export class API extends ParentAPI {
5454
['recorded_after', request.recordedAfter],
5555
['recorded_before', request.recordedBefore],
5656
['resource_type', request.resourceType],
57+
['service_name', request.serviceName],
5758
['status', request.status],
5859
),
5960
},

packages/clients/src/api/audit_trail/v1alpha1/types.gen.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export type ListEventsRequest = {
200200
organizationId?: string
201201
/** (Optional) Returns a paginated list of Scaleway resources' features. */
202202
resourceType?: ResourceType
203-
/** (Optional) Name of the method or the API call performed. */
203+
/** (Optional) Name of the method of the API call performed. */
204204
methodName?: string
205205
/**
206206
* (Optional) HTTP status code of the request. Returns either `200` if the
@@ -223,6 +223,8 @@ export type ListEventsRequest = {
223223
pageToken?: string
224224
/** (Optional) Name of the Scaleway resource in a hyphenated format. */
225225
productName?: string
226+
/** (Optional) Name of the service of the API call performed. */
227+
serviceName?: string
226228
}
227229

228230
export interface ListEventsResponse {

packages/clients/src/api/audit_trail/v1alpha1/validation-rules.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export const ListEventsRequest = {
1212
productName: {
1313
pattern: /^[a-z]+(-[a-z]+)*$/,
1414
},
15+
serviceName: {
16+
pattern: /^scaleway(\.[a-zA-Z0-9_-]*)*$/,
17+
},
1518
status: {
1619
greaterThanOrEqual: 200,
1720
lessThan: 600,

0 commit comments

Comments
 (0)