attlaz-client 1.5.9 → 1.6.0
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.
- package/dist/Client.d.ts +2 -0
- package/dist/Client.js +7 -2
- package/dist/Http/HttpClient.d.ts +1 -0
- package/dist/Http/HttpClient.js +1 -0
- package/dist/Http/OAuthClient.js +1 -0
- package/dist/Model/Error/ClientError.js +1 -1
- package/dist/Model/Result/DataResult.d.ts +1 -1
- package/dist/Model/Result/DataResult.js +2 -2
- package/dist/Model/TaskExecutionSummary.js +1 -1
- package/dist/Model/Worker/Platform.d.ts +4 -5
- package/dist/Model/Worker/Platform.js +10 -10
- package/dist/Model/Worker/PlatformImage.d.ts +12 -0
- package/dist/Model/Worker/PlatformImage.js +22 -0
- package/dist/Service/PlatformEndpoint.d.ts +8 -0
- package/dist/Service/PlatformEndpoint.js +21 -0
- package/dist/Service/WorkerEndpoint.d.ts +1 -3
- package/dist/Service/WorkerEndpoint.js +2 -12
- package/dist/index.d.ts +3 -1
- package/dist/index.js +9 -5
- package/package.json +1 -1
package/dist/Client.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { HealthAlertEndpoint } from './Service/HealthAlertEndpoint';
|
|
|
23
23
|
import { TaskExecutionEndpoint } from './Service/TaskExecutionEndpoint';
|
|
24
24
|
import { LogEndpoint } from './Service/LogEndpoint';
|
|
25
25
|
import { TriggerEndpoint } from './Service/TriggerEndpoint';
|
|
26
|
+
import { PlatformEndpoint } from './Service/PlatformEndpoint';
|
|
26
27
|
export declare class Client {
|
|
27
28
|
private apiEndpoint;
|
|
28
29
|
private clientId;
|
|
@@ -48,6 +49,7 @@ export declare class Client {
|
|
|
48
49
|
getChannelEndpoint(): ChannelEndpoint;
|
|
49
50
|
getConfigEndpoint(): ConfigEndpoint;
|
|
50
51
|
getNotificationsEndpoint(): NotificationsEndpoint;
|
|
52
|
+
getPlatformEndpoint(): PlatformEndpoint;
|
|
51
53
|
getSubscriberEndpoint(): SubscriberEndpoint;
|
|
52
54
|
getLogEndPoint(): LogEndpoint;
|
|
53
55
|
getTaskEndpoint(): TaskEndpoint;
|
package/dist/Client.js
CHANGED
|
@@ -26,6 +26,7 @@ const HealthAlertEndpoint_1 = require("./Service/HealthAlertEndpoint");
|
|
|
26
26
|
const TaskExecutionEndpoint_1 = require("./Service/TaskExecutionEndpoint");
|
|
27
27
|
const LogEndpoint_1 = require("./Service/LogEndpoint");
|
|
28
28
|
const TriggerEndpoint_1 = require("./Service/TriggerEndpoint");
|
|
29
|
+
const PlatformEndpoint_1 = require("./Service/PlatformEndpoint");
|
|
29
30
|
class Client {
|
|
30
31
|
// private test: Map<string, any>;
|
|
31
32
|
// private socketService;
|
|
@@ -56,7 +57,8 @@ class Client {
|
|
|
56
57
|
LanguageEndpoint: LanguageEndpoint_1.LanguageEndpoint,
|
|
57
58
|
StorageEndpoint: StorageEndpoint_1.StorageEndpoint,
|
|
58
59
|
WorkerConfigEndpoint: WorkerConfigEndpoint_1.WorkerConfigEndpoint,
|
|
59
|
-
HealthAlertEndpoint: HealthAlertEndpoint_1.HealthAlertEndpoint
|
|
60
|
+
HealthAlertEndpoint: HealthAlertEndpoint_1.HealthAlertEndpoint,
|
|
61
|
+
PlatformEndpoint: PlatformEndpoint_1.PlatformEndpoint
|
|
60
62
|
};
|
|
61
63
|
const options = new OAuthClientOptions_1.OAuthClientOptions(apiEndpoint, clientId, clientSecret);
|
|
62
64
|
this.httpClient = new OAuthClient_1.OAuthClient(options);
|
|
@@ -123,7 +125,10 @@ class Client {
|
|
|
123
125
|
return this.getEndpoint('config', this.Store.ConfigEndpoint);
|
|
124
126
|
}
|
|
125
127
|
getNotificationsEndpoint() {
|
|
126
|
-
return this.getEndpoint('
|
|
128
|
+
return this.getEndpoint('notication', this.Store.NotificationsEndpoint);
|
|
129
|
+
}
|
|
130
|
+
getPlatformEndpoint() {
|
|
131
|
+
return this.getEndpoint('platform', this.Store.PlatformEndpoint);
|
|
127
132
|
}
|
|
128
133
|
getSubscriberEndpoint() {
|
|
129
134
|
return this.getEndpoint('subscriber', this.Store.SubscriberEndpoint);
|
|
@@ -7,6 +7,7 @@ export declare class HttpClient {
|
|
|
7
7
|
static HTTP_NOTFOUND: number;
|
|
8
8
|
static HTTP_NOT_ALLOWED: number;
|
|
9
9
|
static HTTP_UNPROCESSABLE_ENTITY: number;
|
|
10
|
+
static HTTP_INTERNAL_SERVER_ERROR: number;
|
|
10
11
|
static HTTP_UNAVAILABLE: number;
|
|
11
12
|
static get(url: string, requestData?: any): Promise<any>;
|
|
12
13
|
static request(request: HttpClientRequest): Promise<any>;
|
package/dist/Http/HttpClient.js
CHANGED
package/dist/Http/OAuthClient.js
CHANGED
|
@@ -64,7 +64,7 @@ class ClientError {
|
|
|
64
64
|
return new ClientError('Unprocessable Entity', HttpClient_1.HttpClient.HTTP_UNPROCESSABLE_ENTITY);
|
|
65
65
|
break;
|
|
66
66
|
case 500:
|
|
67
|
-
return new ClientError('Internal Server Error', HttpClient_1.HttpClient.
|
|
67
|
+
return new ClientError('Internal Server Error', HttpClient_1.HttpClient.HTTP_INTERNAL_SERVER_ERROR);
|
|
68
68
|
break;
|
|
69
69
|
case 503:
|
|
70
70
|
return new ClientError('Service not available', HttpClient_1.HttpClient.HTTP_UNAVAILABLE);
|
|
@@ -11,7 +11,7 @@ class TaskExecutionSummary extends TaskExecution_1.TaskExecution {
|
|
|
11
11
|
}
|
|
12
12
|
static parse(rawTaskExecutionSummary) {
|
|
13
13
|
let taskExecutionSummary = TaskExecution_1.TaskExecution.parse(rawTaskExecutionSummary);
|
|
14
|
-
if (rawTaskExecutionSummary.time
|
|
14
|
+
if (rawTaskExecutionSummary.time === null || rawTaskExecutionSummary.time === undefined) {
|
|
15
15
|
throw new Error('Task execution time cannot be empty');
|
|
16
16
|
}
|
|
17
17
|
taskExecutionSummary.time = Utils_1.Utils.parseRawDate(rawTaskExecutionSummary.time);
|
|
@@ -3,11 +3,10 @@ import { StateAware } from '../StateAware';
|
|
|
3
3
|
export declare class Platform implements StateAware {
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
buildDate: Date;
|
|
6
|
+
languageId: string;
|
|
7
|
+
released: Date;
|
|
8
|
+
endOfSupport: Date;
|
|
9
|
+
endOfLife: Date;
|
|
11
10
|
state: State;
|
|
12
11
|
static parse(raw: any): Platform;
|
|
13
12
|
}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Platform = void 0;
|
|
4
4
|
const State_1 = require("../State");
|
|
5
|
+
const Utils_1 = require("../../Utils");
|
|
5
6
|
class Platform {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.state = State_1.State.Active;
|
|
8
9
|
}
|
|
9
10
|
static parse(raw) {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return worker;
|
|
11
|
+
const platform = new Platform();
|
|
12
|
+
platform.id = raw.id;
|
|
13
|
+
platform.name = raw.name;
|
|
14
|
+
platform.languageId = raw.languageId;
|
|
15
|
+
platform.released = Utils_1.Utils.parseRawDate(raw.released);
|
|
16
|
+
platform.endOfSupport = Utils_1.Utils.parseRawDate(raw.endOfSupport);
|
|
17
|
+
platform.endOfLife = Utils_1.Utils.parseRawDate(raw.endOfLife);
|
|
18
|
+
platform.state = State_1.State.fromString(raw.state);
|
|
19
|
+
return platform;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.Platform = Platform;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { State } from '../State';
|
|
2
|
+
import { StateAware } from '../StateAware';
|
|
3
|
+
export declare class PlatformImage implements StateAware {
|
|
4
|
+
id: number;
|
|
5
|
+
platformId: string;
|
|
6
|
+
image: string;
|
|
7
|
+
version: string;
|
|
8
|
+
languageVersion: string;
|
|
9
|
+
buildDate: Date;
|
|
10
|
+
state: State;
|
|
11
|
+
static parse(raw: any): PlatformImage;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformImage = void 0;
|
|
4
|
+
const State_1 = require("../State");
|
|
5
|
+
const Utils_1 = require("../../Utils");
|
|
6
|
+
class PlatformImage {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.state = State_1.State.Active;
|
|
9
|
+
}
|
|
10
|
+
static parse(raw) {
|
|
11
|
+
const platformImage = new PlatformImage();
|
|
12
|
+
platformImage.id = raw.id;
|
|
13
|
+
platformImage.platformId = raw.platformId;
|
|
14
|
+
platformImage.image = raw.image;
|
|
15
|
+
platformImage.version = raw.version;
|
|
16
|
+
platformImage.languageVersion = raw.languageVersion;
|
|
17
|
+
platformImage.buildDate = Utils_1.Utils.parseRawDate(raw.buildDate);
|
|
18
|
+
platformImage.state = State_1.State.fromString(raw.state);
|
|
19
|
+
return platformImage;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.PlatformImage = PlatformImage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Endpoint } from './Endpoint';
|
|
2
|
+
import { Platform } from '../Model/Worker/Platform';
|
|
3
|
+
import { PlatformImage } from '../Model/Worker/PlatformImage';
|
|
4
|
+
import { DataResult } from '../Model/Result/DataResult';
|
|
5
|
+
export declare class PlatformEndpoint extends Endpoint {
|
|
6
|
+
getAll(): Promise<DataResult<Platform[]>>;
|
|
7
|
+
getPlatformImages(platformId: string): Promise<DataResult<PlatformImage[]>>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformEndpoint = void 0;
|
|
4
|
+
const Endpoint_1 = require("./Endpoint");
|
|
5
|
+
const Platform_1 = require("../Model/Worker/Platform");
|
|
6
|
+
const PlatformImage_1 = require("../Model/Worker/PlatformImage");
|
|
7
|
+
class PlatformEndpoint extends Endpoint_1.Endpoint {
|
|
8
|
+
async getAll() {
|
|
9
|
+
let cmd = '/platforms';
|
|
10
|
+
const result = await this.request(cmd);
|
|
11
|
+
result.setData(this.parseCollection(result, Platform_1.Platform.parse));
|
|
12
|
+
return result;
|
|
13
|
+
}
|
|
14
|
+
async getPlatformImages(platformId) {
|
|
15
|
+
let cmd = '/platforms/' + platformId + '/images';
|
|
16
|
+
const result = await this.request(cmd);
|
|
17
|
+
result.setData(this.parseCollection(result, PlatformImage_1.PlatformImage.parse));
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.PlatformEndpoint = PlatformEndpoint;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Endpoint } from './Endpoint';
|
|
2
2
|
import { Worker } from '../Model/Worker/Worker';
|
|
3
3
|
import { DataResult } from '../Model/Result/DataResult';
|
|
4
|
-
import { Platform } from '../Model/Worker/Platform';
|
|
5
4
|
export declare class WorkerEndpoint extends Endpoint {
|
|
6
|
-
getByProjectEnvironment(projectEnvironmentId: string): Promise<Worker
|
|
5
|
+
getByProjectEnvironment(projectEnvironmentId: string): Promise<DataResult<Worker>>;
|
|
7
6
|
update(projectEnvironmentId: string): Promise<DataResult<boolean>>;
|
|
8
|
-
getPlatforms(): Promise<Platform[]>;
|
|
9
7
|
}
|
|
@@ -4,8 +4,7 @@ exports.WorkerEndpoint = void 0;
|
|
|
4
4
|
const Endpoint_1 = require("./Endpoint");
|
|
5
5
|
const Utils_1 = require("../Utils");
|
|
6
6
|
const Worker_1 = require("../Model/Worker/Worker");
|
|
7
|
-
const
|
|
8
|
-
// import {DataResult, Worker, Platform} from '..';
|
|
7
|
+
const DataResult_1 = require("../Model/Result/DataResult");
|
|
9
8
|
class WorkerEndpoint extends Endpoint_1.Endpoint {
|
|
10
9
|
async getByProjectEnvironment(projectEnvironmentId) {
|
|
11
10
|
try {
|
|
@@ -14,7 +13,7 @@ class WorkerEndpoint extends Endpoint_1.Endpoint {
|
|
|
14
13
|
if (Utils_1.Utils.isNullOrUndefined(result)) {
|
|
15
14
|
throw new Error('Unable to find worker');
|
|
16
15
|
}
|
|
17
|
-
return Worker_1.Worker.parse(result);
|
|
16
|
+
return new DataResult_1.DataResult(Worker_1.Worker.parse(result));
|
|
18
17
|
}
|
|
19
18
|
catch (error) {
|
|
20
19
|
if (this.httpClient.isDebugEnabled()) {
|
|
@@ -36,14 +35,5 @@ class WorkerEndpoint extends Endpoint_1.Endpoint {
|
|
|
36
35
|
throw error;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
async getPlatforms() {
|
|
40
|
-
let cmd = '/platforms';
|
|
41
|
-
const rawPlatforms = await this.httpClient.request(cmd);
|
|
42
|
-
const result = [];
|
|
43
|
-
for (let rawPlatform of rawPlatforms) {
|
|
44
|
-
result.push(Platform_1.Platform.parse(rawPlatform));
|
|
45
|
-
}
|
|
46
|
-
return result;
|
|
47
|
-
}
|
|
48
38
|
}
|
|
49
39
|
exports.WorkerEndpoint = WorkerEndpoint;
|
package/dist/index.d.ts
CHANGED
|
@@ -54,9 +54,10 @@ export { TriggerType } from './Model/Trigger/TriggerType';
|
|
|
54
54
|
export { WebhookTrigger } from './Model/Trigger/WebhookTrigger';
|
|
55
55
|
export { WebhookTriggerData } from './Model/Trigger/WebhookTriggerData';
|
|
56
56
|
/** Worker**/
|
|
57
|
+
export { Platform } from './Model/Worker/Platform';
|
|
58
|
+
export { PlatformImage } from './Model/Worker/PlatformImage';
|
|
57
59
|
export { Worker } from './Model/Worker/Worker';
|
|
58
60
|
export { WorkerConfig } from './Model/Worker/WorkerConfig';
|
|
59
|
-
export { Platform } from './Model/Worker/Platform';
|
|
60
61
|
export { WorkerInstance } from './Model/Worker/WorkerInstance';
|
|
61
62
|
export { WorkerInstanceState } from './Model/Worker/WorkerInstanceState';
|
|
62
63
|
export { WorkerState } from './Model/Worker/WorkerState';
|
|
@@ -95,6 +96,7 @@ export { LanguageEndpoint } from './Service/LanguageEndpoint';
|
|
|
95
96
|
export { LogEndpoint } from './Service/LogEndpoint';
|
|
96
97
|
export { TeamMemberEndpoint } from './Service/TeamMemberEndpoint';
|
|
97
98
|
export { NotificationsEndpoint } from './Service/NotificationsEndpoint';
|
|
99
|
+
export { PlatformEndpoint } from './Service/PlatformEndpoint';
|
|
98
100
|
export { ProjectDeployEndpoint } from './Service/ProjectDeployEndpoint';
|
|
99
101
|
export { ProjectEnvironmentEndpoint } from './Service/ProjectEnvironmentEndpoint';
|
|
100
102
|
export { QueueEndpoint } from './Service/QueueEndpoint';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.Utils = void 0;
|
|
3
|
+
exports.WorkerInstance = exports.WorkerConfig = exports.Worker = exports.PlatformImage = exports.Platform = exports.WebhookTriggerData = exports.WebhookTrigger = exports.TriggerType = exports.TriggerData = exports.Trigger = exports.ScheduleTriggerData = exports.ScheduleTrigger = exports.ApiTriggerData = exports.ApiTrigger = exports.StorageType = exports.StorageInformation = exports.ResultError = exports.DataResult = exports.QueueStatus = exports.ProjectEnvironment = exports.ProjectDeployStatus = exports.ProjectDeployCommit = exports.ProjectDeploy = exports.Project = exports.Language = exports.ChannelHistory = exports.Subscriber = exports.WebhookChannelData = exports.SmsChannelData = exports.SlackChannelData = exports.PushChannelData = exports.EmailChannelData = exports.ChannelType = exports.ChannelData = exports.Channel = exports.LogStreamId = exports.LogStatus = exports.LogQuery = exports.LogLevel = exports.Log = exports.HealthTestType = exports.HealthAlertStatus = exports.HealthAlert = exports.EventType = exports.ClientError = exports.OAuthClientOptions = exports.OAuthClient = exports.HttpClientResponse = exports.HttpClientRequest = exports.HttpClient = void 0;
|
|
4
|
+
exports.WorkerEndpoint = exports.WorkerConfigEndpoint = exports.UserEndpoint = exports.TriggerEndpoint = exports.TeamsEndpoint = exports.TaskExecutionRequestEndpoint = exports.TaskExecutionEndpoint = exports.TaskEndpoint = exports.SubscriberEndpoint = exports.StorageEndpoint = exports.SourcesAccountEndpoint = exports.QueueEndpoint = exports.ProjectEnvironmentEndpoint = exports.ProjectDeployEndpoint = exports.PlatformEndpoint = exports.NotificationsEndpoint = exports.TeamMemberEndpoint = exports.LogEndpoint = exports.LanguageEndpoint = exports.ConfigEndpoint = exports.ProjectEndpoint = exports.ChannelEndpoint = exports.AdapterEndpoint = exports.Endpoint = exports.User = exports.TaskSummary = exports.TaskExecutionSummary = exports.TaskExecutionStatus = exports.TaskExecutionResponse = exports.TaskExecutionHistory = exports.TaskExecution = exports.Task = exports.State = exports.SourcesAccountRepository = exports.SourcesAccount = exports.PagedResult = exports.Notification = exports.DataValue = exports.Config = exports.AdapterConnection = exports.AdapterConfiguration = exports.Adapter = exports.TeamMemberRole = exports.TeamMemberInviteState = exports.TeamMemberInvite2 = exports.TeamMemberInvite = exports.TeamMember = exports.Team = exports.WorkerState = exports.WorkerInstanceState = void 0;
|
|
5
|
+
exports.Utils = exports.Client = exports.HealthAlertEndpoint = void 0;
|
|
6
6
|
/**
|
|
7
7
|
* @module
|
|
8
8
|
* @description
|
|
@@ -106,12 +106,14 @@ Object.defineProperty(exports, "WebhookTrigger", { enumerable: true, get: functi
|
|
|
106
106
|
var WebhookTriggerData_1 = require("./Model/Trigger/WebhookTriggerData");
|
|
107
107
|
Object.defineProperty(exports, "WebhookTriggerData", { enumerable: true, get: function () { return WebhookTriggerData_1.WebhookTriggerData; } });
|
|
108
108
|
/** Worker**/
|
|
109
|
+
var Platform_1 = require("./Model/Worker/Platform");
|
|
110
|
+
Object.defineProperty(exports, "Platform", { enumerable: true, get: function () { return Platform_1.Platform; } });
|
|
111
|
+
var PlatformImage_1 = require("./Model/Worker/PlatformImage");
|
|
112
|
+
Object.defineProperty(exports, "PlatformImage", { enumerable: true, get: function () { return PlatformImage_1.PlatformImage; } });
|
|
109
113
|
var Worker_1 = require("./Model/Worker/Worker");
|
|
110
114
|
Object.defineProperty(exports, "Worker", { enumerable: true, get: function () { return Worker_1.Worker; } });
|
|
111
115
|
var WorkerConfig_1 = require("./Model/Worker/WorkerConfig");
|
|
112
116
|
Object.defineProperty(exports, "WorkerConfig", { enumerable: true, get: function () { return WorkerConfig_1.WorkerConfig; } });
|
|
113
|
-
var Platform_1 = require("./Model/Worker/Platform");
|
|
114
|
-
Object.defineProperty(exports, "Platform", { enumerable: true, get: function () { return Platform_1.Platform; } });
|
|
115
117
|
var WorkerInstance_1 = require("./Model/Worker/WorkerInstance");
|
|
116
118
|
Object.defineProperty(exports, "WorkerInstance", { enumerable: true, get: function () { return WorkerInstance_1.WorkerInstance; } });
|
|
117
119
|
var WorkerInstanceState_1 = require("./Model/Worker/WorkerInstanceState");
|
|
@@ -187,6 +189,8 @@ var TeamMemberEndpoint_1 = require("./Service/TeamMemberEndpoint");
|
|
|
187
189
|
Object.defineProperty(exports, "TeamMemberEndpoint", { enumerable: true, get: function () { return TeamMemberEndpoint_1.TeamMemberEndpoint; } });
|
|
188
190
|
var NotificationsEndpoint_1 = require("./Service/NotificationsEndpoint");
|
|
189
191
|
Object.defineProperty(exports, "NotificationsEndpoint", { enumerable: true, get: function () { return NotificationsEndpoint_1.NotificationsEndpoint; } });
|
|
192
|
+
var PlatformEndpoint_1 = require("./Service/PlatformEndpoint");
|
|
193
|
+
Object.defineProperty(exports, "PlatformEndpoint", { enumerable: true, get: function () { return PlatformEndpoint_1.PlatformEndpoint; } });
|
|
190
194
|
var ProjectDeployEndpoint_1 = require("./Service/ProjectDeployEndpoint");
|
|
191
195
|
Object.defineProperty(exports, "ProjectDeployEndpoint", { enumerable: true, get: function () { return ProjectDeployEndpoint_1.ProjectDeployEndpoint; } });
|
|
192
196
|
var ProjectEnvironmentEndpoint_1 = require("./Service/ProjectEnvironmentEndpoint");
|