Skip to content

Commit 11f41f7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d849a8da of spec repo
1 parent 0316fe4 commit 11f41f7

15 files changed

+428
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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": "2023-11-16 09:44:59.257940",
8-
"spec_repo_commit": "974acd6e"
7+
"regenerated": "2023-11-16 15:12:02.695969",
8+
"spec_repo_commit": "d849a8da"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-16 09:44:59.277406",
13-
"spec_repo_commit": "974acd6e"
12+
"regenerated": "2023-11-16 15:12:02.715857",
13+
"spec_repo_commit": "d849a8da"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,8 @@ components:
624624
properties:
625625
created_by:
626626
$ref: '#/components/schemas/RelationshipToUser'
627+
leak_information:
628+
$ref: '#/components/schemas/RelationshipToLeakInformation'
627629
modified_by:
628630
$ref: '#/components/schemas/RelationshipToUser'
629631
type: object
@@ -689,6 +691,26 @@ components:
689691
items:
690692
$ref: '#/components/schemas/APIKeyResponseIncludedItem'
691693
type: array
694+
meta:
695+
$ref: '#/components/schemas/APIKeysResponseMeta'
696+
type: object
697+
APIKeysResponseMeta:
698+
description: Additional information related to api keys response.
699+
properties:
700+
max_allowed:
701+
description: Max allowed number of API keys.
702+
format: int64
703+
type: integer
704+
page:
705+
$ref: '#/components/schemas/APIKeysResponseMetaPage'
706+
type: object
707+
APIKeysResponseMetaPage:
708+
description: Additional information related to the API keys response.
709+
properties:
710+
total_filtered_count:
711+
description: Total filtered application key count.
712+
format: int64
713+
type: integer
692714
type: object
693715
APIKeysSort:
694716
default: name
@@ -773,6 +795,8 @@ components:
773795
ApplicationKeyRelationships:
774796
description: Resources related to the application key.
775797
properties:
798+
leak_information:
799+
$ref: '#/components/schemas/RelationshipToLeakInformation'
776800
owned_by:
777801
$ref: '#/components/schemas/RelationshipToUser'
778802
type: object
@@ -792,6 +816,24 @@ components:
792816
oneOf:
793817
- $ref: '#/components/schemas/User'
794818
- $ref: '#/components/schemas/Role'
819+
ApplicationKeyResponseMeta:
820+
description: Additional information related to the application key response.
821+
properties:
822+
max_allowed_per_user:
823+
description: Max allowed number of application keys per user.
824+
format: int64
825+
type: integer
826+
page:
827+
$ref: '#/components/schemas/ApplicationKeyResponseMetaPage'
828+
type: object
829+
ApplicationKeyResponseMetaPage:
830+
description: Additional information related to the application key response.
831+
properties:
832+
total_filtered_count:
833+
description: Total filtered application key count.
834+
format: int64
835+
type: integer
836+
type: object
795837
ApplicationKeyUpdateAttributes:
796838
description: Attributes used to update an application Key.
797839
properties:
@@ -8248,6 +8290,15 @@ components:
82488290
- project_key
82498291
- account
82508292
type: object
8293+
LeakedKeysType:
8294+
default: leaked_keys
8295+
description: Leaked keys type.
8296+
enum:
8297+
- leaked_keys
8298+
example: leaked_keys
8299+
type: string
8300+
x-enum-varnames:
8301+
- LEAKED_KEYS
82518302
ListApplicationKeysResponse:
82528303
description: Response for a list of application keys.
82538304
properties:
@@ -8261,6 +8312,8 @@ components:
82618312
items:
82628313
$ref: '#/components/schemas/ApplicationKeyResponseIncludedItem'
82638314
type: array
8315+
meta:
8316+
$ref: '#/components/schemas/ApplicationKeyResponseMeta'
82648317
type: object
82658318
ListDowntimesResponse:
82668319
description: Response for retrieving all downtimes.
@@ -12681,6 +12734,27 @@ components:
1268112734
- id
1268212735
- type
1268312736
type: object
12737+
RelationshipToLeakInformation:
12738+
description: Relationship to leaked keys.
12739+
properties:
12740+
data:
12741+
$ref: '#/components/schemas/RelationshipToLeakInformationData'
12742+
required:
12743+
- data
12744+
type: object
12745+
RelationshipToLeakInformationData:
12746+
description: Relationship to leaked key object.
12747+
nullable: true
12748+
properties:
12749+
id:
12750+
description: A unique identifier that represents the leaked key.
12751+
example: 00000000-0000-0000-2345-000000000000
12752+
type: string
12753+
type:
12754+
$ref: '#/components/schemas/LeakedKeysType'
12755+
required:
12756+
- id
12757+
type: object
1268412758
RelationshipToOrganization:
1268512759
description: Relationship to an organization.
1268612760
properties:

