Skip to content

Commit 51b96cf

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2561aa6 of spec repo
1 parent 919441a commit 51b96cf

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
@@ -4349,6 +4349,60 @@
43494349
"type": "idempotent"
43504350
}
43514351
},
4352+
"ListScorecardCampaigns": {
4353+
"tag": "Service Scorecards",
4354+
"undo": {
4355+
"type": "safe"
4356+
}
4357+
},
4358+
"CreateScorecardCampaign": {
4359+
"tag": "Service Scorecards",
4360+
"undo": {
4361+
"type": "unsafe"
4362+
}
4363+
},
4364+
"DeleteScorecardCampaign": {
4365+
"tag": "Service Scorecards",
4366+
"undo": {
4367+
"type": "idempotent"
4368+
}
4369+
},
4370+
"GetScorecardCampaign": {
4371+
"tag": "Service Scorecards",
4372+
"undo": {
4373+
"type": "safe"
4374+
}
4375+
},
4376+
"UpdateScorecardCampaign": {
4377+
"tag": "Service Scorecards",
4378+
"undo": {
4379+
"type": "idempotent"
4380+
}
4381+
},
4382+
"GenerateScorecardCampaignTeamReports": {
4383+
"tag": "Service Scorecards",
4384+
"undo": {
4385+
"type": "unsafe"
4386+
}
4387+
},
4388+
"GenerateScorecardCampaignReport": {
4389+
"tag": "Service Scorecards",
4390+
"undo": {
4391+
"type": "unsafe"
4392+
}
4393+
},
4394+
"ListScorecardDefaultRules": {
4395+
"tag": "Service Scorecards",
4396+
"undo": {
4397+
"type": "safe"
4398+
}
4399+
},
4400+
"ListScorecardFacets": {
4401+
"tag": "Service Scorecards",
4402+
"undo": {
4403+
"type": "safe"
4404+
}
4405+
},
43524406
"ListScorecardOutcomes": {
43534407
"tag": "Service Scorecards",
43544408
"undo": {
@@ -4398,6 +4452,36 @@
43984452
"type": "idempotent"
43994453
}
44004454
},
4455+
"DeleteScorecardRuleWorkflow": {
4456+
"tag": "Service Scorecards",
4457+
"undo": {
4458+
"type": "idempotent"
4459+
}
4460+
},
4461+
"UpdateScorecardRuleWorkflow": {
4462+
"tag": "Service Scorecards",
4463+
"undo": {
4464+
"type": "idempotent"
4465+
}
4466+
},
4467+
"ListScorecards": {
4468+
"tag": "Service Scorecards",
4469+
"undo": {
4470+
"type": "safe"
4471+
}
4472+
},
4473+
"ListScorecardScores": {
4474+
"tag": "Service Scorecards",
4475+
"undo": {
4476+
"type": "safe"
4477+
}
4478+
},
4479+
"SetupScorecardRules": {
4480+
"tag": "Service Scorecards",
4481+
"undo": {
4482+
"type": "unsafe"
4483+
}
4484+
},
44014485
"UnassignSeatsUser": {
44024486
"tag": "Seats",
44034487
"undo": {

private/bdd_runner/src/support/scenarios_model_mapping.ts

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9591,6 +9591,101 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
95919591
},
95929592
operationResponseType: "ViewershipHistorySessionArray",
95939593
},
9594+
"ServiceScorecardsApi.V2.ListScorecardCampaigns": {
9595+
pageLimit: {
9596+
type: "number",
9597+
format: "int64",
9598+
},
9599+
pageOffset: {
9600+
type: "number",
9601+
format: "int64",
9602+
},
9603+
filterCampaignName: {
9604+
type: "string",
9605+
format: "",
9606+
},
9607+
filterCampaignStatus: {
9608+
type: "string",
9609+
format: "",
9610+
},
9611+
filterCampaignOwner: {
9612+
type: "string",
9613+
format: "",
9614+
},
9615+
operationResponseType: "ListCampaignsResponse",
9616+
},
9617+
"ServiceScorecardsApi.V2.CreateScorecardCampaign": {
9618+
body: {
9619+
type: "CreateCampaignRequest",
9620+
format: "",
9621+
},
9622+
operationResponseType: "CampaignResponse",
9623+
},
9624+
"ServiceScorecardsApi.V2.GetScorecardCampaign": {
9625+
campaignId: {
9626+
type: "string",
9627+
format: "",
9628+
},
9629+
include: {
9630+
type: "string",
9631+
format: "",
9632+
},
9633+
includeMeta: {
9634+
type: "boolean",
9635+
format: "",
9636+
},
9637+
operationResponseType: "CampaignResponse",
9638+
},
9639+
"ServiceScorecardsApi.V2.UpdateScorecardCampaign": {
9640+
campaignId: {
9641+
type: "string",
9642+
format: "",
9643+
},
9644+
body: {
9645+
type: "UpdateCampaignRequest",
9646+
format: "",
9647+
},
9648+
operationResponseType: "CampaignResponse",
9649+
},
9650+
"ServiceScorecardsApi.V2.DeleteScorecardCampaign": {
9651+
campaignId: {
9652+
type: "string",
9653+
format: "",
9654+
},
9655+
operationResponseType: "{}",
9656+
},
9657+
"ServiceScorecardsApi.V2.GenerateScorecardCampaignTeamReports": {
9658+
campaignId: {
9659+
type: "string",
9660+
format: "",
9661+
},
9662+
body: {
9663+
type: "GenerateCampaignTeamReportsRequest",
9664+
format: "",
9665+
},
9666+
operationResponseType: "{}",
9667+
},
9668+
"ServiceScorecardsApi.V2.GenerateScorecardCampaignReport": {
9669+
campaignId: {
9670+
type: "string",
9671+
format: "",
9672+
},
9673+
body: {
9674+
type: "GenerateCampaignReportRequest",
9675+
format: "",
9676+
},
9677+
operationResponseType: "{}",
9678+
},
9679+
"ServiceScorecardsApi.V2.ListScorecardDefaultRules": {
9680+
operationResponseType: "ListDefaultRulesResponse",
9681+
},
9682+
"ServiceScorecardsApi.V2.ListScorecardFacets": {
9683+
filterEntityQuery: {
9684+
type: "string",
9685+
format: "",
9686+
},
9687+
operationResponseType: "ListFacetsResponse",
9688+
},
95949689
"ServiceScorecardsApi.V2.ListScorecardOutcomes": {
95959690
pageSize: {
95969691
type: "number",
@@ -9716,6 +9811,89 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
97169811
},
97179812
operationResponseType: "{}",
97189813
},
9814+
"ServiceScorecardsApi.V2.DeleteScorecardRuleWorkflow": {
9815+
ruleId: {
9816+
type: "string",
9817+
format: "",
9818+
},
9819+
operationResponseType: "{}",
9820+
},
9821+
"ServiceScorecardsApi.V2.UpdateScorecardRuleWorkflow": {
9822+
ruleId: {
9823+
type: "string",
9824+
format: "",
9825+
},
9826+
workflowId: {
9827+
type: "string",
9828+
format: "",
9829+
},
9830+
operationResponseType: "{}",
9831+
},
9832+
"ServiceScorecardsApi.V2.ListScorecards": {
9833+
pageOffset: {
9834+
type: "number",
9835+
format: "int64",
9836+
},
9837+
pageSize: {
9838+
type: "number",
9839+
format: "int64",
9840+
},
9841+
filterScorecardId: {
9842+
type: "string",
9843+
format: "",
9844+
},
9845+
filterScorecardName: {
9846+
type: "string",
9847+
format: "",
9848+
},
9849+
filterScorecardDescription: {
9850+
type: "string",
9851+
format: "",
9852+
},
9853+
operationResponseType: "ListScorecardsResponse",
9854+
},
9855+
"ServiceScorecardsApi.V2.ListScorecardScores": {
9856+
aggregation: {
9857+
type: "string",
9858+
format: "",
9859+
},
9860+
pageLimit: {
9861+
type: "number",
9862+
format: "int64",
9863+
},
9864+
pageOffset: {
9865+
type: "number",
9866+
format: "int64",
9867+
},
9868+
filterEntityQuery: {
9869+
type: "string",
9870+
format: "",
9871+
},
9872+
filterRuleId: {
9873+
type: "string",
9874+
format: "",
9875+
},
9876+
filterRuleEnabled: {
9877+
type: "boolean",
9878+
format: "",
9879+
},
9880+
filterRuleCustom: {
9881+
type: "boolean",
9882+
format: "",
9883+
},
9884+
sort: {
9885+
type: "string",
9886+
format: "",
9887+
},
9888+
operationResponseType: "ListScoresResponse",
9889+
},
9890+
"ServiceScorecardsApi.V2.SetupScorecardRules": {
9891+
body: {
9892+
type: "SetupRulesRequest",
9893+
format: "",
9894+
},
9895+
operationResponseType: "{}",
9896+
},
97199897
"SeatsApi.V2.GetSeatsUsers": {
97209898
productCode: {
97219899
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)