@datadog/datadog-api-client 1.0.0-beta.8 → 1.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +27 -0
  3. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +212 -96
  4. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
  5. package/dist/packages/datadog-api-client-v1/index.d.ts +3 -1
  6. package/dist/packages/datadog-api-client-v1/index.js +7 -3
  7. package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
  8. package/dist/packages/datadog-api-client-v1/models/EventCreateResponse.d.ts +2 -48
  9. package/dist/packages/datadog-api-client-v1/models/EventCreateResponse.js +3 -54
  10. package/dist/packages/datadog-api-client-v1/models/EventCreateResponse.js.map +1 -1
  11. package/dist/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.d.ts +1 -1
  12. package/dist/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.js +2 -2
  13. package/dist/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.js.map +1 -1
  14. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +10 -5
  15. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
  16. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.d.ts +4 -0
  17. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.js +4 -0
  18. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.js.map +1 -1
  19. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.d.ts +52 -0
  20. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js +57 -0
  21. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js.map +1 -0
  22. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.d.ts +33 -0
  23. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.js +37 -0
  24. package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.js.map +1 -0
  25. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +16 -0
  26. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +20 -0
  27. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
  28. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +16 -0
  29. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +20 -0
  30. package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
  31. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +16 -0
  32. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +20 -0
  33. package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
  34. package/dist/packages/datadog-api-client-v2/index.d.ts +1 -0
  35. package/dist/packages/datadog-api-client-v2/index.js +4 -2
  36. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  37. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +10 -5
  38. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  39. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.d.ts +2 -1
  40. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js +2 -1
  41. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js.map +1 -1
  42. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.d.ts +32 -0
  43. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.js +37 -0
  44. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.js.map +1 -0
  45. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +2 -0
  46. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js +4 -0
  47. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js.map +1 -1
  48. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryAggregation.d.ts +2 -1
  49. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryAggregation.js +2 -1
  50. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryAggregation.js.map +1 -1
  51. package/dist/version.d.ts +1 -1
  52. package/dist/version.js +1 -1
  53. package/package.json +2 -2
  54. package/dist/tests/api/deserialization.test.d.ts +0 -1
  55. package/dist/tests/api/deserialization.test.js +0 -42
  56. package/dist/tests/api/deserialization.test.js.map +0 -1
@@ -489,6 +489,36 @@ var UsageMeteringApiRequestFactory = /** @class */ (function (_super) {
489
489
  });
490
490
  });
491
491
  };