packages/datadog-api-client-v2/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ export { APIKeyRelationships } from "./models/APIKeyRelationships";
433433
export { APIKeyResponse } from "./models/APIKeyResponse";
434434
export { APIKeyResponseIncludedItem } from "./models/APIKeyResponseIncludedItem";
435435
export { APIKeysResponse } from "./models/APIKeysResponse";
436+
export { APIKeysResponseMeta } from "./models/APIKeysResponseMeta";
437+
export { APIKeysResponseMetaPage } from "./models/APIKeysResponseMetaPage";
436438
export { APIKeysSort } from "./models/APIKeysSort";
437439
export { APIKeysType } from "./models/APIKeysType";
438440
export { APIKeyUpdateAttributes } from "./models/APIKeyUpdateAttributes";
@@ -445,6 +447,8 @@ export { ApplicationKeyCreateRequest } from "./models/ApplicationKeyCreateReques
445447
export { ApplicationKeyRelationships } from "./models/ApplicationKeyRelationships";
446448
export { ApplicationKeyResponse } from "./models/ApplicationKeyResponse";
447449
export { ApplicationKeyResponseIncludedItem } from "./models/ApplicationKeyResponseIncludedItem";
450+
export { ApplicationKeyResponseMeta } from "./models/ApplicationKeyResponseMeta";
451+
export { ApplicationKeyResponseMetaPage } from "./models/ApplicationKeyResponseMetaPage";
448452
export { ApplicationKeysSort } from "./models/ApplicationKeysSort";
449453
export { ApplicationKeysType } from "./models/ApplicationKeysType";
450454
export { ApplicationKeyUpdateAttributes } from "./models/ApplicationKeyUpdateAttributes";
@@ -913,6 +917,7 @@ export { JiraIntegrationMetadata } from "./models/JiraIntegrationMetadata";
913917
export { JiraIntegrationMetadataIssuesItem } from "./models/JiraIntegrationMetadataIssuesItem";
914918
export { JSONAPIErrorItem } from "./models/JSONAPIErrorItem";
915919
export { JSONAPIErrorResponse } from "./models/JSONAPIErrorResponse";
920+
export { LeakedKeysType } from "./models/LeakedKeysType";
916921
export { ListApplicationKeysResponse } from "./models/ListApplicationKeysResponse";
917922
export { ListDowntimesResponse } from "./models/ListDowntimesResponse";
918923
export { ListFindingsMeta } from "./models/ListFindingsMeta";
@@ -1157,6 +1162,8 @@ export { RelationshipToIncidentIntegrationMetadataData } from "./models/Relation
11571162
export { RelationshipToIncidentIntegrationMetadatas } from "./models/RelationshipToIncidentIntegrationMetadatas";
11581163
export { RelationshipToIncidentPostmortem } from "./models/RelationshipToIncidentPostmortem";
11591164
export { RelationshipToIncidentPostmortemData } from "./models/RelationshipToIncidentPostmortemData";
1165+
export { RelationshipToLeakInformation } from "./models/RelationshipToLeakInformation";
1166+
export { RelationshipToLeakInformationData } from "./models/RelationshipToLeakInformationData";
11601167
export { RelationshipToOrganization } from "./models/RelationshipToOrganization";
11611168
export { RelationshipToOrganizationData } from "./models/RelationshipToOrganizationData";
11621169
export { RelationshipToOrganizations } from "./models/RelationshipToOrganizations";

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* This product includes software developed at Datadog (https://www.datadoghq.com/).
44
* Copyright 2020-Present Datadog, Inc.
55
*/
6+
import { RelationshipToLeakInformation } from "./RelationshipToLeakInformation";
67
import { RelationshipToUser } from "./RelationshipToUser";
78

89
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -15,6 +16,10 @@ export class APIKeyRelationships {
1516
* Relationship to user.
1617
*/
1718
"createdBy"?: RelationshipToUser;
19+
/**
20+
* Relationship to leaked keys.
21+
*/
22+
"leakInformation"?: RelationshipToLeakInformation;
1823
/**
1924
* Relationship to user.
2025
*/
@@ -33,6 +38,10 @@ export class APIKeyRelationships {
3338
baseName: "created_by",
3439
type: "RelationshipToUser",
3540
},
41+
leakInformation: {
42+
baseName: "leak_information",
43+
type: "RelationshipToLeakInformation",
44+
},
3645
modifiedBy: {
3746
baseName: "modified_by",
3847
type: "RelationshipToUser",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { APIKeyResponseIncludedItem } from "./APIKeyResponseIncludedItem";
7+
import { APIKeysResponseMeta } from "./APIKeysResponseMeta";
78
import { PartialAPIKey } from "./PartialAPIKey";
89

910
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -20,6 +21,10 @@ export class APIKeysResponse {
2021
* Array of objects related to the API key.
2122
*/
2223
"included"?: Array<APIKeyResponseIncludedItem>;
24+
/**
25+
* Additional information related to api keys response.
26+
*/
27+
"meta"?: APIKeysResponseMeta;
2328

2429
/**
2530
* @ignore
@@ -38,6 +43,10 @@ export class APIKeysResponse {
3843
baseName: "included",
3944
type: "Array<APIKeyResponseIncludedItem>",
4045
},
46+
meta: {
47+
baseName: "meta",
48+
type: "APIKeysResponseMeta",
49+
},
4150
};
4251

4352
/**
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
import { APIKeysResponseMetaPage } from "./APIKeysResponseMetaPage";
7+
8+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9+
10+
/**
11+
* Additional information related to api keys response.
12+
*/
13+
export class APIKeysResponseMeta {
14+
/**
15+
* Max allowed number of API keys.
16+
*/
17+
"maxAllowed"?: number;
18+
/**
19+
* Additional information related to the API keys response.
20+
*/
21+
"page"?: APIKeysResponseMetaPage;
22+
23+
/**
24+
* @ignore
25+
*/
26+
"_unparsed"?: boolean;
27+
28+
/**
29+
* @ignore
30+
*/
31+
static readonly attributeTypeMap: AttributeTypeMap = {
32+
maxAllowed: {
33+
baseName: "max_allowed",
34+
type: "number",
35+
format: "int64",
36+
},
37+
page: {
38+
baseName: "page",
39+
type: "APIKeysResponseMetaPage",
40+
},
41+
};
42+
43+
/**
44+
* @ignore
45+
*/
46+
static getAttributeTypeMap(): AttributeTypeMap {
47+
return APIKeysResponseMeta.attributeTypeMap;
48+
}
49+
50+
public constructor() {}
51+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
7+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8+
9+
/**
10+
* Additional information related to the API keys response.
11+
*/
12+
export class APIKeysResponseMetaPage {
13+
/**
14+
* Total filtered application key count.
15+
*/
16+
"totalFilteredCount"?: number;
17+
18+
/**
19+
* @ignore
20+
*/
21+
"_unparsed"?: boolean;
22+
23+
/**
24+
* @ignore
25+
*/
26+
static readonly attributeTypeMap: AttributeTypeMap = {
27+
totalFilteredCount: {
28+
baseName: "total_filtered_count",
29+
type: "number",
30+
format: "int64",
31+
},
32+
};
33+
34+
/**
35+
* @ignore
36+
*/
37+
static getAttributeTypeMap(): AttributeTypeMap {
38+
return APIKeysResponseMetaPage.attributeTypeMap;
39+
}
40+
41+
public constructor() {}
42+
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* This product includes software developed at Datadog (https://www.datadoghq.com/).
44
* Copyright 2020-Present Datadog, Inc.
55
*/
6+
import { RelationshipToLeakInformation } from "./RelationshipToLeakInformation";
67
import { RelationshipToUser } from "./RelationshipToUser";
78

89
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -11,6 +12,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1112
* Resources related to the application key.
1213
*/
1314
export class ApplicationKeyRelationships {
15+
/**
16+
* Relationship to leaked keys.
17+
*/
18+
"leakInformation"?: RelationshipToLeakInformation;
1419
/**
1520
* Relationship to user.
1621
*/
@@ -25,6 +30,10 @@ export class ApplicationKeyRelationships {
2530
* @ignore
2631
*/
2732
static readonly attributeTypeMap: AttributeTypeMap = {
33+
leakInformation: {
34+
baseName: "leak_information",
35+
type: "RelationshipToLeakInformation",
36+
},
2837
ownedBy: {
2938
baseName: "owned_by",
3039
type: "RelationshipToUser",

0 commit comments

Comments
 (0)