Skip to content

Commit 80fec48

Browse files
committed
feat: update generated APIs
1 parent 5c6e1e9 commit 80fec48

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const unmarshalAPIKey = (data: unknown): APIKey => {
9090
description: data.description,
9191
editable: data.editable,
9292
expiresAt: unmarshalDate(data.expires_at),
93+
managed: data.managed,
9394
secretKey: data.secret_key,
9495
updatedAt: unmarshalDate(data.updated_at),
9596
userId: data.user_id,
@@ -105,9 +106,11 @@ export const unmarshalApplication = (data: unknown): Application => {
105106

106107
return {
107108
createdAt: unmarshalDate(data.created_at),
109+
deletable: data.deletable,
108110
description: data.description,
109111
editable: data.editable,
110112
id: data.id,
113+
managed: data.managed,
111114
name: data.name,
112115
nbApiKeys: data.nb_api_keys,
113116
organizationId: data.organization_id,
@@ -126,8 +129,11 @@ export const unmarshalGroup = (data: unknown): Group => {
126129
return {
127130
applicationIds: data.application_ids,
128131
createdAt: unmarshalDate(data.created_at),
132+
deletable: data.deletable,
129133
description: data.description,
134+
editable: data.editable,
130135
id: data.id,
136+
managed: data.managed,
131137
name: data.name,
132138
organizationId: data.organization_id,
133139
tags: data.tags,
@@ -166,10 +172,12 @@ export const unmarshalPolicy = (data: unknown): Policy => {
166172
return {
167173
applicationId: data.application_id,
168174
createdAt: unmarshalDate(data.created_at),
175+
deletable: data.deletable,
169176
description: data.description,
170177
editable: data.editable,
171178
groupId: data.group_id,
172179
id: data.id,
180+
managed: data.managed,
173181
name: data.name,
174182
nbPermissionSets: data.nb_permission_sets,
175183
nbRules: data.nb_rules,

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ export interface APIKey {
169169
defaultProjectId: string
170170
/** Defines whether or not the API key is editable. */
171171
editable: boolean
172+
/** Defines whether or not the API key is managed. */
173+
managed: boolean
172174
/** IP address of the device that created the API key. */
173175
creationIp: string
174176
}
@@ -188,6 +190,10 @@ export interface Application {
188190
organizationId: string
189191
/** Defines whether or not the application is editable. */
190192
editable: boolean
193+
/** Defines whether or not the application is deletable. */
194+
deletable: boolean
195+
/** Defines whether or not the application is managed. */
196+
managed: boolean
191197
/** Number of API keys attributed to the application. */
192198
nbApiKeys: number
193199
/** Tags associated with the user. */
@@ -213,6 +219,12 @@ export interface Group {
213219
applicationIds: string[]
214220
/** Tags associated to the group. */
215221
tags: string[]
222+
/** Defines whether or not the group is editable. */
223+
editable: boolean
224+
/** Defines whether or not the group is deletable. */
225+
deletable: boolean
226+
/** Defines whether or not the group is managed. */
227+
managed: boolean
216228
}
217229

218230
export interface Log {
@@ -264,6 +276,10 @@ export interface Policy {
264276
updatedAt?: Date
265277
/** Defines whether or not a policy is editable. */
266278
editable: boolean
279+
/** Defines whether or not a policy is deletable. */
280+
deletable: boolean
281+
/** Defines whether or not a policy is managed. */
282+
managed: boolean
267283
/** Number of rules of the policy. */
268284
nbRules: number
269285
/** Number of policy scopes. */

packages/clients/src/api/jobs/v1alpha1/index.gen.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@ export * from './content.gen'
55
export type {
66
CreateJobDefinitionRequest,
77
CreateJobDefinitionRequestCronScheduleConfig,
8+
CreateJobDefinitionSecretsRequest,
9+
CreateJobDefinitionSecretsRequestSecretConfig,
10+
CreateJobDefinitionSecretsResponse,
811
CronSchedule,
912
DeleteJobDefinitionRequest,
13+
DeleteJobDefinitionSecretRequest,
1014
GetJobDefinitionRequest,
15+
GetJobDefinitionSecretRequest,
1116
GetJobRunRequest,
1217
JobDefinition,
1318
JobRun,
1419
JobRunState,
20+
ListJobDefinitionSecretsRequest,
21+
ListJobDefinitionSecretsResponse,
1522
ListJobDefinitionsRequest,
1623
ListJobDefinitionsRequestOrderBy,
1724
ListJobDefinitionsResponse,
@@ -21,10 +28,14 @@ export type {
2128
ListJobsResourcesRequest,
2229
ListJobsResourcesResponse,
2330
Resource,
31+
Secret,
32+
SecretEnvVar,
33+
SecretFile,
2434
StartJobDefinitionRequest,
2535
StartJobDefinitionResponse,
2636
StopJobRunRequest,
2737
UpdateJobDefinitionRequest,
2838
UpdateJobDefinitionRequestCronScheduleConfig,
39+
UpdateJobDefinitionSecretRequest,
2940
} from './types.gen'
3041
export * as ValidationRules from './validation-rules.gen'

packages/clients/src/api/tem/v1alpha1/index.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export type {
1515
DeleteWebhookRequest,
1616
Domain,
1717
DomainLastStatus,
18+
DomainLastStatusAutoconfigState,
19+
DomainLastStatusAutoconfigStateReason,
1820
DomainLastStatusDkimRecord,
1921
DomainLastStatusDmarcRecord,
2022
DomainLastStatusRecordStatus,

0 commit comments

Comments
 (0)