@forteplatforms/sdk 1.0.20 → 1.0.28

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 (29) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +43 -1
  2. package/dist/generated/apis/ProjectsServerApi.js +198 -0
  3. package/dist/generated/apis/UsersServerApi.d.ts +0 -1
  4. package/dist/generated/apis/UsersServerApi.js +2 -5
  5. package/dist/generated/models/ApiKeySummary.d.ts +50 -0
  6. package/dist/generated/models/ApiKeySummary.js +55 -0
  7. package/dist/generated/models/BuildStepLog.d.ts +6 -0
  8. package/dist/generated/models/BuildStepLog.js +6 -0
  9. package/dist/generated/models/CreateForteServiceRequest.d.ts +12 -0
  10. package/dist/generated/models/CreateForteServiceRequest.js +4 -0
  11. package/dist/generated/models/CreateProjectApiKeyRequest.d.ts +38 -0
  12. package/dist/generated/models/CreateProjectApiKeyRequest.js +53 -0
  13. package/dist/generated/models/CreateProjectApiKeyResponse.d.ts +39 -0
  14. package/dist/generated/models/CreateProjectApiKeyResponse.js +52 -0
  15. package/dist/generated/models/ForteApiException.d.ts +2 -0
  16. package/dist/generated/models/ForteApiException.js +3 -1
  17. package/dist/generated/models/LogLineObject.d.ts +6 -0
  18. package/dist/generated/models/LogLineObject.js +2 -0
  19. package/dist/generated/models/ServiceBuildRequestObject.d.ts +10 -0
  20. package/dist/generated/models/ServiceBuildRequestObject.js +7 -1
  21. package/dist/generated/models/TestInvocationRequest.d.ts +72 -0
  22. package/dist/generated/models/TestInvocationRequest.js +73 -0
  23. package/dist/generated/models/TestInvocationResponse.d.ts +52 -0
  24. package/dist/generated/models/TestInvocationResponse.js +55 -0
  25. package/dist/generated/models/UpdateForteServiceRequest.d.ts +12 -0
  26. package/dist/generated/models/UpdateForteServiceRequest.js +4 -0
  27. package/dist/generated/models/index.d.ts +5 -0
  28. package/dist/generated/models/index.js +5 -0
  29. package/package.json +1 -1
@@ -10,10 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateForteServiceRequest, CreateServiceRequestProxyRequest, CreateServiceRequestProxyResponse, PaginatedResponseLogLineObject, PaginatedResponseRequestLogObject, PaginatedResponseServiceBuildRequestObject, PaginatedResponseUserActionLogObject, PaginatedResponseUserObject, ProjectObject, RequestLogObject, ServiceBuildRequestObject, ServiceMetricsResponse, ServiceObject, UpdateForteServiceRequest, UpdateForteServiceResponse, UpdateProjectRequest, UserMetricsResponse, UserObject } from '../models/index';
13
+ import type { ApiKeySummary, CreateForteServiceRequest, CreateProjectApiKeyRequest, CreateProjectApiKeyResponse, CreateServiceRequestProxyRequest, CreateServiceRequestProxyResponse, PaginatedResponseLogLineObject, PaginatedResponseRequestLogObject, PaginatedResponseServiceBuildRequestObject, PaginatedResponseUserActionLogObject, PaginatedResponseUserObject, ProjectObject, RequestLogObject, ServiceBuildRequestObject, ServiceMetricsResponse, ServiceObject, TestInvocationRequest, TestInvocationResponse, UpdateForteServiceRequest, UpdateForteServiceResponse, UpdateProjectRequest, UserMetricsResponse, UserObject } from '../models/index';
14
14
  export interface CreateProjectRequest {
15
15
  projectName: string;
16
16
  }
