@forteplatforms/sdk 1.0.290 → 1.0.293

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 (27) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +16 -23
  2. package/dist/generated/apis/ProjectsServerApi.js +67 -88
  3. package/dist/generated/models/ForteApiException.d.ts +4 -0
  4. package/dist/generated/models/ForteApiException.js +5 -1
  5. package/dist/generated/models/InstanceCountSeries.d.ts +39 -0
  6. package/dist/generated/models/InstanceCountSeries.js +56 -0
  7. package/dist/generated/models/RequestLogFilter.d.ts +82 -0
  8. package/dist/generated/models/RequestLogFilter.js +67 -0
  9. package/dist/generated/models/RequestLogPathFilter.d.ts +50 -0
  10. package/dist/generated/models/RequestLogPathFilter.js +55 -0
  11. package/dist/generated/models/RequestLogSearchRequest.d.ts +52 -0
  12. package/dist/generated/models/RequestLogSearchRequest.js +57 -0
  13. package/dist/generated/models/RequestLogSort.d.ts +54 -0
  14. package/dist/generated/models/RequestLogSort.js +66 -0
  15. package/dist/generated/models/RequestLogStatusFilter.d.ts +51 -0
  16. package/dist/generated/models/RequestLogStatusFilter.js +56 -0
  17. package/dist/generated/models/ServiceMetricsResponse.d.ts +20 -0
  18. package/dist/generated/models/ServiceMetricsResponse.js +14 -0
  19. package/dist/generated/models/StatusRange.d.ts +38 -0
  20. package/dist/generated/models/StatusRange.js +55 -0
  21. package/dist/generated/models/UtilizationDataPoint.d.ts +38 -0
  22. package/dist/generated/models/UtilizationDataPoint.js +55 -0
  23. package/dist/generated/models/UtilizationSeries.d.ts +45 -0
  24. package/dist/generated/models/UtilizationSeries.js +60 -0
  25. package/dist/generated/models/index.d.ts +9 -0
  26. package/dist/generated/models/index.js +9 -0
  27. package/package.json +1 -1
@@ -62,6 +62,7 @@ import { type PaymentTriggerConfig } from '../models/PaymentTriggerConfig';
62
62
  import { type ProjectObject } from '../models/ProjectObject';
63
63
  import { type PutSubscriptionItemsRequest } from '../models/PutSubscriptionItemsRequest';
64
64
  import { type RequestLogObject } from '../models/RequestLogObject';
65
+ import { type RequestLogSearchRequest } from '../models/RequestLogSearchRequest';
65
66
  import { type SearchUsersRequest } from '../models/SearchUsersRequest';
66
67
  import { type SendUserEmailRequest } from '../models/SendUserEmailRequest';
67
68
  import { type SendUserSmsRequest } from '../models/SendUserSmsRequest';
@@ -389,19 +390,6 @@ export interface ListProjectPaymentsRequest {
389
390
  maxTime?: Date;
390
391
  nextToken?: string;
391
392
  }