492
+ UsageMeteringApiRequestFactory.prototype.getUsageCIApp = function (startHr, endHr, _options) {
493
+ return __awaiter(this, void 0, void 0, function () {
494
+ var _config, localVarPath, requestContext;
495
+ return __generator(this, function (_a) {
496
+ _config = _options || this.configuration;
497
+ // verify required parameter 'startHr' is not null or undefined
498
+ if (startHr === null || startHr === undefined) {
499
+ throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageCIApp.");
500
+ }
501
+ localVarPath = "/api/v1/usage/ci-app";
502
+ requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageCIApp").makeRequestContext(localVarPath, http_1.HttpMethod.GET);
503
+ requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339");
504
+ requestContext.setHttpConfig(_config.httpConfig);
505
+ // Query Params
506
+ if (startHr !== undefined) {
507
+ requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time"));
508
+ }
509
+ if (endHr !== undefined) {
510
+ requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time"));
511
+ }
512
+ // Apply auth methods
513
+ (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
514
+ "AuthZ",
515
+ "apiKeyAuth",
516
+ "appKeyAuth",
517
+ ]);
518
+ return [2 /*return*/, requestContext];
519
+ });
520
+ });
521
+ };
492
522
  UsageMeteringApiRequestFactory.prototype.getUsageCWS = function (startHr, endHr, _options) {
493
523
  return __awaiter(this, void 0, void 0, function () {
494
524
  var _config, localVarPath, requestContext;
@@ -2045,10 +2075,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2045
2075
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2046
2076
  * to the expected objects
2047
2077
  *
2048
- * @params response Response returned by the server for a request to getUsageCWS
2078
+ * @params response Response returned by the server for a request to getUsageCIApp
2049
2079
  * @throws ApiException if the response code was not in [200, 299]
2050
2080
  */
2051
- UsageMeteringApiResponseProcessor.prototype.getUsageCWS = function (response) {
2081
+ UsageMeteringApiResponseProcessor.prototype.getUsageCIApp = function (response) {
2052
2082
  return __awaiter(this, void 0, void 0, function () {
2053
2083
  var contentType, body_57, _a, _b, _c, _d, body_58, _e, _f, _g, _h, body_59, _j, _k, _l, _m, body_60, _o, _p, _q, _r, body_61, _s, _t, _u, _v, body;
2054
2084
  return __generator(this, function (_w) {
@@ -2061,7 +2091,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2061
2091
  return [4 /*yield*/, response.body.text()];
2062
2092
  case 1:
2063
2093
  body_57 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2064
- "UsageCWSResponse",
2094
+ "UsageCIVisibilityResponse",
2065
2095
  ""]);
2066
2096
  return [2 /*return*/, body_57];
2067
2097
  case 2:
@@ -2101,7 +2131,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2101
2131
  return [4 /*yield*/, response.body.text()];
2102
2132
  case 9:
2103
2133
  body_61 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2104
- "UsageCWSResponse",
2134
+ "UsageCIVisibilityResponse",
2105
2135
  ""]);
2106
2136
  return [2 /*return*/, body_61];
2107
2137
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2116,10 +2146,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2116
2146
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2117
2147
  * to the expected objects
2118
2148
  *
2119
- * @params response Response returned by the server for a request to getUsageCloudSecurityPostureManagement
2149
+ * @params response Response returned by the server for a request to getUsageCWS
2120
2150
  * @throws ApiException if the response code was not in [200, 299]
2121
2151
  */
2122
- UsageMeteringApiResponseProcessor.prototype.getUsageCloudSecurityPostureManagement = function (response) {
2152
+ UsageMeteringApiResponseProcessor.prototype.getUsageCWS = function (response) {
2123
2153
  return __awaiter(this, void 0, void 0, function () {
2124
2154
  var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body;
2125
2155
  return __generator(this, function (_w) {
@@ -2132,7 +2162,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2132
2162
  return [4 /*yield*/, response.body.text()];
2133
2163
  case 1:
2134
2164
  body_62 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2135
- "UsageCloudSecurityPostureManagementResponse",
2165
+ "UsageCWSResponse",
2136
2166
  ""]);
2137
2167
  return [2 /*return*/, body_62];
2138
2168
  case 2:
@@ -2172,7 +2202,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2172
2202
  return [4 /*yield*/, response.body.text()];
2173
2203
  case 9:
2174
2204
  body_66 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2175
- "UsageCloudSecurityPostureManagementResponse",
2205
+ "UsageCWSResponse",
2176
2206
  ""]);
2177
2207
  return [2 /*return*/, body_66];
2178
2208
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2187,10 +2217,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2187
2217
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2188
2218
  * to the expected objects
2189
2219
  *
2190
- * @params response Response returned by the server for a request to getUsageDBM
2220
+ * @params response Response returned by the server for a request to getUsageCloudSecurityPostureManagement
2191
2221
  * @throws ApiException if the response code was not in [200, 299]
2192
2222
  */
2193
- UsageMeteringApiResponseProcessor.prototype.getUsageDBM = function (response) {
2223
+ UsageMeteringApiResponseProcessor.prototype.getUsageCloudSecurityPostureManagement = function (response) {
2194
2224
  return __awaiter(this, void 0, void 0, function () {
2195
2225
  var contentType, body_67, _a, _b, _c, _d, body_68, _e, _f, _g, _h, body_69, _j, _k, _l, _m, body_70, _o, _p, _q, _r, body_71, _s, _t, _u, _v, body;
2196
2226
  return __generator(this, function (_w) {
@@ -2203,7 +2233,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2203
2233
  return [4 /*yield*/, response.body.text()];
2204
2234
  case 1:
2205
2235
  body_67 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2206
- "UsageDBMResponse",
2236
+ "UsageCloudSecurityPostureManagementResponse",
2207
2237
  ""]);
2208
2238
  return [2 /*return*/, body_67];
2209
2239
  case 2:
@@ -2243,7 +2273,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2243
2273
  return [4 /*yield*/, response.body.text()];
2244
2274
  case 9:
2245
2275
  body_71 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2246
- "UsageDBMResponse",
2276
+ "UsageCloudSecurityPostureManagementResponse",
2247
2277
  ""]);
2248
2278
  return [2 /*return*/, body_71];
2249
2279
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2258,10 +2288,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2258
2288
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2259
2289
  * to the expected objects
2260
2290
  *
2261
- * @params response Response returned by the server for a request to getUsageFargate
2291
+ * @params response Response returned by the server for a request to getUsageDBM
2262
2292
  * @throws ApiException if the response code was not in [200, 299]
2263
2293
  */
2264
- UsageMeteringApiResponseProcessor.prototype.getUsageFargate = function (response) {
2294
+ UsageMeteringApiResponseProcessor.prototype.getUsageDBM = function (response) {
2265
2295
  return __awaiter(this, void 0, void 0, function () {
2266
2296
  var contentType, body_72, _a, _b, _c, _d, body_73, _e, _f, _g, _h, body_74, _j, _k, _l, _m, body_75, _o, _p, _q, _r, body_76, _s, _t, _u, _v, body;
2267
2297
  return __generator(this, function (_w) {
@@ -2274,7 +2304,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2274
2304
  return [4 /*yield*/, response.body.text()];
2275
2305
  case 1:
2276
2306
  body_72 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2277
- "UsageFargateResponse",
2307
+ "UsageDBMResponse",
2278
2308
  ""]);
2279
2309
  return [2 /*return*/, body_72];
2280
2310
  case 2:
@@ -2314,7 +2344,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2314
2344
  return [4 /*yield*/, response.body.text()];
2315
2345
  case 9:
2316
2346
  body_76 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2317
- "UsageFargateResponse",
2347
+ "UsageDBMResponse",
2318
2348
  ""]);
2319
2349
  return [2 /*return*/, body_76];
2320
2350
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2329,10 +2359,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2329
2359
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2330
2360
  * to the expected objects
2331
2361
  *
2332
- * @params response Response returned by the server for a request to getUsageHosts
2362
+ * @params response Response returned by the server for a request to getUsageFargate
2333
2363
  * @throws ApiException if the response code was not in [200, 299]
2334
2364
  */
2335
- UsageMeteringApiResponseProcessor.prototype.getUsageHosts = function (response) {
2365
+ UsageMeteringApiResponseProcessor.prototype.getUsageFargate = function (response) {
2336
2366
  return __awaiter(this, void 0, void 0, function () {
2337
2367
  var contentType, body_77, _a, _b, _c, _d, body_78, _e, _f, _g, _h, body_79, _j, _k, _l, _m, body_80, _o, _p, _q, _r, body_81, _s, _t, _u, _v, body;
2338
2368
  return __generator(this, function (_w) {
@@ -2345,7 +2375,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2345
2375
  return [4 /*yield*/, response.body.text()];
2346
2376
  case 1:
2347
2377
  body_77 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2348
- "UsageHostsResponse",
2378
+ "UsageFargateResponse",
2349
2379
  ""]);
2350
2380
  return [2 /*return*/, body_77];
2351
2381
  case 2:
@@ -2385,7 +2415,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2385
2415
  return [4 /*yield*/, response.body.text()];
2386
2416
  case 9:
2387
2417
  body_81 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2388
- "UsageHostsResponse",
2418
+ "UsageFargateResponse",
2389
2419
  ""]);
2390
2420
  return [2 /*return*/, body_81];
2391
2421
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2400,10 +2430,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2400
2430
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2401
2431
  * to the expected objects
2402
2432
  *
2403
- * @params response Response returned by the server for a request to getUsageIndexedSpans
2433
+ * @params response Response returned by the server for a request to getUsageHosts
2404
2434
  * @throws ApiException if the response code was not in [200, 299]
2405
2435
  */
2406
- UsageMeteringApiResponseProcessor.prototype.getUsageIndexedSpans = function (response) {
2436
+ UsageMeteringApiResponseProcessor.prototype.getUsageHosts = function (response) {
2407
2437
  return __awaiter(this, void 0, void 0, function () {
2408
2438
  var contentType, body_82, _a, _b, _c, _d, body_83, _e, _f, _g, _h, body_84, _j, _k, _l, _m, body_85, _o, _p, _q, _r, body_86, _s, _t, _u, _v, body;
2409
2439
  return __generator(this, function (_w) {
@@ -2416,7 +2446,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2416
2446
  return [4 /*yield*/, response.body.text()];
2417
2447
  case 1:
2418
2448
  body_82 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2419
- "UsageIndexedSpansResponse",
2449
+ "UsageHostsResponse",
2420
2450
  ""]);
2421
2451
  return [2 /*return*/, body_82];
2422
2452
  case 2:
@@ -2456,7 +2486,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2456
2486
  return [4 /*yield*/, response.body.text()];
2457
2487
  case 9:
2458
2488
  body_86 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2459
- "UsageIndexedSpansResponse",
2489
+ "UsageHostsResponse",
2460
2490
  ""]);
2461
2491
  return [2 /*return*/, body_86];
2462
2492
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2471,10 +2501,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2471
2501
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2472
2502
  * to the expected objects
2473
2503
  *
2474
- * @params response Response returned by the server for a request to getUsageInternetOfThings
2504
+ * @params response Response returned by the server for a request to getUsageIndexedSpans
2475
2505
  * @throws ApiException if the response code was not in [200, 299]
2476
2506
  */
2477
- UsageMeteringApiResponseProcessor.prototype.getUsageInternetOfThings = function (response) {
2507
+ UsageMeteringApiResponseProcessor.prototype.getUsageIndexedSpans = function (response) {
2478
2508
  return __awaiter(this, void 0, void 0, function () {
2479
2509
  var contentType, body_87, _a, _b, _c, _d, body_88, _e, _f, _g, _h, body_89, _j, _k, _l, _m, body_90, _o, _p, _q, _r, body_91, _s, _t, _u, _v, body;
2480
2510
  return __generator(this, function (_w) {
@@ -2487,7 +2517,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2487
2517
  return [4 /*yield*/, response.body.text()];
2488
2518
  case 1:
2489
2519
  body_87 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2490
- "UsageIoTResponse",
2520
+ "UsageIndexedSpansResponse",
2491
2521
  ""]);
2492
2522
  return [2 /*return*/, body_87];
2493
2523
  case 2:
@@ -2527,7 +2557,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2527
2557
  return [4 /*yield*/, response.body.text()];
2528
2558
  case 9:
2529
2559
  body_91 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2530
- "UsageIoTResponse",
2560
+ "UsageIndexedSpansResponse",
2531
2561
  ""]);
2532
2562
  return [2 /*return*/, body_91];
2533
2563
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2542,10 +2572,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2542
2572
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2543
2573
  * to the expected objects
2544
2574
  *
2545
- * @params response Response returned by the server for a request to getUsageLambda
2575
+ * @params response Response returned by the server for a request to getUsageInternetOfThings
2546
2576
  * @throws ApiException if the response code was not in [200, 299]
2547
2577
  */
2548
- UsageMeteringApiResponseProcessor.prototype.getUsageLambda = function (response) {
2578
+ UsageMeteringApiResponseProcessor.prototype.getUsageInternetOfThings = function (response) {
2549
2579
  return __awaiter(this, void 0, void 0, function () {
2550
2580
  var contentType, body_92, _a, _b, _c, _d, body_93, _e, _f, _g, _h, body_94, _j, _k, _l, _m, body_95, _o, _p, _q, _r, body_96, _s, _t, _u, _v, body;
2551
2581
  return __generator(this, function (_w) {
@@ -2558,7 +2588,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2558
2588
  return [4 /*yield*/, response.body.text()];
2559
2589
  case 1:
2560
2590
  body_92 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2561
- "UsageLambdaResponse",
2591
+ "UsageIoTResponse",
2562
2592
  ""]);
2563
2593
  return [2 /*return*/, body_92];
2564
2594
  case 2:
@@ -2598,7 +2628,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2598
2628
  return [4 /*yield*/, response.body.text()];
2599
2629
  case 9:
2600
2630
  body_96 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2601
- "UsageLambdaResponse",
2631
+ "UsageIoTResponse",
2602
2632
  ""]);
2603
2633
  return [2 /*return*/, body_96];
2604
2634
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2613,10 +2643,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2613
2643
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2614
2644
  * to the expected objects
2615
2645
  *
2616
- * @params response Response returned by the server for a request to getUsageLogs
2646
+ * @params response Response returned by the server for a request to getUsageLambda
2617
2647
  * @throws ApiException if the response code was not in [200, 299]
2618
2648
  */
2619
- UsageMeteringApiResponseProcessor.prototype.getUsageLogs = function (response) {
2649
+ UsageMeteringApiResponseProcessor.prototype.getUsageLambda = function (response) {
2620
2650
  return __awaiter(this, void 0, void 0, function () {
2621
2651
  var contentType, body_97, _a, _b, _c, _d, body_98, _e, _f, _g, _h, body_99, _j, _k, _l, _m, body_100, _o, _p, _q, _r, body_101, _s, _t, _u, _v, body;
2622
2652
  return __generator(this, function (_w) {
@@ -2629,7 +2659,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2629
2659
  return [4 /*yield*/, response.body.text()];
2630
2660
  case 1:
2631
2661
  body_97 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2632
- "UsageLogsResponse",
2662
+ "UsageLambdaResponse",
2633
2663
  ""]);
2634
2664
  return [2 /*return*/, body_97];
2635
2665
  case 2:
@@ -2669,7 +2699,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2669
2699
  return [4 /*yield*/, response.body.text()];
2670
2700
  case 9:
2671
2701
  body_101 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2672
- "UsageLogsResponse",
2702
+ "UsageLambdaResponse",
2673
2703
  ""]);
2674
2704
  return [2 /*return*/, body_101];
2675
2705
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2684,10 +2714,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2684
2714
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2685
2715
  * to the expected objects
2686
2716
  *
2687
- * @params response Response returned by the server for a request to getUsageLogsByIndex
2717
+ * @params response Response returned by the server for a request to getUsageLogs
2688
2718
  * @throws ApiException if the response code was not in [200, 299]
2689
2719
  */
2690
- UsageMeteringApiResponseProcessor.prototype.getUsageLogsByIndex = function (response) {
2720
+ UsageMeteringApiResponseProcessor.prototype.getUsageLogs = function (response) {
2691
2721
  return __awaiter(this, void 0, void 0, function () {
2692
2722
  var contentType, body_102, _a, _b, _c, _d, body_103, _e, _f, _g, _h, body_104, _j, _k, _l, _m, body_105, _o, _p, _q, _r, body_106, _s, _t, _u, _v, body;
2693
2723
  return __generator(this, function (_w) {
@@ -2700,7 +2730,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2700
2730
  return [4 /*yield*/, response.body.text()];
2701
2731
  case 1:
2702
2732
  body_102 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2703
- "UsageLogsByIndexResponse",
2733
+ "UsageLogsResponse",
2704
2734
  ""]);
2705
2735
  return [2 /*return*/, body_102];
2706
2736
  case 2:
@@ -2740,7 +2770,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2740
2770
  return [4 /*yield*/, response.body.text()];
2741
2771
  case 9:
2742
2772
  body_106 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2743
- "UsageLogsByIndexResponse",
2773
+ "UsageLogsResponse",
2744
2774
  ""]);
2745
2775
  return [2 /*return*/, body_106];
2746
2776
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2755,10 +2785,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2755
2785
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2756
2786
  * to the expected objects
2757
2787
  *
2758
- * @params response Response returned by the server for a request to getUsageLogsByRetention
2788
+ * @params response Response returned by the server for a request to getUsageLogsByIndex
2759
2789
  * @throws ApiException if the response code was not in [200, 299]
2760
2790
  */
2761
- UsageMeteringApiResponseProcessor.prototype.getUsageLogsByRetention = function (response) {
2791
+ UsageMeteringApiResponseProcessor.prototype.getUsageLogsByIndex = function (response) {
2762
2792
  return __awaiter(this, void 0, void 0, function () {
2763
2793
  var contentType, body_107, _a, _b, _c, _d, body_108, _e, _f, _g, _h, body_109, _j, _k, _l, _m, body_110, _o, _p, _q, _r, body_111, _s, _t, _u, _v, body;
2764
2794
  return __generator(this, function (_w) {
@@ -2771,7 +2801,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2771
2801
  return [4 /*yield*/, response.body.text()];
2772
2802
  case 1:
2773
2803
  body_107 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2774
- "UsageLogsByRetentionResponse",
2804
+ "UsageLogsByIndexResponse",
2775
2805
  ""]);
2776
2806
  return [2 /*return*/, body_107];
2777
2807
  case 2:
@@ -2811,7 +2841,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2811
2841
  return [4 /*yield*/, response.body.text()];
2812
2842
  case 9:
2813
2843
  body_111 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2814
- "UsageLogsByRetentionResponse",
2844
+ "UsageLogsByIndexResponse",
2815
2845
  ""]);
2816
2846
  return [2 /*return*/, body_111];
2817
2847
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2826,10 +2856,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2826
2856
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2827
2857
  * to the expected objects
2828
2858
  *
2829
- * @params response Response returned by the server for a request to getUsageNetworkFlows
2859
+ * @params response Response returned by the server for a request to getUsageLogsByRetention
2830
2860
  * @throws ApiException if the response code was not in [200, 299]
2831
2861
  */
2832
- UsageMeteringApiResponseProcessor.prototype.getUsageNetworkFlows = function (response) {
2862
+ UsageMeteringApiResponseProcessor.prototype.getUsageLogsByRetention = function (response) {
2833
2863
  return __awaiter(this, void 0, void 0, function () {
2834
2864
  var contentType, body_112, _a, _b, _c, _d, body_113, _e, _f, _g, _h, body_114, _j, _k, _l, _m, body_115, _o, _p, _q, _r, body_116, _s, _t, _u, _v, body;
2835
2865
  return __generator(this, function (_w) {
@@ -2842,7 +2872,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2842
2872
  return [4 /*yield*/, response.body.text()];
2843
2873
  case 1:
2844
2874
  body_112 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2845
- "UsageNetworkFlowsResponse",
2875
+ "UsageLogsByRetentionResponse",
2846
2876
  ""]);
2847
2877
  return [2 /*return*/, body_112];
2848
2878
  case 2:
@@ -2882,7 +2912,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2882
2912
  return [4 /*yield*/, response.body.text()];
2883
2913
  case 9:
2884
2914
  body_116 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2885
- "UsageNetworkFlowsResponse",
2915
+ "UsageLogsByRetentionResponse",
2886
2916
  ""]);
2887
2917
  return [2 /*return*/, body_116];
2888
2918
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2897,10 +2927,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2897
2927
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2898
2928
  * to the expected objects
2899
2929
  *
2900
- * @params response Response returned by the server for a request to getUsageNetworkHosts
2930
+ * @params response Response returned by the server for a request to getUsageNetworkFlows
2901
2931
  * @throws ApiException if the response code was not in [200, 299]
2902
2932
  */
2903
- UsageMeteringApiResponseProcessor.prototype.getUsageNetworkHosts = function (response) {
2933
+ UsageMeteringApiResponseProcessor.prototype.getUsageNetworkFlows = function (response) {
2904
2934
  return __awaiter(this, void 0, void 0, function () {
2905
2935
  var contentType, body_117, _a, _b, _c, _d, body_118, _e, _f, _g, _h, body_119, _j, _k, _l, _m, body_120, _o, _p, _q, _r, body_121, _s, _t, _u, _v, body;
2906
2936
  return __generator(this, function (_w) {
@@ -2913,7 +2943,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2913
2943
  return [4 /*yield*/, response.body.text()];
2914
2944
  case 1:
2915
2945
  body_117 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2916
- "UsageNetworkHostsResponse",
2946
+ "UsageNetworkFlowsResponse",
2917
2947
  ""]);
2918
2948
  return [2 /*return*/, body_117];
2919
2949
  case 2:
@@ -2953,7 +2983,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2953
2983
  return [4 /*yield*/, response.body.text()];
2954
2984
  case 9:
2955
2985
  body_121 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
2956
- "UsageNetworkHostsResponse",
2986
+ "UsageNetworkFlowsResponse",
2957
2987
  ""]);
2958
2988
  return [2 /*return*/, body_121];
2959
2989
  case 10: return [4 /*yield*/, response.body.text()];
@@ -2968,10 +2998,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2968
2998
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
2969
2999
  * to the expected objects
2970
3000
  *
2971
- * @params response Response returned by the server for a request to getUsageProfiling
3001
+ * @params response Response returned by the server for a request to getUsageNetworkHosts
2972
3002
  * @throws ApiException if the response code was not in [200, 299]
2973
3003
  */
2974
- UsageMeteringApiResponseProcessor.prototype.getUsageProfiling = function (response) {
3004
+ UsageMeteringApiResponseProcessor.prototype.getUsageNetworkHosts = function (response) {
2975
3005
  return __awaiter(this, void 0, void 0, function () {
2976
3006
  var contentType, body_122, _a, _b, _c, _d, body_123, _e, _f, _g, _h, body_124, _j, _k, _l, _m, body_125, _o, _p, _q, _r, body_126, _s, _t, _u, _v, body;
2977
3007
  return __generator(this, function (_w) {
@@ -2984,7 +3014,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
2984
3014
  return [4 /*yield*/, response.body.text()];
2985
3015
  case 1:
2986
3016
  body_122 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
2987
- "UsageProfilingResponse",
3017
+ "UsageNetworkHostsResponse",
2988
3018
  ""]);
2989
3019
  return [2 /*return*/, body_122];
2990
3020
  case 2:
@@ -3024,7 +3054,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3024
3054
  return [4 /*yield*/, response.body.text()];
3025
3055
  case 9:
3026
3056
  body_126 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3027
- "UsageProfilingResponse",
3057
+ "UsageNetworkHostsResponse",
3028
3058
  ""]);
3029
3059
  return [2 /*return*/, body_126];
3030
3060
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3039,10 +3069,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3039
3069
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3040
3070
  * to the expected objects
3041
3071
  *
3042
- * @params response Response returned by the server for a request to getUsageRumSessions
3072
+ * @params response Response returned by the server for a request to getUsageProfiling
3043
3073
  * @throws ApiException if the response code was not in [200, 299]
3044
3074
  */
3045
- UsageMeteringApiResponseProcessor.prototype.getUsageRumSessions = function (response) {
3075
+ UsageMeteringApiResponseProcessor.prototype.getUsageProfiling = function (response) {
3046
3076
  return __awaiter(this, void 0, void 0, function () {
3047
3077
  var contentType, body_127, _a, _b, _c, _d, body_128, _e, _f, _g, _h, body_129, _j, _k, _l, _m, body_130, _o, _p, _q, _r, body_131, _s, _t, _u, _v, body;
3048
3078
  return __generator(this, function (_w) {
@@ -3055,7 +3085,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3055
3085
  return [4 /*yield*/, response.body.text()];
3056
3086
  case 1:
3057
3087
  body_127 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3058
- "UsageRumSessionsResponse",
3088
+ "UsageProfilingResponse",
3059
3089
  ""]);
3060
3090
  return [2 /*return*/, body_127];
3061
3091
  case 2:
@@ -3095,7 +3125,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3095
3125
  return [4 /*yield*/, response.body.text()];
3096
3126
  case 9:
3097
3127
  body_131 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3098
- "UsageRumSessionsResponse",
3128
+ "UsageProfilingResponse",
3099
3129
  ""]);
3100
3130
  return [2 /*return*/, body_131];
3101
3131
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3110,10 +3140,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3110
3140
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3111
3141
  * to the expected objects
3112
3142
  *
3113
- * @params response Response returned by the server for a request to getUsageRumUnits
3143
+ * @params response Response returned by the server for a request to getUsageRumSessions
3114
3144
  * @throws ApiException if the response code was not in [200, 299]
3115
3145
  */
3116
- UsageMeteringApiResponseProcessor.prototype.getUsageRumUnits = function (response) {
3146
+ UsageMeteringApiResponseProcessor.prototype.getUsageRumSessions = function (response) {
3117
3147
  return __awaiter(this, void 0, void 0, function () {
3118
3148
  var contentType, body_132, _a, _b, _c, _d, body_133, _e, _f, _g, _h, body_134, _j, _k, _l, _m, body_135, _o, _p, _q, _r, body_136, _s, _t, _u, _v, body;
3119
3149
  return __generator(this, function (_w) {
@@ -3126,7 +3156,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3126
3156
  return [4 /*yield*/, response.body.text()];
3127
3157
  case 1:
3128
3158
  body_132 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3129
- "UsageRumUnitsResponse",
3159
+ "UsageRumSessionsResponse",
3130
3160
  ""]);
3131
3161
  return [2 /*return*/, body_132];
3132
3162
  case 2:
@@ -3166,7 +3196,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3166
3196
  return [4 /*yield*/, response.body.text()];
3167
3197
  case 9:
3168
3198
  body_136 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3169
- "UsageRumUnitsResponse",
3199
+ "UsageRumSessionsResponse",
3170
3200
  ""]);
3171
3201
  return [2 /*return*/, body_136];
3172
3202
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3181,10 +3211,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3181
3211
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3182
3212
  * to the expected objects
3183
3213
  *
3184
- * @params response Response returned by the server for a request to getUsageSDS
3214
+ * @params response Response returned by the server for a request to getUsageRumUnits
3185
3215
  * @throws ApiException if the response code was not in [200, 299]
3186
3216
  */
3187
- UsageMeteringApiResponseProcessor.prototype.getUsageSDS = function (response) {
3217
+ UsageMeteringApiResponseProcessor.prototype.getUsageRumUnits = function (response) {
3188
3218
  return __awaiter(this, void 0, void 0, function () {
3189
3219
  var contentType, body_137, _a, _b, _c, _d, body_138, _e, _f, _g, _h, body_139, _j, _k, _l, _m, body_140, _o, _p, _q, _r, body_141, _s, _t, _u, _v, body;
3190
3220
  return __generator(this, function (_w) {
@@ -3197,7 +3227,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3197
3227
  return [4 /*yield*/, response.body.text()];
3198
3228
  case 1:
3199
3229
  body_137 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3200
- "UsageSDSResponse",
3230
+ "UsageRumUnitsResponse",
3201
3231
  ""]);
3202
3232
  return [2 /*return*/, body_137];
3203
3233
  case 2:
@@ -3237,7 +3267,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3237
3267
  return [4 /*yield*/, response.body.text()];
3238
3268
  case 9:
3239
3269
  body_141 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3240
- "UsageSDSResponse",
3270
+ "UsageRumUnitsResponse",
3241
3271
  ""]);
3242
3272
  return [2 /*return*/, body_141];
3243
3273
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3252,10 +3282,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3252
3282
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3253
3283
  * to the expected objects
3254
3284
  *
3255
- * @params response Response returned by the server for a request to getUsageSNMP
3285
+ * @params response Response returned by the server for a request to getUsageSDS
3256
3286
  * @throws ApiException if the response code was not in [200, 299]
3257
3287
  */
3258
- UsageMeteringApiResponseProcessor.prototype.getUsageSNMP = function (response) {
3288
+ UsageMeteringApiResponseProcessor.prototype.getUsageSDS = function (response) {
3259
3289
  return __awaiter(this, void 0, void 0, function () {
3260
3290
  var contentType, body_142, _a, _b, _c, _d, body_143, _e, _f, _g, _h, body_144, _j, _k, _l, _m, body_145, _o, _p, _q, _r, body_146, _s, _t, _u, _v, body;
3261
3291
  return __generator(this, function (_w) {
@@ -3268,7 +3298,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3268
3298
  return [4 /*yield*/, response.body.text()];
3269
3299
  case 1:
3270
3300
  body_142 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3271
- "UsageSNMPResponse",
3301
+ "UsageSDSResponse",
3272
3302
  ""]);
3273
3303
  return [2 /*return*/, body_142];
3274
3304
  case 2:
@@ -3308,7 +3338,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3308
3338
  return [4 /*yield*/, response.body.text()];
3309
3339
  case 9:
3310
3340
  body_146 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3311
- "UsageSNMPResponse",
3341
+ "UsageSDSResponse",
3312
3342
  ""]);
3313
3343
  return [2 /*return*/, body_146];
3314
3344
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3323,10 +3353,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3323
3353
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3324
3354
  * to the expected objects
3325
3355
  *
3326
- * @params response Response returned by the server for a request to getUsageSummary
3356
+ * @params response Response returned by the server for a request to getUsageSNMP
3327
3357
  * @throws ApiException if the response code was not in [200, 299]
3328
3358
  */
3329
- UsageMeteringApiResponseProcessor.prototype.getUsageSummary = function (response) {
3359
+ UsageMeteringApiResponseProcessor.prototype.getUsageSNMP = function (response) {
3330
3360
  return __awaiter(this, void 0, void 0, function () {
3331
3361
  var contentType, body_147, _a, _b, _c, _d, body_148, _e, _f, _g, _h, body_149, _j, _k, _l, _m, body_150, _o, _p, _q, _r, body_151, _s, _t, _u, _v, body;
3332
3362
  return __generator(this, function (_w) {
@@ -3339,7 +3369,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3339
3369
  return [4 /*yield*/, response.body.text()];
3340
3370
  case 1:
3341
3371
  body_147 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3342
- "UsageSummaryResponse",
3372
+ "UsageSNMPResponse",
3343
3373
  ""]);
3344
3374
  return [2 /*return*/, body_147];
3345
3375
  case 2:
@@ -3379,7 +3409,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3379
3409
  return [4 /*yield*/, response.body.text()];
3380
3410
  case 9:
3381
3411
  body_151 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3382
- "UsageSummaryResponse",
3412
+ "UsageSNMPResponse",
3383
3413
  ""]);
3384
3414
  return [2 /*return*/, body_151];
3385
3415
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3394,10 +3424,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3394
3424
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3395
3425
  * to the expected objects
3396
3426
  *
3397
- * @params response Response returned by the server for a request to getUsageSynthetics
3427
+ * @params response Response returned by the server for a request to getUsageSummary
3398
3428
  * @throws ApiException if the response code was not in [200, 299]
3399
3429
  */
3400
- UsageMeteringApiResponseProcessor.prototype.getUsageSynthetics = function (response) {
3430
+ UsageMeteringApiResponseProcessor.prototype.getUsageSummary = function (response) {
3401
3431
  return __awaiter(this, void 0, void 0, function () {
3402
3432
  var contentType, body_152, _a, _b, _c, _d, body_153, _e, _f, _g, _h, body_154, _j, _k, _l, _m, body_155, _o, _p, _q, _r, body_156, _s, _t, _u, _v, body;
3403
3433
  return __generator(this, function (_w) {
@@ -3410,7 +3440,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3410
3440
  return [4 /*yield*/, response.body.text()];
3411
3441
  case 1:
3412
3442
  body_152 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3413
- "UsageSyntheticsResponse",
3443
+ "UsageSummaryResponse",
3414
3444
  ""]);
3415
3445
  return [2 /*return*/, body_152];
3416
3446
  case 2:
@@ -3450,7 +3480,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3450
3480
  return [4 /*yield*/, response.body.text()];
3451
3481
  case 9:
3452
3482
  body_156 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3453
- "UsageSyntheticsResponse",
3483
+ "UsageSummaryResponse",
3454
3484
  ""]);
3455
3485
  return [2 /*return*/, body_156];
3456
3486
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3465,10 +3495,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3465
3495
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3466
3496
  * to the expected objects
3467
3497
  *
3468
- * @params response Response returned by the server for a request to getUsageSyntheticsAPI
3498
+ * @params response Response returned by the server for a request to getUsageSynthetics
3469
3499
  * @throws ApiException if the response code was not in [200, 299]
3470
3500
  */
3471
- UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsAPI = function (response) {
3501
+ UsageMeteringApiResponseProcessor.prototype.getUsageSynthetics = function (response) {
3472
3502
  return __awaiter(this, void 0, void 0, function () {
3473
3503
  var contentType, body_157, _a, _b, _c, _d, body_158, _e, _f, _g, _h, body_159, _j, _k, _l, _m, body_160, _o, _p, _q, _r, body_161, _s, _t, _u, _v, body;
3474
3504
  return __generator(this, function (_w) {
@@ -3481,7 +3511,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3481
3511
  return [4 /*yield*/, response.body.text()];
3482
3512
  case 1:
3483
3513
  body_157 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3484
- "UsageSyntheticsAPIResponse",
3514
+ "UsageSyntheticsResponse",
3485
3515
  ""]);
3486
3516
  return [2 /*return*/, body_157];
3487
3517
  case 2:
@@ -3521,7 +3551,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3521
3551
  return [4 /*yield*/, response.body.text()];
3522
3552
  case 9:
3523
3553
  body_161 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3524
- "UsageSyntheticsAPIResponse",
3554
+ "UsageSyntheticsResponse",
3525
3555
  ""]);
3526
3556
  return [2 /*return*/, body_161];
3527
3557
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3536,10 +3566,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3536
3566
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3537
3567
  * to the expected objects
3538
3568
  *
3539
- * @params response Response returned by the server for a request to getUsageSyntheticsBrowser
3569
+ * @params response Response returned by the server for a request to getUsageSyntheticsAPI
3540
3570
  * @throws ApiException if the response code was not in [200, 299]
3541
3571
  */
3542
- UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsBrowser = function (response) {
3572
+ UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsAPI = function (response) {
3543
3573
  return __awaiter(this, void 0, void 0, function () {
3544
3574
  var contentType, body_162, _a, _b, _c, _d, body_163, _e, _f, _g, _h, body_164, _j, _k, _l, _m, body_165, _o, _p, _q, _r, body_166, _s, _t, _u, _v, body;
3545
3575
  return __generator(this, function (_w) {
@@ -3552,7 +3582,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3552
3582
  return [4 /*yield*/, response.body.text()];
3553
3583
  case 1:
3554
3584
  body_162 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3555
- "UsageSyntheticsBrowserResponse",
3585
+ "UsageSyntheticsAPIResponse",
3556
3586
  ""]);
3557
3587
  return [2 /*return*/, body_162];
3558
3588
  case 2:
@@ -3592,7 +3622,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3592
3622
  return [4 /*yield*/, response.body.text()];
3593
3623
  case 9:
3594
3624
  body_166 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3595
- "UsageSyntheticsBrowserResponse",
3625
+ "UsageSyntheticsAPIResponse",
3596
3626
  ""]);
3597
3627
  return [2 /*return*/, body_166];
3598
3628
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3607,10 +3637,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3607
3637
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3608
3638
  * to the expected objects
3609
3639
  *
3610
- * @params response Response returned by the server for a request to getUsageTimeseries
3640
+ * @params response Response returned by the server for a request to getUsageSyntheticsBrowser
3611
3641
  * @throws ApiException if the response code was not in [200, 299]
3612
3642
  */
3613
- UsageMeteringApiResponseProcessor.prototype.getUsageTimeseries = function (response) {
3643
+ UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsBrowser = function (response) {
3614
3644
  return __awaiter(this, void 0, void 0, function () {
3615
3645
  var contentType, body_167, _a, _b, _c, _d, body_168, _e, _f, _g, _h, body_169, _j, _k, _l, _m, body_170, _o, _p, _q, _r, body_171, _s, _t, _u, _v, body;
3616
3646
  return __generator(this, function (_w) {
@@ -3623,7 +3653,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3623
3653
  return [4 /*yield*/, response.body.text()];
3624
3654
  case 1:
3625
3655
  body_167 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3626
- "UsageTimeseriesResponse",
3656
+ "UsageSyntheticsBrowserResponse",
3627
3657
  ""]);
3628
3658
  return [2 /*return*/, body_167];
3629
3659
  case 2:
@@ -3663,7 +3693,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3663
3693
  return [4 /*yield*/, response.body.text()];
3664
3694
  case 9:
3665
3695
  body_171 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3666
- "UsageTimeseriesResponse",
3696
+ "UsageSyntheticsBrowserResponse",
3667
3697
  ""]);
3668
3698
  return [2 /*return*/, body_171];
3669
3699
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3678,10 +3708,10 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3678
3708
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
3679
3709
  * to the expected objects
3680
3710
  *
3681
- * @params response Response returned by the server for a request to getUsageTopAvgMetrics
3711
+ * @params response Response returned by the server for a request to getUsageTimeseries
3682
3712
  * @throws ApiException if the response code was not in [200, 299]
3683
3713
  */
3684
- UsageMeteringApiResponseProcessor.prototype.getUsageTopAvgMetrics = function (response) {
3714
+ UsageMeteringApiResponseProcessor.prototype.getUsageTimeseries = function (response) {
3685
3715
  return __awaiter(this, void 0, void 0, function () {
3686
3716
  var contentType, body_172, _a, _b, _c, _d, body_173, _e, _f, _g, _h, body_174, _j, _k, _l, _m, body_175, _o, _p, _q, _r, body_176, _s, _t, _u, _v, body;
3687
3717
  return __generator(this, function (_w) {
@@ -3694,7 +3724,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3694
3724
  return [4 /*yield*/, response.body.text()];
3695
3725
  case 1:
3696
3726
  body_172 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3697
- "UsageTopAvgMetricsResponse",
3727
+ "UsageTimeseriesResponse",
3698
3728
  ""]);
3699
3729
  return [2 /*return*/, body_172];
3700
3730
  case 2:
@@ -3734,7 +3764,7 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3734
3764
  return [4 /*yield*/, response.body.text()];
3735
3765
  case 9:
3736
3766
  body_176 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3737
- "UsageTopAvgMetricsResponse",
3767
+ "UsageTimeseriesResponse",
3738
3768
  ""]);
3739
3769
  return [2 /*return*/, body_176];
3740
3770
  case 10: return [4 /*yield*/, response.body.text()];
@@ -3745,6 +3775,77 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
3745
3775
  });
3746
3776
  });
3747
3777
  };
3778
+ /**
3779
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
3780
+ * to the expected objects
3781
+ *
3782
+ * @params response Response returned by the server for a request to getUsageTopAvgMetrics
3783
+ * @throws ApiException if the response code was not in [200, 299]
3784
+ */
3785
+ UsageMeteringApiResponseProcessor.prototype.getUsageTopAvgMetrics = function (response) {
3786
+ return __awaiter(this, void 0, void 0, function () {
3787
+ var contentType, body_177, _a, _b, _c, _d, body_178, _e, _f, _g, _h, body_179, _j, _k, _l, _m, body_180, _o, _p, _q, _r, body_181, _s, _t, _u, _v, body;
3788
+ return __generator(this, function (_w) {
3789
+ switch (_w.label) {
3790
+ case 0:
3791
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
3792
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2];
3793
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
3794
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
3795
+ return [4 /*yield*/, response.body.text()];
3796
+ case 1:
3797
+ body_177 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),
3798
+ "UsageTopAvgMetricsResponse",
3799
+ ""]);
3800
+ return [2 /*return*/, body_177];
3801
+ case 2:
3802
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4];
3803
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
3804
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
3805
+ return [4 /*yield*/, response.body.text()];
3806
+ case 3:
3807
+ body_178 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),
3808
+ "APIErrorResponse",
3809
+ ""]);
3810
+ throw new exception_1.ApiException(400, body_178);
3811
+ case 4:
3812
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6];
3813
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
3814
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
3815
+ return [4 /*yield*/, response.body.text()];
3816
+ case 5:
3817
+ body_179 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),
3818
+ "APIErrorResponse",
3819
+ ""]);
3820
+ throw new exception_1.ApiException(403, body_179);
3821
+ case 6:
3822
+ if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8];
3823
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
3824
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
3825
+ return [4 /*yield*/, response.body.text()];
3826
+ case 7:
3827
+ body_180 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),
3828
+ "APIErrorResponse",
3829
+ ""]);
3830
+ throw new exception_1.ApiException(429, body_180);
3831
+ case 8:
3832
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];
3833
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
3834
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
3835
+ return [4 /*yield*/, response.body.text()];
3836
+ case 9:
3837
+ body_181 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),
3838
+ "UsageTopAvgMetricsResponse",
3839
+ ""]);
3840
+ return [2 /*return*/, body_181];
3841
+ case 10: return [4 /*yield*/, response.body.text()];
3842
+ case 11:
3843
+ body = (_w.sent()) || "";
3844
+ throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
3845
+ }
3846
+ });
3847
+ });
3848
+ };
3748
3849
  return UsageMeteringApiResponseProcessor;
3749
3850
  }());
3750
3851
  exports.UsageMeteringApiResponseProcessor = UsageMeteringApiResponseProcessor;
@@ -3939,6 +4040,21 @@ var UsageMeteringApi = /** @class */ (function () {
3939
4040
  });
3940
4041
  });
3941
4042
  };
4043
+ /**
4044
+ * Get hourly usage for CI Visibility (Tests, Pipeline, Combo, and Spans).
4045
+ * @param param The request object
4046
+ */
4047
+ UsageMeteringApi.prototype.getUsageCIApp = function (param, options) {
4048
+ var _this = this;
4049
+ var requestContextPromise = this.requestFactory.getUsageCIApp(param.startHr, param.endHr, options);
4050
+ return requestContextPromise.then(function (requestContext) {
4051
+ return _this.configuration.httpApi
4052
+ .send(requestContext)
4053
+ .then(function (responseContext) {
4054
+ return _this.responseProcessor.getUsageCIApp(responseContext);
4055
+ });
4056
+ });
4057
+ };
3942
4058
  /**
3943
4059
  * Get hourly usage for Cloud Workload Security.
3944
4060
  * @param param The request object