17
+ export interface CreateProjectApiKeyOperationRequest {
18
+ projectId: string;
19
+ createProjectApiKeyRequest: CreateProjectApiKeyRequest;
20
+ }
17
21
  export interface CreateServiceRequest {
18
22
  projectId: string;
19
23
  createForteServiceRequest: CreateForteServiceRequest;
@@ -31,6 +35,10 @@ export interface CreateServiceRequestProxyOperationRequest {
31
35
  export interface DeleteProjectRequest {
32
36
  projectId: string;
33
37
  }
38
+ export interface DeleteProjectApiKeyRequest {
39
+ projectId: string;
40
+ apiKeyId: string;
41
+ }
34
42
  export interface DeleteServiceRequest {
35
43
  projectId: string;
36
44
  serviceId: string;
@@ -76,8 +84,12 @@ export interface ListLogLinesRequest {
76
84
  maxTime?: Date;
77
85
  requestId?: string;
78
86
  buildId?: string;
87
+ level?: string;
79
88
  nextToken?: string;
80
89
  }
90
+ export interface ListProjectApiKeysRequest {
91
+ projectId: string;
92
+ }
81
93
  export interface ListRequestInvocationLogsRequest {
82
94
  projectId: string;
83
95
  serviceId: string;
@@ -121,12 +133,18 @@ export interface SearchLogLinesRequest {
121
133
  minTime?: Date;
122
134
  maxTime?: Date;
123
135
  requestId?: string;
136
+ level?: string;
124
137
  nextToken?: string;
125
138
  }
126
139
  export interface SuspendUserRequest {
127
140
  userId: string;
128
141
  projectId: string;
129
142
  }
143
+ export interface TestInvocationOperationRequest {
144
+ projectId: string;
145
+ serviceId: string;
146
+ testInvocationRequest: TestInvocationRequest;
147
+ }
130
148
  export interface UpdateProjectOperationRequest {
131
149
  projectId: string;
132
150
  updateProjectRequest: UpdateProjectRequest;
@@ -146,6 +164,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
146
164
  /**
147
165
  */
148
166
  createProject(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectObject>;
167
+ /**
168
+ */
169
+ createProjectApiKeyRaw(requestParameters: CreateProjectApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateProjectApiKeyResponse>>;
170
+ /**
171
+ */
172
+ createProjectApiKey(requestParameters: CreateProjectApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateProjectApiKeyResponse>;
149
173
  /**
150
174
  */
151
175
  createServiceRaw(requestParameters: CreateServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceObject>>;
@@ -170,6 +194,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
170
194
  /**
171
195
  */
172
196
  deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
197
+ /**
198
+ */
199
+ deleteProjectApiKeyRaw(requestParameters: DeleteProjectApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
200
+ /**
201
+ */
202
+ deleteProjectApiKey(requestParameters: DeleteProjectApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
173
203
  /**
174
204
  */
175
205
  deleteServiceRaw(requestParameters: DeleteServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
@@ -224,6 +254,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
224
254
  /**
225
255
  */
226
256
  listLogLines(requestParameters: ListLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseLogLineObject>;
257
+ /**
258
+ */
259
+ listProjectApiKeysRaw(requestParameters: ListProjectApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiKeySummary>>>;
260
+ /**
261
+ */
262
+ listProjectApiKeys(requestParameters: ListProjectApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiKeySummary>>;
227
263
  /**
228
264
  */
229
265
  listProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectObject>>>;
@@ -272,6 +308,12 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
272
308
  /**
273
309
  */
274
310
  suspendUser(requestParameters: SuspendUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserObject>;
311
+ /**
312
+ */
313
+ testInvocationRaw(requestParameters: TestInvocationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TestInvocationResponse>>;
314
+ /**
315
+ */
316
+ testInvocation(requestParameters: TestInvocationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TestInvocationResponse>;
275
317
  /**
276
318
  */
277
319
  updateProjectRaw(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectObject>>;
@@ -121,6 +121,55 @@ var ProjectsServerApi = /** @class */ (function (_super) {
121
121
  });
122
122
  });
123
123
  };
124
+ /**
125
+ */
126
+ ProjectsServerApi.prototype.createProjectApiKeyRaw = function (requestParameters, initOverrides) {
127
+ return __awaiter(this, void 0, void 0, function () {
128
+ var queryParameters, headerParameters, urlPath, response;
129
+ return __generator(this, function (_a) {
130
+ switch (_a.label) {
131
+ case 0:
132
+ if (requestParameters['projectId'] == null) {
133
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling createProjectApiKey().');
134
+ }
135
+ if (requestParameters['createProjectApiKeyRequest'] == null) {
136
+ throw new runtime.RequiredError('createProjectApiKeyRequest', 'Required parameter "createProjectApiKeyRequest" was null or undefined when calling createProjectApiKey().');
137
+ }
138
+ queryParameters = {};
139
+ headerParameters = {};
140
+ headerParameters['Content-Type'] = 'application/json';
141
+ urlPath = "/api/v1/projects/{projectId}/api-keys";
142
+ urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
143
+ return [4 /*yield*/, this.request({
144
+ path: urlPath,
145
+ method: 'POST',
146
+ headers: headerParameters,
147
+ query: queryParameters,
148
+ body: (0, index_1.CreateProjectApiKeyRequestToJSON)(requestParameters['createProjectApiKeyRequest']),
149
+ }, initOverrides)];
150
+ case 1:
151
+ response = _a.sent();
152
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CreateProjectApiKeyResponseFromJSON)(jsonValue); })];
153
+ }
154
+ });
155
+ });
156
+ };
157
+ /**
158
+ */
159
+ ProjectsServerApi.prototype.createProjectApiKey = function (requestParameters, initOverrides) {
160
+ return __awaiter(this, void 0, void 0, function () {
161
+ var response;
162
+ return __generator(this, function (_a) {
163
+ switch (_a.label) {
164
+ case 0: return [4 /*yield*/, this.createProjectApiKeyRaw(requestParameters, initOverrides)];
165
+ case 1:
166
+ response = _a.sent();
167
+ return [4 /*yield*/, response.value()];
168
+ case 2: return [2 /*return*/, _a.sent()];
169
+ }
170
+ });
171
+ });
172
+ };
124
173
  /**
125
174
  */
126
175
  ProjectsServerApi.prototype.createServiceRaw = function (requestParameters, initOverrides) {
@@ -316,6 +365,52 @@ var ProjectsServerApi = /** @class */ (function (_super) {
316
365
  });
317
366
  });
318
367
  };
368
+ /**
369
+ */
370
+ ProjectsServerApi.prototype.deleteProjectApiKeyRaw = function (requestParameters, initOverrides) {
371
+ return __awaiter(this, void 0, void 0, function () {
372
+ var queryParameters, headerParameters, urlPath, response;
373
+ return __generator(this, function (_a) {
374
+ switch (_a.label) {
375
+ case 0:
376
+ if (requestParameters['projectId'] == null) {
377
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling deleteProjectApiKey().');
378
+ }
379
+ if (requestParameters['apiKeyId'] == null) {
380
+ throw new runtime.RequiredError('apiKeyId', 'Required parameter "apiKeyId" was null or undefined when calling deleteProjectApiKey().');
381
+ }
382
+ queryParameters = {};
383
+ headerParameters = {};
384
+ urlPath = "/api/v1/projects/{projectId}/api-keys/{apiKeyId}";
385
+ urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
386
+ urlPath = urlPath.replace("{".concat("apiKeyId", "}"), encodeURIComponent(String(requestParameters['apiKeyId'])));
387
+ return [4 /*yield*/, this.request({
388
+ path: urlPath,
389
+ method: 'DELETE',
390
+ headers: headerParameters,
391
+ query: queryParameters,
392
+ }, initOverrides)];
393
+ case 1:
394
+ response = _a.sent();
395
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
396
+ }
397
+ });
398
+ });
399
+ };
400
+ /**
401
+ */
402
+ ProjectsServerApi.prototype.deleteProjectApiKey = function (requestParameters, initOverrides) {
403
+ return __awaiter(this, void 0, void 0, function () {
404
+ return __generator(this, function (_a) {
405
+ switch (_a.label) {
406
+ case 0: return [4 /*yield*/, this.deleteProjectApiKeyRaw(requestParameters, initOverrides)];
407
+ case 1:
408
+ _a.sent();
409
+ return [2 /*return*/];
410
+ }
411
+ });
412
+ });
413
+ };
319
414
  /**
320
415
  */
321
416
  ProjectsServerApi.prototype.deleteServiceRaw = function (requestParameters, initOverrides) {
@@ -743,6 +838,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
743
838
  if (requestParameters['buildId'] != null) {
744
839
  queryParameters['buildId'] = requestParameters['buildId'];
745
840
  }
841
+ if (requestParameters['level'] != null) {
842
+ queryParameters['level'] = requestParameters['level'];
843
+ }
746
844
  if (requestParameters['nextToken'] != null) {
747
845
  queryParameters['nextToken'] = requestParameters['nextToken'];
748
846
  }
@@ -779,6 +877,50 @@ var ProjectsServerApi = /** @class */ (function (_super) {
779
877
  });
780
878
  });
781
879
  };
880
+ /**
881
+ */
882
+ ProjectsServerApi.prototype.listProjectApiKeysRaw = function (requestParameters, initOverrides) {
883
+ return __awaiter(this, void 0, void 0, function () {
884
+ var queryParameters, headerParameters, urlPath, response;
885
+ return __generator(this, function (_a) {
886
+ switch (_a.label) {
887
+ case 0:
888
+ if (requestParameters['projectId'] == null) {
889
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listProjectApiKeys().');
890
+ }
891
+ queryParameters = {};
892
+ headerParameters = {};
893
+ urlPath = "/api/v1/projects/{projectId}/api-keys";
894
+ urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
895
+ return [4 /*yield*/, this.request({
896
+ path: urlPath,
897
+ method: 'GET',
898
+ headers: headerParameters,
899
+ query: queryParameters,
900
+ }, initOverrides)];
901
+ case 1:
902
+ response = _a.sent();
903
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ApiKeySummaryFromJSON); })];
904
+ }
905
+ });
906
+ });
907
+ };
908
+ /**
909
+ */
910
+ ProjectsServerApi.prototype.listProjectApiKeys = function (requestParameters, initOverrides) {
911
+ return __awaiter(this, void 0, void 0, function () {
912
+ var response;
913
+ return __generator(this, function (_a) {
914
+ switch (_a.label) {
915
+ case 0: return [4 /*yield*/, this.listProjectApiKeysRaw(requestParameters, initOverrides)];
916
+ case 1:
917
+ response = _a.sent();
918
+ return [4 /*yield*/, response.value()];
919
+ case 2: return [2 /*return*/, _a.sent()];
920
+ }
921
+ });
922
+ });
923
+ };
782
924
  /**
783
925
  */
784
926
  ProjectsServerApi.prototype.listProjectsRaw = function (initOverrides) {
@@ -1132,6 +1274,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
1132
1274
  if (requestParameters['requestId'] != null) {
1133
1275
  queryParameters['requestId'] = requestParameters['requestId'];
1134
1276
  }
1277
+ if (requestParameters['level'] != null) {
1278
+ queryParameters['level'] = requestParameters['level'];
1279
+ }
1135
1280
  if (requestParameters['nextToken'] != null) {
1136
1281
  queryParameters['nextToken'] = requestParameters['nextToken'];
1137
1282
  }
@@ -1216,6 +1361,59 @@ var ProjectsServerApi = /** @class */ (function (_super) {
1216
1361
  });
1217
1362
  });
1218
1363
  };
1364
+ /**
1365
+ */
1366
+ ProjectsServerApi.prototype.testInvocationRaw = function (requestParameters, initOverrides) {
1367
+ return __awaiter(this, void 0, void 0, function () {
1368
+ var queryParameters, headerParameters, urlPath, response;
1369
+ return __generator(this, function (_a) {
1370
+ switch (_a.label) {
1371
+ case 0:
1372
+ if (requestParameters['projectId'] == null) {
1373
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling testInvocation().');
1374
+ }
1375
+ if (requestParameters['serviceId'] == null) {
1376
+ throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling testInvocation().');
1377
+ }
1378
+ if (requestParameters['testInvocationRequest'] == null) {
1379
+ throw new runtime.RequiredError('testInvocationRequest', 'Required parameter "testInvocationRequest" was null or undefined when calling testInvocation().');
1380
+ }
1381
+ queryParameters = {};
1382
+ headerParameters = {};
1383
+ headerParameters['Content-Type'] = 'application/json';
1384
+ urlPath = "/api/v1/projects/{projectId}/services/{serviceId}/test-invocation";
1385
+ urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
1386
+ urlPath = urlPath.replace("{".concat("serviceId", "}"), encodeURIComponent(String(requestParameters['serviceId'])));
1387
+ return [4 /*yield*/, this.request({
1388
+ path: urlPath,
1389
+ method: 'POST',
1390
+ headers: headerParameters,
1391
+ query: queryParameters,
1392
+ body: (0, index_1.TestInvocationRequestToJSON)(requestParameters['testInvocationRequest']),
1393
+ }, initOverrides)];
1394
+ case 1:
1395
+ response = _a.sent();
1396
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TestInvocationResponseFromJSON)(jsonValue); })];
1397
+ }
1398
+ });
1399
+ });
1400
+ };
1401
+ /**
1402
+ */
1403
+ ProjectsServerApi.prototype.testInvocation = function (requestParameters, initOverrides) {
1404
+ return __awaiter(this, void 0, void 0, function () {
1405
+ var response;
1406
+ return __generator(this, function (_a) {
1407
+ switch (_a.label) {
1408
+ case 0: return [4 /*yield*/, this.testInvocationRaw(requestParameters, initOverrides)];
1409
+ case 1:
1410
+ response = _a.sent();
1411
+ return [4 /*yield*/, response.value()];
1412
+ case 2: return [2 /*return*/, _a.sent()];
1413
+ }
1414
+ });
1415
+ });
1416
+ };
1219
1417
  /**
1220
1418
  */
