@algolia/monitoring 1.2.4 → 5.2.4-beta.2

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.
Files changed (81) hide show
  1. package/dist/browser.d.ts +305 -0
  2. package/dist/builds/browser.js +388 -0
  3. package/dist/builds/browser.js.map +1 -0
  4. package/dist/builds/browser.min.js +2 -0
  5. package/dist/builds/browser.min.js.map +1 -0
  6. package/dist/builds/browser.umd.js +12 -0
  7. package/dist/builds/node.cjs +406 -0
  8. package/dist/builds/node.cjs.map +1 -0
  9. package/dist/builds/node.js +386 -0
  10. package/dist/builds/node.js.map +1 -0
  11. package/dist/node.d.cts +305 -0
  12. package/dist/node.d.ts +305 -0
  13. package/dist/src/monitoringClient.cjs +375 -0
  14. package/dist/src/monitoringClient.cjs.map +1 -0
  15. package/dist/src/monitoringClient.js +349 -0
  16. package/dist/src/monitoringClient.js.map +1 -0
  17. package/index.d.ts +1 -1
  18. package/index.js +1 -1
  19. package/package.json +22 -22
  20. package/dist/builds/browser.d.ts +0 -28
  21. package/dist/builds/browser.d.ts.map +0 -1
  22. package/dist/builds/node.d.ts +0 -28
  23. package/dist/builds/node.d.ts.map +0 -1
  24. package/dist/model/badRequest.d.ts +0 -4
  25. package/dist/model/badRequest.d.ts.map +0 -1
  26. package/dist/model/clientMethodProps.d.ts +0 -121
  27. package/dist/model/clientMethodProps.d.ts.map +0 -1
  28. package/dist/model/errorBase.d.ts +0 -7
  29. package/dist/model/errorBase.d.ts.map +0 -1
  30. package/dist/model/forbidden.d.ts +0 -4
  31. package/dist/model/forbidden.d.ts.map +0 -1
  32. package/dist/model/incident.d.ts +0 -12
  33. package/dist/model/incident.d.ts.map +0 -1
  34. package/dist/model/incidentEntry.d.ts +0 -9
  35. package/dist/model/incidentEntry.d.ts.map +0 -1
  36. package/dist/model/incidentsResponse.d.ts +0 -5
  37. package/dist/model/incidentsResponse.d.ts.map +0 -1
  38. package/dist/model/index.d.ts +0 -26
  39. package/dist/model/index.d.ts.map +0 -1
  40. package/dist/model/indexingMetric.d.ts +0 -5
  41. package/dist/model/indexingMetric.d.ts.map +0 -1
  42. package/dist/model/indexingTimeResponse.d.ts +0 -5
  43. package/dist/model/indexingTimeResponse.d.ts.map +0 -1
  44. package/dist/model/infrastructureResponse.d.ts +0 -5
  45. package/dist/model/infrastructureResponse.d.ts.map +0 -1
  46. package/dist/model/inventoryResponse.d.ts +0 -5
  47. package/dist/model/inventoryResponse.d.ts.map +0 -1
  48. package/dist/model/latencyMetric.d.ts +0 -5
  49. package/dist/model/latencyMetric.d.ts.map +0 -1
  50. package/dist/model/latencyResponse.d.ts +0 -5
  51. package/dist/model/latencyResponse.d.ts.map +0 -1
  52. package/dist/model/metric.d.ts +0 -2
  53. package/dist/model/metric.d.ts.map +0 -1
  54. package/dist/model/metrics.d.ts +0 -24
  55. package/dist/model/metrics.d.ts.map +0 -1
  56. package/dist/model/period.d.ts +0 -2
  57. package/dist/model/period.d.ts.map +0 -1
  58. package/dist/model/probesMetric.d.ts +0 -11
  59. package/dist/model/probesMetric.d.ts.map +0 -1
  60. package/dist/model/region.d.ts +0 -5
  61. package/dist/model/region.d.ts.map +0 -1
  62. package/dist/model/server.d.ts +0 -25
  63. package/dist/model/server.d.ts.map +0 -1
  64. package/dist/model/serverStatus.d.ts +0 -2
  65. package/dist/model/serverStatus.d.ts.map +0 -1
  66. package/dist/model/status.d.ts +0 -5
  67. package/dist/model/status.d.ts.map +0 -1
  68. package/dist/model/statusResponse.d.ts +0 -5
  69. package/dist/model/statusResponse.d.ts.map +0 -1
  70. package/dist/model/timeEntry.d.ts +0 -11
  71. package/dist/model/timeEntry.d.ts.map +0 -1
  72. package/dist/model/type.d.ts +0 -2
  73. package/dist/model/type.d.ts.map +0 -1
  74. package/dist/model/unauthorized.d.ts +0 -4
  75. package/dist/model/unauthorized.d.ts.map +0 -1
  76. package/dist/monitoring.cjs +0 -376
  77. package/dist/monitoring.esm.browser.js +0 -1050
  78. package/dist/monitoring.esm.node.js +0 -373
  79. package/dist/monitoring.umd.js +0 -2
  80. package/dist/src/monitoringClient.d.ts +0 -137
  81. package/dist/src/monitoringClient.d.ts.map +0 -1