392
- export interface ListRequestInvocationLogsRequest {
393
- projectId: string;
394
- serviceId: string;
395
- minTime?: Date;
396
- maxTime?: Date;
397
- statusCode?: number;
398
- statusClass?: string;
399
- requestPath?: string;
400
- requestMethod?: string;
401
- requestPathId?: string;
402
- userId?: string;
403
- nextToken?: string;
404
- }
405
393
  export interface ListServiceCustomDomainsRequest {
406
394
  projectId: string;
407
395
  serviceId: string;
@@ -618,6 +606,11 @@ export interface SearchLogLinesRequest {
618
606
  level?: string;
619
607
  nextToken?: string;
620
608
  }
609
+ export interface SearchRequestInvocationLogsRequest {
610
+ projectId: string;
611
+ serviceId: string;
612
+ requestLogSearchRequest: RequestLogSearchRequest;
613
+ }
621
614
  export interface SearchUsersOperationRequest {
622
615
  projectId: string;
623
616
  searchUsersRequest: SearchUsersRequest;
@@ -1318,16 +1311,6 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1318
1311
  /**
1319
1312
  */
1320
1313
  listProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectObject>>;
1321
- /**
1322
- * Creates request options for listRequestInvocationLogs without sending the request
1323
- */
1324
- listRequestInvocationLogsRequestOpts(requestParameters: ListRequestInvocationLogsRequest): Promise<runtime.RequestOpts>;
1325
- /**
1326
- */
1327
- listRequestInvocationLogsRaw(requestParameters: ListRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseRequestLogObject>>;
1328
- /**
1329
- */
1330
- listRequestInvocationLogs(requestParameters: ListRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseRequestLogObject>;
1331
1314
  /**
1332
1315
  * Creates request options for listServiceCustomDomains without sending the request
1333
1316
  */
@@ -1698,6 +1681,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1698
1681
  /**
1699
1682
  */
1700
1683
  searchLogLines(requestParameters: SearchLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseLogLineObject>;
1684
+ /**
1685
+ * Creates request options for searchRequestInvocationLogs without sending the request
1686
+ */
1687
+ searchRequestInvocationLogsRequestOpts(requestParameters: SearchRequestInvocationLogsRequest): Promise<runtime.RequestOpts>;
1688
+ /**
1689
+ */
1690
+ searchRequestInvocationLogsRaw(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseRequestLogObject>>;
1691
+ /**
1692
+ */
1693
+ searchRequestInvocationLogs(requestParameters: SearchRequestInvocationLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseRequestLogObject>;
1701
1694
  /**
1702
1695
  * Creates request options for searchUsers without sending the request
1703
1696
  */
@@ -118,6 +118,7 @@ var PaymentTriggerConfig_1 = require("../models/PaymentTriggerConfig");
118
118
  var ProjectObject_1 = require("../models/ProjectObject");
119
119
  var PutSubscriptionItemsRequest_1 = require("../models/PutSubscriptionItemsRequest");
120
120
  var RequestLogObject_1 = require("../models/RequestLogObject");
121
+ var RequestLogSearchRequest_1 = require("../models/RequestLogSearchRequest");
121
122
  var SearchUsersRequest_1 = require("../models/SearchUsersRequest");
122
123
  var SendUserEmailRequest_1 = require("../models/SendUserEmailRequest");
123
124
  var SendUserSmsRequest_1 = require("../models/SendUserSmsRequest");
@@ -4097,94 +4098,6 @@ var ProjectsServerApi = /** @class */ (function (_super) {
4097
4098
  });
4098
4099
  });
4099
4100
  };
4100
- /**
4101
- * Creates request options for listRequestInvocationLogs without sending the request
4102
- */
4103
- ProjectsServerApi.prototype.listRequestInvocationLogsRequestOpts = function (requestParameters) {
4104
- return __awaiter(this, void 0, void 0, function () {
4105
- var queryParameters, headerParameters, urlPath;
4106
- return __generator(this, function (_a) {
4107
- if (requestParameters['projectId'] == null) {
4108
- throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listRequestInvocationLogs().');
4109
- }
4110
- if (requestParameters['serviceId'] == null) {
4111
- throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling listRequestInvocationLogs().');
4112
- }
4113
- queryParameters = {};
4114
- if (requestParameters['minTime'] != null) {
4115
- queryParameters['minTime'] = requestParameters['minTime'].toISOString();
4116
- }
4117
- if (requestParameters['maxTime'] != null) {
4118
- queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
4119
- }
4120
- if (requestParameters['statusCode'] != null) {
4121
- queryParameters['statusCode'] = requestParameters['statusCode'];
4122
- }
4123
- if (requestParameters['statusClass'] != null) {
4124
- queryParameters['statusClass'] = requestParameters['statusClass'];
4125
- }
4126
- if (requestParameters['requestPath'] != null) {
4127
- queryParameters['requestPath'] = requestParameters['requestPath'];
4128
- }
4129
- if (requestParameters['requestMethod'] != null) {
4130
- queryParameters['requestMethod'] = requestParameters['requestMethod'];
4131
- }
4132
- if (requestParameters['requestPathId'] != null) {
4133
- queryParameters['requestPathId'] = requestParameters['requestPathId'];
4134
- }
4135
- if (requestParameters['userId'] != null) {
4136
- queryParameters['userId'] = requestParameters['userId'];
4137
- }
4138
- if (requestParameters['nextToken'] != null) {
4139
- queryParameters['nextToken'] = requestParameters['nextToken'];
4140
- }
4141
- headerParameters = {};
4142
- urlPath = "/api/v1/projects/{projectId}/services/{serviceId}/requests";
4143
- urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
4144
- urlPath = urlPath.replace('{serviceId}', encodeURIComponent(String(requestParameters['serviceId'])));
4145
- return [2 /*return*/, {
4146
- path: urlPath,
4147
- method: 'GET',
4148
- headers: headerParameters,
4149
- query: queryParameters,
4150
- }];
4151
- });
4152
- });
4153
- };
4154
- /**
4155
- */
4156
- ProjectsServerApi.prototype.listRequestInvocationLogsRaw = function (requestParameters, initOverrides) {
4157
- return __awaiter(this, void 0, void 0, function () {
4158
- var requestOptions, response;
4159
- return __generator(this, function (_a) {
4160
- switch (_a.label) {
4161
- case 0: return [4 /*yield*/, this.listRequestInvocationLogsRequestOpts(requestParameters)];
4162
- case 1:
4163
- requestOptions = _a.sent();
4164
- return [4 /*yield*/, this.request(requestOptions, initOverrides)];
4165
- case 2:
4166
- response = _a.sent();
4167
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseRequestLogObject_1.PaginatedResponseRequestLogObjectFromJSON)(jsonValue); })];
4168
- }
4169
- });
4170
- });
4171
- };
4172
- /**
4173
- */
4174
- ProjectsServerApi.prototype.listRequestInvocationLogs = function (requestParameters, initOverrides) {
4175
- return __awaiter(this, void 0, void 0, function () {
4176
- var response;
4177
- return __generator(this, function (_a) {
4178
- switch (_a.label) {
4179
- case 0: return [4 /*yield*/, this.listRequestInvocationLogsRaw(requestParameters, initOverrides)];
4180
- case 1:
4181
- response = _a.sent();
4182
- return [4 /*yield*/, response.value()];
4183
- case 2: return [2 /*return*/, _a.sent()];
4184
- }
4185
- });
4186
- });
4187
- };
4188
4101
  /**
4189
4102
  * Creates request options for listServiceCustomDomains without sending the request
4190
4103
  */
