@algolia/monitoring 1.0.0-alpha.8 → 1.0.0-beta.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.
@@ -4,9 +4,9 @@ import type { Metric } from './metric';
4
4
  import type { Period } from './period';
5
5
 
6
6
  /**
7
- * Properties for the `del` method.
7
+ * Properties for the `customDelete` method.
8
8
  */
9
- export type DelProps = {
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 `get` method.
21
+ * Properties for the `customGet` method.
22
22
  */
23
- export type GetProps = {
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 `*` as the parameter.
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 GetInventory403Response = {
3
+ export type GetServers403Response = {
4
4
  reason?: string;
5
5
  };
@@ -4,7 +4,7 @@ import type { Incident } from './incident';
4
4
 
5
5
  export type IncidentsInner = {
6
6
  /**
7
- * Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
7
+ * Timestamp, measured in milliseconds since the Unix epoch.
8
8
  */
9
9
  t?: number;
10
10
 
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 './getInventory403Response';
4
+ export * from './getServers403Response';
5
5
  export * from './incident';
6
6
  export * from './incidentsInner';
7
7
  export * from './incidentsResponse';
@@ -2,7 +2,7 @@
2
2
 
3
3
  export type ProbesMetric = {
4
4
  /**
5
- * Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
5
+ * Timestamp, measured in milliseconds since the Unix epoch.
6
6
  */
7
7
  t?: number;
8
8
 
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
- * The region where the cluster is located.
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. Do not rely on this attribute being present in the response. Use `is_replica` instead.
16
+ * Included to support legacy applications. Use `is_replica` instead.
17
17
  */
18
18
  is_slave?: boolean;
19
19
 
20
20
  /**
21
- * Indicates whether this server is a replica of another server.
21
+ * Whether this server is a replica of another server.
22
22
  */
23
23
  is_replica?: boolean;
24
24
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  export type TimeInner = {
4
4
  /**
5
- * Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
5
+ * Timestamp, measured in milliseconds since the Unix epoch.
6
6
  */
7
7
  t?: number;
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/monitoring",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "JavaScript client for monitoring",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
@@ -39,14 +39,14 @@
39
39
  "clean": "rm -rf ./dist || true"
40
40
  },
41
41
  "dependencies": {
42
- "@algolia/client-common": "5.0.0-alpha.80",
43
- "@algolia/requester-browser-xhr": "5.0.0-alpha.80",
44
- "@algolia/requester-node-http": "5.0.0-alpha.80"
42
+ "@algolia/client-common": "5.0.0-beta.1",
43
+ "@algolia/requester-browser-xhr": "5.0.0-beta.1",
44
+ "@algolia/requester-node-http": "5.0.0-beta.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@types/node": "18.17.12",
48
- "rollup": "3.28.1",
49
- "typescript": "5.2.2"
47
+ "@types/node": "20.12.7",
48
+ "rollup": "4.14.2",
49
+ "typescript": "5.4.5"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">= 14.0.0"
@@ -1,4 +0,0 @@
1
- export type GetInventory403Response = {
2
- reason?: string;
3
- };
4
- //# sourceMappingURL=getInventory403Response.d.ts.map
@@ -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"}