attlaz-client 1.9.5 → 1.9.6
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/e2e/src/helper.d.ts +3 -0
- package/dist/e2e/src/helper.js +13 -0
- package/dist/{Client.d.ts → src/Client.d.ts} +0 -0
- package/dist/{Client.js → src/Client.js} +0 -0
- package/dist/{Http → src/Http}/HttpClient.d.ts +0 -0
- package/dist/{Http → src/Http}/HttpClient.js +0 -0
- package/dist/{Http → src/Http}/HttpClientRequest.d.ts +0 -0
- package/dist/{Http → src/Http}/HttpClientRequest.js +0 -0
- package/dist/{Http → src/Http}/HttpClientRequest.spec.d.ts +0 -0
- package/dist/{Http → src/Http}/HttpClientRequest.spec.js +0 -0
- package/dist/{Http → src/Http}/HttpClientResponse.d.ts +0 -0
- package/dist/{Http → src/Http}/HttpClientResponse.js +0 -0
- package/dist/{Http → src/Http}/OAuthClient.d.ts +0 -0
- package/dist/{Http → src/Http}/OAuthClient.js +0 -0
- package/dist/{Http → src/Http}/OAuthClient.spec.d.ts +0 -0
- package/dist/{Http → src/Http}/OAuthClient.spec.js +0 -0
- package/dist/{Http → src/Http}/OAuthClientOptions.d.ts +0 -0
- package/dist/{Http → src/Http}/OAuthClientOptions.js +0 -0
- package/dist/{Http → src/Http}/OAuthClientToken.d.ts +0 -0
- package/dist/{Http → src/Http}/OAuthClientToken.js +0 -0
- package/dist/{Model → src/Model}/Adapter/Adapter.d.ts +0 -0
- package/dist/{Model → src/Model}/Adapter/Adapter.js +0 -0
- package/dist/{Model → src/Model}/Adapter/AdapterConfiguration.d.ts +0 -0
- package/dist/{Model → src/Model}/Adapter/AdapterConfiguration.js +0 -0
- package/dist/{Model → src/Model}/Adapter/AdapterConnection.d.ts +0 -0
- package/dist/{Model → src/Model}/Adapter/AdapterConnection.js +0 -0
- package/dist/{Model → src/Model}/Config.d.ts +0 -0
- package/dist/{Model → src/Model}/Config.js +0 -0
- package/dist/{Model → src/Model}/DataValue.d.ts +0 -0
- package/dist/{Model → src/Model}/DataValue.js +0 -0
- package/dist/{Model → src/Model}/DataValueCollection.d.ts +0 -0
- package/dist/{Model → src/Model}/DataValueCollection.js +0 -0
- package/dist/{Model → src/Model}/Deployment/CodeSource.d.ts +0 -0
- package/dist/{Model → src/Model}/Deployment/CodeSource.js +0 -0
- package/dist/{Model → src/Model}/Deployment/CodeSourceAccount.d.ts +0 -0
- package/dist/{Model → src/Model}/Deployment/CodeSourceAccount.js +0 -0
- package/dist/{Model → src/Model}/Error/ClientError.d.ts +0 -0
- package/dist/{Model → src/Model}/Error/ClientError.js +0 -0
- package/dist/{Model → src/Model}/Event/EventType.d.ts +0 -0
- package/dist/{Model → src/Model}/Event/EventType.js +0 -0
- package/dist/{Model → src/Model}/Flow/Flow.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/Flow.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRun.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRun.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunHistory.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunHistory.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunPriority.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunPriority.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunResponse.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunResponse.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunStats.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunStats.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunStatus.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunStatus.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunSummary.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowRunSummary.js +0 -0
- package/dist/{Model → src/Model}/Flow/FlowSummary.d.ts +0 -0
- package/dist/{Model → src/Model}/Flow/FlowSummary.js +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthAlert.d.ts +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthAlert.js +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthAlertStatus.d.ts +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthAlertStatus.js +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthTestType.d.ts +0 -0
- package/dist/{Model → src/Model}/HealthAlert/HealthTestType.js +0 -0
- package/dist/{Model → src/Model}/JsonSerializable.d.ts +0 -0
- package/dist/{Model → src/Model}/JsonSerializable.js +0 -0
- package/dist/{Model → src/Model}/Log/Log.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/Log.js +0 -0
- package/dist/{Model → src/Model}/Log/LogLevel.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogLevel.js +0 -0
- package/dist/{Model → src/Model}/Log/LogQuery.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogQuery.js +0 -0
- package/dist/{Model → src/Model}/Log/LogStatus.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogStatus.js +0 -0
- package/dist/{Model → src/Model}/Log/LogStream.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogStream.js +0 -0
- package/dist/{Model → src/Model}/Log/LogStreamId.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogStreamId.js +0 -0
- package/dist/{Model → src/Model}/Log/LogStreamInformation.d.ts +0 -0
- package/dist/{Model → src/Model}/Log/LogStreamInformation.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/Channel.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/Channel.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/ChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/ChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/ChannelType.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/ChannelType.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/EmailChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/EmailChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/PushChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/PushChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/SlackChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/SlackChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/SmsChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/SmsChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/WebhookChannelData.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Channel/WebhookChannelData.js +0 -0
- package/dist/{Model → src/Model}/Messaging/ChannelHistory.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/ChannelHistory.js +0 -0
- package/dist/{Model → src/Model}/Messaging/Subscriber.d.ts +0 -0
- package/dist/{Model → src/Model}/Messaging/Subscriber.js +0 -0
- package/dist/{Model → src/Model}/Notification.d.ts +0 -0
- package/dist/{Model → src/Model}/Notification.js +0 -0
- package/dist/{Model → src/Model}/PagedResult.d.ts +0 -0
- package/dist/{Model → src/Model}/PagedResult.js +0 -0
- package/dist/{Model → src/Model}/Project/PlatformLanguage.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/PlatformLanguage.js +0 -0
- package/dist/{Model → src/Model}/Project/Project.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/Project.js +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeploy.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeploy.js +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeployCommit.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeployCommit.js +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeployStatus.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/ProjectDeployStatus.js +0 -0
- package/dist/{Model → src/Model}/Project/ProjectEnvironment.d.ts +0 -0
- package/dist/{Model → src/Model}/Project/ProjectEnvironment.js +0 -0
- package/dist/{Model → src/Model}/Queue/QueueStatus.d.ts +0 -0
- package/dist/{Model → src/Model}/Queue/QueueStatus.js +0 -0
- package/dist/{Model → src/Model}/Result/CollectionResult.d.ts +0 -0
- package/dist/{Model → src/Model}/Result/CollectionResult.js +0 -0
- package/dist/{Model → src/Model}/Result/DataResult.d.ts +0 -0
- package/dist/{Model → src/Model}/Result/DataResult.js +0 -0
- package/dist/{Model → src/Model}/Result/DataResult.spec.d.ts +0 -0
- package/dist/{Model → src/Model}/Result/DataResult.spec.js +0 -0
- package/dist/{Model → src/Model}/Result/ObjectResult.d.ts +0 -0
- package/dist/{Model → src/Model}/Result/ObjectResult.js +0 -0
- package/dist/{Model → src/Model}/Result/ResultError.d.ts +0 -0
- package/dist/{Model → src/Model}/Result/ResultError.js +0 -0
- package/dist/{Model → src/Model}/SourcesAccountRepository.d.ts +0 -0
- package/dist/{Model → src/Model}/SourcesAccountRepository.js +0 -0
- package/dist/{Model → src/Model}/State.d.ts +0 -0
- package/dist/{Model → src/Model}/State.js +0 -0
- package/dist/{Model → src/Model}/StateAware.d.ts +0 -0
- package/dist/{Model → src/Model}/StateAware.js +0 -0
- package/dist/{Model → src/Model}/Storage/StorageInformation.d.ts +0 -0
- package/dist/{Model → src/Model}/Storage/StorageInformation.js +0 -0
- package/dist/{Model → src/Model}/Storage/StorageItem.d.ts +0 -0
- package/dist/{Model → src/Model}/Storage/StorageItem.js +0 -0
- package/dist/{Model → src/Model}/Storage/StorageItemInformation.d.ts +0 -0
- package/dist/{Model → src/Model}/Storage/StorageItemInformation.js +0 -0
- package/dist/{Model → src/Model}/Storage/StorageType.d.ts +0 -0
- package/dist/{Model → src/Model}/Storage/StorageType.js +0 -0
- package/dist/{Model → src/Model}/Trigger/ApiTrigger.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/ApiTrigger.js +0 -0
- package/dist/{Model → src/Model}/Trigger/ApiTriggerData.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/ApiTriggerData.js +0 -0
- package/dist/{Model → src/Model}/Trigger/ScheduleTrigger.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/ScheduleTrigger.js +0 -0
- package/dist/{Model → src/Model}/Trigger/ScheduleTriggerData.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/ScheduleTriggerData.js +0 -0
- package/dist/{Model → src/Model}/Trigger/Trigger.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/Trigger.js +0 -0
- package/dist/{Model → src/Model}/Trigger/TriggerData.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/TriggerData.js +0 -0
- package/dist/{Model → src/Model}/Trigger/TriggerType.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/TriggerType.js +0 -0
- package/dist/{Model → src/Model}/Trigger/WebhookTrigger.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/WebhookTrigger.js +0 -0
- package/dist/{Model → src/Model}/Trigger/WebhookTriggerData.d.ts +0 -0
- package/dist/{Model → src/Model}/Trigger/WebhookTriggerData.js +0 -0
- package/dist/{Model → src/Model}/User/UserAction.d.ts +0 -0
- package/dist/{Model → src/Model}/User/UserAction.js +0 -0
- package/dist/{Model → src/Model}/User/UserAuthProvider.d.ts +0 -0
- package/dist/{Model → src/Model}/User/UserAuthProvider.js +0 -0
- package/dist/{Model → src/Model}/User.d.ts +0 -0
- package/dist/{Model → src/Model}/User.js +0 -0
- package/dist/{Model → src/Model}/Worker/Platform.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/Platform.js +0 -0
- package/dist/{Model → src/Model}/Worker/PlatformImage.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/PlatformImage.js +0 -0
- package/dist/{Model → src/Model}/Worker/Worker.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/Worker.js +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerConfig.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerConfig.js +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerInstance.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerInstance.js +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerInstanceState.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerInstanceState.js +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerState.d.ts +0 -0
- package/dist/{Model → src/Model}/Worker/WorkerState.js +0 -0
- package/dist/{Model → src/Model}/Workspace/Workspace.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/Workspace.js +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMember.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMember.js +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInvite.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInvite.js +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInvite2.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInvite2.js +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInviteState.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberInviteState.js +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberRole.d.ts +0 -0
- package/dist/{Model → src/Model}/Workspace/WorkspaceMemberRole.js +0 -0
- package/dist/{Service → src/Service}/AdapterEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/AdapterEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ChannelEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/ChannelEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ConfigEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/ConfigEndpoint.js +0 -0
- package/dist/{Service → src/Service}/Endpoint.d.ts +1 -1
- package/dist/{Service → src/Service}/Endpoint.js +4 -3
- package/dist/{Service → src/Service}/FlowEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/FlowEndpoint.js +0 -0
- package/dist/{Service → src/Service}/FlowRunEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/FlowRunEndpoint.js +0 -0
- package/dist/{Service → src/Service}/FlowRunRequestEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/FlowRunRequestEndpoint.js +0 -0
- package/dist/{Service → src/Service}/FlowRunStatsEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/FlowRunStatsEndpoint.js +0 -0
- package/dist/{Service → src/Service}/HealthAlertEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/HealthAlertEndpoint.js +0 -0
- package/dist/{Service → src/Service}/LogEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/LogEndpoint.js +0 -0
- package/dist/{Service → src/Service}/NotificationsEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/NotificationsEndpoint.js +0 -0
- package/dist/{Service → src/Service}/PlatformEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/PlatformEndpoint.js +0 -0
- package/dist/{Service → src/Service}/PlatformLanguageEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/PlatformLanguageEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ProjectDeployEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/ProjectDeployEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ProjectDeployEndpoint.spec.d.ts +0 -0
- package/dist/{Service → src/Service}/ProjectDeployEndpoint.spec.js +0 -0
- package/dist/{Service → src/Service}/ProjectEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/ProjectEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ProjectEnvironmentEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/ProjectEnvironmentEndpoint.js +0 -0
- package/dist/{Service → src/Service}/ProjectEnvironmentEndpoint.spec.d.ts +0 -0
- package/dist/{Service → src/Service}/ProjectEnvironmentEndpoint.spec.js +0 -0
- package/dist/{Service → src/Service}/QueueEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/QueueEndpoint.js +0 -0
- package/dist/{Service → src/Service}/SourcesAccountEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/SourcesAccountEndpoint.js +0 -0
- package/dist/{Service → src/Service}/StorageEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/StorageEndpoint.js +0 -0
- package/dist/{Service → src/Service}/SubscriberEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/SubscriberEndpoint.js +0 -0
- package/dist/{Service → src/Service}/TriggerEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/TriggerEndpoint.js +0 -0
- package/dist/{Service → src/Service}/UserEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/UserEndpoint.js +0 -0
- package/dist/{Service → src/Service}/WorkerConfigEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/WorkerConfigEndpoint.js +0 -0
- package/dist/{Service → src/Service}/WorkerEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/WorkerEndpoint.js +0 -0
- package/dist/{Service → src/Service}/WorkspaceEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/WorkspaceEndpoint.js +0 -0
- package/dist/{Utils.spec.d.ts → src/Service/WorkspaceEndpoint.spec.d.ts} +0 -0
- package/dist/src/Service/WorkspaceEndpoint.spec.js +19 -0
- package/dist/{Service → src/Service}/WorkspaceMemberEndpoint.d.ts +0 -0
- package/dist/{Service → src/Service}/WorkspaceMemberEndpoint.js +0 -0
- package/dist/{Utils.d.ts → src/Utils.d.ts} +0 -0
- package/dist/{Utils.js → src/Utils.js} +0 -0
- package/dist/{auth.spec.d.ts → src/Utils.spec.d.ts} +0 -0
- package/dist/{Utils.spec.js → src/Utils.spec.js} +0 -0
- package/dist/{data.spec.d.ts → src/auth.spec.d.ts} +0 -0
- package/dist/{auth.spec.js → src/auth.spec.js} +0 -0
- package/dist/src/data.spec.d.ts +1 -0
- package/dist/{data.spec.js → src/data.spec.js} +0 -0
- package/dist/{index.d.ts → src/index.d.ts} +0 -0
- package/dist/{index.js → src/index.js} +0 -0
- package/dist/{main.d.ts → src/main.d.ts} +0 -0
- package/dist/{main.js → src/main.js} +0 -0
- package/dist/{test.d.ts → src/test.d.ts} +0 -0
- package/dist/{test.js → src/test.js} +0 -0
- package/dist/src/version.d.ts +1 -0
- package/dist/{version.js → src/version.js} +1 -1
- package/package.json +1 -1
- package/dist/version.d.ts +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Helper = void 0;
|
|
4
|
+
class Helper {
|
|
5
|
+
static getEnvValue(key) {
|
|
6
|
+
const value = process.env[key];
|
|
7
|
+
if (value === null || value === undefined || value === '') {
|
|
8
|
+
throw new Error('Env value for "' + key + '" not defined');
|
|
9
|
+
}
|
|
10
|
+
return value;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Helper = Helper;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,5 +8,5 @@ export declare abstract class Endpoint {
|
|
|
8
8
|
requestCollection<T>(action: string, parameters: any, parser: (input: any) => T, method?: string, signWithOauthToken?: boolean): Promise<CollectionResult<T>>;
|
|
9
9
|
requestObject<T>(action: string, parameters: any, parser: (input: any) => T, method?: string, signWithOauthToken?: boolean): Promise<ObjectResult<T>>;
|
|
10
10
|
request<T>(action: string, parameters?: any, method?: string, signWithOauthToken?: boolean): Promise<DataResult<T>>;
|
|
11
|
-
parseCollection<T>(
|
|
11
|
+
parseCollection<T>(rawData: object[], parser: (input: any) => T): T[];
|
|
12
12
|
}
|
|
@@ -58,13 +58,14 @@ class Endpoint {
|
|
|
58
58
|
const result = await this.httpClient.request(action, parameters, method, signWithOauthToken);
|
|
59
59
|
return DataResult_1.DataResult.parse(result);
|
|
60
60
|
}
|
|
61
|
-
parseCollection(
|
|
61
|
+
parseCollection(rawData, parser) {
|
|
62
62
|
const data = [];
|
|
63
|
-
|
|
63
|
+
if (!Array.isArray(rawData)) {
|
|
64
|
+
throw new Error('Invalid data');
|
|
65
|
+
}
|
|
64
66
|
for (const rawDataEntry of rawData) {
|
|
65
67
|
data.push(parser(rawDataEntry));
|
|
66
68
|
}
|
|
67
|
-
dataResult.setData(data);
|
|
68
69
|
return data;
|
|
69
70
|
}
|
|
70
71
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Client_1 = require("../Client");
|
|
4
|
+
const helper_1 = require("../../e2e/src/helper");
|
|
5
|
+
jest.setTimeout((60) * 1000);
|
|
6
|
+
const apiEndpoint = helper_1.Helper.getEnvValue('apiEndpoint');
|
|
7
|
+
// const apiEndpoint: string = 'https://api2.attlaz.com';
|
|
8
|
+
const clientCredentialClientId = helper_1.Helper.getEnvValue('clientCredentialClientId');
|
|
9
|
+
const clientCredentialClientSecret = helper_1.Helper.getEnvValue('clientCredentialClientSecret');
|
|
10
|
+
test('Test workspaces', async () => {
|
|
11
|
+
// expect.assertions(3);
|
|
12
|
+
let client = new Client_1.Client(apiEndpoint, clientCredentialClientId, clientCredentialClientSecret);
|
|
13
|
+
client.getHttpClient().enableDebug();
|
|
14
|
+
await client.authenticate();
|
|
15
|
+
const existingProjectDeploy = await client.getWorkspaceEndpoint().getAll();
|
|
16
|
+
expect(existingProjectDeploy).not.toBeNull();
|
|
17
|
+
expect(existingProjectDeploy.hasMore).toBeFalsy();
|
|
18
|
+
expect(existingProjectDeploy.getData()).toHaveLength(2);
|
|
19
|
+
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION = "1.9.6";
|
package/package.json
CHANGED
package/dist/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const VERSION = "1.9.5";
|