@stack-spot/portal-network 0.221.0 → 0.222.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/CHANGELOG.md +7 -0
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +0 -1
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +0 -8
- package/dist/apis.json +0 -8
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api-addresses.ts +0 -1
- package/src/apis-itau.json +0 -8
- package/src/apis.json +0 -8
- package/src/index.ts +0 -1
- package/dist/api/cloudPlatformHorizon.d.ts +0 -1314
- package/dist/api/cloudPlatformHorizon.d.ts.map +0 -1
- package/dist/api/cloudPlatformHorizon.js +0 -494
- package/dist/api/cloudPlatformHorizon.js.map +0 -1
- package/dist/client/cloud-platform-horizon.d.ts +0 -210
- package/dist/client/cloud-platform-horizon.d.ts.map +0 -1
- package/dist/client/cloud-platform-horizon.js +0 -241
- package/dist/client/cloud-platform-horizon.js.map +0 -1
- package/src/api/cloudPlatformHorizon.ts +0 -3058
- package/src/client/cloud-platform-horizon.ts +0 -121
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { HttpError } from '@oazapfts/runtime';
|
|
2
|
-
import { StackspotAPIError } from '../error/StackspotAPIError.js';
|
|
3
|
-
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
4
|
-
declare class CloudPlatformHorizonClient extends ReactQueryNetworkClient {
|
|
5
|
-
constructor();
|
|
6
|
-
protected buildStackSpotError(error: HttpError): StackspotAPIError;
|
|
7
|
-
/**
|
|
8
|
-
* Get a list of organizations
|
|
9
|
-
*/
|
|
10
|
-
listOrganizations: import("../network/types.js").QueryObject<Omit<{
|
|
11
|
-
xAccountId?: string;
|
|
12
|
-
page?: number;
|
|
13
|
-
perPage?: number;
|
|
14
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").OrganizationManifestV1[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Get organization by id
|
|
17
|
-
*/
|
|
18
|
-
getOrganizationById: import("../network/types.js").QueryObject<Omit<{
|
|
19
|
-
organizationId: string;
|
|
20
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").OrganizationManifestV1>;
|
|
21
|
-
/**
|
|
22
|
-
* Get details of an tenant
|
|
23
|
-
*/
|
|
24
|
-
getTenantById: import("../network/types.js").QueryObject<Omit<{
|
|
25
|
-
organizationId: string;
|
|
26
|
-
id: string;
|
|
27
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").TenantManifestV1>;
|
|
28
|
-
/**
|
|
29
|
-
* Get details of an runtime
|
|
30
|
-
*/
|
|
31
|
-
getRuntimeById: import("../network/types.js").QueryObject<Omit<{
|
|
32
|
-
organizationId: string;
|
|
33
|
-
tenantId: string;
|
|
34
|
-
id: string;
|
|
35
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").RuntimeManifestV1>;
|
|
36
|
-
/**
|
|
37
|
-
* Create an tenant
|
|
38
|
-
*/
|
|
39
|
-
createTenant: import("../network/types.js").MutationObject<Omit<{
|
|
40
|
-
organizationId: string;
|
|
41
|
-
tenantManifestV1: import("../api/cloudPlatformHorizon.js").TenantManifestV1;
|
|
42
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").TenantManifestV1>;
|
|
43
|
-
/**
|
|
44
|
-
* Create an runtime
|
|
45
|
-
*/
|
|
46
|
-
createRuntime: import("../network/types.js").MutationObject<Omit<{
|
|
47
|
-
organizationId: string;
|
|
48
|
-
tenantId: string;
|
|
49
|
-
runtimeManifestV1: import("../api/cloudPlatformHorizon.js").RuntimeManifestV1;
|
|
50
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").RuntimeManifestV1>;
|
|
51
|
-
/**
|
|
52
|
-
* Create an organization
|
|
53
|
-
*/
|
|
54
|
-
createOrganization: import("../network/types.js").MutationObject<Omit<{
|
|
55
|
-
organizationManifestV1: import("../api/cloudPlatformHorizon.js").OrganizationManifestV1;
|
|
56
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").OrganizationManifestV1>;
|
|
57
|
-
/**
|
|
58
|
-
* List all runtimes
|
|
59
|
-
*/
|
|
60
|
-
listRuntimes: import("../network/types.js").QueryObject<Omit<{
|
|
61
|
-
xAccountId?: string;
|
|
62
|
-
page?: number;
|
|
63
|
-
perPage?: number;
|
|
64
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").RuntimeManifestV1[]>;
|
|
65
|
-
/**
|
|
66
|
-
* List all tenants
|
|
67
|
-
*/
|
|
68
|
-
listTenants: import("../network/types.js").QueryObject<Omit<{
|
|
69
|
-
xAccountId?: string;
|
|
70
|
-
page?: number;
|
|
71
|
-
perPage?: number;
|
|
72
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").TenantManifestV1[]>;
|
|
73
|
-
/**
|
|
74
|
-
* List tenants from organization
|
|
75
|
-
*/
|
|
76
|
-
listTenantsByOrganization: import("../network/types.js").QueryObject<Omit<{
|
|
77
|
-
organizationId: string;
|
|
78
|
-
page?: number;
|
|
79
|
-
perPage?: number;
|
|
80
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").TenantManifestV1[]>;
|
|
81
|
-
/**
|
|
82
|
-
* List runtimes from tenant
|
|
83
|
-
*/
|
|
84
|
-
listRuntimesByTenant: import("../network/types.js").QueryObject<Omit<{
|
|
85
|
-
organizationId: string;
|
|
86
|
-
tenantId: string;
|
|
87
|
-
page?: number;
|
|
88
|
-
perPage?: number;
|
|
89
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").RuntimeManifestV1[]>;
|
|
90
|
-
/**
|
|
91
|
-
* List applications deployments from runtime
|
|
92
|
-
*/
|
|
93
|
-
listApplicationsDeployments: import("../network/types.js").QueryObject<Omit<{
|
|
94
|
-
organizationId: string;
|
|
95
|
-
tenantId: string;
|
|
96
|
-
runtimeId: string;
|
|
97
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").ApplicationDeploymentManifestV1[]>;
|
|
98
|
-
/**
|
|
99
|
-
* Deploy an application
|
|
100
|
-
*/
|
|
101
|
-
deployApplication: import("../network/types.js").MutationObject<Omit<{
|
|
102
|
-
organizationId: string;
|
|
103
|
-
tenantId: string;
|
|
104
|
-
runtimeId: string;
|
|
105
|
-
applicationDeploymentManifestV1: import("../api/cloudPlatformHorizon.js").ApplicationDeploymentManifestV1;
|
|
106
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").ApplicationDeploymentManifestV1>;
|
|
107
|
-
/**
|
|
108
|
-
* Get details of an application deployment
|
|
109
|
-
*/
|
|
110
|
-
getApplicationDeploymentById: import("../network/types.js").QueryObject<Omit<{
|
|
111
|
-
organizationId: string;
|
|
112
|
-
tenantId: string;
|
|
113
|
-
runtimeId: string;
|
|
114
|
-
deploymentId: string;
|
|
115
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").ApplicationDeploymentManifestV1>;
|
|
116
|
-
/**
|
|
117
|
-
* Get logs from a application deployment
|
|
118
|
-
*/
|
|
119
|
-
getApplicationDeploymentLogs: import("../network/types.js").QueryObject<Omit<{
|
|
120
|
-
organizationId: string;
|
|
121
|
-
tenantId: string;
|
|
122
|
-
runtimeId: string;
|
|
123
|
-
deploymentId: string;
|
|
124
|
-
numberOfLines?: number;
|
|
125
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").LogManifestV1>;
|
|
126
|
-
/**
|
|
127
|
-
* Get health from a application deployment
|
|
128
|
-
*/
|
|
129
|
-
getApplicationDeploymentHealth: import("../network/types.js").QueryObject<Omit<{
|
|
130
|
-
organizationId: string;
|
|
131
|
-
tenantId: string;
|
|
132
|
-
runtimeId: string;
|
|
133
|
-
deploymentId: string;
|
|
134
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").HealthManifestV1>;
|
|
135
|
-
/**
|
|
136
|
-
* Get a list of organization addons
|
|
137
|
-
*/
|
|
138
|
-
listAddons: import("../network/types.js").QueryObject<Omit<{
|
|
139
|
-
organizationId: string;
|
|
140
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").AddonManifestV1[]>;
|
|
141
|
-
/**
|
|
142
|
-
* Get a list of organization deploy templates
|
|
143
|
-
*/
|
|
144
|
-
listDeployTemplates: import("../network/types.js").QueryObject<Omit<{
|
|
145
|
-
organizationId: string;
|
|
146
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").DeployTemplateManifestV1[]>;
|
|
147
|
-
/**
|
|
148
|
-
* Create an addon
|
|
149
|
-
*/
|
|
150
|
-
createAddon: import("../network/types.js").MutationObject<Omit<{
|
|
151
|
-
organizationId: string;
|
|
152
|
-
addonManifestV1: import("../api/cloudPlatformHorizon.js").AddonManifestV1;
|
|
153
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").AddonManifestV1>;
|
|
154
|
-
/**
|
|
155
|
-
* Create an deploy template
|
|
156
|
-
*/
|
|
157
|
-
createDeployTemplate: import("../network/types.js").MutationObject<Omit<{
|
|
158
|
-
organizationId: string;
|
|
159
|
-
deployTemplateManifestV1: import("../api/cloudPlatformHorizon.js").DeployTemplateManifestV1;
|
|
160
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").DeployTemplateManifestV1>;
|
|
161
|
-
/**
|
|
162
|
-
* Associate an runtime with an workspace environment
|
|
163
|
-
*/
|
|
164
|
-
associateRuntimeWithWorkspaceEnv: import("../network/types.js").MutationObject<Omit<{
|
|
165
|
-
xAccountId?: string;
|
|
166
|
-
organizationId: string;
|
|
167
|
-
tenantId: string;
|
|
168
|
-
associateRuntimeWithWorkspaceEnvironmentRequest: import("../api/cloudPlatformHorizon.js").AssociateRuntimeWithWorkspaceEnvironmentRequest;
|
|
169
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").AssociateRuntimeWithWorkspaceEnvironmentResponse[]>;
|
|
170
|
-
/**
|
|
171
|
-
* Retrieves associate runtime with a workspace's environment
|
|
172
|
-
*/
|
|
173
|
-
getRuntimeAssociations: import("../network/types.js").QueryObject<Omit<{
|
|
174
|
-
xAccountId?: string;
|
|
175
|
-
organizationId: string;
|
|
176
|
-
tenantId: string;
|
|
177
|
-
runtimeId: string;
|
|
178
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").AssociateRuntimeWithWorkspaceEnvironmentResponse[]>;
|
|
179
|
-
/**
|
|
180
|
-
* List runtime associations to workspace's environment
|
|
181
|
-
*/
|
|
182
|
-
listRuntimeAssociationsToEnv: import("../network/types.js").QueryObject<Omit<{
|
|
183
|
-
xAccountId?: string;
|
|
184
|
-
workspaceId: string;
|
|
185
|
-
envId?: string;
|
|
186
|
-
applicationId?: string;
|
|
187
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").ListRuntimeWorkspaceEnvironmentAssociationsResponse>;
|
|
188
|
-
/**
|
|
189
|
-
* List of application deployments rollout
|
|
190
|
-
*/
|
|
191
|
-
listApplicationDeploymentRollouts: import("../network/types.js").QueryObject<Omit<{
|
|
192
|
-
organizationId: string;
|
|
193
|
-
tenantId: string;
|
|
194
|
-
runtimeId: string;
|
|
195
|
-
deploymentId: string;
|
|
196
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatformHorizon.js").RolloutManifestV1[]>;
|
|
197
|
-
/**
|
|
198
|
-
* Set an action to application deployment rollout
|
|
199
|
-
*/
|
|
200
|
-
deployApplicationRolloutAction: import("../network/types.js").MutationObject<Omit<{
|
|
201
|
-
organizationId: string;
|
|
202
|
-
tenantId: string;
|
|
203
|
-
runtimeId: string;
|
|
204
|
-
deploymentId: string;
|
|
205
|
-
action: string;
|
|
206
|
-
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, string>;
|
|
207
|
-
}
|
|
208
|
-
export declare const cloudPlatformHorizonClient: CloudPlatformHorizonClient;
|
|
209
|
-
export {};
|
|
210
|
-
//# sourceMappingURL=cloud-platform-horizon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-platform-horizon.d.ts","sourceRoot":"","sources":["../../src/client/cloud-platform-horizon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAG7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAM5E,cAAM,0BAA2B,SAAQ,uBAAuB;;IAK9D,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAGlE;;OAEG;IACH,iBAAiB;;;;mIAAyD;IAC1E;;OAEG;IACH,mBAAmB;;iIAA4D;IAC/E;;OAEG;IACH,aAAa;;;2HAAmD;IAChE;;OAEG;IACH,cAAc;;;;4HAAoD;IAClE;;OAEG;IACH,YAAY;;;2HAAyD;IACrE;;OAEG;IACH,aAAa;;;;4HAA0D;IACvE;;OAEG;IACH,kBAAkB;;iIAA8D;IAChF;;OAEG;IACH,YAAY;;;;8HAAqD;IACjE;;OAEG;IACH,WAAW;;;;6HAAoD;IAC/D;;OAEG;IACH,yBAAyB;;;;6HAAqD;IAC9E;;OAEG;IACH,oBAAoB;;;;;8HAAsD;IAC1E;;OAEG;IACH,2BAA2B;;;;4IAAmE;IAC9F;;OAEG;IACH,iBAAiB;;;;;0IAAkD;IACnE;;OAEG;IACH,4BAA4B;;;;;0IAAsE;IAClG;;OAEG;IACH,4BAA4B;;;;;;wHAAqE;IACjG;;OAEG;IACH,8BAA8B;;;;;2HAAuE;IACrG;;OAEG;IACH,UAAU;;4HAAkD;IAC5D;;OAEG;IACH,mBAAmB;;qIAA2D;IAC9E;;OAEG;IACH,WAAW;;;0HAAuD;IAClE;;OAEG;IACH,oBAAoB;;;mIAAgE;IACpF;;OAEG;IACH,gCAAgC;;;;;6JAA6E;IAC7G;;OAEG;IACH,sBAAsB;;;;;6JAAsF;IAC5G;;OAEG;IACH,4BAA4B;;;;;8JAAyD;IACrF;;MAEE;IACF,iCAAiC;;;;;8HAA0E;IAC3G;;MAEE;IACF,8BAA8B;;;;;;2EAAkF;CACjH;AAED,eAAO,MAAM,0BAA0B,4BAAmC,CAAA"}
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
2
|
-
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
3
|
-
import { removeAuthorizationParam } from '../utils/remove-authorization-param.js';
|
|
4
|
-
import { associateWithWorkspaceEnvironment, createAddon, createDeployTemplate, createOrganization, createRuntime1, createTenant1, defaults, deploy, findApplicationDeploymentById, getApplicationDeploymentHealth, getApplicationDeploymentLogs, getAssociationWorkspaceEnvironmentByRuntimeId, getOrganizationById, getOrganizations, getRuntime1, getTenant1, listAddon, listApplicationDeploymentRollouts, listApplicationDeployments, listAssociations, listDeployTemplate, listRuntimes, listRuntimes1, listTenants, listTenants1, postApplicationDeploymentRolloutAction } from '../api/cloudPlatformHorizon.js';
|
|
5
|
-
import { baseDictionary } from '../error/dictionary/base.js';
|
|
6
|
-
import { getApiAddresses } from '../api-addresses.js';
|
|
7
|
-
class CloudPlatformHorizonClient extends ReactQueryNetworkClient {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(getApiAddresses().cloudPlatformHorizon.url, defaults);
|
|
10
|
-
/**
|
|
11
|
-
* Get a list of organizations
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(this, "listOrganizations", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
configurable: true,
|
|
16
|
-
writable: true,
|
|
17
|
-
value: this.query(removeAuthorizationParam(getOrganizations))
|
|
18
|
-
});
|
|
19
|
-
/**
|
|
20
|
-
* Get organization by id
|
|
21
|
-
*/
|
|
22
|
-
Object.defineProperty(this, "getOrganizationById", {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true,
|
|
25
|
-
writable: true,
|
|
26
|
-
value: this.query(removeAuthorizationParam(getOrganizationById))
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* Get details of an tenant
|
|
30
|
-
*/
|
|
31
|
-
Object.defineProperty(this, "getTenantById", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true,
|
|
35
|
-
value: this.query(removeAuthorizationParam(getTenant1))
|
|
36
|
-
});
|
|
37
|
-
/**
|
|
38
|
-
* Get details of an runtime
|
|
39
|
-
*/
|
|
40
|
-
Object.defineProperty(this, "getRuntimeById", {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
configurable: true,
|
|
43
|
-
writable: true,
|
|
44
|
-
value: this.query(removeAuthorizationParam(getRuntime1))
|
|
45
|
-
});
|
|
46
|
-
/**
|
|
47
|
-
* Create an tenant
|
|
48
|
-
*/
|
|
49
|
-
Object.defineProperty(this, "createTenant", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
configurable: true,
|
|
52
|
-
writable: true,
|
|
53
|
-
value: this.mutation(removeAuthorizationParam(createTenant1))
|
|
54
|
-
});
|
|
55
|
-
/**
|
|
56
|
-
* Create an runtime
|
|
57
|
-
*/
|
|
58
|
-
Object.defineProperty(this, "createRuntime", {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
configurable: true,
|
|
61
|
-
writable: true,
|
|
62
|
-
value: this.mutation(removeAuthorizationParam(createRuntime1))
|
|
63
|
-
});
|
|
64
|
-
/**
|
|
65
|
-
* Create an organization
|
|
66
|
-
*/
|
|
67
|
-
Object.defineProperty(this, "createOrganization", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
configurable: true,
|
|
70
|
-
writable: true,
|
|
71
|
-
value: this.mutation(removeAuthorizationParam(createOrganization))
|
|
72
|
-
});
|
|
73
|
-
/**
|
|
74
|
-
* List all runtimes
|
|
75
|
-
*/
|
|
76
|
-
Object.defineProperty(this, "listRuntimes", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
configurable: true,
|
|
79
|
-
writable: true,
|
|
80
|
-
value: this.query(removeAuthorizationParam(listRuntimes))
|
|
81
|
-
});
|
|
82
|
-
/**
|
|
83
|
-
* List all tenants
|
|
84
|
-
*/
|
|
85
|
-
Object.defineProperty(this, "listTenants", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true,
|
|
88
|
-
writable: true,
|
|
89
|
-
value: this.query(removeAuthorizationParam(listTenants))
|
|
90
|
-
});
|
|
91
|
-
/**
|
|
92
|
-
* List tenants from organization
|
|
93
|
-
*/
|
|
94
|
-
Object.defineProperty(this, "listTenantsByOrganization", {
|
|
95
|
-
enumerable: true,
|
|
96
|
-
configurable: true,
|
|
97
|
-
writable: true,
|
|
98
|
-
value: this.query(removeAuthorizationParam(listTenants1))
|
|
99
|
-
});
|
|
100
|
-
/**
|
|
101
|
-
* List runtimes from tenant
|
|
102
|
-
*/
|
|
103
|
-
Object.defineProperty(this, "listRuntimesByTenant", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
configurable: true,
|
|
106
|
-
writable: true,
|
|
107
|
-
value: this.query(removeAuthorizationParam(listRuntimes1))
|
|
108
|
-
});
|
|
109
|
-
/**
|
|
110
|
-
* List applications deployments from runtime
|
|
111
|
-
*/
|
|
112
|
-
Object.defineProperty(this, "listApplicationsDeployments", {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
configurable: true,
|
|
115
|
-
writable: true,
|
|
116
|
-
value: this.query(removeAuthorizationParam(listApplicationDeployments))
|
|
117
|
-
});
|
|
118
|
-
/**
|
|
119
|
-
* Deploy an application
|
|
120
|
-
*/
|
|
121
|
-
Object.defineProperty(this, "deployApplication", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
configurable: true,
|
|
124
|
-
writable: true,
|
|
125
|
-
value: this.mutation(removeAuthorizationParam(deploy))
|
|
126
|
-
});
|
|
127
|
-
/**
|
|
128
|
-
* Get details of an application deployment
|
|
129
|
-
*/
|
|
130
|
-
Object.defineProperty(this, "getApplicationDeploymentById", {
|
|
131
|
-
enumerable: true,
|
|
132
|
-
configurable: true,
|
|
133
|
-
writable: true,
|
|
134
|
-
value: this.query(removeAuthorizationParam(findApplicationDeploymentById))
|
|
135
|
-
});
|
|
136
|
-
/**
|
|
137
|
-
* Get logs from a application deployment
|
|
138
|
-
*/
|
|
139
|
-
Object.defineProperty(this, "getApplicationDeploymentLogs", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
configurable: true,
|
|
142
|
-
writable: true,
|
|
143
|
-
value: this.query(removeAuthorizationParam(getApplicationDeploymentLogs))
|
|
144
|
-
});
|
|
145
|
-
/**
|
|
146
|
-
* Get health from a application deployment
|
|
147
|
-
*/
|
|
148
|
-
Object.defineProperty(this, "getApplicationDeploymentHealth", {
|
|
149
|
-
enumerable: true,
|
|
150
|
-
configurable: true,
|
|
151
|
-
writable: true,
|
|
152
|
-
value: this.query(removeAuthorizationParam(getApplicationDeploymentHealth))
|
|
153
|
-
});
|
|
154
|
-
/**
|
|
155
|
-
* Get a list of organization addons
|
|
156
|
-
*/
|
|
157
|
-
Object.defineProperty(this, "listAddons", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
configurable: true,
|
|
160
|
-
writable: true,
|
|
161
|
-
value: this.query(removeAuthorizationParam(listAddon))
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* Get a list of organization deploy templates
|
|
165
|
-
*/
|
|
166
|
-
Object.defineProperty(this, "listDeployTemplates", {
|
|
167
|
-
enumerable: true,
|
|
168
|
-
configurable: true,
|
|
169
|
-
writable: true,
|
|
170
|
-
value: this.query(removeAuthorizationParam(listDeployTemplate))
|
|
171
|
-
});
|
|
172
|
-
/**
|
|
173
|
-
* Create an addon
|
|
174
|
-
*/
|
|
175
|
-
Object.defineProperty(this, "createAddon", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
configurable: true,
|
|
178
|
-
writable: true,
|
|
179
|
-
value: this.mutation(removeAuthorizationParam(createAddon))
|
|
180
|
-
});
|
|
181
|
-
/**
|
|
182
|
-
* Create an deploy template
|
|
183
|
-
*/
|
|
184
|
-
Object.defineProperty(this, "createDeployTemplate", {
|
|
185
|
-
enumerable: true,
|
|
186
|
-
configurable: true,
|
|
187
|
-
writable: true,
|
|
188
|
-
value: this.mutation(removeAuthorizationParam(createDeployTemplate))
|
|
189
|
-
});
|
|
190
|
-
/**
|
|
191
|
-
* Associate an runtime with an workspace environment
|
|
192
|
-
*/
|
|
193
|
-
Object.defineProperty(this, "associateRuntimeWithWorkspaceEnv", {
|
|
194
|
-
enumerable: true,
|
|
195
|
-
configurable: true,
|
|
196
|
-
writable: true,
|
|
197
|
-
value: this.mutation(removeAuthorizationParam(associateWithWorkspaceEnvironment))
|
|
198
|
-
});
|
|
199
|
-
/**
|
|
200
|
-
* Retrieves associate runtime with a workspace's environment
|
|
201
|
-
*/
|
|
202
|
-
Object.defineProperty(this, "getRuntimeAssociations", {
|
|
203
|
-
enumerable: true,
|
|
204
|
-
configurable: true,
|
|
205
|
-
writable: true,
|
|
206
|
-
value: this.query(removeAuthorizationParam(getAssociationWorkspaceEnvironmentByRuntimeId))
|
|
207
|
-
});
|
|
208
|
-
/**
|
|
209
|
-
* List runtime associations to workspace's environment
|
|
210
|
-
*/
|
|
211
|
-
Object.defineProperty(this, "listRuntimeAssociationsToEnv", {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
configurable: true,
|
|
214
|
-
writable: true,
|
|
215
|
-
value: this.query(removeAuthorizationParam(listAssociations))
|
|
216
|
-
});
|
|
217
|
-
/**
|
|
218
|
-
* List of application deployments rollout
|
|
219
|
-
*/
|
|
220
|
-
Object.defineProperty(this, "listApplicationDeploymentRollouts", {
|
|
221
|
-
enumerable: true,
|
|
222
|
-
configurable: true,
|
|
223
|
-
writable: true,
|
|
224
|
-
value: this.query(removeAuthorizationParam(listApplicationDeploymentRollouts))
|
|
225
|
-
});
|
|
226
|
-
/**
|
|
227
|
-
* Set an action to application deployment rollout
|
|
228
|
-
*/
|
|
229
|
-
Object.defineProperty(this, "deployApplicationRolloutAction", {
|
|
230
|
-
enumerable: true,
|
|
231
|
-
configurable: true,
|
|
232
|
-
writable: true,
|
|
233
|
-
value: this.mutation(removeAuthorizationParam(postApplicationDeploymentRolloutAction))
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
buildStackSpotError(error) {
|
|
237
|
-
return new DefaultAPIError(error.data, error.status, baseDictionary, error.headers);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
export const cloudPlatformHorizonClient = new CloudPlatformHorizonClient();
|
|
241
|
-
//# sourceMappingURL=cloud-platform-horizon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-platform-horizon.js","sourceRoot":"","sources":["../../src/client/cloud-platform-horizon.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;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