@@ -6669,6 +6582,72 @@ var ProjectsServerApi = /** @class */ (function (_super) {
6669
6582
  });
6670
6583
  });
6671
6584
  };
6585
+ /**
6586
+ * Creates request options for searchRequestInvocationLogs without sending the request
6587
+ */
6588
+ ProjectsServerApi.prototype.searchRequestInvocationLogsRequestOpts = function (requestParameters) {
6589
+ return __awaiter(this, void 0, void 0, function () {
6590
+ var queryParameters, headerParameters, urlPath;
6591
+ return __generator(this, function (_a) {
6592
+ if (requestParameters['projectId'] == null) {
6593
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling searchRequestInvocationLogs().');
6594
+ }
6595
+ if (requestParameters['serviceId'] == null) {
6596
+ throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling searchRequestInvocationLogs().');
6597
+ }
6598
+ if (requestParameters['requestLogSearchRequest'] == null) {
6599
+ throw new runtime.RequiredError('requestLogSearchRequest', 'Required parameter "requestLogSearchRequest" was null or undefined when calling searchRequestInvocationLogs().');
6600
+ }
6601
+ queryParameters = {};
6602
+ headerParameters = {};
6603
+ headerParameters['Content-Type'] = 'application/json';
6604
+ urlPath = "/api/v1/projects/{projectId}/services/{serviceId}/requests/search";
6605
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
6606
+ urlPath = urlPath.replace('{serviceId}', encodeURIComponent(String(requestParameters['serviceId'])));
6607
+ return [2 /*return*/, {
6608
+ path: urlPath,
6609
+ method: 'POST',
6610
+ headers: headerParameters,
6611
+ query: queryParameters,
6612
+ body: (0, RequestLogSearchRequest_1.RequestLogSearchRequestToJSON)(requestParameters['requestLogSearchRequest']),
6613
+ }];
6614
+ });
6615
+ });
6616
+ };
6617
+ /**
6618
+ */
6619
+ ProjectsServerApi.prototype.searchRequestInvocationLogsRaw = function (requestParameters, initOverrides) {
6620
+ return __awaiter(this, void 0, void 0, function () {
6621
+ var requestOptions, response;
6622
+ return __generator(this, function (_a) {
6623
+ switch (_a.label) {
6624
+ case 0: return [4 /*yield*/, this.searchRequestInvocationLogsRequestOpts(requestParameters)];
6625
+ case 1:
6626
+ requestOptions = _a.sent();
6627
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
6628
+ case 2:
6629
+ response = _a.sent();
6630
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseRequestLogObject_1.PaginatedResponseRequestLogObjectFromJSON)(jsonValue); })];
6631
+ }
6632
+ });
6633
+ });
6634
+ };
6635
+ /**
6636
+ */
6637
+ ProjectsServerApi.prototype.searchRequestInvocationLogs = function (requestParameters, initOverrides) {
6638
+ return __awaiter(this, void 0, void 0, function () {
6639
+ var response;
6640
+ return __generator(this, function (_a) {
6641
+ switch (_a.label) {
6642
+ case 0: return [4 /*yield*/, this.searchRequestInvocationLogsRaw(requestParameters, initOverrides)];
6643
+ case 1:
6644
+ response = _a.sent();
6645
+ return [4 /*yield*/, response.value()];
6646
+ case 2: return [2 /*return*/, _a.sent()];
6647
+ }
6648
+ });
6649
+ });
6650
+ };
6672
6651
  /**
6673
6652
  * Creates request options for searchUsers without sending the request
6674
6653
  */