@@ -1,121 +0,0 @@
1
- import type { Metric } from './metric';
2
- import type { Period } from './period';
3
- /**
4
- * Properties for the `customDelete` method.
5
- */
6
- export type CustomDeleteProps = {
7
- /**
8
- * Path of the endpoint, anything after \"/1\" must be specified.
9
- */
10
- path: string;
11
- /**
12
- * Query parameters to apply to the current query.
13
- */
14
- parameters?: Record<string, any>;
15
- };
16
- /**
17
- * Properties for the `customGet` method.
18
- */
19
- export type CustomGetProps = {
20
- /**
21
- * Path of the endpoint, anything after \"/1\" must be specified.
22
- */
23
- path: string;
24
- /**
25
- * Query parameters to apply to the current query.
26
- */
27
- parameters?: Record<string, any>;
28
- };
29
- /**
30
- * Properties for the `customPost` method.
31
- */
32
- export type CustomPostProps = {
33
- /**
34
- * Path of the endpoint, anything after \"/1\" must be specified.
35
- */
36
- path: string;
37
- /**
38
- * Query parameters to apply to the current query.
39
- */
40
- parameters?: Record<string, any>;
41
- /**
42
- * Parameters to send with the custom request.
43
- */
44
- body?: Record<string, unknown>;
45
- };
46
- /**
47
- * Properties for the `customPut` method.
48
- */
49
- export type CustomPutProps = {
50
- /**
51
- * Path of the endpoint, anything after \"/1\" must be specified.
52
- */
53
- path: string;
54
- /**
55
- * Query parameters to apply to the current query.
56
- */
57
- parameters?: Record<string, any>;
58
- /**
59
- * Parameters to send with the custom request.
60
- */
61
- body?: Record<string, unknown>;
62
- };
63
- /**
64
- * Properties for the `getClusterIncidents` method.
65
- */
66
- export type GetClusterIncidentsProps = {
67
- /**
68
- * Subset of clusters, separated by comma.
69
- */
70
- clusters: string;
71
- };
72
- /**
73
- * Properties for the `getClusterStatus` method.
74
- */
75
- export type GetClusterStatusProps = {
76
- /**
77
- * Subset of clusters, separated by comma.
78
- */
79
- clusters: string;
80
- };
81
- /**
82
- * Properties for the `getIndexingTime` method.
83
- */
84
- export type GetIndexingTimeProps = {
85
- /**
86
- * Subset of clusters, separated by comma.
87
- */
88
- clusters: string;
89
- };
90
- /**
91
- * Properties for the `getLatency` method.
92
- */
93
- export type GetLatencyProps = {
94
- /**
95
- * Subset of clusters, separated by comma.
96
- */
97
- clusters: string;
98
- };
99
- /**
100
- * Properties for the `getMetrics` method.
101
- */
102
- export type GetMetricsProps = {
103
- /**
104
- * Metric to report. For more information about the individual metrics, see the description of the API response. To include all metrics, use `*`.
105
- */
106
- metric: Metric;
107
- /**
108
- * Period over which to aggregate the metrics: - `minute`. Aggregate the last minute. 1 data point per 10 seconds. - `hour`. Aggregate the last hour. 1 data point per minute. - `day`. Aggregate the last day. 1 data point per 10 minutes. - `week`. Aggregate the last week. 1 data point per hour. - `month`. Aggregate the last month. 1 data point per day.
109
- */
110
- period: Period;
111
- };
112
- /**
113
- * Properties for the `getReachability` method.
114
- */
115
- export type GetReachabilityProps = {
116
- /**
117
- * Subset of clusters, separated by comma.
118
- */
119
- clusters: string;
120
- };
121
- //# sourceMappingURL=clientMethodProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Error.
3
- */
4
- export type ErrorBase = Record<string, any> & {
5
- message?: string;
6
- };
7
- //# sourceMappingURL=errorBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,4 +0,0 @@
1
- export type Forbidden = {
2
- reason?: string;
3
- };
4
- //# sourceMappingURL=forbidden.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"forbidden.d.ts","sourceRoot":"","sources":["../../model/forbidden.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { Status } from './status';
2
- /**
3
- * Incident details.
4
- */
5
- export type Incident = {
6
- /**
7
- * Description of the incident.
8
- */
9
- title?: string;
10
- status?: Status;
11
- };
12
- //# sourceMappingURL=incident.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incident.d.ts","sourceRoot":"","sources":["../../model/incident.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Incident } from './incident';
2
- export type IncidentEntry = {
3
- /**
4
- * Timestamp, measured in milliseconds since the Unix epoch.
5
- */
6
- t?: number;
7
- v?: Incident;
8
- };
9
- //# sourceMappingURL=incidentEntry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incidentEntry.d.ts","sourceRoot":"","sources":["../../model/incidentEntry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX,CAAC,CAAC,EAAE,QAAQ,CAAC;CACd,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { IncidentEntry } from './incidentEntry';
2
- export type IncidentsResponse = {
3
- incidents?: Record<string, IncidentEntry[]>;
4
- };
5
- //# sourceMappingURL=incidentsResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incidentsResponse.d.ts","sourceRoot":"","sources":["../../model/incidentsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;CAC7C,CAAC"}
@@ -1,26 +0,0 @@
1
- export * from './badRequest';
2
- export * from './errorBase';
3
- export * from './forbidden';
4
- export * from './incident';
5
- export * from './incidentEntry';
6
- export * from './incidentsResponse';
7
- export * from './indexingMetric';
8
- export * from './indexingTimeResponse';
9
- export * from './infrastructureResponse';
10
- export * from './inventoryResponse';
11
- export * from './latencyMetric';
12
- export * from './latencyResponse';
13
- export * from './metric';
14
- export * from './metrics';
15
- export * from './period';
16
- export * from './probesMetric';
17
- export * from './region';
18
- export * from './server';
19
- export * from './serverStatus';
20
- export * from './status';
21
- export * from './statusResponse';
22
- export * from './timeEntry';
23
- export * from './type';
24
- export * from './unauthorized';
25
- export * from './clientMethodProps';
26
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { TimeEntry } from './timeEntry';
2
- export type IndexingMetric = {
3
- indexing?: Record<string, TimeEntry[]>;
4
- };
5
- //# sourceMappingURL=indexingMetric.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"indexingMetric.d.ts","sourceRoot":"","sources":["../../model/indexingMetric.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;CACxC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { IndexingMetric } from './indexingMetric';
2
- export type IndexingTimeResponse = {
3
- metrics?: IndexingMetric;
4
- };
5
- //# sourceMappingURL=indexingTimeResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"indexingTimeResponse.d.ts","sourceRoot":"","sources":["../../model/indexingTimeResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Metrics } from './metrics';
2
- export type InfrastructureResponse = {
3
- metrics?: Metrics;
4
- };
5
- //# sourceMappingURL=infrastructureResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"infrastructureResponse.d.ts","sourceRoot":"","sources":["../../model/infrastructureResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Server } from './server';
2
- export type InventoryResponse = {
3
- inventory?: Server[];
4
- };
5
- //# sourceMappingURL=inventoryResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inventoryResponse.d.ts","sourceRoot":"","sources":["../../model/inventoryResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { TimeEntry } from './timeEntry';
2
- export type LatencyMetric = {
3
- latency?: Record<string, TimeEntry[]>;
4
- };
5
- //# sourceMappingURL=latencyMetric.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"latencyMetric.d.ts","sourceRoot":"","sources":["../../model/latencyMetric.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;CACvC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { LatencyMetric } from './latencyMetric';
2
- export type LatencyResponse = {
3
- metrics?: LatencyMetric;
4
- };
5
- //# sourceMappingURL=latencyResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"latencyResponse.d.ts","sourceRoot":"","sources":["../../model/latencyResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC"}
@@ -1,2 +0,0 @@
1
- export type Metric = '*' | 'avg_build_time' | 'cpu_usage' | 'ram_indexing_usage' | 'ram_search_usage' | 'ssd_usage';
2
- //# sourceMappingURL=metric.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metric.d.ts","sourceRoot":"","sources":["../../model/metric.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,gBAAgB,GAAG,WAAW,GAAG,oBAAoB,GAAG,kBAAkB,GAAG,WAAW,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { ProbesMetric } from './probesMetric';
2
- export type Metrics = {
3
- /**
4
- * CPU idleness in %.
5
- */
6
- cpu_usage?: Record<string, ProbesMetric[]>;
7
- /**
8
- * RAM used for indexing in MB.
9
- */
10
- ram_indexing_usage?: Record<string, ProbesMetric[]>;
11
- /**
12
- * RAM used for search in MB.
13
- */
14
- ram_search_usage?: Record<string, ProbesMetric[]>;
15
- /**
16
- * Solid-state disk (SSD) usage expressed as % of RAM. 0% means no SSD usage. A value of 50% indicates 32&nbsp;GB SSD usage for a machine with 64&nbsp;RAM.
17
- */
18
- ssd_usage?: Record<string, ProbesMetric[]>;
19
- /**
20
- * Average build time of the indices in seconds.
21
- */
22
- avg_build_time?: Record<string, ProbesMetric[]>;
23
- };
24
- //# sourceMappingURL=metrics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../model/metrics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAE3C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAEpD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAElD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAE3C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACjD,CAAC"}
@@ -1,2 +0,0 @@
1
- export type Period = 'day' | 'hour' | 'minute' | 'month' | 'week';
2
- //# sourceMappingURL=period.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"period.d.ts","sourceRoot":"","sources":["../../model/period.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -1,11 +0,0 @@
1
- export type ProbesMetric = {
2
- /**
3
- * Timestamp, measured in milliseconds since the Unix epoch.
4
- */
5
- t?: number;
6
- /**
7
- * Value of the metric.
8
- */
9
- v?: number;
10
- };
11
- //# sourceMappingURL=probesMetric.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"probesMetric.d.ts","sourceRoot":"","sources":["../../model/probesMetric.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Region where the cluster is located.
3
- */
4
- export type Region = 'au' | 'br' | 'ca' | 'de' | 'eu' | 'hk' | 'in' | 'jp' | 'sg' | 'uae' | 'uk' | 'usc' | 'use' | 'usw' | 'za';
5
- //# sourceMappingURL=region.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"region.d.ts","sourceRoot":"","sources":["../../model/region.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,IAAI,CAAC"}
@@ -1,25 +0,0 @@
1
- import type { Region } from './region';
2
- import type { ServerStatus } from './serverStatus';
3
- import type { Type } from './type';
4
- export type Server = {
5
- /**
6
- * Server name.
7
- */
8
- name?: string;
9
- region?: Region;
10
- /**
11
- * Included to support legacy applications. Use `is_replica` instead.
12
- */
13
- is_slave?: boolean;
14
- /**
15
- * Whether this server is a replica of another server.
16
- */
17
- is_replica?: boolean;
18
- /**
19
- * Name of the cluster to which this server belongs.
20
- */
21
- cluster?: string;
22
- status?: ServerStatus;
23
- type?: Type;
24
- };
25
- //# sourceMappingURL=server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../model/server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC"}
@@ -1,2 +0,0 @@
1
- export type ServerStatus = 'PRODUCTION';
2
- //# sourceMappingURL=serverStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serverStatus.d.ts","sourceRoot":"","sources":["../../model/serverStatus.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Status of the cluster.
3
- */
4
- export type Status = 'degraded_performance' | 'major_outage' | 'operational' | 'partial_outage';
5
- //# sourceMappingURL=status.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../model/status.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,sBAAsB,GAAG,cAAc,GAAG,aAAa,GAAG,gBAAgB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Status } from './status';
2
- export type StatusResponse = {
3
- status?: Record<string, Status>;
4
- };
5
- //# sourceMappingURL=statusResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"statusResponse.d.ts","sourceRoot":"","sources":["../../model/statusResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC"}
@@ -1,11 +0,0 @@
1
- export type TimeEntry = {
2
- /**
3
- * Timestamp, measured in milliseconds since the Unix epoch.
4
- */
5
- t?: number;
6
- /**
7
- * Time in ms.
8
- */
9
- v?: number;
10
- };
11
- //# sourceMappingURL=timeEntry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeEntry.d.ts","sourceRoot":"","sources":["../../model/timeEntry.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,2 +0,0 @@
1
- export type Type = 'cluster';
2
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../model/type.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,IAAI,GAAG,SAAS,CAAC"}
@@ -1,4 +0,0 @@
1
- export type Unauthorized = {
2
- reason?: string;
3
- };
4
- //# sourceMappingURL=unauthorized.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unauthorized.d.ts","sourceRoot":"","sources":["../../model/unauthorized.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}