Skip to content

Commit 91a2a92

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8574e36 of spec repo
1 parent 88ea41f commit 91a2a92

56 files changed

Lines changed: 7721 additions & 389 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.generator/schemas/v2/openapi.yaml

Lines changed: 1537 additions & 10 deletions
Large diffs are not rendered by default.

features/v2/service_scorecards.feature

Lines changed: 278 additions & 0 deletions
Large diffs are not rendered by default.

features/v2/undo.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,6 +4249,60 @@
42494249
"type": "idempotent"
42504250
}
42514251
},
4252+
"ListScorecardCampaigns": {
4253+
"tag": "Service Scorecards",
4254+
"undo": {
4255+
"type": "safe"
4256+
}
4257+
},
4258+
"CreateScorecardCampaign": {
4259+
"tag": "Service Scorecards",
4260+
"undo": {
4261+
"type": "unsafe"
4262+
}
4263+
},
4264+
"DeleteScorecardCampaign": {
4265+
"tag": "Service Scorecards",
4266+
"undo": {
4267+
"type": "idempotent"
4268+
}
4269+
},
4270+
"GetScorecardCampaign": {
4271+
"tag": "Service Scorecards",
4272+
"undo": {
4273+
"type": "safe"
4274+
}
4275+
},
4276+
"UpdateScorecardCampaign": {
4277+
"tag": "Service Scorecards",
4278+
"undo": {
4279+
"type": "idempotent"
4280+
}
4281+
},
4282+
"GenerateScorecardCampaignTeamReports": {
4283+
"tag": "Service Scorecards",
4284+
"undo": {
4285+
"type": "unsafe"
4286+
}
4287+
},
4288+
"GenerateScorecardCampaignReport": {
4289+
"tag": "Service Scorecards",
4290+
"undo": {
4291+
"type": "unsafe"
4292+
}
4293+
},
4294+
"ListScorecardDefaultRules": {
4295+
"tag": "Service Scorecards",
4296+
"undo": {
4297+
"type": "safe"
4298+
}
4299+
},
4300+
"ListScorecardFacets": {
4301+
"tag": "Service Scorecards",
4302+
"undo": {
4303+
"type": "safe"
4304+
}
4305+
},
42524306
"ListScorecardOutcomes": {
42534307
"tag": "Service Scorecards",
42544308
"undo": {
@@ -4298,6 +4352,36 @@
42984352
"type": "idempotent"
42994353
}
43004354
},
4355+
"DeleteScorecardRuleWorkflow": {
4356+
"tag": "Service Scorecards",
4357+
"undo": {
4358+
"type": "idempotent"
4359+
}
4360+
},
4361+
"UpdateScorecardRuleWorkflow": {
4362+
"tag": "Service Scorecards",
4363+
"undo": {
4364+
"type": "idempotent"
4365+
}
4366+
},
4367+
"ListScorecards": {
4368+
"tag": "Service Scorecards",
4369+
"undo": {
4370+
"type": "safe"
4371+
}
4372+
},
4373+
"ListScorecardScores": {
4374+
"tag": "Service Scorecards",
4375+
"undo": {
4376+
"type": "safe"
4377+
}
4378+
},
4379+
"SetupScorecardRules": {
4380+
"tag": "Service Scorecards",
4381+
"undo": {
4382+
"type": "unsafe"
4383+
}
4384+
},
43014385
"UnassignSeatsUser": {
43024386
"tag": "Seats",
43034387
"undo": {

private/bdd_runner/src/support/scenarios_model_mapping.ts

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9457,6 +9457,101 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
94579457
},
94589458
operationResponseType: "ViewershipHistorySessionArray",
94599459
},
9460+
"ServiceScorecardsApi.V2.ListScorecardCampaigns": {
9461+
pageLimit: {
9462+
type: "number",
9463+
format: "int64",
9464+
},
9465+
pageOffset: {
9466+
type: "number",
9467+
format: "int64",
9468+
},
9469+
filterCampaignName: {
9470+
type: "string",
9471+
format: "",
9472+
},
9473+
filterCampaignStatus: {
9474+
type: "string",
9475+
format: "",
9476+
},
9477+
filterCampaignOwner: {
9478+
type: "string",
9479+
format: "",
9480+
},
9481+
operationResponseType: "ListCampaignsResponse",
9482+
},
9483+
"ServiceScorecardsApi.V2.CreateScorecardCampaign": {
9484+
body: {
9485+
type: "CreateCampaignRequest",
9486+
format: "",
9487+
},
9488+
operationResponseType: "CampaignResponse",
9489+
},
9490+
"ServiceScorecardsApi.V2.GetScorecardCampaign": {
9491+
campaignId: {
9492+
type: "string",
9493+
format: "",
9494+
},
9495+
include: {
9496+
type: "string",
9497+
format: "",
9498+
},
9499+
includeMeta: {
9500+
type: "boolean",
9501+
format: "",
9502+
},
9503+
operationResponseType: "CampaignResponse",
9504+
},
9505+
"ServiceScorecardsApi.V2.UpdateScorecardCampaign": {
9506+
campaignId: {
9507+
type: "string",
9508+
format: "",
9509+
},
9510+
body: {
9511+
type: "UpdateCampaignRequest",
9512+
format: "",
9513+
},
9514+
operationResponseType: "CampaignResponse",
9515+
},
9516+
"ServiceScorecardsApi.V2.DeleteScorecardCampaign": {
9517+
campaignId: {
9518+
type: "string",
9519+
format: "",
9520+
},
9521+
operationResponseType: "{}",
9522+
},
9523+
"ServiceScorecardsApi.V2.GenerateScorecardCampaignTeamReports": {
9524+
campaignId: {
9525+
type: "string",
9526+
format: "",
9527+
},
9528+
body: {
9529+
type: "GenerateCampaignTeamReportsRequest",
9530+
format: "",
9531+
},
9532+
operationResponseType: "{}",
9533+
},
9534+
"ServiceScorecardsApi.V2.GenerateScorecardCampaignReport": {
9535+
campaignId: {
9536+
type: "string",
9537+
format: "",
9538+
},
9539+
body: {
9540+
type: "GenerateCampaignReportRequest",
9541+
format: "",
9542+
},
9543+
operationResponseType: "{}",
9544+
},
9545+
"ServiceScorecardsApi.V2.ListScorecardDefaultRules": {
9546+
operationResponseType: "ListDefaultRulesResponse",
9547+
},
9548+
"ServiceScorecardsApi.V2.ListScorecardFacets": {
9549+
filterEntityQuery: {
9550+
type: "string",
9551+
format: "",
9552+
},
9553+
operationResponseType: "ListFacetsResponse",
9554+
},
94609555
"ServiceScorecardsApi.V2.ListScorecardOutcomes": {
94619556
pageSize: {
94629557
type: "number",
@@ -9582,6 +9677,89 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
95829677
},
95839678
operationResponseType: "{}",
95849679
},
9680+
"ServiceScorecardsApi.V2.DeleteScorecardRuleWorkflow": {
9681+
ruleId: {
9682+
type: "string",
9683+
format: "",
9684+
},
9685+
operationResponseType: "{}",
9686+
},
9687+
"ServiceScorecardsApi.V2.UpdateScorecardRuleWorkflow": {
9688+
ruleId: {
9689+
type: "string",
9690+
format: "",
9691+
},
9692+
workflowId: {
9693+
type: "string",
9694+
format: "",
9695+
},
9696+
operationResponseType: "{}",
9697+
},
9698+
"ServiceScorecardsApi.V2.ListScorecards": {
9699+
pageOffset: {
9700+
type: "number",
9701+
format: "int64",
9702+
},
9703+
pageSize: {
9704+
type: "number",
9705+
format: "int64",
9706+
},
9707+
filterScorecardId: {
9708+
type: "string",
9709+
format: "",
9710+
},
9711+
filterScorecardName: {
9712+
type: "string",
9713+
format: "",
9714+
},
9715+
filterScorecardDescription: {
9716+
type: "string",
9717+
format: "",
9718+
},
9719+
operationResponseType: "ListScorecardsResponse",
9720+
},
9721+
"ServiceScorecardsApi.V2.ListScorecardScores": {
9722+
aggregation: {
9723+
type: "string",
9724+
format: "",
9725+
},
9726+
pageLimit: {
9727+
type: "number",
9728+
format: "int64",
9729+
},
9730+
pageOffset: {
9731+
type: "number",
9732+
format: "int64",
9733+
},
9734+
filterEntityQuery: {
9735+
type: "string",
9736+
format: "",
9737+
},
9738+
filterRuleId: {
9739+
type: "string",
9740+
format: "",
9741+
},
9742+
filterRuleEnabled: {
9743+
type: "boolean",
9744+
format: "",
9745+
},
9746+
filterRuleCustom: {
9747+
type: "boolean",
9748+
format: "",
9749+
},
9750+
sort: {
9751+
type: "string",
9752+
format: "",
9753+
},
9754+
operationResponseType: "ListScoresResponse",
9755+
},
9756+
"ServiceScorecardsApi.V2.SetupScorecardRules": {
9757+
body: {
9758+
type: "SetupRulesRequest",
9759+
format: "",
9760+
},
9761+
operationResponseType: "{}",
9762+
},
95859763
"SeatsApi.V2.GetSeatsUsers": {
95869764
productCode: {
95879765
type: "string",

services/service_scorecards/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ const configuration = createConfiguration();
3030
// Enable unstable operations
3131
const configurationOpts = {
3232
unstableOperations: {
33-
"ServiceScorecardsApi.v2.listScorecardOutcomes": true
33+
"ServiceScorecardsApi.v2.listScorecardCampaigns": true
3434
}
3535
}
3636

3737
const configuration = createConfiguration(configurationOpts);
3838
const apiInstance = new ServiceScorecardsApiV2(configuration);
3939
const params = {/* parameters */};
4040

41-
apiInstance.listScorecardOutcomes(params).then((data) => {
41+
apiInstance.listScorecardCampaigns(params).then((data) => {
4242
console.log("API called successfully. Returned data: " + JSON.stringify(data));
4343
}).catch((error) => {
4444
console.error("Error calling API: " + error);

0 commit comments

Comments
 (0)