@@ -60,6 +60,7 @@ export declare const ForteApiExceptionErrorCodeType: {
60
60
  readonly INVALID_PKCE_VERIFIER: "INVALID_PKCE_VERIFIER";
61
61
  readonly NO_SERVICE_FOR_DOMAIN: "NO_SERVICE_FOR_DOMAIN";
62
62
  readonly INVALID_PAGINATION_TIME_PARAMS: "INVALID_PAGINATION_TIME_PARAMS";
63
+ readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
63
64
  readonly INVALID_GITHUB_INSTALLATION_STATE_TOKEN: "INVALID_GITHUB_INSTALLATION_STATE_TOKEN";
64
65
  readonly GITHUB_AUTH_STATE_INVALID: "GITHUB_AUTH_STATE_INVALID";
65
66
  readonly GITHUB_CODE_EXCHANGE_FAILED: "GITHUB_CODE_EXCHANGE_FAILED";
@@ -238,6 +239,9 @@ export declare const ForteApiExceptionErrorCodeType: {
238
239
  readonly CRM_SEQUENCE_NOT_FOUND: "CRM_SEQUENCE_NOT_FOUND";
239
240
  readonly CRM_SEQUENCE_MEMBER_NOT_FOUND: "CRM_SEQUENCE_MEMBER_NOT_FOUND";
240
241
  readonly CRM_SEQUENCE_MEMBER_MISSING_CONTACT: "CRM_SEQUENCE_MEMBER_MISSING_CONTACT";
242
+ readonly CRM_SEQUENCE_RESERVED_TOKEN_NAME: "CRM_SEQUENCE_RESERVED_TOKEN_NAME";
243
+ readonly CRM_SEQUENCE_DUPLICATE_TOKEN_NAME: "CRM_SEQUENCE_DUPLICATE_TOKEN_NAME";
244
+ readonly CRM_SEQUENCE_UNRESOLVED_TOKEN: "CRM_SEQUENCE_UNRESOLVED_TOKEN";
241
245
  };
242
246
  export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
243
247
  /**
@@ -45,6 +45,7 @@ exports.ForteApiExceptionErrorCodeType = {
45
45
  INVALID_PKCE_VERIFIER: 'INVALID_PKCE_VERIFIER',
46
46
  NO_SERVICE_FOR_DOMAIN: 'NO_SERVICE_FOR_DOMAIN',
47
47
  INVALID_PAGINATION_TIME_PARAMS: 'INVALID_PAGINATION_TIME_PARAMS',
48
+ INVALID_PAGINATION_TOKEN: 'INVALID_PAGINATION_TOKEN',
48
49
  INVALID_GITHUB_INSTALLATION_STATE_TOKEN: 'INVALID_GITHUB_INSTALLATION_STATE_TOKEN',
49
50
  GITHUB_AUTH_STATE_INVALID: 'GITHUB_AUTH_STATE_INVALID',
50
51
  GITHUB_CODE_EXCHANGE_FAILED: 'GITHUB_CODE_EXCHANGE_FAILED',
@@ -222,7 +223,10 @@ exports.ForteApiExceptionErrorCodeType = {
222
223
  CRM_COMPANY_NOT_FOUND: 'CRM_COMPANY_NOT_FOUND',
223
224
  CRM_SEQUENCE_NOT_FOUND: 'CRM_SEQUENCE_NOT_FOUND',
224
225
  CRM_SEQUENCE_MEMBER_NOT_FOUND: 'CRM_SEQUENCE_MEMBER_NOT_FOUND',
225
- CRM_SEQUENCE_MEMBER_MISSING_CONTACT: 'CRM_SEQUENCE_MEMBER_MISSING_CONTACT'
226
+ CRM_SEQUENCE_MEMBER_MISSING_CONTACT: 'CRM_SEQUENCE_MEMBER_MISSING_CONTACT',
227
+ CRM_SEQUENCE_RESERVED_TOKEN_NAME: 'CRM_SEQUENCE_RESERVED_TOKEN_NAME',
228
+ CRM_SEQUENCE_DUPLICATE_TOKEN_NAME: 'CRM_SEQUENCE_DUPLICATE_TOKEN_NAME',
229
+ CRM_SEQUENCE_UNRESOLVED_TOKEN: 'CRM_SEQUENCE_UNRESOLVED_TOKEN'
226
230
  };
227
231
  /**
228
232
  * Check if a given object implements the ForteApiException interface.
@@ -0,0 +1,39 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { TimeSeriesDataPoint } from './TimeSeriesDataPoint';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InstanceCountSeries
17
+ */
18
+ export interface InstanceCountSeries {
19
+ /**
20
+ *
21
+ * @type {Array<TimeSeriesDataPoint>}
22
+ * @memberof InstanceCountSeries
23
+ */
24
+ active: Array<TimeSeriesDataPoint>;
25
+ /**
26
+ *
27
+ * @type {Array<TimeSeriesDataPoint>}
28
+ * @memberof InstanceCountSeries
29
+ */
30
+ base: Array<TimeSeriesDataPoint>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the InstanceCountSeries interface.
34
+ */
35
+ export declare function instanceOfInstanceCountSeries(value: object): value is InstanceCountSeries;
36
+ export declare function InstanceCountSeriesFromJSON(json: any): InstanceCountSeries;
37
+ export declare function InstanceCountSeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceCountSeries;
38
+ export declare function InstanceCountSeriesToJSON(json: any): InstanceCountSeries;
39
+ export declare function InstanceCountSeriesToJSONTyped(value?: InstanceCountSeries | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfInstanceCountSeries = instanceOfInstanceCountSeries;
17
+ exports.InstanceCountSeriesFromJSON = InstanceCountSeriesFromJSON;
18
+ exports.InstanceCountSeriesFromJSONTyped = InstanceCountSeriesFromJSONTyped;
19
+ exports.InstanceCountSeriesToJSON = InstanceCountSeriesToJSON;
20
+ exports.InstanceCountSeriesToJSONTyped = InstanceCountSeriesToJSONTyped;
21
+ var TimeSeriesDataPoint_1 = require("./TimeSeriesDataPoint");
22
+ /**
23
+ * Check if a given object implements the InstanceCountSeries interface.
24
+ */
25
+ function instanceOfInstanceCountSeries(value) {
26
+ if (!('active' in value) || value['active'] === undefined)
27
+ return false;
28
+ if (!('base' in value) || value['base'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function InstanceCountSeriesFromJSON(json) {
33
+ return InstanceCountSeriesFromJSONTyped(json, false);
34
+ }
35
+ function InstanceCountSeriesFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'active': (json['active'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointFromJSON)),
41
+ 'base': (json['base'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointFromJSON)),
42
+ };
43
+ }
44
+ function InstanceCountSeriesToJSON(json) {
45
+ return InstanceCountSeriesToJSONTyped(json, false);
46
+ }
47
+ function InstanceCountSeriesToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'active': (value['active'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointToJSON)),
54
+ 'base': (value['base'].map(TimeSeriesDataPoint_1.TimeSeriesDataPointToJSON)),
55
+ };
56
+ }
@@ -0,0 +1,82 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RequestLogPathFilter } from './RequestLogPathFilter';
13
+ import type { RequestLogStatusFilter } from './RequestLogStatusFilter';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface RequestLogFilter
18
+ */
19
+ export interface RequestLogFilter {
20
+ /**
21
+ *
22
+ * @type {Date}
23
+ * @memberof RequestLogFilter
24
+ */
25
+ minTime?: Date;
26
+ /**
27
+ *
28
+ * @type {Date}
29
+ * @memberof RequestLogFilter
30
+ */
31
+ maxTime?: Date;
32
+ /**
33
+ *
34
+ * @type {RequestLogStatusFilter}
35
+ * @memberof RequestLogFilter
36
+ */
37
+ status?: RequestLogStatusFilter;
38
+ /**
39
+ *
40
+ * @type {RequestLogPathFilter}
41
+ * @memberof RequestLogFilter
42
+ */
43
+ path?: RequestLogPathFilter;
44
+ /**
45
+ *
46
+ * @type {Array<string>}
47
+ * @memberof RequestLogFilter
48
+ */
49
+ methods?: Array<string>;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof RequestLogFilter
54
+ */
55
+ notMethods?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof RequestLogFilter
60
+ */
61
+ minLatencyMilliseconds?: number;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof RequestLogFilter
66
+ */
67
+ maxLatencyMilliseconds?: number;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof RequestLogFilter
72
+ */
73
+ userId?: string;
74
+ }
75
+ /**
76
+ * Check if a given object implements the RequestLogFilter interface.
77
+ */
78
+ export declare function instanceOfRequestLogFilter(value: object): value is RequestLogFilter;
79
+ export declare function RequestLogFilterFromJSON(json: any): RequestLogFilter;
80
+ export declare function RequestLogFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLogFilter;
81
+ export declare function RequestLogFilterToJSON(json: any): RequestLogFilter;
82
+ export declare function RequestLogFilterToJSONTyped(value?: RequestLogFilter | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRequestLogFilter = instanceOfRequestLogFilter;
17
+ exports.RequestLogFilterFromJSON = RequestLogFilterFromJSON;
18
+ exports.RequestLogFilterFromJSONTyped = RequestLogFilterFromJSONTyped;
19
+ exports.RequestLogFilterToJSON = RequestLogFilterToJSON;
20
+ exports.RequestLogFilterToJSONTyped = RequestLogFilterToJSONTyped;
21
+ var RequestLogPathFilter_1 = require("./RequestLogPathFilter");
22
+ var RequestLogStatusFilter_1 = require("./RequestLogStatusFilter");
23
+ /**
24
+ * Check if a given object implements the RequestLogFilter interface.
25
+ */
26
+ function instanceOfRequestLogFilter(value) {
27
+ return true;
28
+ }
29
+ function RequestLogFilterFromJSON(json) {
30
+ return RequestLogFilterFromJSONTyped(json, false);
31
+ }
32
+ function RequestLogFilterFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'minTime': json['minTime'] == null ? undefined : (new Date(json['minTime'])),
38
+ 'maxTime': json['maxTime'] == null ? undefined : (new Date(json['maxTime'])),
39
+ 'status': json['status'] == null ? undefined : (0, RequestLogStatusFilter_1.RequestLogStatusFilterFromJSON)(json['status']),
40
+ 'path': json['path'] == null ? undefined : (0, RequestLogPathFilter_1.RequestLogPathFilterFromJSON)(json['path']),
41
+ 'methods': json['methods'] == null ? undefined : json['methods'],
42
+ 'notMethods': json['notMethods'] == null ? undefined : json['notMethods'],
43
+ 'minLatencyMilliseconds': json['minLatencyMilliseconds'] == null ? undefined : json['minLatencyMilliseconds'],
44
+ 'maxLatencyMilliseconds': json['maxLatencyMilliseconds'] == null ? undefined : json['maxLatencyMilliseconds'],
45
+ 'userId': json['userId'] == null ? undefined : json['userId'],
46
+ };
47
+ }
48
+ function RequestLogFilterToJSON(json) {
49
+ return RequestLogFilterToJSONTyped(json, false);
50
+ }
51
+ function RequestLogFilterToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'minTime': value['minTime'] == null ? value['minTime'] : value['minTime'].toISOString(),
58
+ 'maxTime': value['maxTime'] == null ? value['maxTime'] : value['maxTime'].toISOString(),
59
+ 'status': (0, RequestLogStatusFilter_1.RequestLogStatusFilterToJSON)(value['status']),
60
+ 'path': (0, RequestLogPathFilter_1.RequestLogPathFilterToJSON)(value['path']),
61
+ 'methods': value['methods'],
62
+ 'notMethods': value['notMethods'],
63
+ 'minLatencyMilliseconds': value['minLatencyMilliseconds'],
64
+ 'maxLatencyMilliseconds': value['maxLatencyMilliseconds'],
65
+ 'userId': value['userId'],
66
+ };
67
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RequestLogPathFilter
16
+ */
17
+ export interface RequestLogPathFilter {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof RequestLogPathFilter
22
+ */
23
+ equalTo?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof RequestLogPathFilter
28
+ */
29
+ notEqualTo?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof RequestLogPathFilter
34
+ */
35
+ startsWith?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof RequestLogPathFilter
40
+ */
41
+ contains?: Array<string>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the RequestLogPathFilter interface.
45
+ */
46
+ export declare function instanceOfRequestLogPathFilter(value: object): value is RequestLogPathFilter;
47
+ export declare function RequestLogPathFilterFromJSON(json: any): RequestLogPathFilter;
48
+ export declare function RequestLogPathFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLogPathFilter;
49
+ export declare function RequestLogPathFilterToJSON(json: any): RequestLogPathFilter;
50
+ export declare function RequestLogPathFilterToJSONTyped(value?: RequestLogPathFilter | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRequestLogPathFilter = instanceOfRequestLogPathFilter;
17
+ exports.RequestLogPathFilterFromJSON = RequestLogPathFilterFromJSON;
18
+ exports.RequestLogPathFilterFromJSONTyped = RequestLogPathFilterFromJSONTyped;
19
+ exports.RequestLogPathFilterToJSON = RequestLogPathFilterToJSON;
20
+ exports.RequestLogPathFilterToJSONTyped = RequestLogPathFilterToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RequestLogPathFilter interface.
23
+ */
24
+ function instanceOfRequestLogPathFilter(value) {
25
+ return true;
26
+ }
27
+ function RequestLogPathFilterFromJSON(json) {
28
+ return RequestLogPathFilterFromJSONTyped(json, false);
29
+ }
30
+ function RequestLogPathFilterFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'equalTo': json['equalTo'] == null ? undefined : json['equalTo'],
36
+ 'notEqualTo': json['notEqualTo'] == null ? undefined : json['notEqualTo'],
37
+ 'startsWith': json['startsWith'] == null ? undefined : json['startsWith'],
38
+ 'contains': json['contains'] == null ? undefined : json['contains'],
39
+ };
40
+ }
41
+ function RequestLogPathFilterToJSON(json) {
42
+ return RequestLogPathFilterToJSONTyped(json, false);
43
+ }
44
+ function RequestLogPathFilterToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'equalTo': value['equalTo'],
51
+ 'notEqualTo': value['notEqualTo'],
52
+ 'startsWith': value['startsWith'],
53
+ 'contains': value['contains'],
54
+ };
55
+ }