checkly 6.9.7 → 6.9.8
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/rest/accounts.d.ts +2 -2
- package/dist/rest/checkly-storage.d.ts +3 -3
- package/dist/rest/environment-variables.d.ts +5 -5
- package/dist/rest/heartbeat-checks.d.ts +1 -1
- package/dist/rest/locations.d.ts +1 -1
- package/dist/rest/private-locations.d.ts +1 -1
- package/dist/rest/projects.d.ts +11 -11
- package/dist/rest/runtimes.d.ts +2 -2
- package/dist/rest/test-sessions.d.ts +4 -4
- package/dist/rest/users.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +20 -20
package/dist/rest/accounts.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface Account {
|
|
|
7
7
|
declare class Accounts {
|
|
8
8
|
api: AxiosInstance;
|
|
9
9
|
constructor(api: AxiosInstance);
|
|
10
|
-
getAll(): Promise<import("axios").AxiosResponse<Account[], any>>;
|
|
11
|
-
get(accountId: string): Promise<import("axios").AxiosResponse<Account, any>>;
|
|
10
|
+
getAll(): Promise<import("axios").AxiosResponse<Account[], any, {}>>;
|
|
11
|
+
get(accountId: string): Promise<import("axios").AxiosResponse<Account, any, {}>>;
|
|
12
12
|
}
|
|
13
13
|
export default Accounts;
|
|
@@ -6,10 +6,10 @@ declare class ChecklyStorage {
|
|
|
6
6
|
constructor(api: AxiosInstance);
|
|
7
7
|
upload(stream: Readable): Promise<import("axios").AxiosResponse<{
|
|
8
8
|
key: string;
|
|
9
|
-
}, any>>;
|
|
9
|
+
}, any, {}>>;
|
|
10
10
|
uploadCodeBundle(stream: Readable, size: number): Promise<import("axios").AxiosResponse<{
|
|
11
11
|
key: string;
|
|
12
|
-
}, any>>;
|
|
13
|
-
download(key: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
+
}, any, {}>>;
|
|
13
|
+
download(key: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
14
14
|
}
|
|
15
15
|
export default ChecklyStorage;
|
|
@@ -22,22 +22,22 @@ export declare class EnvironmentVariableAlreadyExistsError extends Error {
|
|
|
22
22
|
declare class EnvironmentVariables {
|
|
23
23
|
api: AxiosInstance;
|
|
24
24
|
constructor(api: AxiosInstance);
|
|
25
|
-
getAll(): Promise<import("axios").AxiosResponse<EnvironmentVariable[], any>>;
|
|
25
|
+
getAll(): Promise<import("axios").AxiosResponse<EnvironmentVariable[], any, {}>>;
|
|
26
26
|
/**
|
|
27
27
|
* @throws {EnvironmentVariableNotFoundError} If the environment variable does not exist.
|
|
28
28
|
*/
|
|
29
|
-
delete(environmentVariableKey: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
+
delete(environmentVariableKey: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
30
30
|
/**
|
|
31
31
|
* @throws {EnvironmentVariableAlreadyExistsError} If the environment variable already exists.
|
|
32
32
|
*/
|
|
33
|
-
add(environmentVariableKey: string, environmentVariableValue: string, locked?: boolean, secret?: boolean): Promise<import("axios").AxiosResponse<any, any>>;
|
|
33
|
+
add(environmentVariableKey: string, environmentVariableValue: string, locked?: boolean, secret?: boolean): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
34
34
|
/**
|
|
35
35
|
* @throws {EnvironmentVariableNotFoundError} If the environment variable does not exist.
|
|
36
36
|
*/
|
|
37
|
-
get(environmentVariableKey: string): Promise<import("axios").AxiosResponse<EnvironmentVariable, any>>;
|
|
37
|
+
get(environmentVariableKey: string): Promise<import("axios").AxiosResponse<EnvironmentVariable, any, {}>>;
|
|
38
38
|
/**
|
|
39
39
|
* @throws {EnvironmentVariableNotFoundError} If the environment variable does not exist.
|
|
40
40
|
*/
|
|
41
|
-
update(environmentVariableKey: string, environmentVariableValue: string, locked?: boolean, secret?: boolean): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
+
update(environmentVariableKey: string, environmentVariableValue: string, locked?: boolean, secret?: boolean): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
42
42
|
}
|
|
43
43
|
export default EnvironmentVariables;
|
|
@@ -6,6 +6,6 @@ export interface HeartbeatCheck {
|
|
|
6
6
|
declare class HeartbeatChecks {
|
|
7
7
|
api: AxiosInstance;
|
|
8
8
|
constructor(api: AxiosInstance);
|
|
9
|
-
get(id: string): Promise<import("axios").AxiosResponse<HeartbeatCheck, any>>;
|
|
9
|
+
get(id: string): Promise<import("axios").AxiosResponse<HeartbeatCheck, any, {}>>;
|
|
10
10
|
}
|
|
11
11
|
export default HeartbeatChecks;
|
package/dist/rest/locations.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ export interface Location {
|
|
|
6
6
|
declare class Locations {
|
|
7
7
|
api: AxiosInstance;
|
|
8
8
|
constructor(api: AxiosInstance);
|
|
9
|
-
getAll(): Promise<import("axios").AxiosResponse<Location[], any>>;
|
|
9
|
+
getAll(): Promise<import("axios").AxiosResponse<Location[], any, {}>>;
|
|
10
10
|
}
|
|
11
11
|
export default Locations;
|
|
@@ -6,5 +6,5 @@ export interface PrivateLocationApi {
|
|
|
6
6
|
export default class PrivateLocations {
|
|
7
7
|
api: AxiosInstance;
|
|
8
8
|
constructor(api: AxiosInstance);
|
|
9
|
-
getAll(): Promise<import("axios").AxiosResponse<PrivateLocationApi[], any>>;
|
|
9
|
+
getAll(): Promise<import("axios").AxiosResponse<PrivateLocationApi[], any, {}>>;
|
|
10
10
|
}
|
package/dist/rest/projects.d.ts
CHANGED
|
@@ -107,53 +107,53 @@ export declare class InvalidImportPlanStateError extends Error {
|
|
|
107
107
|
declare class Projects {
|
|
108
108
|
api: AxiosInstance;
|
|
109
109
|
constructor(api: AxiosInstance);
|
|
110
|
-
getAll(): Promise<import("axios").AxiosResponse<ProjectResponse[], any>>;
|
|
110
|
+
getAll(): Promise<import("axios").AxiosResponse<ProjectResponse[], any, {}>>;
|
|
111
111
|
/**
|
|
112
112
|
* @throws {ProjectNotFoundError} If the project does not exist.
|
|
113
113
|
*/
|
|
114
|
-
get(logicalId: string): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
|
|
114
|
+
get(logicalId: string): Promise<import("axios").AxiosResponse<ProjectResponse, any, {}>>;
|
|
115
115
|
/**
|
|
116
116
|
* @throws {ProjectAlreadyExistsError} If the project already exists.
|
|
117
117
|
*/
|
|
118
|
-
create(project: Project): Promise<import("axios").AxiosResponse<any, any>>;
|
|
118
|
+
create(project: Project): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
119
119
|
/**
|
|
120
120
|
* @throws {ProjectNotFoundError} If the project does not exist.
|
|
121
121
|
*/
|
|
122
|
-
deleteProject(logicalId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
122
|
+
deleteProject(logicalId: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
123
123
|
deploy(resources: ProjectSync, { dryRun, scheduleOnDeploy }?: {
|
|
124
124
|
dryRun?: boolean | undefined;
|
|
125
125
|
scheduleOnDeploy?: boolean | undefined;
|
|
126
|
-
}): Promise<import("axios").AxiosResponse<ProjectDeployResponse, any>>;
|
|
126
|
+
}): Promise<import("axios").AxiosResponse<ProjectDeployResponse, any, {}>>;
|
|
127
127
|
/**
|
|
128
128
|
* @throws {ProjectNotFoundError} If the project does not exist.
|
|
129
129
|
* @throws {NoImportableResourcesFoundError} If no importable resources were found.
|
|
130
130
|
*/
|
|
131
|
-
createImportPlan(logicalId: string, options?: ImportPlanOptions): Promise<import("axios").AxiosResponse<ImportPlan, any>>;
|
|
131
|
+
createImportPlan(logicalId: string, options?: ImportPlanOptions): Promise<import("axios").AxiosResponse<ImportPlan, any, {}>>;
|
|
132
132
|
/**
|
|
133
133
|
* @throws {ProjectNotFoundError} If the project does not exist.
|
|
134
134
|
*/
|
|
135
135
|
findImportPlans(logicalId: string, { onlyUnapplied, onlyUncommitted }?: {
|
|
136
136
|
onlyUnapplied?: boolean | undefined;
|
|
137
137
|
onlyUncommitted?: boolean | undefined;
|
|
138
|
-
}): Promise<import("axios").AxiosResponse<ImportPlan[], any>>;
|
|
138
|
+
}): Promise<import("axios").AxiosResponse<ImportPlan[], any, {}>>;
|
|
139
139
|
listImportPlans({ onlyUnapplied, onlyUncommitted }?: {
|
|
140
140
|
onlyUnapplied?: boolean | undefined;
|
|
141
141
|
onlyUncommitted?: boolean | undefined;
|
|
142
|
-
}): Promise<import("axios").AxiosResponse<ImportPlan[], any>>;
|
|
142
|
+
}): Promise<import("axios").AxiosResponse<ImportPlan[], any, {}>>;
|
|
143
143
|
/**
|
|
144
144
|
* @throws {ImportPlanNotFoundError} If the import plan does not exist.
|
|
145
145
|
* @throws {InvalidImportPlanStateError} If the operation is performed out of order.
|
|
146
146
|
*/
|
|
147
|
-
cancelImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any>>;
|
|
147
|
+
cancelImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
148
148
|
/**
|
|
149
149
|
* @throws {ImportPlanNotFoundError} If the import plan does not exist.
|
|
150
150
|
* @throws {InvalidImportPlanStateError} If the operation is performed out of order.
|
|
151
151
|
*/
|
|
152
|
-
applyImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any>>;
|
|
152
|
+
applyImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
153
153
|
/**
|
|
154
154
|
* @throws {ImportPlanNotFoundError} If the import plan does not exist.
|
|
155
155
|
* @throws {InvalidImportPlanStateError} If the operation is performed out of order.
|
|
156
156
|
*/
|
|
157
|
-
commitImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any>>;
|
|
157
|
+
commitImportPlan(importPlanId: string): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
158
158
|
}
|
|
159
159
|
export default Projects;
|
package/dist/rest/runtimes.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface Runtime {
|
|
|
10
10
|
declare class Runtimes {
|
|
11
11
|
api: AxiosInstance;
|
|
12
12
|
constructor(api: AxiosInstance);
|
|
13
|
-
getAll(): Promise<import("axios").AxiosResponse<Runtime[], any>>;
|
|
14
|
-
get(runtimeId: string): Promise<import("axios").AxiosResponse<Runtime, any>>;
|
|
13
|
+
getAll(): Promise<import("axios").AxiosResponse<Runtime[], any, {}>>;
|
|
14
|
+
get(runtimeId: string): Promise<import("axios").AxiosResponse<Runtime, any, {}>>;
|
|
15
15
|
}
|
|
16
16
|
export default Runtimes;
|
|
@@ -61,14 +61,14 @@ export declare class NoMatchingChecksError extends Error {
|
|
|
61
61
|
declare class TestSessions {
|
|
62
62
|
api: AxiosInstance;
|
|
63
63
|
constructor(api: AxiosInstance);
|
|
64
|
-
run(payload: RunTestSessionRequest): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
+
run(payload: RunTestSessionRequest): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
65
65
|
/**
|
|
66
66
|
* @throws {NoMatchingChecksError} If no checks matched the request.
|
|
67
67
|
*/
|
|
68
|
-
trigger(payload: TriggerTestSessionRequest): Promise<import("axios").AxiosResponse<TriggerTestSessionResponse, any>>;
|
|
68
|
+
trigger(payload: TriggerTestSessionRequest): Promise<import("axios").AxiosResponse<TriggerTestSessionResponse, any, {}>>;
|
|
69
69
|
getShortLink(id: string): Promise<import("axios").AxiosResponse<{
|
|
70
70
|
link: string;
|
|
71
|
-
}, any>>;
|
|
72
|
-
getResultShortLinks(testSessionId: string, testResultId: string): Promise<import("axios").AxiosResponse<TestResultsShortLinks, any>>;
|
|
71
|
+
}, any, {}>>;
|
|
72
|
+
getResultShortLinks(testSessionId: string, testResultId: string): Promise<import("axios").AxiosResponse<TestResultsShortLinks, any, {}>>;
|
|
73
73
|
}
|
|
74
74
|
export default TestSessions;
|
package/dist/rest/users.d.ts
CHANGED