@algolia/monitoring 1.0.0-alpha.9 → 1.0.0-beta.10
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/LICENSE +21 -0
- package/dist/builds/browser.d.ts +25 -3
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +25 -3
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +39 -39
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/getServers403Response.d.ts +4 -0
- package/dist/model/getServers403Response.d.ts.map +1 -0
- package/dist/model/incidentsInner.d.ts +1 -1
- package/dist/model/index.d.ts +1 -1
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/probesMetric.d.ts +1 -1
- package/dist/model/region.d.ts +1 -1
- package/dist/model/server.d.ts +2 -2
- package/dist/model/timeInner.d.ts +1 -1
- package/dist/monitoring.cjs +100 -135
- package/dist/monitoring.esm.browser.js +133 -167
- package/dist/monitoring.esm.node.js +101 -136
- package/dist/monitoring.umd.js +2 -2
- package/dist/src/monitoringClient.d.ts +41 -58
- package/dist/src/monitoringClient.d.ts.map +1 -1
- package/model/clientMethodProps.ts +41 -41
- package/model/{getInventory403Response.ts → getServers403Response.ts} +1 -1
- package/model/incidentsInner.ts +1 -1
- package/model/index.ts +1 -1
- package/model/probesMetric.ts +1 -1
- package/model/region.ts +1 -1
- package/model/server.ts +2 -2
- package/model/timeInner.ts +1 -1
- package/package.json +11 -8
- package/dist/model/getInventory403Response.d.ts +0 -4
- package/dist/model/getInventory403Response.d.ts.map +0 -1
|
@@ -4,9 +4,9 @@ import type { Metric } from './metric';
|
|
|
4
4
|
import type { Period } from './period';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Properties for the `
|
|
7
|
+
* Properties for the `customDelete` method.
|
|
8
8
|
*/
|
|
9
|
-
export type
|
|
9
|
+
export type CustomDeleteProps = {
|
|
10
10
|
/**
|
|
11
11
|
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
12
12
|
*/
|
|
@@ -18,9 +18,9 @@ export type DelProps = {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Properties for the `
|
|
21
|
+
* Properties for the `customGet` method.
|
|
22
22
|
*/
|
|
23
|
-
export type
|
|
23
|
+
export type CustomGetProps = {
|
|
24
24
|
/**
|
|
25
25
|
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
26
26
|
*/
|
|
@@ -31,6 +31,42 @@ export type GetProps = {
|
|
|
31
31
|
parameters?: Record<string, any>;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Properties for the `customPost` method.
|
|
36
|
+
*/
|
|
37
|
+
export type CustomPostProps = {
|
|
38
|
+
/**
|
|
39
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
40
|
+
*/
|
|
41
|
+
path: string;
|
|
42
|
+
/**
|
|
43
|
+
* Query parameters to apply to the current query.
|
|
44
|
+
*/
|
|
45
|
+
parameters?: Record<string, any>;
|
|
46
|
+
/**
|
|
47
|
+
* Parameters to send with the custom request.
|
|
48
|
+
*/
|
|
49
|
+
body?: Record<string, any>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Properties for the `customPut` method.
|
|
54
|
+
*/
|
|
55
|
+
export type CustomPutProps = {
|
|
56
|
+
/**
|
|
57
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
58
|
+
*/
|
|
59
|
+
path: string;
|
|
60
|
+
/**
|
|
61
|
+
* Query parameters to apply to the current query.
|
|
62
|
+
*/
|
|
63
|
+
parameters?: Record<string, any>;
|
|
64
|
+
/**
|
|
65
|
+
* Parameters to send with the custom request.
|
|
66
|
+
*/
|
|
67
|
+
body?: Record<string, any>;
|
|
68
|
+
};
|
|
69
|
+
|
|
34
70
|
/**
|
|
35
71
|
* Properties for the `getClusterIncidents` method.
|
|
36
72
|
*/
|
|
@@ -76,7 +112,7 @@ export type GetLatencyProps = {
|
|
|
76
112
|
*/
|
|
77
113
|
export type GetMetricsProps = {
|
|
78
114
|
/**
|
|
79
|
-
* Metric to report. For more information about the individual metrics, see the response. To include all metrics, use
|
|
115
|
+
* Metric to report. For more information about the individual metrics, see the description of the API response. To include all metrics, use `*`.
|
|
80
116
|
*/
|
|
81
117
|
metric: Metric;
|
|
82
118
|
/**
|
|
@@ -94,39 +130,3 @@ export type GetReachabilityProps = {
|
|
|
94
130
|
*/
|
|
95
131
|
clusters: string;
|
|
96
132
|
};
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Properties for the `post` method.
|
|
100
|
-
*/
|
|
101
|
-
export type PostProps = {
|
|
102
|
-
/**
|
|
103
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
104
|
-
*/
|
|
105
|
-
path: string;
|
|
106
|
-
/**
|
|
107
|
-
* Query parameters to apply to the current query.
|
|
108
|
-
*/
|
|
109
|
-
parameters?: Record<string, any>;
|
|
110
|
-
/**
|
|
111
|
-
* Parameters to send with the custom request.
|
|
112
|
-
*/
|
|
113
|
-
body?: Record<string, any>;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Properties for the `put` method.
|
|
118
|
-
*/
|
|
119
|
-
export type PutProps = {
|
|
120
|
-
/**
|
|
121
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
122
|
-
*/
|
|
123
|
-
path: string;
|
|
124
|
-
/**
|
|
125
|
-
* Query parameters to apply to the current query.
|
|
126
|
-
*/
|
|
127
|
-
parameters?: Record<string, any>;
|
|
128
|
-
/**
|
|
129
|
-
* Parameters to send with the custom request.
|
|
130
|
-
*/
|
|
131
|
-
body?: Record<string, any>;
|
|
132
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
export type
|
|
3
|
+
export type GetServers403Response = {
|
|
4
4
|
reason?: string;
|
|
5
5
|
};
|
package/model/incidentsInner.ts
CHANGED
package/model/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export * from './errorBase';
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './getServers403Response';
|
|
5
5
|
export * from './incident';
|
|
6
6
|
export * from './incidentsInner';
|
|
7
7
|
export * from './incidentsResponse';
|
package/model/probesMetric.ts
CHANGED
package/model/region.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Region where the cluster is located.
|
|
5
5
|
*/
|
|
6
6
|
export type Region =
|
|
7
7
|
| 'au'
|
package/model/server.ts
CHANGED
|
@@ -13,12 +13,12 @@ export type Server = {
|
|
|
13
13
|
region?: Region;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Included to support legacy applications.
|
|
16
|
+
* Included to support legacy applications. Use `is_replica` instead.
|
|
17
17
|
*/
|
|
18
18
|
is_slave?: boolean;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Whether this server is a replica of another server.
|
|
22
22
|
*/
|
|
23
23
|
is_replica?: boolean;
|
|
24
24
|
|
package/model/timeInner.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/monitoring",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.10",
|
|
4
4
|
"description": "JavaScript client for monitoring",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
8
|
+
},
|
|
6
9
|
"license": "MIT",
|
|
7
10
|
"author": "Algolia",
|
|
8
11
|
"type": "module",
|
|
@@ -39,14 +42,14 @@
|
|
|
39
42
|
"clean": "rm -rf ./dist || true"
|
|
40
43
|
},
|
|
41
44
|
"dependencies": {
|
|
42
|
-
"@algolia/client-common": "5.0.0-
|
|
43
|
-
"@algolia/requester-browser-xhr": "5.0.0-
|
|
44
|
-
"@algolia/requester-node-http": "5.0.0-
|
|
45
|
+
"@algolia/client-common": "5.0.0-beta.11",
|
|
46
|
+
"@algolia/requester-browser-xhr": "5.0.0-beta.11",
|
|
47
|
+
"@algolia/requester-node-http": "5.0.0-beta.11"
|
|
45
48
|
},
|
|
46
49
|
"devDependencies": {
|
|
47
|
-
"@types/node": "
|
|
48
|
-
"rollup": "
|
|
49
|
-
"typescript": "5.
|
|
50
|
+
"@types/node": "20.14.10",
|
|
51
|
+
"rollup": "4.18.0",
|
|
52
|
+
"typescript": "5.5.3"
|
|
50
53
|
},
|
|
51
54
|
"engines": {
|
|
52
55
|
"node": ">= 14.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getInventory403Response.d.ts","sourceRoot":"","sources":["../../model/getInventory403Response.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|