Skip to content

Commit a054e16

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 27b7ba8d of spec repo (#786)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 91619d9 commit a054e16

File tree

7 files changed

+107
-4
lines changed

7 files changed

+107
-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.2",
7-
"regenerated": "2022-08-04 14:08:04.573339",
8-
"spec_repo_commit": "43d0c8cf"
7+
"regenerated": "2022-08-04 14:45:12.442147",
8+
"spec_repo_commit": "27b7ba8d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-08-04 14:08:04.591215",
13-
"spec_repo_commit": "43d0c8cf"
12+
"regenerated": "2022-08-04 14:45:12.456686",
13+
"spec_repo_commit": "27b7ba8d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10868,7 +10868,34 @@ components:
1086810868
- $ref: '#/components/schemas/SyntheticsBasicAuthWeb'
1086910869
- $ref: '#/components/schemas/SyntheticsBasicAuthSigv4'
1087010870
- $ref: '#/components/schemas/SyntheticsBasicAuthNTLM'
10871+
- $ref: '#/components/schemas/SyntheticsBasicAuthDigest'
1087110872
type: object
10873+
SyntheticsBasicAuthDigest:
10874+
description: Object to handle digest authentication when performing the test.
10875+
properties:
10876+
password:
10877+
description: Password to use for the digest authentication.
10878+
example: PaSSw0RD!
10879+
type: string
10880+
type:
10881+
$ref: '#/components/schemas/SyntheticsBasicAuthDigestType'
10882+
username:
10883+
description: Username to use for the digest authentication.
10884+
example: my_username
10885+
type: string
10886+
required:
10887+
- password
10888+
- username
10889+
type: object
10890+
SyntheticsBasicAuthDigestType:
10891+
default: digest
10892+
description: The type of basic authentication to use when performing the test.
10893+
enum:
10894+
- digest
10895+
example: digest
10896+
type: string
10897+
x-enum-varnames:
10898+
- DIGEST
1087210899
SyntheticsBasicAuthNTLM:
1087310900
description: Object to handle `NTLM` authentication when performing the test.
1087410901
properties:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,8 @@ export { SyntheticsAssertionOperator } from "./models/SyntheticsAssertionOperato
770770
export { SyntheticsAssertionTarget } from "./models/SyntheticsAssertionTarget";
771771
export { SyntheticsAssertionType } from "./models/SyntheticsAssertionType";
772772
export { SyntheticsBasicAuth } from "./models/SyntheticsBasicAuth";
773+
export { SyntheticsBasicAuthDigest } from "./models/SyntheticsBasicAuthDigest";
774+
export { SyntheticsBasicAuthDigestType } from "./models/SyntheticsBasicAuthDigestType";
773775
export { SyntheticsBasicAuthNTLM } from "./models/SyntheticsBasicAuthNTLM";
774776
export { SyntheticsBasicAuthNTLMType } from "./models/SyntheticsBasicAuthNTLMType";
775777
export { SyntheticsBasicAuthSigv4 } from "./models/SyntheticsBasicAuthSigv4";

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ import { SyntheticsApiTestResultFailure } from "./SyntheticsApiTestResultFailure
334334
import { SyntheticsAssertionJSONPathTarget } from "./SyntheticsAssertionJSONPathTarget";
335335
import { SyntheticsAssertionJSONPathTargetTarget } from "./SyntheticsAssertionJSONPathTargetTarget";
336336
import { SyntheticsAssertionTarget } from "./SyntheticsAssertionTarget";
337+
import { SyntheticsBasicAuthDigest } from "./SyntheticsBasicAuthDigest";
337338
import { SyntheticsBasicAuthNTLM } from "./SyntheticsBasicAuthNTLM";
338339
import { SyntheticsBasicAuthSigv4 } from "./SyntheticsBasicAuthSigv4";
339340
import { SyntheticsBasicAuthWeb } from "./SyntheticsBasicAuthWeb";
@@ -924,6 +925,7 @@ const enumsMap: { [key: string]: any[] } = {
924925
"grpcHealthcheckStatus",
925926
"connection",
926927
],
928+
SyntheticsBasicAuthDigestType: ["digest"],
927929
SyntheticsBasicAuthNTLMType: ["ntlm"],
928930
SyntheticsBasicAuthSigv4Type: ["sigv4"],
929931
SyntheticsBasicAuthWebType: ["web"],
@@ -1608,6 +1610,7 @@ const typeMap: { [index: string]: any } = {
16081610
SyntheticsAssertionJSONPathTargetTarget:
16091611
SyntheticsAssertionJSONPathTargetTarget,
16101612
SyntheticsAssertionTarget: SyntheticsAssertionTarget,
1613+
SyntheticsBasicAuthDigest: SyntheticsBasicAuthDigest,
16111614
SyntheticsBasicAuthNTLM: SyntheticsBasicAuthNTLM,
16121615
SyntheticsBasicAuthSigv4: SyntheticsBasicAuthSigv4,
16131616
SyntheticsBasicAuthWeb: SyntheticsBasicAuthWeb,
@@ -1887,6 +1890,7 @@ const oneOfMap: { [index: string]: string[] } = {
18871890
"SyntheticsBasicAuthWeb",
18881891
"SyntheticsBasicAuthSigv4",
18891892
"SyntheticsBasicAuthNTLM",
1893+
"SyntheticsBasicAuthDigest",
18901894
],
18911895
WidgetDefinition: [
18921896
"AlertGraphWidgetDefinition",

packages/datadog-api-client-v1/models/SyntheticsBasicAuth.ts

Lines changed: 2 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 { SyntheticsBasicAuthDigest } from "./SyntheticsBasicAuthDigest";
67
import { SyntheticsBasicAuthNTLM } from "./SyntheticsBasicAuthNTLM";
78
import { SyntheticsBasicAuthSigv4 } from "./SyntheticsBasicAuthSigv4";
89
import { SyntheticsBasicAuthWeb } from "./SyntheticsBasicAuthWeb";
@@ -17,4 +18,5 @@ export type SyntheticsBasicAuth =
1718
| SyntheticsBasicAuthWeb
1819
| SyntheticsBasicAuthSigv4
1920
| SyntheticsBasicAuthNTLM
21+
| SyntheticsBasicAuthDigest
2022
| UnparsedObject;
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 { SyntheticsBasicAuthDigestType } from "./SyntheticsBasicAuthDigestType";
7+
8+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9+
10+
/**
11+
* Object to handle digest authentication when performing the test.
12+
*/
13+
export class SyntheticsBasicAuthDigest {
14+
/**
15+
* Password to use for the digest authentication.
16+
*/
17+
"password": string;
18+
/**
19+
* The type of basic authentication to use when performing the test.
20+
*/
21+
"type"?: SyntheticsBasicAuthDigestType;
22+
/**
23+
* Username to use for the digest authentication.
24+
*/
25+
"username": string;
26+
27+
/**
28+
* @ignore
29+
*/
30+
"unparsedObject"?: any;
31+
32+
/**
33+
* @ignore
34+
*/
35+
static readonly attributeTypeMap: AttributeTypeMap = {
36+
password: {
37+
baseName: "password",
38+
type: "string",
39+
required: true,
40+
},
41+
type: {
42+
baseName: "type",
43+
type: "SyntheticsBasicAuthDigestType",
44+
},
45+
username: {
46+
baseName: "username",
47+
type: "string",
48+
required: true,
49+
},
50+
};
51+
52+
/**
53+
* @ignore
54+
*/
55+
static getAttributeTypeMap(): AttributeTypeMap {
56+
return SyntheticsBasicAuthDigest.attributeTypeMap;
57+
}
58+
59+
public constructor() {}
60+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
export type SyntheticsBasicAuthDigestType = typeof DIGEST;
8+
export const DIGEST = "digest";

0 commit comments

Comments
 (0)