Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/clients/src/api/lb/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ export const unmarshalAcl = (data: unknown) => {
return {
action: data.action ? unmarshalAclAction(data.action) : undefined,
createdAt: unmarshalDate(data.created_at),
description: data.description,
frontend: data.frontend ? unmarshalFrontend(data.frontend) : undefined,
id: data.id,
index: data.index,
Expand Down Expand Up @@ -810,6 +811,7 @@ const marshalAclSpec = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: marshalAclAction(request.action, defaults),
description: request.description,
index: request.index,
match: marshalAclMatch(request.match, defaults),
name: request.name,
Expand Down Expand Up @@ -950,6 +952,7 @@ export const marshalCreateAclRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: marshalAclAction(request.action, defaults),
description: request.description,
index: request.index,
match: marshalAclMatch(request.match, defaults),
name: request.name || randomName('acl'),
Expand Down Expand Up @@ -1141,6 +1144,7 @@ export const marshalUpdateAclRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: marshalAclAction(request.action, defaults),
description: request.description,
index: request.index,
match: marshalAclMatch(request.match, defaults),
name: request.name,
Expand Down Expand Up @@ -1322,6 +1326,7 @@ export const marshalZonedApiCreateAclRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: marshalAclAction(request.action, defaults),
description: request.description,
index: request.index,
match: marshalAclMatch(request.match, defaults),
name: request.name || randomName('acl'),
Expand Down Expand Up @@ -1520,6 +1525,7 @@ export const marshalZonedApiUpdateAclRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: marshalAclAction(request.action, defaults),
description: request.description,
index: request.index,
match: marshalAclMatch(request.match, defaults),
name: request.name,
Expand Down
12 changes: 12 additions & 0 deletions packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ export interface Acl {
createdAt?: Date
/** Date at which the ACL was last updated */
updatedAt?: Date
/** Description of your ACL ressource */
description: string
}

/** Acl action */
Expand Down Expand Up @@ -199,6 +201,8 @@ export interface AclSpec {
match: AclMatch
/** Order between your Acls (ascending order, 0 is first acl executed) */
index: number
/** Description of your ACL ressource */
description: string
}

/** Backend */
Expand Down Expand Up @@ -1372,6 +1376,8 @@ export type CreateAclRequest = {
match: AclMatch
/** Order between your Acls (ascending order, 0 is first acl executed) */
index: number
/** Description of your ACL ressource */
description: string
}

export type GetAclRequest = {
Expand All @@ -1397,6 +1403,8 @@ export type UpdateAclRequest = {
match: AclMatch
/** Order between your Acls (ascending order, 0 is first acl executed) */
index: number
/** Description of your ACL ressource */
description?: string
}

export type DeleteAclRequest = {
Expand Down Expand Up @@ -2227,6 +2235,8 @@ export type ZonedApiCreateAclRequest = {
match: AclMatch
/** Order between your Acls (ascending order, 0 is first acl executed) */
index: number
/** Description of your ACL ressource */
description: string
}

export type ZonedApiGetAclRequest = {
Expand All @@ -2252,6 +2262,8 @@ export type ZonedApiUpdateAclRequest = {
match: AclMatch
/** Order between your Acls (ascending order, 0 is first acl executed) */
index: number
/** Description of your ACL ressource */
description?: string
}

export type ZonedApiDeleteAclRequest = {
Expand Down