Skip to content

Commit ea5f9d4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 29c811a of spec repo
1 parent 48abb3e commit ea5f9d4

File tree

5 files changed

+6
-116
lines changed

5 files changed

+6
-116
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -51735,7 +51735,9 @@ paths:
5173551735

5173651736

5173751737
Pipeline events can be submitted with a timestamp that is up to 18 hours in
51738-
the past.'
51738+
the past.
51739+
51740+
The duration between the event start and end times cannot exceed 1 year.'
5173951741
operationId: CreateCIAppPipelineEvent
5174051742
requestBody:
5174151743
content:
@@ -62417,39 +62419,6 @@ paths:
6241762419
get:
6241862420
description: Returns a list of org connections.
6241962421
operationId: ListOrgConnections
62420-
parameters:
62421-
- description: The Org ID of the sink org.
62422-
example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1
62423-
in: query
62424-
name: sink_org_id
62425-
required: false
62426-
schema:
62427-
type: string
62428-
- description: The Org ID of the source org.
62429-
example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1
62430-
in: query
62431-
name: source_org_id
62432-
required: false
62433-
schema:
62434-
type: string
62435-
- description: The limit of number of entries you want to return. Default is
62436-
1000.
62437-
example: 1000
62438-
in: query
62439-
name: limit
62440-
required: false
62441-
schema:
62442-
format: int64
62443-
type: integer
62444-
- description: The pagination offset which you want to query from. Default is
62445-
0.
62446-
example: 0
62447-
in: query
62448-
name: offset
62449-
required: false
62450-
schema:
62451-
format: int64
62452-
type: integer
6245362422
responses:
6245462423
'200':
6245562424
content:

features/support/scenarios_model_mapping.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6771,22 +6771,6 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
67716771
"operationResponseType": "{}",
67726772
},
67736773
"v2.ListOrgConnections": {
6774-
"sinkOrgId": {
6775-
"type": "string",
6776-
"format": "",
6777-
},
6778-
"sourceOrgId": {
6779-
"type": "string",
6780-
"format": "",
6781-
},
6782-
"limit": {
6783-
"type": "number",
6784-
"format": "int64",
6785-
},
6786-
"offset": {
6787-
"type": "number",
6788-
"format": "int64",
6789-
},
67906774
"operationResponseType": "OrgConnectionListResponse",
67916775
},
67926776
"v2.CreateOrgConnections": {

packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ export class CIVisibilityPipelinesApi {
577577
* Multiple events can be sent in an array (up to 1000).
578578
*
579579
* Pipeline events can be submitted with a timestamp that is up to 18 hours in the past.
580+
* The duration between the event start and end times cannot exceed 1 year.
580581
* @param param The request object
581582
*/
582583
public createCIAppPipelineEvent(

packages/datadog-api-client-v2/apis/OrgConnectionsApi.ts

Lines changed: 2 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ export class OrgConnectionsApiRequestFactory extends BaseAPIRequestFactory {
100100
}
101101

102102
public async listOrgConnections(
103-
sinkOrgId?: string,
104-
sourceOrgId?: string,
105-
limit?: number,
106-
offset?: number,
107103
_options?: Configuration
108104
): Promise<RequestContext> {
109105
const _config = _options || this.configuration;
@@ -118,36 +114,6 @@ export class OrgConnectionsApiRequestFactory extends BaseAPIRequestFactory {
118114
requestContext.setHeaderParam("Accept", "application/json");
119115
requestContext.setHttpConfig(_config.httpConfig);
120116

121-
// Query Params
122-
if (sinkOrgId !== undefined) {
123-
requestContext.setQueryParam(
124-
"sink_org_id",
125-
ObjectSerializer.serialize(sinkOrgId, "string", ""),
126-
""
127-
);
128-
}
129-
if (sourceOrgId !== undefined) {
130-
requestContext.setQueryParam(
131-
"source_org_id",
132-
ObjectSerializer.serialize(sourceOrgId, "string", ""),
133-
""
134-
);
135-
}
136-
if (limit !== undefined) {
137-
requestContext.setQueryParam(
138-
"limit",
139-
ObjectSerializer.serialize(limit, "number", "int64"),
140-
""
141-
);
142-
}
143-
if (offset !== undefined) {
144-
requestContext.setQueryParam(
145-
"offset",
146-
ObjectSerializer.serialize(offset, "number", "int64"),
147-
""
148-
);
149-
}
150-
151117
// Apply auth methods
152118
applySecurityAuthentication(_config, requestContext, [
153119
"apiKeyAuth",
@@ -471,29 +437,6 @@ export interface OrgConnectionsApiDeleteOrgConnectionsRequest {
471437
connectionId: string;
472438
}
473439

474-
export interface OrgConnectionsApiListOrgConnectionsRequest {
475-
/**
476-
* The Org ID of the sink org.
477-
* @type string
478-
*/
479-
sinkOrgId?: string;
480-
/**
481-
* The Org ID of the source org.
482-
* @type string
483-
*/
484-
sourceOrgId?: string;
485-
/**
486-
* The limit of number of entries you want to return. Default is 1000.
487-
* @type number
488-
*/
489-
limit?: number;
490-
/**
491-
* The pagination offset which you want to query from. Default is 0.
492-
* @type number
493-
*/
494-
offset?: number;
495-
}
496-
497440
export interface OrgConnectionsApiUpdateOrgConnectionsRequest {
498441
/**
499442
* The unique identifier of the org connection.
@@ -570,16 +513,10 @@ export class OrgConnectionsApi {
570513
* @param param The request object
571514
*/
572515
public listOrgConnections(
573-
param: OrgConnectionsApiListOrgConnectionsRequest = {},
574516
options?: Configuration
575517
): Promise<OrgConnectionListResponse> {
576-
const requestContextPromise = this.requestFactory.listOrgConnections(
577-
param.sinkOrgId,
578-
param.sourceOrgId,
579-
param.limit,
580-
param.offset,
581-
options
582-
);
518+
const requestContextPromise =
519+
this.requestFactory.listOrgConnections(options);
583520
return requestContextPromise.then((requestContext) => {
584521
return this.configuration.httpApi
585522
.send(requestContext)

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ export {
530530
export {
531531
OrgConnectionsApiCreateOrgConnectionsRequest,
532532
OrgConnectionsApiDeleteOrgConnectionsRequest,
533-
OrgConnectionsApiListOrgConnectionsRequest,
534533
OrgConnectionsApiUpdateOrgConnectionsRequest,
535534
OrgConnectionsApi,
536535
} from "./apis/OrgConnectionsApi";

0 commit comments

Comments
 (0)