1221
1419
  ProjectsServerApi.prototype.updateProjectRaw = function (requestParameters, initOverrides) {
@@ -25,7 +25,6 @@ export interface GetAccountRequest {
25
25
  export interface GoogleAuthLoginCallbackRequest {
26
26
  projectId: string;
27
27
  gCsrfToken: string;
28
- gCsrfToken2: string;
29
28
  credential: string;
30
29
  recaptchaToken?: string;
31
30
  }
@@ -228,9 +228,6 @@ var UsersServerApi = /** @class */ (function (_super) {
228
228
  if (requestParameters['gCsrfToken'] == null) {
229
229
  throw new runtime.RequiredError('gCsrfToken', 'Required parameter "gCsrfToken" was null or undefined when calling googleAuthLoginCallback().');
230
230
  }
231
- if (requestParameters['gCsrfToken2'] == null) {
232
- throw new runtime.RequiredError('gCsrfToken2', 'Required parameter "gCsrfToken2" was null or undefined when calling googleAuthLoginCallback().');
233
- }
234
231
  if (requestParameters['credential'] == null) {
235
232
  throw new runtime.RequiredError('credential', 'Required parameter "credential" was null or undefined when calling googleAuthLoginCallback().');
236
233
  }
@@ -247,8 +244,8 @@ var UsersServerApi = /** @class */ (function (_super) {
247
244
  else {
248
245
  formParams = new URLSearchParams();
249
246
  }
250
- if (requestParameters['gCsrfToken2'] != null) {
251
- formParams.append('g_csrf_token', requestParameters['gCsrfToken2']);
247
+ if (requestParameters['gCsrfToken'] != null) {
248
+ formParams.append('g_csrf_token', requestParameters['gCsrfToken']);
252
249
  }
253
250
  if (requestParameters['credential'] != null) {
254
251
  formParams.append('credential', requestParameters['credential']);
@@ -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 ApiKeySummary
16
+ */
17
+ export interface ApiKeySummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiKeySummary
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiKeySummary
28
+ */
29
+ keyName?: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof ApiKeySummary
34
+ */
35
+ creationTime?: Date;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof ApiKeySummary
40
+ */
41
+ expirationTime?: Date;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ApiKeySummary interface.
45
+ */
46
+ export declare function instanceOfApiKeySummary(value: object): value is ApiKeySummary;
47
+ export declare function ApiKeySummaryFromJSON(json: any): ApiKeySummary;
48
+ export declare function ApiKeySummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeySummary;
49
+ export declare function ApiKeySummaryToJSON(json: any): ApiKeySummary;
50
+ export declare function ApiKeySummaryToJSONTyped(value?: ApiKeySummary | 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.instanceOfApiKeySummary = instanceOfApiKeySummary;
17
+ exports.ApiKeySummaryFromJSON = ApiKeySummaryFromJSON;
18
+ exports.ApiKeySummaryFromJSONTyped = ApiKeySummaryFromJSONTyped;
19
+ exports.ApiKeySummaryToJSON = ApiKeySummaryToJSON;
20
+ exports.ApiKeySummaryToJSONTyped = ApiKeySummaryToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiKeySummary interface.
23
+ */
24
+ function instanceOfApiKeySummary(value) {
25
+ return true;
26
+ }
27
+ function ApiKeySummaryFromJSON(json) {
28
+ return ApiKeySummaryFromJSONTyped(json, false);
29
+ }
30
+ function ApiKeySummaryFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'keyName': json['keyName'] == null ? undefined : json['keyName'],
37
+ 'creationTime': json['creationTime'] == null ? undefined : (new Date(json['creationTime'])),
38
+ 'expirationTime': json['expirationTime'] == null ? undefined : (new Date(json['expirationTime'])),
39
+ };
40
+ }
41
+ function ApiKeySummaryToJSON(json) {
42
+ return ApiKeySummaryToJSONTyped(json, false);
43
+ }
44
+ function ApiKeySummaryToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'id': value['id'],
51
+ 'keyName': value['keyName'],
52
+ 'creationTime': value['creationTime'] == null ? value['creationTime'] : value['creationTime'].toISOString(),
53
+ 'expirationTime': value['expirationTime'] == null ? value['expirationTime'] : value['expirationTime'].toISOString(),
54
+ };
55
+ }
@@ -45,8 +45,11 @@ export interface BuildStepLog {
45
45
  */
46
46
  export declare const BuildStepLogPreviousStatusType: {
47
47
  readonly PENDING: "PENDING";
48
+ readonly CLONING_REPOSITORY: "CLONING_REPOSITORY";
48
49
  readonly GENERATING_DOCKERFILE: "GENERATING_DOCKERFILE";
49
50
  readonly DOCKERFILE_GENERATION_FAILURE: "DOCKERFILE_GENERATION_FAILURE";
51
+ readonly VALIDATING_GENERATED_DOCKERFILE: "VALIDATING_GENERATED_DOCKERFILE";
52
+ readonly VALIDATED_GENERATED_DOCKERFILE: "VALIDATED_GENERATED_DOCKERFILE";
50
53
  readonly BUILDING_DOCKER_IMAGE: "BUILDING_DOCKER_IMAGE";
51
54
  readonly DOCKER_IMAGE_BUILD_FAILURE: "DOCKER_IMAGE_BUILD_FAILURE";
52
55
  readonly DETECTING_HEALTH_CHECK_CONFIG: "DETECTING_HEALTH_CHECK_CONFIG";
@@ -67,8 +70,11 @@ export type BuildStepLogPreviousStatusType = typeof BuildStepLogPreviousStatusTy
67
70
  */
68
71
  export declare const BuildStepLogNewStatusType: {
69
72
  readonly PENDING: "PENDING";
73
+ readonly CLONING_REPOSITORY: "CLONING_REPOSITORY";
70
74
  readonly GENERATING_DOCKERFILE: "GENERATING_DOCKERFILE";
71
75
  readonly DOCKERFILE_GENERATION_FAILURE: "DOCKERFILE_GENERATION_FAILURE";
76
+ readonly VALIDATING_GENERATED_DOCKERFILE: "VALIDATING_GENERATED_DOCKERFILE";
77
+ readonly VALIDATED_GENERATED_DOCKERFILE: "VALIDATED_GENERATED_DOCKERFILE";
72
78
  readonly BUILDING_DOCKER_IMAGE: "BUILDING_DOCKER_IMAGE";
73
79
  readonly DOCKER_IMAGE_BUILD_FAILURE: "DOCKER_IMAGE_BUILD_FAILURE";
74
80
  readonly DETECTING_HEALTH_CHECK_CONFIG: "DETECTING_HEALTH_CHECK_CONFIG";
@@ -24,8 +24,11 @@ exports.BuildStepLogToJSONTyped = BuildStepLogToJSONTyped;
24
24
  */
25
25
  exports.BuildStepLogPreviousStatusType = {
26
26
  PENDING: 'PENDING',
27
+ CLONING_REPOSITORY: 'CLONING_REPOSITORY',
27
28
  GENERATING_DOCKERFILE: 'GENERATING_DOCKERFILE',
28
29
  DOCKERFILE_GENERATION_FAILURE: 'DOCKERFILE_GENERATION_FAILURE',
30
+ VALIDATING_GENERATED_DOCKERFILE: 'VALIDATING_GENERATED_DOCKERFILE',
31
+ VALIDATED_GENERATED_DOCKERFILE: 'VALIDATED_GENERATED_DOCKERFILE',
29
32
  BUILDING_DOCKER_IMAGE: 'BUILDING_DOCKER_IMAGE',
30
33
  DOCKER_IMAGE_BUILD_FAILURE: 'DOCKER_IMAGE_BUILD_FAILURE',
31
34
  DETECTING_HEALTH_CHECK_CONFIG: 'DETECTING_HEALTH_CHECK_CONFIG',
@@ -45,8 +48,11 @@ exports.BuildStepLogPreviousStatusType = {
45
48
  */
46
49
  exports.BuildStepLogNewStatusType = {
47
50
  PENDING: 'PENDING',
51
+ CLONING_REPOSITORY: 'CLONING_REPOSITORY',
48
52
  GENERATING_DOCKERFILE: 'GENERATING_DOCKERFILE',
49
53
  DOCKERFILE_GENERATION_FAILURE: 'DOCKERFILE_GENERATION_FAILURE',
54
+ VALIDATING_GENERATED_DOCKERFILE: 'VALIDATING_GENERATED_DOCKERFILE',
55
+ VALIDATED_GENERATED_DOCKERFILE: 'VALIDATED_GENERATED_DOCKERFILE',
50
56
  BUILDING_DOCKER_IMAGE: 'BUILDING_DOCKER_IMAGE',
51
57
  DOCKER_IMAGE_BUILD_FAILURE: 'DOCKER_IMAGE_BUILD_FAILURE',
52
58
  DETECTING_HEALTH_CHECK_CONFIG: 'DETECTING_HEALTH_CHECK_CONFIG',
@@ -61,6 +61,18 @@ export interface CreateForteServiceRequest {
61
61
  * @memberof CreateForteServiceRequest
62
62
  */
63
63
  containerCpu?: string;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof CreateForteServiceRequest
68
+ */
69
+ healthCheckPort?: number;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof CreateForteServiceRequest
74
+ */
75
+ healthCheckPath?: string;
64
76
  }
65
77
  /**
66
78
  * Check if a given object implements the CreateForteServiceRequest interface.
@@ -45,6 +45,8 @@ function CreateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'secrets': json['secrets'] == null ? undefined : json['secrets'],
46
46
  'baseInstances': json['baseInstances'] == null ? undefined : json['baseInstances'],
47
47
  'containerCpu': json['containerCpu'] == null ? undefined : json['containerCpu'],
48
+ 'healthCheckPort': json['healthCheckPort'] == null ? undefined : json['healthCheckPort'],
49
+ 'healthCheckPath': json['healthCheckPath'] == null ? undefined : json['healthCheckPath'],
48
50
  };
49
51
  }
50
52
  function CreateForteServiceRequestToJSON(json) {
@@ -63,5 +65,7 @@ function CreateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
63
65
  'secrets': value['secrets'],
64
66
  'baseInstances': value['baseInstances'],
65
67
  'containerCpu': value['containerCpu'],
68
+ 'healthCheckPort': value['healthCheckPort'],
69
+ 'healthCheckPath': value['healthCheckPath'],
66
70
  };
67
71
  }
@@ -0,0 +1,38 @@
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 CreateProjectApiKeyRequest
16
+ */
17
+ export interface CreateProjectApiKeyRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateProjectApiKeyRequest
22
+ */
23
+ keyName: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof CreateProjectApiKeyRequest
28
+ */
29
+ expirationTime?: Date;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateProjectApiKeyRequest interface.
33
+ */
34
+ export declare function instanceOfCreateProjectApiKeyRequest(value: object): value is CreateProjectApiKeyRequest;
35
+ export declare function CreateProjectApiKeyRequestFromJSON(json: any): CreateProjectApiKeyRequest;
36
+ export declare function CreateProjectApiKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectApiKeyRequest;
37
+ export declare function CreateProjectApiKeyRequestToJSON(json: any): CreateProjectApiKeyRequest;
38
+ export declare function CreateProjectApiKeyRequestToJSONTyped(value?: CreateProjectApiKeyRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfCreateProjectApiKeyRequest = instanceOfCreateProjectApiKeyRequest;
17
+ exports.CreateProjectApiKeyRequestFromJSON = CreateProjectApiKeyRequestFromJSON;
18
+ exports.CreateProjectApiKeyRequestFromJSONTyped = CreateProjectApiKeyRequestFromJSONTyped;
19
+ exports.CreateProjectApiKeyRequestToJSON = CreateProjectApiKeyRequestToJSON;
20
+ exports.CreateProjectApiKeyRequestToJSONTyped = CreateProjectApiKeyRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateProjectApiKeyRequest interface.
23
+ */
24
+ function instanceOfCreateProjectApiKeyRequest(value) {
25
+ if (!('keyName' in value) || value['keyName'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function CreateProjectApiKeyRequestFromJSON(json) {
30
+ return CreateProjectApiKeyRequestFromJSONTyped(json, false);
31
+ }
32
+ function CreateProjectApiKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'keyName': json['keyName'],
38
+ 'expirationTime': json['expirationTime'] == null ? undefined : (new Date(json['expirationTime'])),
39
+ };
40
+ }
41
+ function CreateProjectApiKeyRequestToJSON(json) {
42
+ return CreateProjectApiKeyRequestToJSONTyped(json, false);
43
+ }
44
+ function CreateProjectApiKeyRequestToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'keyName': value['keyName'],
51
+ 'expirationTime': value['expirationTime'] == null ? value['expirationTime'] : value['expirationTime'].toISOString(),
52
+ };
53
+ }
@@ -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 { ApiKeySummary } from './ApiKeySummary';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateProjectApiKeyResponse
17
+ */
18
+ export interface CreateProjectApiKeyResponse {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreateProjectApiKeyResponse
23
+ */
24
+ accessToken?: string;
25
+ /**
26
+ *
27
+ * @type {ApiKeySummary}
28
+ * @memberof CreateProjectApiKeyResponse
29
+ */
30
+ apiKey?: ApiKeySummary;
31
+ }
32
+ /**
33
+ * Check if a given object implements the CreateProjectApiKeyResponse interface.
34
+ */
35
+ export declare function instanceOfCreateProjectApiKeyResponse(value: object): value is CreateProjectApiKeyResponse;
36
+ export declare function CreateProjectApiKeyResponseFromJSON(json: any): CreateProjectApiKeyResponse;
37
+ export declare function CreateProjectApiKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectApiKeyResponse;
38
+ export declare function CreateProjectApiKeyResponseToJSON(json: any): CreateProjectApiKeyResponse;
39
+ export declare function CreateProjectApiKeyResponseToJSONTyped(value?: CreateProjectApiKeyResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfCreateProjectApiKeyResponse = instanceOfCreateProjectApiKeyResponse;
17
+ exports.CreateProjectApiKeyResponseFromJSON = CreateProjectApiKeyResponseFromJSON;
18
+ exports.CreateProjectApiKeyResponseFromJSONTyped = CreateProjectApiKeyResponseFromJSONTyped;
19
+ exports.CreateProjectApiKeyResponseToJSON = CreateProjectApiKeyResponseToJSON;
20
+ exports.CreateProjectApiKeyResponseToJSONTyped = CreateProjectApiKeyResponseToJSONTyped;
21
+ var ApiKeySummary_1 = require("./ApiKeySummary");
22
+ /**
23
+ * Check if a given object implements the CreateProjectApiKeyResponse interface.
24
+ */
25
+ function instanceOfCreateProjectApiKeyResponse(value) {
26
+ return true;
27
+ }
28
+ function CreateProjectApiKeyResponseFromJSON(json) {
29
+ return CreateProjectApiKeyResponseFromJSONTyped(json, false);
30
+ }
31
+ function CreateProjectApiKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
37
+ 'apiKey': json['apiKey'] == null ? undefined : (0, ApiKeySummary_1.ApiKeySummaryFromJSON)(json['apiKey']),
38
+ };
39
+ }
40
+ function CreateProjectApiKeyResponseToJSON(json) {
41
+ return CreateProjectApiKeyResponseToJSONTyped(json, false);
42
+ }
43
+ function CreateProjectApiKeyResponseToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'accessToken': value['accessToken'],
50
+ 'apiKey': (0, ApiKeySummary_1.ApiKeySummaryToJSON)(value['apiKey']),
51
+ };
52
+ }
@@ -72,6 +72,8 @@ export declare const ForteApiExceptionErrorCodeType: {
72
72
  readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
73
73
  readonly GOOGLE_OAUTH_NOT_CONFIGURED: "GOOGLE_OAUTH_NOT_CONFIGURED";
74
74
  readonly TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: "TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED";
75
+ readonly API_KEY_NOT_FOUND: "API_KEY_NOT_FOUND";
76
+ readonly CANNOT_DELETE_SYSTEM_API_KEY: "CANNOT_DELETE_SYSTEM_API_KEY";
75
77
  };
76
78
  export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
77
79
  /**
@@ -56,7 +56,9 @@ exports.ForteApiExceptionErrorCodeType = {
56
56
  BILLING_NOT_CONFIGURED: 'BILLING_NOT_CONFIGURED',
57
57
  SERVICE_QUOTA_EXCEEDED: 'SERVICE_QUOTA_EXCEEDED',
58
58
  GOOGLE_OAUTH_NOT_CONFIGURED: 'GOOGLE_OAUTH_NOT_CONFIGURED',
59
- TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: 'TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED'
59
+ TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: 'TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED',
60
+ API_KEY_NOT_FOUND: 'API_KEY_NOT_FOUND',
61
+ CANNOT_DELETE_SYSTEM_API_KEY: 'CANNOT_DELETE_SYSTEM_API_KEY'
60
62
  };
61
63
  /**
62
64
  * Check if a given object implements the ForteApiException interface.
@@ -21,6 +21,12 @@ export interface LogLineObject {
21
21
  * @memberof LogLineObject
22
22
  */
23
23
  timestamp: Date;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LogLineObject
28
+ */
29
+ ingestionDelayMillis?: number;
24
30
  /**
25
31
  *
26
32
  * @type {string}
@@ -39,6 +39,7 @@ function LogLineObjectFromJSONTyped(json, ignoreDiscriminator) {
39
39
  }
40
40
  return {
41
41
  'timestamp': (new Date(json['timestamp'])),
42
+ 'ingestionDelayMillis': json['ingestionDelayMillis'] == null ? undefined : json['ingestionDelayMillis'],
42
43
  'level': json['level'] == null ? undefined : json['level'],
43
44
  'message': json['message'],
44
45
  'serviceId': json['serviceId'],
@@ -57,6 +58,7 @@ function LogLineObjectToJSONTyped(value, ignoreDiscriminator) {
57
58
  }
58
59
  return {
59
60
  'timestamp': value['timestamp'].toISOString(),
61
+ 'ingestionDelayMillis': value['ingestionDelayMillis'],
60
62
  'level': value['level'],
61
63
  'message': value['message'],
62
64
  'serviceId': value['serviceId'],
@@ -78,6 +78,12 @@ export interface ServiceBuildRequestObject {
78
78
  * @memberof ServiceBuildRequestObject
79
79
  */
80
80
  origin?: ServiceBuildRequestObjectOriginType;
81
+ /**
82
+ *
83
+ * @type {boolean}
84
+ * @memberof ServiceBuildRequestObject
85
+ */
86
+ allBuildLogsReceived?: boolean;
81
87
  /**
82
88
  *
83
89
  * @type {DockerfileGenerationError}
@@ -96,8 +102,11 @@ export interface ServiceBuildRequestObject {
96
102
  */
97
103
  export declare const ServiceBuildRequestObjectStatusType: {
98
104
  readonly PENDING: "PENDING";
105
+ readonly CLONING_REPOSITORY: "CLONING_REPOSITORY";
99
106
  readonly GENERATING_DOCKERFILE: "GENERATING_DOCKERFILE";
100
107
  readonly DOCKERFILE_GENERATION_FAILURE: "DOCKERFILE_GENERATION_FAILURE";
108
+ readonly VALIDATING_GENERATED_DOCKERFILE: "VALIDATING_GENERATED_DOCKERFILE";
109
+ readonly VALIDATED_GENERATED_DOCKERFILE: "VALIDATED_GENERATED_DOCKERFILE";
101
110
  readonly BUILDING_DOCKER_IMAGE: "BUILDING_DOCKER_IMAGE";
102
111
  readonly DOCKER_IMAGE_BUILD_FAILURE: "DOCKER_IMAGE_BUILD_FAILURE";
103
112
  readonly DETECTING_HEALTH_CHECK_CONFIG: "DETECTING_HEALTH_CHECK_CONFIG";
@@ -121,6 +130,7 @@ export declare const ServiceBuildRequestObjectOriginType: {
121
130
  readonly TRIGGERED_BY_PUSH: "TRIGGERED_BY_PUSH";
122
131
  readonly MANUAL_TRIGGER_FROM_DASHBOARD: "MANUAL_TRIGGER_FROM_DASHBOARD";
123
132
  readonly CONFIG_CHANGE: "CONFIG_CHANGE";
133
+ readonly SHADOW_VALIDATION_BUILD: "SHADOW_VALIDATION_BUILD";
124
134
  };
125
135
  export type ServiceBuildRequestObjectOriginType = typeof ServiceBuildRequestObjectOriginType[keyof typeof ServiceBuildRequestObjectOriginType];
126
136
  /**
@@ -27,8 +27,11 @@ var DockerfileGenerationError_1 = require("./DockerfileGenerationError");
27
27
  */
28
28
  exports.ServiceBuildRequestObjectStatusType = {
29
29
  PENDING: 'PENDING',
30
+ CLONING_REPOSITORY: 'CLONING_REPOSITORY',
30
31
  GENERATING_DOCKERFILE: 'GENERATING_DOCKERFILE',
31
32
  DOCKERFILE_GENERATION_FAILURE: 'DOCKERFILE_GENERATION_FAILURE',
33
+ VALIDATING_GENERATED_DOCKERFILE: 'VALIDATING_GENERATED_DOCKERFILE',
34
+ VALIDATED_GENERATED_DOCKERFILE: 'VALIDATED_GENERATED_DOCKERFILE',
32
35
  BUILDING_DOCKER_IMAGE: 'BUILDING_DOCKER_IMAGE',
33
36
  DOCKER_IMAGE_BUILD_FAILURE: 'DOCKER_IMAGE_BUILD_FAILURE',
34
37
  DETECTING_HEALTH_CHECK_CONFIG: 'DETECTING_HEALTH_CHECK_CONFIG',
@@ -50,7 +53,8 @@ exports.ServiceBuildRequestObjectOriginType = {
50
53
  INITIAL_BUILD: 'INITIAL_BUILD',
51
54
  TRIGGERED_BY_PUSH: 'TRIGGERED_BY_PUSH',
52
55
  MANUAL_TRIGGER_FROM_DASHBOARD: 'MANUAL_TRIGGER_FROM_DASHBOARD',
53
- CONFIG_CHANGE: 'CONFIG_CHANGE'
56
+ CONFIG_CHANGE: 'CONFIG_CHANGE',
57
+ SHADOW_VALIDATION_BUILD: 'SHADOW_VALIDATION_BUILD'
54
58
  };
55
59
  /**
56
60
  * Check if a given object implements the ServiceBuildRequestObject interface.
@@ -82,6 +86,7 @@ function ServiceBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
82
86
  'buildStepLogs': json['buildStepLogs'] == null ? undefined : (json['buildStepLogs'].map(BuildStepLog_1.BuildStepLogFromJSON)),
83
87
  'status': json['status'],
84
88
  'origin': json['origin'] == null ? undefined : json['origin'],
89
+ 'allBuildLogsReceived': json['allBuildLogsReceived'] == null ? undefined : json['allBuildLogsReceived'],
85
90
  'dockerfileGenerationError': json['dockerfileGenerationError'] == null ? undefined : (0, DockerfileGenerationError_1.DockerfileGenerationErrorFromJSON)(json['dockerfileGenerationError']),
86
91
  'healthCheckDetectionError': json['healthCheckDetectionError'] == null ? undefined : (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorFromJSON)(json['healthCheckDetectionError']),
87
92
  };
@@ -105,6 +110,7 @@ function ServiceBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
105
110
  'buildStepLogs': value['buildStepLogs'] == null ? undefined : (value['buildStepLogs'].map(BuildStepLog_1.BuildStepLogToJSON)),
106
111
  'status': value['status'],
107
112
  'origin': value['origin'],
113
+ 'allBuildLogsReceived': value['allBuildLogsReceived'],
108
114
  'dockerfileGenerationError': (0, DockerfileGenerationError_1.DockerfileGenerationErrorToJSON)(value['dockerfileGenerationError']),
109
115
  'healthCheckDetectionError': (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorToJSON)(value['healthCheckDetectionError']),
110
116
  };
@@ -0,0 +1,72 @@
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 TestInvocationRequest
16
+ */
17
+ export interface TestInvocationRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TestInvocationRequest
22
+ */
23
+ path: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TestInvocationRequest
28
+ */
29
+ httpMethod: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: string; }}
33
+ * @memberof TestInvocationRequest
34
+ */
35
+ headers?: {
36
+ [key: string]: string;
37
+ };
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof TestInvocationRequest
42
+ */
43
+ body?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof TestInvocationRequest
48
+ */
49
+ authMode: TestInvocationRequestAuthModeType;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof TestInvocationRequest
54
+ */
55
+ sessionToken?: string;
56
+ }
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const TestInvocationRequestAuthModeType: {
61
+ readonly ANONYMOUS: "ANONYMOUS";
62
+ readonly AS_USER: "AS_USER";
63
+ };
64
+ export type TestInvocationRequestAuthModeType = typeof TestInvocationRequestAuthModeType[keyof typeof TestInvocationRequestAuthModeType];
65
+ /**
66
+ * Check if a given object implements the TestInvocationRequest interface.
67
+ */
68
+ export declare function instanceOfTestInvocationRequest(value: object): value is TestInvocationRequest;
69
+ export declare function TestInvocationRequestFromJSON(json: any): TestInvocationRequest;
70
+ export declare function TestInvocationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TestInvocationRequest;
71
+ export declare function TestInvocationRequestToJSON(json: any): TestInvocationRequest;
72
+ export declare function TestInvocationRequestToJSONTyped(value?: TestInvocationRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,73 @@
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.TestInvocationRequestAuthModeType = void 0;
17
+ exports.instanceOfTestInvocationRequest = instanceOfTestInvocationRequest;
18
+ exports.TestInvocationRequestFromJSON = TestInvocationRequestFromJSON;
19
+ exports.TestInvocationRequestFromJSONTyped = TestInvocationRequestFromJSONTyped;
20
+ exports.TestInvocationRequestToJSON = TestInvocationRequestToJSON;
21
+ exports.TestInvocationRequestToJSONTyped = TestInvocationRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.TestInvocationRequestAuthModeType = {
26
+ ANONYMOUS: 'ANONYMOUS',
27
+ AS_USER: 'AS_USER'
28
+ };
29
+ /**
30
+ * Check if a given object implements the TestInvocationRequest interface.
31
+ */
32
+ function instanceOfTestInvocationRequest(value) {
33
+ if (!('path' in value) || value['path'] === undefined)
34
+ return false;
35
+ if (!('httpMethod' in value) || value['httpMethod'] === undefined)
36
+ return false;
37
+ if (!('authMode' in value) || value['authMode'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function TestInvocationRequestFromJSON(json) {
42
+ return TestInvocationRequestFromJSONTyped(json, false);
43
+ }
44
+ function TestInvocationRequestFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'path': json['path'],
50
+ 'httpMethod': json['httpMethod'],
51
+ 'headers': json['headers'] == null ? undefined : json['headers'],
52
+ 'body': json['body'] == null ? undefined : json['body'],
53
+ 'authMode': json['authMode'],
54
+ 'sessionToken': json['sessionToken'] == null ? undefined : json['sessionToken'],
55
+ };
56
+ }
57
+ function TestInvocationRequestToJSON(json) {
58
+ return TestInvocationRequestToJSONTyped(json, false);
59
+ }
60
+ function TestInvocationRequestToJSONTyped(value, ignoreDiscriminator) {
61
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'path': value['path'],
67
+ 'httpMethod': value['httpMethod'],
68
+ 'headers': value['headers'],
69
+ 'body': value['body'],
70
+ 'authMode': value['authMode'],
71
+ 'sessionToken': value['sessionToken'],
72
+ };
73
+ }
@@ -0,0 +1,52 @@
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 TestInvocationResponse
16
+ */
17
+ export interface TestInvocationResponse {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof TestInvocationResponse
22
+ */
23
+ statusCode?: number;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: string; }}
27
+ * @memberof TestInvocationResponse
28
+ */
29
+ responseHeaders?: {
30
+ [key: string]: string;
31
+ };
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TestInvocationResponse
36
+ */
37
+ responseBody?: string;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof TestInvocationResponse
42
+ */
43
+ latencyMilliseconds?: number;
44
+ }
45
+ /**
46
+ * Check if a given object implements the TestInvocationResponse interface.
47
+ */
48
+ export declare function instanceOfTestInvocationResponse(value: object): value is TestInvocationResponse;
49
+ export declare function TestInvocationResponseFromJSON(json: any): TestInvocationResponse;
50
+ export declare function TestInvocationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TestInvocationResponse;
51
+ export declare function TestInvocationResponseToJSON(json: any): TestInvocationResponse;
52
+ export declare function TestInvocationResponseToJSONTyped(value?: TestInvocationResponse | 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.instanceOfTestInvocationResponse = instanceOfTestInvocationResponse;
17
+ exports.TestInvocationResponseFromJSON = TestInvocationResponseFromJSON;
18
+ exports.TestInvocationResponseFromJSONTyped = TestInvocationResponseFromJSONTyped;
19
+ exports.TestInvocationResponseToJSON = TestInvocationResponseToJSON;
20
+ exports.TestInvocationResponseToJSONTyped = TestInvocationResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TestInvocationResponse interface.
23
+ */
24
+ function instanceOfTestInvocationResponse(value) {
25
+ return true;
26
+ }
27
+ function TestInvocationResponseFromJSON(json) {
28
+ return TestInvocationResponseFromJSONTyped(json, false);
29
+ }
30
+ function TestInvocationResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'statusCode': json['statusCode'] == null ? undefined : json['statusCode'],
36
+ 'responseHeaders': json['responseHeaders'] == null ? undefined : json['responseHeaders'],
37
+ 'responseBody': json['responseBody'] == null ? undefined : json['responseBody'],
38
+ 'latencyMilliseconds': json['latencyMilliseconds'] == null ? undefined : json['latencyMilliseconds'],
39
+ };
40
+ }
41
+ function TestInvocationResponseToJSON(json) {
42
+ return TestInvocationResponseToJSONTyped(json, false);
43
+ }
44
+ function TestInvocationResponseToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'statusCode': value['statusCode'],
51
+ 'responseHeaders': value['responseHeaders'],
52
+ 'responseBody': value['responseBody'],
53
+ 'latencyMilliseconds': value['latencyMilliseconds'],
54
+ };
55
+ }
@@ -73,6 +73,18 @@ export interface UpdateForteServiceRequest {
73
73
  * @memberof UpdateForteServiceRequest
74
74
  */
75
75
  containerCpu?: string;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof UpdateForteServiceRequest
80
+ */
81
+ healthCheckPort?: number;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof UpdateForteServiceRequest
86
+ */
87
+ healthCheckPath?: string;
76
88
  }
77
89
  /**
78
90
  * Check if a given object implements the UpdateForteServiceRequest interface.
@@ -41,6 +41,8 @@ function UpdateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'authPathExclusions': json['authPathExclusions'] == null ? undefined : json['authPathExclusions'],
42
42
  'baseInstances': json['baseInstances'] == null ? undefined : json['baseInstances'],
43
43
  'containerCpu': json['containerCpu'] == null ? undefined : json['containerCpu'],
44
+ 'healthCheckPort': json['healthCheckPort'] == null ? undefined : json['healthCheckPort'],
45
+ 'healthCheckPath': json['healthCheckPath'] == null ? undefined : json['healthCheckPath'],
44
46
  };
45
47
  }
46
48
  function UpdateForteServiceRequestToJSON(json) {
@@ -61,5 +63,7 @@ function UpdateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
61
63
  'authPathExclusions': value['authPathExclusions'],
62
64
  'baseInstances': value['baseInstances'],
63
65
  'containerCpu': value['containerCpu'],
66
+ 'healthCheckPort': value['healthCheckPort'],
67
+ 'healthCheckPath': value['healthCheckPath'],
64
68
  };
65
69
  }
@@ -1,7 +1,10 @@
1
1
  export * from './AddContactMethodRequest';
2
+ export * from './ApiKeySummary';
2
3
  export * from './BuildStepLog';
3
4
  export * from './ContactMethod';
4
5
  export * from './CreateForteServiceRequest';
6
+ export * from './CreateProjectApiKeyRequest';
7
+ export * from './CreateProjectApiKeyResponse';
5
8
  export * from './CreateServiceRequestProxyRequest';
6
9
  export * from './CreateServiceRequestProxyResponse';
7
10
  export * from './DockerfileDetectionOutput';
@@ -30,6 +33,8 @@ export * from './RequestLogObjectMeta';
30
33
  export * from './ServiceBuildRequestObject';
31
34
  export * from './ServiceMetricsResponse';
32
35
  export * from './ServiceObject';
36
+ export * from './TestInvocationRequest';
37
+ export * from './TestInvocationResponse';
33
38
  export * from './TimeSeriesDataPoint';
34
39
  export * from './UpdateForteServiceRequest';
35
40
  export * from './UpdateForteServiceResponse';
@@ -17,9 +17,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AddContactMethodRequest"), exports);
20
+ __exportStar(require("./ApiKeySummary"), exports);
20
21
  __exportStar(require("./BuildStepLog"), exports);
21
22
  __exportStar(require("./ContactMethod"), exports);
22
23
  __exportStar(require("./CreateForteServiceRequest"), exports);
24
+ __exportStar(require("./CreateProjectApiKeyRequest"), exports);
25
+ __exportStar(require("./CreateProjectApiKeyResponse"), exports);
23
26
  __exportStar(require("./CreateServiceRequestProxyRequest"), exports);
24
27
  __exportStar(require("./CreateServiceRequestProxyResponse"), exports);
25
28
  __exportStar(require("./DockerfileDetectionOutput"), exports);
@@ -48,6 +51,8 @@ __exportStar(require("./RequestLogObjectMeta"), exports);
48
51
  __exportStar(require("./ServiceBuildRequestObject"), exports);
49
52
  __exportStar(require("./ServiceMetricsResponse"), exports);
50
53
  __exportStar(require("./ServiceObject"), exports);
54
+ __exportStar(require("./TestInvocationRequest"), exports);
55
+ __exportStar(require("./TestInvocationResponse"), exports);
51
56
  __exportStar(require("./TimeSeriesDataPoint"), exports);
52
57
  __exportStar(require("./UpdateForteServiceRequest"), exports);
53
58
  __exportStar(require("./UpdateForteServiceResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.20",
3
+ "version": "1.0.28",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {