Skip to content

Commit d1c71d5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
add mfa_enabled field and change created_at type to datetime (#1743)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6ed1c05 commit d1c71d5

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-08-09 16:10:43.432822",
8-
"spec_repo_commit": "4a0f9e08"
7+
"regenerated": "2024-08-12 13:34:55.112510",
8+
"spec_repo_commit": "0360f6c8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-09 16:10:43.451410",
13-
"spec_repo_commit": "4a0f9e08"
12+
"regenerated": "2024-08-12 13:34:55.131608",
13+
"spec_repo_commit": "0360f6c8"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -8496,6 +8496,7 @@ components:
84968496
created_at:
84978497
description: Creation date of the application key.
84988498
example: '2020-11-23T10:00:00.000Z'
8499+
format: date-time
84998500
readOnly: true
85008501
type: string
85018502
key:
@@ -23415,6 +23416,10 @@ components:
2341523416
icon:
2341623417
description: URL of the user's icon.
2341723418
type: string
23419+
mfa_enabled:
23420+
description: If user has MFA enabled.
23421+
readOnly: true
23422+
type: boolean
2341823423
modified_at:
2341923424
description: Time that the user was last modified.
2342023425
format: date-time

packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class FullApplicationKeyAttributes {
1313
/**
1414
* Creation date of the application key.
1515
*/
16-
"createdAt"?: string;
16+
"createdAt"?: Date;
1717
/**
1818
* The application key.
1919
*/
@@ -49,7 +49,8 @@ export class FullApplicationKeyAttributes {
4949
static readonly attributeTypeMap: AttributeTypeMap = {
5050
createdAt: {
5151
baseName: "created_at",
52-
type: "string",
52+
type: "Date",
53+
format: "date-time",
5354
},
5455
key: {
5556
baseName: "key",

packages/datadog-api-client-v2/models/UserAttributes.ts

+8
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export class UserAttributes {
3030
* URL of the user's icon.
3131
*/
3232
"icon"?: string;
33+
/**
34+
* If user has MFA enabled.
35+
*/
36+
"mfaEnabled"?: boolean;
3337
/**
3438
* Time that the user was last modified.
3539
*/
@@ -92,6 +96,10 @@ export class UserAttributes {
9296
baseName: "icon",
9397
type: "string",
9498
},
99+
mfaEnabled: {
100+
baseName: "mfa_enabled",
101+
type: "boolean",
102+
},
95103
modifiedAt: {
96104
baseName: "modified_at",
97105
type: "Date",

0 commit comments

Comments
 (0)