attlaz-client 1.19.0 → 1.19.1
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
CHANGED
|
@@ -30,6 +30,7 @@ import { CodeSourceStrategiesEndpoint } from './Service/CodeSourceStrategiesEndp
|
|
|
30
30
|
import { SearchEndpoint } from './Service/SearchEndpoint.js';
|
|
31
31
|
import { UserActionEndpoint } from './Service/UserActionEndpoint.js';
|
|
32
32
|
import { AccessTokenEndpoint } from './Service/AccessTokenEndpoint.js';
|
|
33
|
+
import { AdapterConnectionEndpoint } from './Service/AdapterConnectionEndpoint.js';
|
|
33
34
|
export declare class Client {
|
|
34
35
|
private readonly endpoints;
|
|
35
36
|
private httpClient;
|
|
@@ -51,6 +52,7 @@ export declare class Client {
|
|
|
51
52
|
version: string;
|
|
52
53
|
}>;
|
|
53
54
|
getAdapterEndpoint(): AdapterEndpoint;
|
|
55
|
+
getAdapterConnectionEndpoint(): AdapterConnectionEndpoint;
|
|
54
56
|
getProjectEndpoint(): ProjectEndpoint;
|
|
55
57
|
getProjectEnvironmentEndpoint(): ProjectEnvironmentEndpoint;
|
|
56
58
|
getCodeDeployEndpoint(): CodeDeployEndpoint;
|
package/dist/Client.js
CHANGED
|
@@ -31,40 +31,42 @@ import { CodeSourceStrategiesEndpoint } from './Service/CodeSourceStrategiesEndp
|
|
|
31
31
|
import { SearchEndpoint } from './Service/SearchEndpoint.js';
|
|
32
32
|
import { UserActionEndpoint } from './Service/UserActionEndpoint.js';
|
|
33
33
|
import { AccessTokenEndpoint } from './Service/AccessTokenEndpoint.js';
|
|
34
|
+
import { AdapterConnectionEndpoint } from './Service/AdapterConnectionEndpoint.js';
|
|
34
35
|
export class Client {
|
|
35
36
|
endpoints;
|
|
36
37
|
httpClient;
|
|
37
38
|
Store = {
|
|
38
|
-
|
|
39
|
+
AccessTokenEndpoint,
|
|
40
|
+
AdapterConnectionEndpoint,
|
|
39
41
|
AdapterEndpoint,
|
|
40
|
-
ProjectEndpoint,
|
|
41
|
-
ProjectEnvironmentEndpoint,
|
|
42
|
-
CodeDeployEndpoint,
|
|
43
|
-
QueueEndpoint,
|
|
44
42
|
ChannelEndpoint,
|
|
43
|
+
CodeDeployEndpoint,
|
|
44
|
+
CodeSourceStrategiesEndpoint,
|
|
45
45
|
ConfigEndpoint,
|
|
46
|
-
|
|
47
|
-
SubscriberEndpoint,
|
|
48
|
-
LogEndpoint,
|
|
46
|
+
FirewallEndpoint,
|
|
49
47
|
FlowEndpoint,
|
|
50
48
|
FlowRunEndpoint,
|
|
51
49
|
FlowRunRequestEndpoint,
|
|
52
|
-
|
|
53
|
-
TriggerEndpoint,
|
|
54
|
-
UserEndpoint,
|
|
55
|
-
WorkspaceMemberEndpoint,
|
|
56
|
-
SourcesAccountEndpoint,
|
|
57
|
-
PlatformLanguageEndpoint,
|
|
58
|
-
StorageEndpoint,
|
|
59
|
-
WorkerConfigEndpoint,
|
|
50
|
+
FlowRunStatsEndpoint,
|
|
60
51
|
HealthAlertEndpoint,
|
|
52
|
+
InboxEndpoint,
|
|
53
|
+
LogEndpoint,
|
|
61
54
|
PlatformEndpoint,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
PlatformLanguageEndpoint,
|
|
56
|
+
ProjectEndpoint,
|
|
57
|
+
ProjectEnvironmentEndpoint,
|
|
58
|
+
QueueEndpoint,
|
|
65
59
|
SearchEndpoint,
|
|
60
|
+
SourcesAccountEndpoint,
|
|
61
|
+
StorageEndpoint,
|
|
62
|
+
SubscriberEndpoint,
|
|
63
|
+
TriggerEndpoint,
|
|
66
64
|
UserActionEndpoint,
|
|
67
|
-
|
|
65
|
+
UserEndpoint,
|
|
66
|
+
WorkerConfigEndpoint,
|
|
67
|
+
WorkerEndpoint,
|
|
68
|
+
WorkspaceEndpoint,
|
|
69
|
+
WorkspaceMemberEndpoint,
|
|
68
70
|
};
|
|
69
71
|
apiEndpoint = 'https://api.attlaz.com';
|
|
70
72
|
parseConfig(config) {
|
|
@@ -120,6 +122,9 @@ export class Client {
|
|
|
120
122
|
getAdapterEndpoint() {
|
|
121
123
|
return this.getEndpoint('adapter', this.Store.AdapterEndpoint);
|
|
122
124
|
}
|
|
125
|
+
getAdapterConnectionEndpoint() {
|
|
126
|
+
return this.getEndpoint('adapter-connection', this.Store.AdapterConnectionEndpoint);
|
|
127
|
+
}
|
|
123
128
|
getProjectEndpoint() {
|
|
124
129
|
return this.getEndpoint('project', this.Store.ProjectEndpoint);
|
|
125
130
|
}
|
|
@@ -2,8 +2,8 @@ import { AdapterConnection } from '../Model/Adapter/AdapterConnection.js';
|
|
|
2
2
|
import { CollectionResult } from '../Model/Result/CollectionResult.js';
|
|
3
3
|
import { AdapterConnectionConfigurationValue } from '../Model/Adapter/AdapterConnectionConfigurationValue.js';
|
|
4
4
|
import { CursorPagination } from '../Model/Pagination/CursorPagination.js';
|
|
5
|
-
import { Endpoint } from './Endpoint.js';
|
|
6
5
|
import { AdapterConnectionEvent } from '../Model/Adapter/AdapterConnectionEvent.js';
|
|
6
|
+
import { Endpoint } from './Endpoint.js';
|
|
7
7
|
export declare class AdapterConnectionEndpoint extends Endpoint {
|
|
8
8
|
getConnections(projectId: string, pagination: CursorPagination): Promise<CollectionResult<AdapterConnection>>;
|
|
9
9
|
getConnectionById(connectionId: string): Promise<AdapterConnection | null>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdapterConnection } from '../Model/Adapter/AdapterConnection.js';
|
|
2
2
|
import { QueryString } from '../Http/Data/QueryString.js';
|
|
3
|
-
import { Endpoint } from './Endpoint.js';
|
|
4
3
|
import { AdapterConnectionEvent } from '../Model/Adapter/AdapterConnectionEvent.js';
|
|
4
|
+
import { Endpoint } from './Endpoint.js';
|
|
5
5
|
export class AdapterConnectionEndpoint extends Endpoint {
|
|
6
6
|
async getConnections(projectId, pagination) {
|
|
7
7
|
try {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.19.1";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.
|
|
1
|
+
export const VERSION = "1.19.1";
|