@dx-do/client 6.4.0 → 7.0.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.
- package/dist/index.cjs.js +4594 -3406
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4497 -3399
- package/dist/index.esm.js.map +1 -1
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/lib/model/acc/acc-package.d.ts +9 -7
- package/dist/src/lib/model/acc/acc-package.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/client/client.gen.d.ts +1 -2
- package/dist/src/lib/model/asm/client/client/client.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/client/index.d.ts +10 -8
- package/dist/src/lib/model/asm/client/client/index.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/client/types.gen.d.ts +13 -14
- package/dist/src/lib/model/asm/client/client/types.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/client/utils.gen.d.ts +6 -6
- package/dist/src/lib/model/asm/client/client/utils.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/client.gen.d.ts +3 -3
- package/dist/src/lib/model/asm/client/client.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/auth.gen.d.ts +10 -3
- package/dist/src/lib/model/asm/client/core/auth.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/bodySerializer.gen.d.ts +5 -5
- package/dist/src/lib/model/asm/client/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/params.gen.d.ts +5 -5
- package/dist/src/lib/model/asm/client/core/params.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/pathSerializer.gen.d.ts +5 -5
- package/dist/src/lib/model/asm/client/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/src/lib/model/asm/client/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/serverSentEvents.gen.d.ts +4 -4
- package/dist/src/lib/model/asm/client/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/types.gen.d.ts +10 -5
- package/dist/src/lib/model/asm/client/core/types.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/core/utils.gen.d.ts +1 -1
- package/dist/src/lib/model/asm/client/core/utils.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/index.d.ts +2 -2
- package/dist/src/lib/model/asm/client/index.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/schemas.gen.d.ts +31 -55
- package/dist/src/lib/model/asm/client/schemas.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/sdk.gen.d.ts +112 -130
- package/dist/src/lib/model/asm/client/sdk.gen.d.ts.map +1 -1
- package/dist/src/lib/model/asm/client/types.gen.d.ts +186 -243
- package/dist/src/lib/model/asm/client/types.gen.d.ts.map +1 -1
- package/dist/src/lib/model/channel/PolicyResponse.d.ts +8 -0
- package/dist/src/lib/model/channel/PolicyResponse.d.ts.map +1 -1
- package/dist/src/lib/model/config/DXSaaSConfiguration.d.ts +9 -0
- package/dist/src/lib/model/config/DXSaaSConfiguration.d.ts.map +1 -1
- package/dist/src/lib/model/datastore/index.d.ts +1 -0
- package/dist/src/lib/model/datastore/index.d.ts.map +1 -1
- package/dist/src/lib/model/datastore/views/index.d.ts +1 -0
- package/dist/src/lib/model/datastore/views/index.d.ts.map +1 -1
- package/dist/src/lib/model/datastore/views/query.d.ts +3 -3
- package/dist/src/lib/model/datastore/views/response.d.ts +3 -3
- package/dist/src/lib/model/datastore/views/service-universe.d.ts +294 -0
- package/dist/src/lib/model/datastore/views/service-universe.d.ts.map +1 -0
- package/dist/src/lib/model/experience/ApplicationExperienceRequest.d.ts +8 -6
- package/dist/src/lib/model/experience/ApplicationExperienceRequest.d.ts.map +1 -1
- package/dist/src/lib/model/experience/ExperienceSettingsResponse.d.ts +13 -12
- package/dist/src/lib/model/experience/ExperienceSettingsResponse.d.ts.map +1 -1
- package/dist/src/lib/model/maintenance/create.d.ts +1 -1
- package/dist/src/lib/model/maintenance/detail.d.ts +1 -1
- package/dist/src/lib/model/maintenance/member.d.ts +2 -2
- package/dist/src/lib/model/oi/services.export.d.ts +1 -1
- package/dist/src/lib/model/oi/services.export.d.ts.map +1 -1
- package/dist/src/lib/model/oi/services.transform.d.ts +2 -2
- package/dist/src/lib/model/oi/services.transform.d.ts.map +1 -1
- package/dist/src/lib/model/service/service-detail.d.ts +3 -2
- package/dist/src/lib/model/service/service-detail.d.ts.map +1 -1
- package/dist/src/lib/model/service/service-overview.d.ts +4 -3
- package/dist/src/lib/model/service/service-overview.d.ts.map +1 -1
- package/dist/src/lib/model/sli/definition.d.ts +532 -0
- package/dist/src/lib/model/sli/definition.d.ts.map +1 -0
- package/dist/src/lib/model/sli/group.d.ts +10 -8
- package/dist/src/lib/model/sli/group.d.ts.map +1 -1
- package/dist/src/lib/model/sli/metrics-preview.d.ts +86 -0
- package/dist/src/lib/model/sli/metrics-preview.d.ts.map +1 -0
- package/dist/src/lib/model/sli/save.d.ts +24 -14
- package/dist/src/lib/model/sli/save.d.ts.map +1 -1
- package/dist/src/lib/model/sli/search.d.ts +8 -8
- package/dist/src/lib/model/sli/search.d.ts.map +1 -1
- package/dist/src/lib/model/tas/TAS.d.ts +82 -81
- package/dist/src/lib/model/tas/TAS.d.ts.map +1 -1
- package/dist/src/lib/model/tenant/status-page.d.ts +77 -0
- package/dist/src/lib/model/tenant/status-page.d.ts.map +1 -0
- package/dist/src/lib/services/acc.service.d.ts +5 -4
- package/dist/src/lib/services/acc.service.d.ts.map +1 -1
- package/dist/src/lib/services/agent.service.d.ts +7 -7
- package/dist/src/lib/services/agent.service.d.ts.map +1 -1
- package/dist/src/lib/services/alarm.service.d.ts +1 -1
- package/dist/src/lib/services/alarm.service.d.ts.map +1 -1
- package/dist/src/lib/services/apm-universe.service.d.ts +3 -2
- package/dist/src/lib/services/apm-universe.service.d.ts.map +1 -1
- package/dist/src/lib/services/attribute.service.d.ts +3 -2
- package/dist/src/lib/services/attribute.service.d.ts.map +1 -1
- package/dist/src/lib/services/authorization.service.d.ts +12 -1
- package/dist/src/lib/services/authorization.service.d.ts.map +1 -1
- package/dist/src/lib/services/axa.service.d.ts +4 -3
- package/dist/src/lib/services/axa.service.d.ts.map +1 -1
- package/dist/src/lib/services/channel.service.d.ts +7 -6
- package/dist/src/lib/services/channel.service.d.ts.map +1 -1
- package/dist/src/lib/services/dashboard.service.d.ts +8 -7
- package/dist/src/lib/services/dashboard.service.d.ts.map +1 -1
- package/dist/src/lib/services/datastore/datastore-service-universe.service.d.ts +129 -0
- package/dist/src/lib/services/datastore/datastore-service-universe.service.d.ts.map +1 -0
- package/dist/src/lib/services/dx-saas.service.d.ts +18 -0
- package/dist/src/lib/services/dx-saas.service.d.ts.map +1 -1
- package/dist/src/lib/services/dxoi.service.d.ts +1 -1
- package/dist/src/lib/services/dxoi.service.d.ts.map +1 -1
- package/dist/src/lib/services/experience.service.d.ts +3 -2
- package/dist/src/lib/services/experience.service.d.ts.map +1 -1
- package/dist/src/lib/services/inventory.service.d.ts +4 -3
- package/dist/src/lib/services/inventory.service.d.ts.map +1 -1
- package/dist/src/lib/services/management-module.service.d.ts +7 -6
- package/dist/src/lib/services/management-module.service.d.ts.map +1 -1
- package/dist/src/lib/services/metric-batch.service.d.ts +6 -5
- package/dist/src/lib/services/metric-batch.service.d.ts.map +1 -1
- package/dist/src/lib/services/o2-universe.service.d.ts +7 -6
- package/dist/src/lib/services/o2-universe.service.d.ts.map +1 -1
- package/dist/src/lib/services/service-monolith.d.ts +4 -0
- package/dist/src/lib/services/service-monolith.d.ts.map +1 -1
- package/dist/src/lib/services/service.service.d.ts +14 -13
- package/dist/src/lib/services/service.service.d.ts.map +1 -1
- package/dist/src/lib/services/situation.service.d.ts +3 -2
- package/dist/src/lib/services/situation.service.d.ts.map +1 -1
- package/dist/src/lib/services/sli.service.d.ts +49 -13
- package/dist/src/lib/services/sli.service.d.ts.map +1 -1
- package/dist/src/lib/services/tas.service.d.ts +3 -2
- package/dist/src/lib/services/tas.service.d.ts.map +1 -1
- package/dist/src/lib/services/tenant.service.d.ts +60 -0
- package/dist/src/lib/services/tenant.service.d.ts.map +1 -0
- package/dist/src/lib/services/vertex.service.d.ts +9 -8
- package/dist/src/lib/services/vertex.service.d.ts.map +1 -1
- package/dist/src/lib/util/vertex/vertex-search.d.ts +1 -1
- package/dist/src/lib/util/vertex/vertex-search.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -15,7 +15,7 @@ export type ContactAuth = {
|
|
|
15
15
|
/**
|
|
16
16
|
* The supported authentication method.
|
|
17
17
|
*/
|
|
18
|
-
type:
|
|
18
|
+
type: 'basic' | 'bearer';
|
|
19
19
|
/**
|
|
20
20
|
* User name if the authentication type requires it
|
|
21
21
|
*/
|
|
@@ -35,7 +35,7 @@ export type ContactItem = {
|
|
|
35
35
|
/**
|
|
36
36
|
* Group contacts are containers for standard contacts - members.
|
|
37
37
|
*/
|
|
38
|
-
type:
|
|
38
|
+
type: 'email' | 'sms' | 'phone' | 'action' | 'rss' | 'group';
|
|
39
39
|
/**
|
|
40
40
|
* Not used for group contact type
|
|
41
41
|
*/
|
|
@@ -60,9 +60,7 @@ export type ContactItem = {
|
|
|
60
60
|
*/
|
|
61
61
|
workingDays?: Array<number>;
|
|
62
62
|
/**
|
|
63
|
-
* This time zone is used both for date formating in alert messages
|
|
64
|
-
* and for the contact's working hours (workingFrom, workingTo). If
|
|
65
|
-
* empty the time zone of the account is assumed.
|
|
63
|
+
* This time zone is used both for date formating in alert messages and for the contact's working hours (workingFrom, workingTo). If empty the time zone of the account is assumed.
|
|
66
64
|
*/
|
|
67
65
|
timezone?: string | null;
|
|
68
66
|
/**
|
|
@@ -80,10 +78,10 @@ export type ContactItem = {
|
|
|
80
78
|
* Json changes the content type for the action url to send message as a json instead of standard application/x-www-form-urlencoded.
|
|
81
79
|
* gchat changes both content type and message form to send message to a Google chat webhook.
|
|
82
80
|
*/
|
|
83
|
-
specification?:
|
|
81
|
+
specification?: 'json' | 'gchat';
|
|
84
82
|
};
|
|
85
83
|
export type ContactItemCreate = ContactItemUpdate & {
|
|
86
|
-
type:
|
|
84
|
+
type: 'email' | 'sms' | 'phone' | 'action' | 'rss' | 'group';
|
|
87
85
|
};
|
|
88
86
|
export type ContactItemUpdate = {
|
|
89
87
|
name?: string | null;
|
|
@@ -100,13 +98,11 @@ export type ContactItemUpdate = {
|
|
|
100
98
|
*/
|
|
101
99
|
folderId?: number | null;
|
|
102
100
|
/**
|
|
103
|
-
* Time HH:ss in contact's time zone; workingFrom and workingTo represent time
|
|
104
|
-
* interval when the contact can be alerted. Do not use for contact groups.
|
|
101
|
+
* Time HH:ss in contact's time zone; workingFrom and workingTo represent time interval when the contact can be alerted. Do not use for contact groups.
|
|
105
102
|
*/
|
|
106
103
|
workingFrom?: string;
|
|
107
104
|
/**
|
|
108
|
-
* Time HH:ss in contact's time zone; workingFrom and workingTo represent time
|
|
109
|
-
* interval when the contact can be alerted. Do not use for contact groups.
|
|
105
|
+
* Time HH:ss in contact's time zone; workingFrom and workingTo represent time interval when the contact can be alerted. Do not use for contact groups.
|
|
110
106
|
*/
|
|
111
107
|
workingTo?: string | null;
|
|
112
108
|
/**
|
|
@@ -114,16 +110,11 @@ export type ContactItemUpdate = {
|
|
|
114
110
|
*/
|
|
115
111
|
workingDays?: Array<number> | null;
|
|
116
112
|
/**
|
|
117
|
-
* This time zone is used both for date formating in alert messages and for the
|
|
118
|
-
* contact's working hours (workingFrom, workingTo). Set the time zone only if
|
|
119
|
-
* you want another TZ for this particular contact, the time zone of the account
|
|
120
|
-
* is assumed by default. For updating use null to reset TZ, omit completely to
|
|
121
|
-
* keep the current value. Do not use for contact groups.
|
|
113
|
+
* This time zone is used both for date formating in alert messages and for the contact's working hours (workingFrom, workingTo). Set the time zone only if you want another TZ for this particular contact, the time zone of the account is assumed by default. For updating use null to reset TZ, omit completely to keep the current value. Do not use for contact groups.
|
|
122
114
|
*/
|
|
123
115
|
timezone?: string | null;
|
|
124
116
|
/**
|
|
125
|
-
* For all contact types but group this parameter must be empty. For contact groups
|
|
126
|
-
* it is required and must contain list of member contact IDs.
|
|
117
|
+
* For all contact types but group this parameter must be empty. For contact groups it is required and must contain list of member contact IDs.
|
|
127
118
|
*/
|
|
128
119
|
members?: Array<ContactGroupMemberCreate> | null;
|
|
129
120
|
/**
|
|
@@ -134,11 +125,10 @@ export type ContactItemUpdate = {
|
|
|
134
125
|
} | null;
|
|
135
126
|
/**
|
|
136
127
|
* Special flags specific for the contact type. Currently, only action contact type supports specifications.
|
|
137
|
-
* Json changes the content type for the action url to send message as a json instead
|
|
138
|
-
* of standard application/x-www-form-urlencoded.
|
|
128
|
+
* Json changes the content type for the action url to send message as a json instead of standard application/x-www-form-urlencoded.
|
|
139
129
|
* gchat changes both content type and message form to send message to a Google chat webhook.
|
|
140
130
|
*/
|
|
141
|
-
specification?:
|
|
131
|
+
specification?: 'json' | 'gchat';
|
|
142
132
|
};
|
|
143
133
|
export type ContactGroupMemberItem = {
|
|
144
134
|
/**
|
|
@@ -193,8 +183,7 @@ export type MaintenanceItemCreate = {
|
|
|
193
183
|
};
|
|
194
184
|
export type MaintenanceItemImmediateCreate = {
|
|
195
185
|
/**
|
|
196
|
-
* Start of the maintenance window, current time if empty. Format: ISO 8601 date
|
|
197
|
-
* and time with or without timezone. Current user's timezone is used by default.
|
|
186
|
+
* Start of the maintenance window, current time if empty. Format: ISO 8601 date and time with or without timezone. Current user's timezone is used by default.
|
|
198
187
|
*/
|
|
199
188
|
from?: string | null;
|
|
200
189
|
/**
|
|
@@ -208,8 +197,8 @@ export type MaintenanceItemImmediateCreate = {
|
|
|
208
197
|
};
|
|
209
198
|
export type MaintenanceWindowItem = {
|
|
210
199
|
id?: number | null;
|
|
211
|
-
type:
|
|
212
|
-
status:
|
|
200
|
+
type: 'fixed' | 'daily' | 'weekly' | 'monthly';
|
|
201
|
+
status: 'active' | 'waiting' | 'passed';
|
|
213
202
|
from: string;
|
|
214
203
|
to?: string;
|
|
215
204
|
effectiveTo?: string;
|
|
@@ -226,11 +215,9 @@ export type WindowItemCreate = {
|
|
|
226
215
|
/**
|
|
227
216
|
* This parameter is always required
|
|
228
217
|
*/
|
|
229
|
-
type?:
|
|
218
|
+
type?: 'fixed' | 'daily' | 'weekly' | 'montly';
|
|
230
219
|
/**
|
|
231
|
-
* This parameter is always required. The time can either be specified without the
|
|
232
|
-
* time zone or with timezone. In the first case, the maintenance window TZ is used,
|
|
233
|
-
* in the latter case the time zone is respected but translated to the TZ of the maintenance window.
|
|
220
|
+
* This parameter is always required. The time can either be specified without the time zone or with timezone. In the first case, the maintenance window TZ is used, in the latter case the time zone is respected but translated to the TZ of the maintenance window.
|
|
234
221
|
*/
|
|
235
222
|
from?: string;
|
|
236
223
|
/**
|
|
@@ -242,9 +229,7 @@ export type WindowItemCreate = {
|
|
|
242
229
|
*/
|
|
243
230
|
repeat?: number | null;
|
|
244
231
|
/**
|
|
245
|
-
* The end time for repeatable time windows. This value is
|
|
246
|
-
* in the same TZ as the from field (either explicit or inherited from the maintenance
|
|
247
|
-
* window it belongs to). Required for these types: daily, weekly, monthly.
|
|
232
|
+
* The end time for repeatable time windows. This value is in the same TZ as the from field (either explicit or inherited from the maintenance window it belongs to). Required for these types: daily, weekly, monthly.
|
|
248
233
|
*/
|
|
249
234
|
endTime?: string | null;
|
|
250
235
|
/**
|
|
@@ -267,7 +252,7 @@ export type MessageItem = {
|
|
|
267
252
|
/**
|
|
268
253
|
* Contact type
|
|
269
254
|
*/
|
|
270
|
-
type:
|
|
255
|
+
type: 'email' | 'sms' | 'phone' | 'action' | 'rss';
|
|
271
256
|
/**
|
|
272
257
|
* Monitor ID
|
|
273
258
|
*/
|
|
@@ -275,7 +260,7 @@ export type MessageItem = {
|
|
|
275
260
|
/**
|
|
276
261
|
* Message delivery status
|
|
277
262
|
*/
|
|
278
|
-
status:
|
|
263
|
+
status: 'deleted' | 'queued' | 'gateway' | 'provider' | 'device' | 'accepted' | 'queued-no-fallback' | 'undeliverable' | 'suppressed';
|
|
279
264
|
/**
|
|
280
265
|
* Monitor log event uuid
|
|
281
266
|
*/
|
|
@@ -414,7 +399,7 @@ export type Forbidden = {
|
|
|
414
399
|
};
|
|
415
400
|
export type SettingsItem = {
|
|
416
401
|
name: string;
|
|
417
|
-
type?:
|
|
402
|
+
type?: 'bool' | 'integer' | 'string' | 'secret' | 'integers';
|
|
418
403
|
value: string | number | boolean | Array<number>;
|
|
419
404
|
};
|
|
420
405
|
export type StationAgent = {
|
|
@@ -480,11 +465,9 @@ export type StationItem = {
|
|
|
480
465
|
*/
|
|
481
466
|
locode?: string;
|
|
482
467
|
/**
|
|
483
|
-
* Status of the monitoring station:
|
|
484
|
-
* 1 - planned, 2 - active, 3 - in maintenance, 4 - blocked,
|
|
485
|
-
* 5 - installation in progress, 6 = broken - installation failed.
|
|
468
|
+
* Status of the monitoring station: 1 - planned, 2 - active, 3 - in maintenance, 4 - blocked, 5 - installation in progress, 6 = broken - installation failed.
|
|
486
469
|
*/
|
|
487
|
-
status?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
470
|
+
status?: 1 | 2 | 3 | 4 | 3 | 5 | 6;
|
|
488
471
|
/**
|
|
489
472
|
* The IP address of this monitoring station
|
|
490
473
|
*/
|
|
@@ -529,7 +512,7 @@ export type StationItemCreate = {
|
|
|
529
512
|
/**
|
|
530
513
|
* Status of the monitoring station: 1 - planned, 2 - active, 3 - in maintenance, 4 - blocked.
|
|
531
514
|
*/
|
|
532
|
-
status?: 1 | 2 | 3 | 4;
|
|
515
|
+
status?: 1 | 2 | 3 | 4 | 3;
|
|
533
516
|
/**
|
|
534
517
|
* The IP address of this monitoring station
|
|
535
518
|
*/
|
|
@@ -758,7 +741,7 @@ export type Region = {
|
|
|
758
741
|
* Add support for certificates to converters
|
|
759
742
|
*/
|
|
760
743
|
export type AllowDenyTrait = {
|
|
761
|
-
browserRestriction?:
|
|
744
|
+
browserRestriction?: 'own' | 'everywhere' | 'custom';
|
|
762
745
|
/**
|
|
763
746
|
* Comma-separated whitelisted domains. This will be an array in the future
|
|
764
747
|
*/
|
|
@@ -779,11 +762,11 @@ export type UseCertificatesTrait = {
|
|
|
779
762
|
* Encryption-settable monitor
|
|
780
763
|
*/
|
|
781
764
|
export type EncryptionTrait = {
|
|
782
|
-
cipherList?:
|
|
765
|
+
cipherList?: 'ALL' | 'HIGH' | 'MEDIUM' | '';
|
|
783
766
|
/**
|
|
784
767
|
* TODO: "" = negotiate? why nullable then? see in initializeEncryption
|
|
785
768
|
*/
|
|
786
|
-
encryption?:
|
|
769
|
+
encryption?: 'tls' | 'tlsv1.0' | 'tlsv1.1' | 'tlsv1.2' | 'sslv3' | '';
|
|
787
770
|
};
|
|
788
771
|
/**
|
|
789
772
|
* Add host:port support to the monitor schema - this may seem odd, but there are URL monitors, host:port monitors and script monitors
|
|
@@ -840,10 +823,9 @@ export type PostDataTrait = {
|
|
|
840
823
|
export type ProxyTrait = {
|
|
841
824
|
useProxy?: boolean;
|
|
842
825
|
/**
|
|
843
|
-
* The proxy protocol. Not all monitor types can make use of all proxy protocols.
|
|
844
|
-
* useProxy=true and proxyProtocol=null means 'use system proxy' on OPMS
|
|
826
|
+
* The proxy protocol. Not all monitor types can make use of all proxy protocols. useProxy=true and proxyProtocol=null means 'use system proxy' on OPMS
|
|
845
827
|
*/
|
|
846
|
-
proxyProtocol?:
|
|
828
|
+
proxyProtocol?: 'http' | 'https' | 'socks5';
|
|
847
829
|
proxyAddress?: string | null;
|
|
848
830
|
proxyPort?: number | null;
|
|
849
831
|
proxyUsername?: string | null;
|
|
@@ -886,7 +868,7 @@ export type Monitor = MonitorCreate & {
|
|
|
886
868
|
/**
|
|
887
869
|
* Status of the monitor (read only). The status of the folder is not reflected.
|
|
888
870
|
*/
|
|
889
|
-
status?:
|
|
871
|
+
status?: 'deleted' | 'inactive' | 'active' | 'unconfirmed' | 'locked' | 'error';
|
|
890
872
|
/**
|
|
891
873
|
* Health status of the monitoring station pool (read only). This flag is true if the number of monitoring stations in insufficient.
|
|
892
874
|
*/
|
|
@@ -903,7 +885,7 @@ export type MonitorCreate = MonitorUpdate & {
|
|
|
903
885
|
/**
|
|
904
886
|
* The monitor type.
|
|
905
887
|
*/
|
|
906
|
-
type:
|
|
888
|
+
type: 'http' | 'https' | 'connect' | 'dns' | 'dnsa' | 'dnsns' | 'domain' | 'ftp' | 'ftps' | 'imap' | 'ldap' | 'ping' | 'plugin' | 'pop3' | 'scp' | 'sftp' | 'sip' | 'smtp' | 'telnet' | 'browser' | 'script' | 'tls' | 'websocket';
|
|
907
889
|
};
|
|
908
890
|
/**
|
|
909
891
|
* Common updatable fields for all monitors
|
|
@@ -919,23 +901,18 @@ export type MonitorUpdate = {
|
|
|
919
901
|
transactionTag?: string;
|
|
920
902
|
userNote?: string;
|
|
921
903
|
/**
|
|
922
|
-
* This time zone is used for the monitor's run hours (check/periodFrom,
|
|
923
|
-
* check/periodTo and check/days). If empty the time zone of the owner account is used.
|
|
904
|
+
* This time zone is used for the monitor's run hours (check/periodFrom, check/periodTo and check/days). If empty the time zone of the owner account is used.
|
|
924
905
|
*/
|
|
925
906
|
timezone?: string | null;
|
|
926
907
|
check?: MonitorCheck;
|
|
927
908
|
alert?: MonitorAlert;
|
|
928
909
|
checkpoint?: MonitorCheckpoint;
|
|
929
910
|
/**
|
|
930
|
-
* Enable this option if monitor should not be scheduled in maintenance.
|
|
931
|
-
* By default, monitor is scheduled but results are flagged and not used for alerting and SLA calculation.
|
|
911
|
+
* Enable this option if monitor should not be scheduled in maintenance. By default, monitor is scheduled but results are flagged and not used for alerting and SLA calculation.
|
|
932
912
|
*/
|
|
933
913
|
noScheduleOnMaintenance?: boolean | null;
|
|
934
914
|
/**
|
|
935
|
-
* Enable this option if a failing monitor should not be rescheduled.
|
|
936
|
-
* By default, the monitoring interval is changed to 5 minutes if a monitor starts
|
|
937
|
-
* failing and the interval is longer than 5 minutes. Once the monitor is OK the
|
|
938
|
-
* original interval is restored.
|
|
915
|
+
* Enable this option if a failing monitor should not be rescheduled. By default, the monitoring interval is changed to 5 minutes if a monitor starts failing and the interval is longer than 5 minutes. Once the monitor is OK the original interval is restored.
|
|
939
916
|
*/
|
|
940
917
|
noRescheduleOnFailure?: boolean | null;
|
|
941
918
|
};
|
|
@@ -953,7 +930,7 @@ export type MonitorAlert = {
|
|
|
953
930
|
dontDoPostMortem?: boolean;
|
|
954
931
|
contactId?: number | null;
|
|
955
932
|
notifyWhenUp?: boolean;
|
|
956
|
-
quietPeriod?:
|
|
933
|
+
quietPeriod?: '00:10:00' | '00:15:00' | '00:20:00' | '00:30:00' | '01:00:00' | '02:00:00' | '03:00:00' | '06:00:00' | '12:00:00' | '18:00:00' | '24:00:00';
|
|
957
934
|
checkThreshold?: 1 | 2 | 3 | 4 | 5;
|
|
958
935
|
};
|
|
959
936
|
/**
|
|
@@ -965,8 +942,7 @@ export type MonitorCertificates = {
|
|
|
965
942
|
*/
|
|
966
943
|
ca?: string;
|
|
967
944
|
/**
|
|
968
|
-
* Client certificate for authentication, either in PKCS12 or PEM format.
|
|
969
|
-
* Client certificate consists of public (cert) and private (key) parts. Both parts must be included here.
|
|
945
|
+
* Client certificate for authentication, either in PKCS12 or PEM format. Client certificate consists of public (cert) and private (key) parts. Both parts must be included here.
|
|
970
946
|
*/
|
|
971
947
|
client?: string;
|
|
972
948
|
clientPassword?: string;
|
|
@@ -990,7 +966,7 @@ export type MonitorCheck = {
|
|
|
990
966
|
export type MonitorCheckpoint = {
|
|
991
967
|
usePublic?: boolean;
|
|
992
968
|
groupIds?: Array<number> | null;
|
|
993
|
-
algorithm?:
|
|
969
|
+
algorithm?: 'master' | 'random' | 'seq' | 'sticky';
|
|
994
970
|
defaultGroupId?: number | null;
|
|
995
971
|
};
|
|
996
972
|
/**
|
|
@@ -1007,7 +983,7 @@ export type HttpCommonTrait = UrlTrait & ProxyTrait & LoginTrait & MatchStringTr
|
|
|
1007
983
|
/**
|
|
1008
984
|
* HTTP method. If empty, GET (data is empty) or POST (data is not empty) is used. This value is disregarded on OPMS before 10.7.
|
|
1009
985
|
*/
|
|
1010
|
-
httpMethod?:
|
|
986
|
+
httpMethod?: '' | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS';
|
|
1011
987
|
acceptedHttpCodes?: string;
|
|
1012
988
|
avoidCompression?: boolean;
|
|
1013
989
|
useNtlm?: boolean;
|
|
@@ -1043,17 +1019,17 @@ export type ConnectUpdate = HostPortTrait & MatchStringTrait & MonitorUpdate;
|
|
|
1043
1019
|
export type Dns = Monitor & {
|
|
1044
1020
|
domainName: string;
|
|
1045
1021
|
port: number;
|
|
1046
|
-
recordType?:
|
|
1022
|
+
recordType?: 'A' | 'AAAA' | 'MX' | 'NS' | 'CNAME' | 'PTR' | 'SOA' | 'TXT';
|
|
1047
1023
|
/**
|
|
1048
1024
|
* Comma-separated expected RR values. This will be an array in the future
|
|
1049
1025
|
*/
|
|
1050
1026
|
expectedResult?: string;
|
|
1051
1027
|
retries?: 0 | 1 | 2 | 3;
|
|
1052
1028
|
match?: -1 | 0 | 1;
|
|
1053
|
-
protocol?:
|
|
1029
|
+
protocol?: 'tcp' | 'udp';
|
|
1054
1030
|
target?: string;
|
|
1055
1031
|
respondThreshold?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1056
|
-
delimiter?:
|
|
1032
|
+
delimiter?: '' | ',' | '|' | ';' | '#|#' | '#;#' | '#ASM_ITEM_DELIMITER#';
|
|
1057
1033
|
};
|
|
1058
1034
|
/**
|
|
1059
1035
|
* Class Dns
|
|
@@ -1061,17 +1037,17 @@ export type Dns = Monitor & {
|
|
|
1061
1037
|
export type DnsCreate = MonitorCreate & {
|
|
1062
1038
|
domainName: string;
|
|
1063
1039
|
port: number;
|
|
1064
|
-
recordType?:
|
|
1040
|
+
recordType?: 'A' | 'AAAA' | 'MX' | 'NS' | 'CNAME' | 'PTR' | 'SOA' | 'TXT';
|
|
1065
1041
|
/**
|
|
1066
1042
|
* Comma-separated expected RR values. This will be an array in the future
|
|
1067
1043
|
*/
|
|
1068
1044
|
expectedResult?: string;
|
|
1069
1045
|
retries?: 0 | 1 | 2 | 3;
|
|
1070
1046
|
match?: -1 | 0 | 1;
|
|
1071
|
-
protocol?:
|
|
1047
|
+
protocol?: 'tcp' | 'udp';
|
|
1072
1048
|
target?: string;
|
|
1073
1049
|
respondThreshold?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1074
|
-
delimiter?:
|
|
1050
|
+
delimiter?: '' | ',' | '|' | ';' | '#|#' | '#;#' | '#ASM_ITEM_DELIMITER#';
|
|
1075
1051
|
};
|
|
1076
1052
|
/**
|
|
1077
1053
|
* Class Monitor
|
|
@@ -1079,17 +1055,17 @@ export type DnsCreate = MonitorCreate & {
|
|
|
1079
1055
|
export type DnsUpdate = MonitorUpdate & {
|
|
1080
1056
|
domainName?: string;
|
|
1081
1057
|
port?: number;
|
|
1082
|
-
recordType?:
|
|
1058
|
+
recordType?: 'A' | 'AAAA' | 'MX' | 'NS' | 'CNAME' | 'PTR' | 'SOA' | 'TXT';
|
|
1083
1059
|
/**
|
|
1084
1060
|
* Comma-separated expected RR values. This will be an array in the future
|
|
1085
1061
|
*/
|
|
1086
1062
|
expectedResult?: string;
|
|
1087
1063
|
retries?: 0 | 1 | 2 | 3;
|
|
1088
1064
|
match?: -1 | 0 | 1;
|
|
1089
|
-
protocol?:
|
|
1065
|
+
protocol?: 'tcp' | 'udp';
|
|
1090
1066
|
target?: string;
|
|
1091
1067
|
respondThreshold?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1092
|
-
delimiter?:
|
|
1068
|
+
delimiter?: '' | ',' | '|' | ';' | '#|#' | '#;#' | '#ASM_ITEM_DELIMITER#';
|
|
1093
1069
|
};
|
|
1094
1070
|
export type Dnsa = HostPortTrait & Monitor & {
|
|
1095
1071
|
path: string;
|
|
@@ -1122,7 +1098,7 @@ export type Domain = Monitor & {
|
|
|
1122
1098
|
domainName: string;
|
|
1123
1099
|
port: number;
|
|
1124
1100
|
retries: 0 | 1 | 2 | 3;
|
|
1125
|
-
protocol:
|
|
1101
|
+
protocol: 'tcp' | 'udp';
|
|
1126
1102
|
target: string;
|
|
1127
1103
|
respondThreshold: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1128
1104
|
doZoneTransfer?: boolean;
|
|
@@ -1134,7 +1110,7 @@ export type DomainCreate = MonitorCreate & {
|
|
|
1134
1110
|
domainName: string;
|
|
1135
1111
|
port: number;
|
|
1136
1112
|
retries: 0 | 1 | 2 | 3;
|
|
1137
|
-
protocol:
|
|
1113
|
+
protocol: 'tcp' | 'udp';
|
|
1138
1114
|
target: string;
|
|
1139
1115
|
respondThreshold: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1140
1116
|
doZoneTransfer?: boolean;
|
|
@@ -1146,7 +1122,7 @@ export type DomainUpdate = MonitorUpdate & {
|
|
|
1146
1122
|
domainName?: string;
|
|
1147
1123
|
port?: number;
|
|
1148
1124
|
retries?: 0 | 1 | 2 | 3;
|
|
1149
|
-
protocol?:
|
|
1125
|
+
protocol?: 'tcp' | 'udp';
|
|
1150
1126
|
target?: string;
|
|
1151
1127
|
respondThreshold?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1152
1128
|
doZoneTransfer?: boolean;
|
|
@@ -1172,17 +1148,14 @@ export type HttpsUpdate = HttpCommonTrait & UseCertificatesTrait & EncryptionTra
|
|
|
1172
1148
|
export type Imap = HostPortTrait & LoginTrait & VerifyCertificateTrait & Monitor & {
|
|
1173
1149
|
path?: string;
|
|
1174
1150
|
sslEncryption?: boolean;
|
|
1175
|
-
emailAddress?: string;
|
|
1176
1151
|
};
|
|
1177
1152
|
export type ImapCreate = HostPortTrait & LoginTrait & VerifyCertificateTrait & MonitorCreate & {
|
|
1178
1153
|
path?: string;
|
|
1179
1154
|
sslEncryption?: boolean;
|
|
1180
|
-
emailAddress?: string;
|
|
1181
1155
|
};
|
|
1182
1156
|
export type ImapUpdate = HostPortTrait & LoginTrait & VerifyCertificateTrait & MonitorUpdate & {
|
|
1183
1157
|
path?: string;
|
|
1184
1158
|
sslEncryption?: boolean;
|
|
1185
|
-
emailAddress?: string;
|
|
1186
1159
|
};
|
|
1187
1160
|
export type Ldap = HostPortTrait & LoginTrait & MatchStringTrait & IpVersionTrait & VerifyCertificateTrait & Monitor & {
|
|
1188
1161
|
/**
|
|
@@ -1237,15 +1210,12 @@ export type PluginUpdate = UrlTrait & LoginTrait & MonitorUpdate & {
|
|
|
1237
1210
|
};
|
|
1238
1211
|
export type Pop3 = HostPortTrait & LoginTrait & VerifyCertificateTrait & Monitor & {
|
|
1239
1212
|
sslEncryption?: boolean;
|
|
1240
|
-
emailAddress?: string;
|
|
1241
1213
|
};
|
|
1242
1214
|
export type Pop3Create = HostPortTrait & LoginTrait & VerifyCertificateTrait & MonitorCreate & {
|
|
1243
1215
|
sslEncryption?: boolean;
|
|
1244
|
-
emailAddress?: string;
|
|
1245
1216
|
};
|
|
1246
1217
|
export type Pop3Update = HostPortTrait & LoginTrait & VerifyCertificateTrait & MonitorUpdate & {
|
|
1247
1218
|
sslEncryption?: boolean;
|
|
1248
|
-
emailAddress?: string;
|
|
1249
1219
|
};
|
|
1250
1220
|
export type Scp = HostPortTrait & LoginTrait & MatchStringTrait & IpVersionTrait & Monitor & {
|
|
1251
1221
|
path?: string;
|
|
@@ -1260,7 +1230,7 @@ export type Script = UseCertificatesTrait & ProxyTrait & LoginTrait & Monitor &
|
|
|
1260
1230
|
host: string;
|
|
1261
1231
|
port: number;
|
|
1262
1232
|
path?: string;
|
|
1263
|
-
encryption?:
|
|
1233
|
+
encryption?: 'tls' | 'tlsv1.0' | 'tlsv1.1' | 'tlsv1.2' | 'sslv3';
|
|
1264
1234
|
assertOnly?: boolean;
|
|
1265
1235
|
responseContent?: boolean;
|
|
1266
1236
|
scriptFile?: MonitorScript;
|
|
@@ -1269,7 +1239,7 @@ export type ScriptCreate = UseCertificatesTrait & ProxyTrait & LoginTrait & Moni
|
|
|
1269
1239
|
host?: string;
|
|
1270
1240
|
port?: number;
|
|
1271
1241
|
path?: string;
|
|
1272
|
-
encryption?:
|
|
1242
|
+
encryption?: 'tls' | 'tlsv1.0' | 'tlsv1.1' | 'tlsv1.2' | 'sslv3';
|
|
1273
1243
|
assertOnly?: boolean;
|
|
1274
1244
|
responseContent?: boolean;
|
|
1275
1245
|
scriptFile?: MonitorScriptCreate | {
|
|
@@ -1280,7 +1250,7 @@ export type ScriptUpdate = UseCertificatesTrait & ProxyTrait & LoginTrait & Moni
|
|
|
1280
1250
|
host?: string;
|
|
1281
1251
|
port?: number;
|
|
1282
1252
|
path?: string;
|
|
1283
|
-
encryption?:
|
|
1253
|
+
encryption?: 'tls' | 'tlsv1.0' | 'tlsv1.1' | 'tlsv1.2' | 'sslv3';
|
|
1284
1254
|
assertOnly?: boolean;
|
|
1285
1255
|
responseContent?: boolean;
|
|
1286
1256
|
scriptFile?: MonitorScriptCreate | {
|
|
@@ -1322,11 +1292,7 @@ export type Webdriver = ProxyTrait & UseCertificatesTrait & LoginTrait & UserAge
|
|
|
1322
1292
|
elemErrorReport?: boolean;
|
|
1323
1293
|
toggleQuiescence?: boolean;
|
|
1324
1294
|
/**
|
|
1325
|
-
* Enable this option if monitor is monitoring page leveraging additionaly the browser
|
|
1326
|
-
* agent and webdriver is expected to wait for the browser agent to send the metrics
|
|
1327
|
-
* before executing the next step. Do not enable it unless you know what you are doing.
|
|
1328
|
-
* If browser is NOT present and this value is enabled, monitor will timeout on the first
|
|
1329
|
-
* step waiting for browser agent confirmation.
|
|
1295
|
+
* Enable this option if monitor is monitoring page leveraging additionaly the browser agent and webdriver is expected to wait for the browser agent to send the metrics before executing the next step. Do not enable it unless you know what you are doing. If browser is NOT present and this value is enabled, monitor will timeout on the first step waiting for browser agent confirmation.
|
|
1330
1296
|
*/
|
|
1331
1297
|
browserAgent?: boolean | null;
|
|
1332
1298
|
proxyExcludeHosts?: string;
|
|
@@ -1344,11 +1310,7 @@ export type WebdriverCreate = ProxyTrait & UseCertificatesTrait & LoginTrait & U
|
|
|
1344
1310
|
elemErrorReport?: boolean;
|
|
1345
1311
|
toggleQuiescence?: boolean;
|
|
1346
1312
|
/**
|
|
1347
|
-
* Enable this option if monitor is monitoring page leveraging additionaly
|
|
1348
|
-
* the browser agent and webdriver is expected to wait for the browser agent
|
|
1349
|
-
* to send the metrics before executing the next step. Do not enable it unless
|
|
1350
|
-
* you know what you are doing. If browser is NOT present and this value is enabled,
|
|
1351
|
-
* monitor will timeout on the first step waiting for browser agent confirmation.
|
|
1313
|
+
* Enable this option if monitor is monitoring page leveraging additionaly the browser agent and webdriver is expected to wait for the browser agent to send the metrics before executing the next step. Do not enable it unless you know what you are doing. If browser is NOT present and this value is enabled, monitor will timeout on the first step waiting for browser agent confirmation.
|
|
1352
1314
|
*/
|
|
1353
1315
|
browserAgent?: boolean | null;
|
|
1354
1316
|
proxyExcludeHosts?: string;
|
|
@@ -1368,11 +1330,7 @@ export type WebdriverUpdate = ProxyTrait & UseCertificatesTrait & LoginTrait & U
|
|
|
1368
1330
|
elemErrorReport?: boolean;
|
|
1369
1331
|
toggleQuiescence?: boolean;
|
|
1370
1332
|
/**
|
|
1371
|
-
* Enable this option if monitor is monitoring page leveraging additionaly the
|
|
1372
|
-
* browser agent and webdriver is expected to wait for the browser agent to send
|
|
1373
|
-
* the metrics before executing the next step. Do not enable it unless you know
|
|
1374
|
-
* what you are doing. If browser is NOT present and this value is enabled, monitor
|
|
1375
|
-
* will timeout on the first step waiting for browser agent confirmation.
|
|
1333
|
+
* Enable this option if monitor is monitoring page leveraging additionaly the browser agent and webdriver is expected to wait for the browser agent to send the metrics before executing the next step. Do not enable it unless you know what you are doing. If browser is NOT present and this value is enabled, monitor will timeout on the first step waiting for browser agent confirmation.
|
|
1376
1334
|
*/
|
|
1377
1335
|
browserAgent?: boolean | null;
|
|
1378
1336
|
proxyExcludeHosts?: string;
|
|
@@ -1411,13 +1369,13 @@ export type MonitorFrame = {
|
|
|
1411
1369
|
/**
|
|
1412
1370
|
* The monitor type.
|
|
1413
1371
|
*/
|
|
1414
|
-
type?:
|
|
1372
|
+
type?: 'http' | 'https' | 'connect' | 'dns' | 'dnsa' | 'dnsns' | 'domain' | 'ftp' | 'ftps' | 'imap' | 'ldap' | 'ping' | 'plugin' | 'pop3' | 'scp' | 'sftp' | 'sip' | 'smtp' | 'telnet' | 'browser' | 'script';
|
|
1415
1373
|
name?: string;
|
|
1416
1374
|
folderId?: number;
|
|
1417
1375
|
/**
|
|
1418
1376
|
* Status of the monitor (read only). The status of the folder is not reflected.
|
|
1419
1377
|
*/
|
|
1420
|
-
status?:
|
|
1378
|
+
status?: 'deleted' | 'inactive' | 'active' | 'unconfirmed' | 'locked' | 'error';
|
|
1421
1379
|
/**
|
|
1422
1380
|
* Health status of the monitoring station pool (read only). This flag is true if the number of monitoring stations in insufficient.
|
|
1423
1381
|
*/
|
|
@@ -1438,9 +1396,7 @@ export type MonitorScript = MonitorScriptCreate & {
|
|
|
1438
1396
|
*/
|
|
1439
1397
|
export type MonitorScriptCreate = {
|
|
1440
1398
|
/**
|
|
1441
|
-
* If you want to reuse a previously uploaded script, send this ID
|
|
1442
|
-
* but not the new script content. This feature is deprecated, will
|
|
1443
|
-
* be removed in the future releases without notice.
|
|
1399
|
+
* If you want to reuse a previously uploaded script, send this ID but not the new script content. This feature is deprecated, will be removed in the future releases without notice.
|
|
1444
1400
|
*/
|
|
1445
1401
|
scriptId?: number | null;
|
|
1446
1402
|
contentArchive?: string | null;
|
|
@@ -1453,7 +1409,7 @@ export type MonitorTag = {
|
|
|
1453
1409
|
};
|
|
1454
1410
|
export type EventAsset = {
|
|
1455
1411
|
url?: string;
|
|
1456
|
-
type?:
|
|
1412
|
+
type?: 'jtl' | 'har' | 'http' | 'image' | 'video' | 'log' | 'console_log';
|
|
1457
1413
|
};
|
|
1458
1414
|
export type LogEvent = {
|
|
1459
1415
|
id?: string;
|
|
@@ -1559,18 +1515,18 @@ export type ProbeMetrics = {
|
|
|
1559
1515
|
statusCode?: number | null;
|
|
1560
1516
|
statusString?: string | null;
|
|
1561
1517
|
domain?: string | null;
|
|
1562
|
-
performance?:
|
|
1518
|
+
performance?: 'good' | 'poor' | 'bad';
|
|
1563
1519
|
metrics?: StageMetrics;
|
|
1564
1520
|
stages?: Array<Stage>;
|
|
1565
1521
|
};
|
|
1566
1522
|
export type EventResult = {
|
|
1567
1523
|
code?: number;
|
|
1568
1524
|
description?: string;
|
|
1569
|
-
type?:
|
|
1525
|
+
type?: 'ok' | 'unconfirmed_error' | 'confirmed_error' | 'maintenance' | 'unscheduled';
|
|
1570
1526
|
/**
|
|
1571
1527
|
* For successful checks this value is calculated based on total time and monitor thresholds
|
|
1572
1528
|
*/
|
|
1573
|
-
performance?:
|
|
1529
|
+
performance?: 'good' | 'poor' | 'bad';
|
|
1574
1530
|
};
|
|
1575
1531
|
export type Stage = {
|
|
1576
1532
|
name?: string;
|
|
@@ -1733,7 +1689,7 @@ export type ApiTokenListData = {
|
|
|
1733
1689
|
body?: never;
|
|
1734
1690
|
path?: never;
|
|
1735
1691
|
query?: never;
|
|
1736
|
-
url:
|
|
1692
|
+
url: '/api-token';
|
|
1737
1693
|
};
|
|
1738
1694
|
export type ApiTokenListErrors = {
|
|
1739
1695
|
/**
|
|
@@ -1756,7 +1712,7 @@ export type ApiTokenCreateData = {
|
|
|
1756
1712
|
};
|
|
1757
1713
|
path?: never;
|
|
1758
1714
|
query?: never;
|
|
1759
|
-
url:
|
|
1715
|
+
url: '/api-token';
|
|
1760
1716
|
};
|
|
1761
1717
|
export type ApiTokenCreateErrors = {
|
|
1762
1718
|
/**
|
|
@@ -1789,7 +1745,7 @@ export type ApiTokenDeleteData = {
|
|
|
1789
1745
|
id: number;
|
|
1790
1746
|
};
|
|
1791
1747
|
query?: never;
|
|
1792
|
-
url:
|
|
1748
|
+
url: '/api-token/{id}';
|
|
1793
1749
|
};
|
|
1794
1750
|
export type ApiTokenDeleteErrors = {
|
|
1795
1751
|
/**
|
|
@@ -1820,7 +1776,7 @@ export type ApiTokenGetData = {
|
|
|
1820
1776
|
id: number;
|
|
1821
1777
|
};
|
|
1822
1778
|
query?: never;
|
|
1823
|
-
url:
|
|
1779
|
+
url: '/api-token/{id}';
|
|
1824
1780
|
};
|
|
1825
1781
|
export type ApiTokenGetErrors = {
|
|
1826
1782
|
/**
|
|
@@ -1842,8 +1798,7 @@ export type ApiTokenGetResponses = {
|
|
|
1842
1798
|
export type ApiTokenGetResponse = ApiTokenGetResponses[keyof ApiTokenGetResponses];
|
|
1843
1799
|
export type ApiTokenUpdateData = {
|
|
1844
1800
|
/**
|
|
1845
|
-
* The request body for updating token. Name is mandatory, valid_until is
|
|
1846
|
-
* optional and defaults to null (valid indefinitely), can be any valid datetime string.
|
|
1801
|
+
* The request body for updating token. Name is mandatory, valid_until is optional and defaults to null (valid indefinitely), can be any valid datetime string.
|
|
1847
1802
|
*/
|
|
1848
1803
|
body: {
|
|
1849
1804
|
name?: string;
|
|
@@ -1856,7 +1811,7 @@ export type ApiTokenUpdateData = {
|
|
|
1856
1811
|
id: number;
|
|
1857
1812
|
};
|
|
1858
1813
|
query?: never;
|
|
1859
|
-
url:
|
|
1814
|
+
url: '/api-token/{id}';
|
|
1860
1815
|
};
|
|
1861
1816
|
export type ApiTokenUpdateErrors = {
|
|
1862
1817
|
/**
|
|
@@ -1888,7 +1843,7 @@ export type CheckGetData = {
|
|
|
1888
1843
|
monitor: string;
|
|
1889
1844
|
};
|
|
1890
1845
|
query?: never;
|
|
1891
|
-
url:
|
|
1846
|
+
url: '/check/{monitor}';
|
|
1892
1847
|
};
|
|
1893
1848
|
export type CheckGetErrors = {
|
|
1894
1849
|
/**
|
|
@@ -1940,7 +1895,7 @@ export type ContactsGetData = {
|
|
|
1940
1895
|
body?: never;
|
|
1941
1896
|
path?: never;
|
|
1942
1897
|
query?: never;
|
|
1943
|
-
url:
|
|
1898
|
+
url: '/contacts';
|
|
1944
1899
|
};
|
|
1945
1900
|
export type ContactsGetErrors = {
|
|
1946
1901
|
/**
|
|
@@ -1962,7 +1917,7 @@ export type ContactsCreateData = {
|
|
|
1962
1917
|
body?: ContactItemCreate;
|
|
1963
1918
|
path?: never;
|
|
1964
1919
|
query?: never;
|
|
1965
|
-
url:
|
|
1920
|
+
url: '/contacts';
|
|
1966
1921
|
};
|
|
1967
1922
|
export type ContactsCreateErrors = {
|
|
1968
1923
|
/**
|
|
@@ -1995,7 +1950,7 @@ export type ContactDeleteData = {
|
|
|
1995
1950
|
id: number;
|
|
1996
1951
|
};
|
|
1997
1952
|
query?: never;
|
|
1998
|
-
url:
|
|
1953
|
+
url: '/contacts/{id}';
|
|
1999
1954
|
};
|
|
2000
1955
|
export type ContactDeleteErrors = {
|
|
2001
1956
|
/**
|
|
@@ -2034,7 +1989,7 @@ export type ContactsGetDetailData = {
|
|
|
2034
1989
|
id: number;
|
|
2035
1990
|
};
|
|
2036
1991
|
query?: never;
|
|
2037
|
-
url:
|
|
1992
|
+
url: '/contacts/{id}';
|
|
2038
1993
|
};
|
|
2039
1994
|
export type ContactsGetDetailErrors = {
|
|
2040
1995
|
/**
|
|
@@ -2067,7 +2022,7 @@ export type ContactsUpdateData = {
|
|
|
2067
2022
|
id: number;
|
|
2068
2023
|
};
|
|
2069
2024
|
query?: never;
|
|
2070
|
-
url:
|
|
2025
|
+
url: '/contacts/{id}';
|
|
2071
2026
|
};
|
|
2072
2027
|
export type ContactsUpdateErrors = {
|
|
2073
2028
|
/**
|
|
@@ -2106,7 +2061,7 @@ export type ContactTestSendData = {
|
|
|
2106
2061
|
id: number;
|
|
2107
2062
|
};
|
|
2108
2063
|
query?: never;
|
|
2109
|
-
url:
|
|
2064
|
+
url: '/contacts/test/{id}';
|
|
2110
2065
|
};
|
|
2111
2066
|
export type ContactTestSendErrors = {
|
|
2112
2067
|
/**
|
|
@@ -2159,7 +2114,7 @@ export type ContactActivateData = {
|
|
|
2159
2114
|
id: number;
|
|
2160
2115
|
};
|
|
2161
2116
|
query?: never;
|
|
2162
|
-
url:
|
|
2117
|
+
url: '/contacts/{id}/activate';
|
|
2163
2118
|
};
|
|
2164
2119
|
export type ContactActivateErrors = {
|
|
2165
2120
|
/**
|
|
@@ -2203,7 +2158,7 @@ export type ContactsConfirmData = {
|
|
|
2203
2158
|
id: number;
|
|
2204
2159
|
};
|
|
2205
2160
|
query?: never;
|
|
2206
|
-
url:
|
|
2161
|
+
url: '/contacts/confirm/{id}';
|
|
2207
2162
|
};
|
|
2208
2163
|
export type ContactsConfirmErrors = {
|
|
2209
2164
|
/**
|
|
@@ -2248,7 +2203,7 @@ export type ContactsRequestConfirmationCodeData = {
|
|
|
2248
2203
|
id: number;
|
|
2249
2204
|
};
|
|
2250
2205
|
query?: never;
|
|
2251
|
-
url:
|
|
2206
|
+
url: '/contacts/request-confirmation-code/{id}';
|
|
2252
2207
|
};
|
|
2253
2208
|
export type ContactsRequestConfirmationCodeErrors = {
|
|
2254
2209
|
/**
|
|
@@ -2299,7 +2254,7 @@ export type ContactsBlockDeleteData = {
|
|
|
2299
2254
|
id: number;
|
|
2300
2255
|
};
|
|
2301
2256
|
query?: never;
|
|
2302
|
-
url:
|
|
2257
|
+
url: '/contacts/block/{id}';
|
|
2303
2258
|
};
|
|
2304
2259
|
export type ContactsBlockDeleteErrors = {
|
|
2305
2260
|
/**
|
|
@@ -2338,7 +2293,7 @@ export type ContactsBlockPutData = {
|
|
|
2338
2293
|
id: number;
|
|
2339
2294
|
};
|
|
2340
2295
|
query?: never;
|
|
2341
|
-
url:
|
|
2296
|
+
url: '/contacts/block/{id}';
|
|
2342
2297
|
};
|
|
2343
2298
|
export type ContactsBlockPutErrors = {
|
|
2344
2299
|
/**
|
|
@@ -2381,7 +2336,7 @@ export type ContactsReplaceNotificationsWithData = {
|
|
|
2381
2336
|
to: number;
|
|
2382
2337
|
};
|
|
2383
2338
|
query?: never;
|
|
2384
|
-
url:
|
|
2339
|
+
url: '/contacts/{id}/replaceInNotificationsWith/{to}';
|
|
2385
2340
|
};
|
|
2386
2341
|
export type ContactsReplaceNotificationsWithErrors = {
|
|
2387
2342
|
/**
|
|
@@ -2415,7 +2370,7 @@ export type FoldersListData = {
|
|
|
2415
2370
|
body?: never;
|
|
2416
2371
|
path?: never;
|
|
2417
2372
|
query?: never;
|
|
2418
|
-
url:
|
|
2373
|
+
url: '/folders';
|
|
2419
2374
|
};
|
|
2420
2375
|
export type FoldersListErrors = {
|
|
2421
2376
|
/**
|
|
@@ -2438,7 +2393,7 @@ export type FolderPostData = {
|
|
|
2438
2393
|
body: FolderRequestItem;
|
|
2439
2394
|
path?: never;
|
|
2440
2395
|
query?: never;
|
|
2441
|
-
url:
|
|
2396
|
+
url: '/folders';
|
|
2442
2397
|
};
|
|
2443
2398
|
export type FolderPostErrors = {
|
|
2444
2399
|
/**
|
|
@@ -2469,7 +2424,7 @@ export type FolderDeleteData = {
|
|
|
2469
2424
|
id: number;
|
|
2470
2425
|
};
|
|
2471
2426
|
query?: never;
|
|
2472
|
-
url:
|
|
2427
|
+
url: '/folders/{id}';
|
|
2473
2428
|
};
|
|
2474
2429
|
export type FolderDeleteErrors = {
|
|
2475
2430
|
/**
|
|
@@ -2500,7 +2455,7 @@ export type FolderGetData = {
|
|
|
2500
2455
|
id: number;
|
|
2501
2456
|
};
|
|
2502
2457
|
query?: never;
|
|
2503
|
-
url:
|
|
2458
|
+
url: '/folders/{id}';
|
|
2504
2459
|
};
|
|
2505
2460
|
export type FolderGetErrors = {
|
|
2506
2461
|
/**
|
|
@@ -2534,7 +2489,7 @@ export type FolderUpdateData = {
|
|
|
2534
2489
|
id: number;
|
|
2535
2490
|
};
|
|
2536
2491
|
query?: never;
|
|
2537
|
-
url:
|
|
2492
|
+
url: '/folders/{id}';
|
|
2538
2493
|
};
|
|
2539
2494
|
export type FolderUpdateErrors = {
|
|
2540
2495
|
/**
|
|
@@ -2571,7 +2526,7 @@ export type FolderAccessGetData = {
|
|
|
2571
2526
|
user: number;
|
|
2572
2527
|
};
|
|
2573
2528
|
query?: never;
|
|
2574
|
-
url:
|
|
2529
|
+
url: '/folders/access/{user}';
|
|
2575
2530
|
};
|
|
2576
2531
|
export type FolderAccessGetErrors = {
|
|
2577
2532
|
/**
|
|
@@ -2602,7 +2557,7 @@ export type LocationsDeleteData = {
|
|
|
2602
2557
|
id: number;
|
|
2603
2558
|
};
|
|
2604
2559
|
query?: never;
|
|
2605
|
-
url:
|
|
2560
|
+
url: '/locations/{id}';
|
|
2606
2561
|
};
|
|
2607
2562
|
export type LocationsDeleteErrors = {
|
|
2608
2563
|
/**
|
|
@@ -2639,7 +2594,7 @@ export type LocationsGetData = {
|
|
|
2639
2594
|
id: number;
|
|
2640
2595
|
};
|
|
2641
2596
|
query?: never;
|
|
2642
|
-
url:
|
|
2597
|
+
url: '/locations/{id}';
|
|
2643
2598
|
};
|
|
2644
2599
|
export type LocationsGetErrors = {
|
|
2645
2600
|
/**
|
|
@@ -2673,7 +2628,7 @@ export type LocationsPostData = {
|
|
|
2673
2628
|
id: number;
|
|
2674
2629
|
};
|
|
2675
2630
|
query?: never;
|
|
2676
|
-
url:
|
|
2631
|
+
url: '/locations/{id}';
|
|
2677
2632
|
};
|
|
2678
2633
|
export type LocationsPostErrors = {
|
|
2679
2634
|
/**
|
|
@@ -2707,10 +2662,10 @@ export type LocationsGetByTypeData = {
|
|
|
2707
2662
|
/**
|
|
2708
2663
|
* Location type filter
|
|
2709
2664
|
*/
|
|
2710
|
-
type:
|
|
2665
|
+
type: 'private' | 'public' | 'all';
|
|
2711
2666
|
};
|
|
2712
2667
|
query?: never;
|
|
2713
|
-
url:
|
|
2668
|
+
url: '/locations/{type}';
|
|
2714
2669
|
};
|
|
2715
2670
|
export type LocationsGetByTypeErrors = {
|
|
2716
2671
|
/**
|
|
@@ -2730,7 +2685,7 @@ export type LocationsGetAllData = {
|
|
|
2730
2685
|
body?: never;
|
|
2731
2686
|
path?: never;
|
|
2732
2687
|
query?: never;
|
|
2733
|
-
url:
|
|
2688
|
+
url: '/locations';
|
|
2734
2689
|
};
|
|
2735
2690
|
export type LocationsGetAllErrors = {
|
|
2736
2691
|
/**
|
|
@@ -2753,7 +2708,7 @@ export type LocationsCreateData = {
|
|
|
2753
2708
|
body: LocationDraft;
|
|
2754
2709
|
path?: never;
|
|
2755
2710
|
query?: never;
|
|
2756
|
-
url:
|
|
2711
|
+
url: '/locations';
|
|
2757
2712
|
};
|
|
2758
2713
|
export type LocationsCreateErrors = {
|
|
2759
2714
|
/**
|
|
@@ -2787,10 +2742,10 @@ export type LocationsLeafGetFilterData = {
|
|
|
2787
2742
|
/**
|
|
2788
2743
|
* Location filter
|
|
2789
2744
|
*/
|
|
2790
|
-
filter:
|
|
2745
|
+
filter: 'private' | 'public' | 'all';
|
|
2791
2746
|
};
|
|
2792
2747
|
query?: never;
|
|
2793
|
-
url:
|
|
2748
|
+
url: '/locations/leaf/{filter}';
|
|
2794
2749
|
};
|
|
2795
2750
|
export type LocationsLeafGetFilterErrors = {
|
|
2796
2751
|
/**
|
|
@@ -2817,13 +2772,11 @@ export type LogGetData = {
|
|
|
2817
2772
|
path?: never;
|
|
2818
2773
|
query?: {
|
|
2819
2774
|
/**
|
|
2820
|
-
* List of monitors to query. If both 'monitors' and 'folders' are omitted,
|
|
2821
|
-
* query all monitors. Format: Monitor name (string) or monitor ID (integer).
|
|
2775
|
+
* List of monitors to query. If both 'monitors' and 'folders' are omitted, query all monitors. Format: Monitor name (string) or monitor ID (integer).
|
|
2822
2776
|
*/
|
|
2823
2777
|
monitor?: Array<string>;
|
|
2824
2778
|
/**
|
|
2825
|
-
* List of folders to query. If both 'monitors' and 'folders' are omitted,
|
|
2826
|
-
* query all monitors. Format: Folder name (string) or folder ID (integer).
|
|
2779
|
+
* List of folders to query. If both 'monitors' and 'folders' are omitted, query all monitors. Format: Folder name (string) or folder ID (integer).
|
|
2827
2780
|
*/
|
|
2828
2781
|
folder?: Array<string>;
|
|
2829
2782
|
/**
|
|
@@ -2841,7 +2794,7 @@ export type LogGetData = {
|
|
|
2841
2794
|
/**
|
|
2842
2795
|
* Filter results by status.
|
|
2843
2796
|
*/
|
|
2844
|
-
status?:
|
|
2797
|
+
status?: 'error' | 'confirmed_error';
|
|
2845
2798
|
/**
|
|
2846
2799
|
* Show extended results.
|
|
2847
2800
|
*/
|
|
@@ -2851,7 +2804,7 @@ export type LogGetData = {
|
|
|
2851
2804
|
*/
|
|
2852
2805
|
limit?: number;
|
|
2853
2806
|
};
|
|
2854
|
-
url:
|
|
2807
|
+
url: '/log';
|
|
2855
2808
|
};
|
|
2856
2809
|
export type LogGetErrors = {
|
|
2857
2810
|
/**
|
|
@@ -2882,7 +2835,7 @@ export type LogGetEventData = {
|
|
|
2882
2835
|
id: string;
|
|
2883
2836
|
};
|
|
2884
2837
|
query?: never;
|
|
2885
|
-
url:
|
|
2838
|
+
url: '/log/{id}';
|
|
2886
2839
|
};
|
|
2887
2840
|
export type LogGetEventErrors = {
|
|
2888
2841
|
/**
|
|
@@ -2913,7 +2866,7 @@ export type MaintenanceGetData = {
|
|
|
2913
2866
|
*/
|
|
2914
2867
|
includeExpired?: boolean;
|
|
2915
2868
|
};
|
|
2916
|
-
url:
|
|
2869
|
+
url: '/maintenances';
|
|
2917
2870
|
};
|
|
2918
2871
|
export type MaintenanceGetErrors = {
|
|
2919
2872
|
/**
|
|
@@ -2938,7 +2891,7 @@ export type MaintenancesCreateData = {
|
|
|
2938
2891
|
body: MaintenanceItemCreate;
|
|
2939
2892
|
path?: never;
|
|
2940
2893
|
query?: never;
|
|
2941
|
-
url:
|
|
2894
|
+
url: '/maintenances';
|
|
2942
2895
|
};
|
|
2943
2896
|
export type MaintenancesCreateErrors = {
|
|
2944
2897
|
/**
|
|
@@ -2971,7 +2924,7 @@ export type MaintenanceDeleteData = {
|
|
|
2971
2924
|
id: number;
|
|
2972
2925
|
};
|
|
2973
2926
|
query?: never;
|
|
2974
|
-
url:
|
|
2927
|
+
url: '/maintenances/{id}';
|
|
2975
2928
|
};
|
|
2976
2929
|
export type MaintenanceDeleteErrors = {
|
|
2977
2930
|
/**
|
|
@@ -3002,7 +2955,7 @@ export type MaintenanceGetDetailData = {
|
|
|
3002
2955
|
id: number;
|
|
3003
2956
|
};
|
|
3004
2957
|
query?: never;
|
|
3005
|
-
url:
|
|
2958
|
+
url: '/maintenances/{id}';
|
|
3006
2959
|
};
|
|
3007
2960
|
export type MaintenanceGetDetailErrors = {
|
|
3008
2961
|
/**
|
|
@@ -3036,7 +2989,7 @@ export type MaintenancesUpdateData = {
|
|
|
3036
2989
|
id: number;
|
|
3037
2990
|
};
|
|
3038
2991
|
query?: never;
|
|
3039
|
-
url:
|
|
2992
|
+
url: '/maintenances/{id}';
|
|
3040
2993
|
};
|
|
3041
2994
|
export type MaintenancesUpdateErrors = {
|
|
3042
2995
|
/**
|
|
@@ -3069,7 +3022,7 @@ export type MaintenanceGetWindowsData = {
|
|
|
3069
3022
|
id: number;
|
|
3070
3023
|
};
|
|
3071
3024
|
query?: never;
|
|
3072
|
-
url:
|
|
3025
|
+
url: '/maintenances/{id}/windows';
|
|
3073
3026
|
};
|
|
3074
3027
|
export type MaintenanceGetWindowsErrors = {
|
|
3075
3028
|
/**
|
|
@@ -3096,7 +3049,7 @@ export type MaintenancesPostWindowsData = {
|
|
|
3096
3049
|
id: number;
|
|
3097
3050
|
};
|
|
3098
3051
|
query?: never;
|
|
3099
|
-
url:
|
|
3052
|
+
url: '/maintenances/{id}/windows';
|
|
3100
3053
|
};
|
|
3101
3054
|
export type MaintenancesPostWindowsErrors = {
|
|
3102
3055
|
/**
|
|
@@ -3139,7 +3092,7 @@ export type MaintenanceDeleteWindowsData = {
|
|
|
3139
3092
|
timeWindowId: number;
|
|
3140
3093
|
};
|
|
3141
3094
|
query?: never;
|
|
3142
|
-
url:
|
|
3095
|
+
url: '/maintenances/{maintenanceWindowId}/windows/{timeWindowId}';
|
|
3143
3096
|
};
|
|
3144
3097
|
export type MaintenanceDeleteWindowsErrors = {
|
|
3145
3098
|
/**
|
|
@@ -3176,7 +3129,7 @@ export type MaintenanceGetWindowsDetailData = {
|
|
|
3176
3129
|
timeWindowId: number;
|
|
3177
3130
|
};
|
|
3178
3131
|
query?: never;
|
|
3179
|
-
url:
|
|
3132
|
+
url: '/maintenances/{maintenanceWindowId}/windows/{timeWindowId}';
|
|
3180
3133
|
};
|
|
3181
3134
|
export type MaintenanceGetWindowsDetailErrors = {
|
|
3182
3135
|
/**
|
|
@@ -3207,7 +3160,7 @@ export type MaintenanceUpdateWindowsDetailData = {
|
|
|
3207
3160
|
timeWindowId: number;
|
|
3208
3161
|
};
|
|
3209
3162
|
query?: never;
|
|
3210
|
-
url:
|
|
3163
|
+
url: '/maintenances/{maintenanceWindowId}/windows/{timeWindowId}';
|
|
3211
3164
|
};
|
|
3212
3165
|
export type MaintenanceUpdateWindowsDetailErrors = {
|
|
3213
3166
|
/**
|
|
@@ -3232,7 +3185,7 @@ export type MaintenancesImmediateDeleteData = {
|
|
|
3232
3185
|
body: Array<number>;
|
|
3233
3186
|
path?: never;
|
|
3234
3187
|
query?: never;
|
|
3235
|
-
url:
|
|
3188
|
+
url: '/maintenances/immediate';
|
|
3236
3189
|
};
|
|
3237
3190
|
export type MaintenancesImmediateDeleteErrors = {
|
|
3238
3191
|
/**
|
|
@@ -3261,7 +3214,7 @@ export type MaintenancesImmediatePutData = {
|
|
|
3261
3214
|
body: MaintenanceItemImmediateCreate;
|
|
3262
3215
|
path?: never;
|
|
3263
3216
|
query?: never;
|
|
3264
|
-
url:
|
|
3217
|
+
url: '/maintenances/immediate';
|
|
3265
3218
|
};
|
|
3266
3219
|
export type MaintenancesImmediatePutErrors = {
|
|
3267
3220
|
/**
|
|
@@ -3296,8 +3249,7 @@ export type MessagesListData = {
|
|
|
3296
3249
|
*/
|
|
3297
3250
|
folderId?: number;
|
|
3298
3251
|
/**
|
|
3299
|
-
* Select messages that represent some monitor alert or not. Note: expire
|
|
3300
|
-
* certificate notifications are not alerts - they are not bound to a particular monitor or contact.
|
|
3252
|
+
* Select messages that represent some monitor alert or not. Note: expire certificate notifications are not alerts - they are not bound to a particular monitor or contact.
|
|
3301
3253
|
*/
|
|
3302
3254
|
isAlert?: boolean;
|
|
3303
3255
|
/**
|
|
@@ -3307,11 +3259,11 @@ export type MessagesListData = {
|
|
|
3307
3259
|
/**
|
|
3308
3260
|
* Select messages by message type.
|
|
3309
3261
|
*/
|
|
3310
|
-
type?:
|
|
3262
|
+
type?: 'email' | 'sms' | 'phone' | 'action' | 'rss';
|
|
3311
3263
|
/**
|
|
3312
3264
|
* Select messages by message status.
|
|
3313
3265
|
*/
|
|
3314
|
-
status?:
|
|
3266
|
+
status?: 'deleted' | 'queued' | 'gateway' | 'provider' | 'device' | 'accepted' | 'queued-no-fallback' | 'undeliverable' | 'suppressed';
|
|
3315
3267
|
/**
|
|
3316
3268
|
* Select messages by date and time when it was sent. It can also be provided as positive integer - the oldest message ID.
|
|
3317
3269
|
*/
|
|
@@ -3325,7 +3277,7 @@ export type MessagesListData = {
|
|
|
3325
3277
|
*/
|
|
3326
3278
|
limit?: number;
|
|
3327
3279
|
};
|
|
3328
|
-
url:
|
|
3280
|
+
url: '/messages';
|
|
3329
3281
|
};
|
|
3330
3282
|
export type MessagesListErrors = {
|
|
3331
3283
|
/**
|
|
@@ -3358,7 +3310,7 @@ export type MessageGetData = {
|
|
|
3358
3310
|
id: number;
|
|
3359
3311
|
};
|
|
3360
3312
|
query?: never;
|
|
3361
|
-
url:
|
|
3313
|
+
url: '/messages/{id}';
|
|
3362
3314
|
};
|
|
3363
3315
|
export type MessageGetErrors = {
|
|
3364
3316
|
/**
|
|
@@ -3379,15 +3331,11 @@ export type MonitorGetAllData = {
|
|
|
3379
3331
|
path?: never;
|
|
3380
3332
|
query?: {
|
|
3381
3333
|
/**
|
|
3382
|
-
* Flag for reading the simple and fast list of monitor frames. If true, the
|
|
3383
|
-
* simple monitor schemas (MonitorFrame) are returned in the response (which
|
|
3384
|
-
* should be slightly faster), the full schema (Monitor) otherwise
|
|
3334
|
+
* Flag for reading the simple and fast list of monitor frames. If true, the simple monitor schemas (MonitorFrame) are returned in the response (which should be slightly faster), the full schema (Monitor) otherwise
|
|
3385
3335
|
*/
|
|
3386
3336
|
framesOnly?: boolean;
|
|
3387
3337
|
/**
|
|
3388
|
-
* Flag for sending response together with the pagination information. If true,
|
|
3389
|
-
* the MonitorsPage schema is returned with pagination information, the simple
|
|
3390
|
-
* array of matching monitors otherwise.
|
|
3338
|
+
* Flag for sending response together with the pagination information. If true, the MonitorsPage schema is returned with pagination information, the simple array of matching monitors otherwise.
|
|
3391
3339
|
*/
|
|
3392
3340
|
pagination?: boolean;
|
|
3393
3341
|
/**
|
|
@@ -3401,11 +3349,11 @@ export type MonitorGetAllData = {
|
|
|
3401
3349
|
/**
|
|
3402
3350
|
* Select monitors user has this level of access.
|
|
3403
3351
|
*/
|
|
3404
|
-
accessLevel?:
|
|
3352
|
+
accessLevel?: 'view' | 'update' | 'create-delete';
|
|
3405
3353
|
/**
|
|
3406
3354
|
* Select monitors by type.
|
|
3407
3355
|
*/
|
|
3408
|
-
type?:
|
|
3356
|
+
type?: 'browser' | 'connect' | 'dnsa' | 'dnsns' | 'dns' | 'domain' | 'ftp' | 'ftps' | 'http' | 'https' | 'imap' | 'ldap' | 'ping' | 'plugin' | 'pop3' | 'scp' | 'script' | 'sftp' | 'sip' | 'smtp' | 'telnet' | 'webdriver';
|
|
3409
3357
|
/**
|
|
3410
3358
|
* Flag for filtering active monitors only.
|
|
3411
3359
|
*/
|
|
@@ -3421,7 +3369,7 @@ export type MonitorGetAllData = {
|
|
|
3421
3369
|
/**
|
|
3422
3370
|
* Flag for filtering monitors configured to use a proxy or not.
|
|
3423
3371
|
*/
|
|
3424
|
-
proxy?:
|
|
3372
|
+
proxy?: 'none' | 'system' | 'custom';
|
|
3425
3373
|
/**
|
|
3426
3374
|
* Flag for filtering monitors with authentication enabled.
|
|
3427
3375
|
*/
|
|
@@ -3439,11 +3387,9 @@ export type MonitorGetAllData = {
|
|
|
3439
3387
|
*/
|
|
3440
3388
|
name?: string;
|
|
3441
3389
|
/**
|
|
3442
|
-
* Match type for the monitor-by-name filtering. I nameMatchType is 'full'
|
|
3443
|
-
* (or empty as this is default) the name must be equal to the filter value,
|
|
3444
|
-
* if 'partial' the name must contain the filter value.
|
|
3390
|
+
* Match type for the monitor-by-name filtering. I nameMatchType is 'full' (or empty as this is default) the name must be equal to the filter value, if 'partial' the name must contain the filter value.
|
|
3445
3391
|
*/
|
|
3446
|
-
nameMatchType?:
|
|
3392
|
+
nameMatchType?: 'full' | 'partial';
|
|
3447
3393
|
/**
|
|
3448
3394
|
* Monitoring location ID.
|
|
3449
3395
|
*/
|
|
@@ -3453,9 +3399,7 @@ export type MonitorGetAllData = {
|
|
|
3453
3399
|
*/
|
|
3454
3400
|
stationId?: number;
|
|
3455
3401
|
/**
|
|
3456
|
-
* Flag for filtering by station or monitor ID. If true, find only monitors
|
|
3457
|
-
* explicitly configured for the location, i.e. do not select monitors with
|
|
3458
|
-
* empty (default) pool. Default is false for public stations / locations, true for OPMS.
|
|
3402
|
+
* Flag for filtering by station or monitor ID. If true, find only monitors explicitly configured for the location, i.e. do not select monitors with empty (default) pool. Default is false for public stations / locations, true for OPMS.
|
|
3459
3403
|
*/
|
|
3460
3404
|
explicitPoolOnly?: boolean;
|
|
3461
3405
|
/**
|
|
@@ -3479,7 +3423,7 @@ export type MonitorGetAllData = {
|
|
|
3479
3423
|
*/
|
|
3480
3424
|
order?: string;
|
|
3481
3425
|
};
|
|
3482
|
-
url:
|
|
3426
|
+
url: '/monitors';
|
|
3483
3427
|
};
|
|
3484
3428
|
export type MonitorGetAllErrors = {
|
|
3485
3429
|
/**
|
|
@@ -3508,7 +3452,7 @@ export type MonitorCreateData = {
|
|
|
3508
3452
|
body: BrowserCreate | ConnectCreate | DnsCreate | DnsaCreate | DnsnsCreate | DomainCreate | FtpCreate | FtpsCreate | HttpCreate | HttpsCreate | ImapCreate | LdapCreate | PingCreate | PluginCreate | Pop3Create | ScpCreate | ScriptCreate | SftpCreate | SipCreate | SmtpCreate | TelnetCreate | WebdriverCreate;
|
|
3509
3453
|
path?: never;
|
|
3510
3454
|
query?: never;
|
|
3511
|
-
url:
|
|
3455
|
+
url: '/monitors';
|
|
3512
3456
|
};
|
|
3513
3457
|
export type MonitorCreateErrors = {
|
|
3514
3458
|
/**
|
|
@@ -3545,7 +3489,7 @@ export type MonitorDeleteData = {
|
|
|
3545
3489
|
id: number;
|
|
3546
3490
|
};
|
|
3547
3491
|
query?: never;
|
|
3548
|
-
url:
|
|
3492
|
+
url: '/monitors/{id}';
|
|
3549
3493
|
};
|
|
3550
3494
|
export type MonitorDeleteErrors = {
|
|
3551
3495
|
/**
|
|
@@ -3572,8 +3516,13 @@ export type MonitorGetData = {
|
|
|
3572
3516
|
*/
|
|
3573
3517
|
id: number;
|
|
3574
3518
|
};
|
|
3575
|
-
query?:
|
|
3576
|
-
|
|
3519
|
+
query?: {
|
|
3520
|
+
/**
|
|
3521
|
+
* Export the full monitor schema
|
|
3522
|
+
*/
|
|
3523
|
+
export?: boolean;
|
|
3524
|
+
};
|
|
3525
|
+
url: '/monitors/{id}';
|
|
3577
3526
|
};
|
|
3578
3527
|
export type MonitorGetErrors = {
|
|
3579
3528
|
/**
|
|
@@ -3601,7 +3550,7 @@ export type MonitorUpdateData = {
|
|
|
3601
3550
|
id: number;
|
|
3602
3551
|
};
|
|
3603
3552
|
query?: never;
|
|
3604
|
-
url:
|
|
3553
|
+
url: '/monitors/{id}';
|
|
3605
3554
|
};
|
|
3606
3555
|
export type MonitorUpdateErrors = {
|
|
3607
3556
|
/**
|
|
@@ -3638,7 +3587,7 @@ export type MonitorActivateData = {
|
|
|
3638
3587
|
*/
|
|
3639
3588
|
monitor: Array<string>;
|
|
3640
3589
|
};
|
|
3641
|
-
url:
|
|
3590
|
+
url: '/monitors/activate';
|
|
3642
3591
|
};
|
|
3643
3592
|
export type MonitorActivateErrors = {
|
|
3644
3593
|
/**
|
|
@@ -3672,9 +3621,7 @@ export type MonitorActivateResponses = {
|
|
|
3672
3621
|
metadata?: BulkResponseMetadata;
|
|
3673
3622
|
};
|
|
3674
3623
|
/**
|
|
3675
|
-
* Multiple results. If the results in the bulk response have a mix of different HTTP
|
|
3676
|
-
* codes, the final HTTP code will be 207 Multi-status. In that case check the results
|
|
3677
|
-
* carefully one by one.
|
|
3624
|
+
* Multiple results. If the results in the bulk response have a mix of different HTTP codes, the final HTTP code will be 207 Multi-status. In that case check the results carefully one by one.
|
|
3678
3625
|
*/
|
|
3679
3626
|
207: {
|
|
3680
3627
|
status?: string;
|
|
@@ -3692,7 +3639,7 @@ export type MonitorDeactivateData = {
|
|
|
3692
3639
|
*/
|
|
3693
3640
|
monitor: Array<string>;
|
|
3694
3641
|
};
|
|
3695
|
-
url:
|
|
3642
|
+
url: '/monitors/deactivate';
|
|
3696
3643
|
};
|
|
3697
3644
|
export type MonitorDeactivateErrors = {
|
|
3698
3645
|
/**
|
|
@@ -3722,9 +3669,7 @@ export type MonitorDeactivateResponses = {
|
|
|
3722
3669
|
metadata?: BulkResponseMetadata;
|
|
3723
3670
|
};
|
|
3724
3671
|
/**
|
|
3725
|
-
* Multiple results. If the results in the bulk response have a mix of different HTTP codes,
|
|
3726
|
-
*
|
|
3727
|
-
* the final HTTP code will be 207 Multi-status. In that case check the results carefully one by one.
|
|
3672
|
+
* Multiple results. If the results in the bulk response have a mix of different HTTP codes, the final HTTP code will be 207 Multi-status. In that case check the results carefully one by one.
|
|
3728
3673
|
*/
|
|
3729
3674
|
207: {
|
|
3730
3675
|
status?: string;
|
|
@@ -3737,7 +3682,7 @@ export type OauthClientTokensListData = {
|
|
|
3737
3682
|
body?: never;
|
|
3738
3683
|
path?: never;
|
|
3739
3684
|
query?: never;
|
|
3740
|
-
url:
|
|
3685
|
+
url: '/oauth2';
|
|
3741
3686
|
};
|
|
3742
3687
|
export type OauthClientTokensListErrors = {
|
|
3743
3688
|
/**
|
|
@@ -3765,7 +3710,7 @@ export type OauthClientTokensCreateData = {
|
|
|
3765
3710
|
};
|
|
3766
3711
|
path?: never;
|
|
3767
3712
|
query?: never;
|
|
3768
|
-
url:
|
|
3713
|
+
url: '/oauth2';
|
|
3769
3714
|
};
|
|
3770
3715
|
export type OauthClientTokensCreateErrors = {
|
|
3771
3716
|
/**
|
|
@@ -3801,7 +3746,7 @@ export type OauthClientTokensDeleteData = {
|
|
|
3801
3746
|
id: number;
|
|
3802
3747
|
};
|
|
3803
3748
|
query?: never;
|
|
3804
|
-
url:
|
|
3749
|
+
url: '/oauth2/{id}';
|
|
3805
3750
|
};
|
|
3806
3751
|
export type OauthClientTokensDeleteErrors = {
|
|
3807
3752
|
/**
|
|
@@ -3832,7 +3777,7 @@ export type OauthClientTokensGetData = {
|
|
|
3832
3777
|
id: number;
|
|
3833
3778
|
};
|
|
3834
3779
|
query?: never;
|
|
3835
|
-
url:
|
|
3780
|
+
url: '/oauth2/{id}';
|
|
3836
3781
|
};
|
|
3837
3782
|
export type OauthClientTokensGetErrors = {
|
|
3838
3783
|
/**
|
|
@@ -3869,7 +3814,7 @@ export type OauthClientTokensUpdateData = {
|
|
|
3869
3814
|
id: number;
|
|
3870
3815
|
};
|
|
3871
3816
|
query?: never;
|
|
3872
|
-
url:
|
|
3817
|
+
url: '/oauth2/{id}';
|
|
3873
3818
|
};
|
|
3874
3819
|
export type OauthClientTokensUpdateErrors = {
|
|
3875
3820
|
/**
|
|
@@ -3896,7 +3841,7 @@ export type OauthTokenDeleteCurrentData = {
|
|
|
3896
3841
|
body?: never;
|
|
3897
3842
|
path?: never;
|
|
3898
3843
|
query?: never;
|
|
3899
|
-
url:
|
|
3844
|
+
url: '/oauth2/token';
|
|
3900
3845
|
};
|
|
3901
3846
|
export type OauthTokenDeleteCurrentErrors = {
|
|
3902
3847
|
/**
|
|
@@ -3922,7 +3867,7 @@ export type OauthGetTokenListData = {
|
|
|
3922
3867
|
*/
|
|
3923
3868
|
expired?: boolean;
|
|
3924
3869
|
};
|
|
3925
|
-
url:
|
|
3870
|
+
url: '/oauth2/token';
|
|
3926
3871
|
};
|
|
3927
3872
|
export type OauthGetTokenListErrors = {
|
|
3928
3873
|
/**
|
|
@@ -3942,7 +3887,7 @@ export type OauthCreateTokenData = {
|
|
|
3942
3887
|
/**
|
|
3943
3888
|
* The grant type according to OAuth2 specification
|
|
3944
3889
|
*/
|
|
3945
|
-
grant_type:
|
|
3890
|
+
grant_type: 'authorization_code' | 'client_credentials' | 'refresh_token';
|
|
3946
3891
|
/**
|
|
3947
3892
|
* The client ID, required for client_credentials and authorization_code grants.
|
|
3948
3893
|
*/
|
|
@@ -3966,7 +3911,7 @@ export type OauthCreateTokenData = {
|
|
|
3966
3911
|
};
|
|
3967
3912
|
path?: never;
|
|
3968
3913
|
query?: never;
|
|
3969
|
-
url:
|
|
3914
|
+
url: '/oauth2/token';
|
|
3970
3915
|
};
|
|
3971
3916
|
export type OauthCreateTokenErrors = {
|
|
3972
3917
|
/**
|
|
@@ -4034,7 +3979,7 @@ export type OauthGetRefreshTokenListData = {
|
|
|
4034
3979
|
*/
|
|
4035
3980
|
expired?: boolean;
|
|
4036
3981
|
};
|
|
4037
|
-
url:
|
|
3982
|
+
url: '/oauth2/refreshtoken';
|
|
4038
3983
|
};
|
|
4039
3984
|
export type OauthGetRefreshTokenListErrors = {
|
|
4040
3985
|
/**
|
|
@@ -4058,7 +4003,7 @@ export type OauthTokenDeleteData = {
|
|
|
4058
4003
|
token: string | number;
|
|
4059
4004
|
};
|
|
4060
4005
|
query?: never;
|
|
4061
|
-
url:
|
|
4006
|
+
url: '/oauth2/token/{token}';
|
|
4062
4007
|
};
|
|
4063
4008
|
export type OauthTokenDeleteErrors = {
|
|
4064
4009
|
/**
|
|
@@ -4081,7 +4026,7 @@ export type OauthRefreshTokenDeleteIdData = {
|
|
|
4081
4026
|
id: number;
|
|
4082
4027
|
};
|
|
4083
4028
|
query?: never;
|
|
4084
|
-
url:
|
|
4029
|
+
url: '/oauth2/refreshtoken/{id}';
|
|
4085
4030
|
};
|
|
4086
4031
|
export type OauthRefreshTokenDeleteIdErrors = {
|
|
4087
4032
|
/**
|
|
@@ -4103,7 +4048,7 @@ export type OauthTokenCognateDeleteCurrentData = {
|
|
|
4103
4048
|
body?: never;
|
|
4104
4049
|
path?: never;
|
|
4105
4050
|
query?: never;
|
|
4106
|
-
url:
|
|
4051
|
+
url: '/oauth2/cognate-tokens';
|
|
4107
4052
|
};
|
|
4108
4053
|
export type OauthTokenCognateDeleteCurrentErrors = {
|
|
4109
4054
|
/**
|
|
@@ -4129,7 +4074,7 @@ export type OauthTokenCognateDeleteData = {
|
|
|
4129
4074
|
token: string;
|
|
4130
4075
|
};
|
|
4131
4076
|
query?: never;
|
|
4132
|
-
url:
|
|
4077
|
+
url: '/oauth2/cognate-tokens/{token}';
|
|
4133
4078
|
};
|
|
4134
4079
|
export type OauthTokenCognateDeleteErrors = {
|
|
4135
4080
|
/**
|
|
@@ -4150,7 +4095,7 @@ export type SettingsGetData = {
|
|
|
4150
4095
|
body?: never;
|
|
4151
4096
|
path?: never;
|
|
4152
4097
|
query?: never;
|
|
4153
|
-
url:
|
|
4098
|
+
url: '/settings';
|
|
4154
4099
|
};
|
|
4155
4100
|
export type SettingsGetErrors = {
|
|
4156
4101
|
/**
|
|
@@ -4175,7 +4120,7 @@ export type SettingsGetDetailData = {
|
|
|
4175
4120
|
name: string;
|
|
4176
4121
|
};
|
|
4177
4122
|
query?: never;
|
|
4178
|
-
url:
|
|
4123
|
+
url: '/settings/{name}';
|
|
4179
4124
|
};
|
|
4180
4125
|
export type SettingsGetDetailErrors = {
|
|
4181
4126
|
/**
|
|
@@ -4209,7 +4154,7 @@ export type SettingsUpdateData = {
|
|
|
4209
4154
|
name: string;
|
|
4210
4155
|
};
|
|
4211
4156
|
query?: never;
|
|
4212
|
-
url:
|
|
4157
|
+
url: '/settings/{name}';
|
|
4213
4158
|
};
|
|
4214
4159
|
export type SettingsUpdateErrors = {
|
|
4215
4160
|
/**
|
|
@@ -4237,7 +4182,7 @@ export type StationsListData = {
|
|
|
4237
4182
|
body?: never;
|
|
4238
4183
|
path?: never;
|
|
4239
4184
|
query?: never;
|
|
4240
|
-
url:
|
|
4185
|
+
url: '/stations';
|
|
4241
4186
|
};
|
|
4242
4187
|
export type StationsListErrors = {
|
|
4243
4188
|
/**
|
|
@@ -4257,7 +4202,7 @@ export type StationsCreateData = {
|
|
|
4257
4202
|
body?: StationItemCreate;
|
|
4258
4203
|
path?: never;
|
|
4259
4204
|
query?: never;
|
|
4260
|
-
url:
|
|
4205
|
+
url: '/stations';
|
|
4261
4206
|
};
|
|
4262
4207
|
export type StationsCreateErrors = {
|
|
4263
4208
|
/**
|
|
@@ -4292,7 +4237,7 @@ export type StationDeleteData = {
|
|
|
4292
4237
|
id: number;
|
|
4293
4238
|
};
|
|
4294
4239
|
query?: never;
|
|
4295
|
-
url:
|
|
4240
|
+
url: '/stations/{id}';
|
|
4296
4241
|
};
|
|
4297
4242
|
export type StationDeleteErrors = {
|
|
4298
4243
|
/**
|
|
@@ -4323,7 +4268,7 @@ export type StationsGetData = {
|
|
|
4323
4268
|
id: number;
|
|
4324
4269
|
};
|
|
4325
4270
|
query?: never;
|
|
4326
|
-
url:
|
|
4271
|
+
url: '/stations/{id}';
|
|
4327
4272
|
};
|
|
4328
4273
|
export type StationsGetErrors = {
|
|
4329
4274
|
/**
|
|
@@ -4354,7 +4299,7 @@ export type StationsUpdateData = {
|
|
|
4354
4299
|
id: number;
|
|
4355
4300
|
};
|
|
4356
4301
|
query?: never;
|
|
4357
|
-
url:
|
|
4302
|
+
url: '/stations/{id}';
|
|
4358
4303
|
};
|
|
4359
4304
|
export type StationsUpdateErrors = {
|
|
4360
4305
|
/**
|
|
@@ -4389,7 +4334,7 @@ export type StationsDeleteMaintenanceData = {
|
|
|
4389
4334
|
id: number;
|
|
4390
4335
|
};
|
|
4391
4336
|
query?: never;
|
|
4392
|
-
url:
|
|
4337
|
+
url: '/stations/maintenance/{id}';
|
|
4393
4338
|
};
|
|
4394
4339
|
export type StationsDeleteMaintenanceErrors = {
|
|
4395
4340
|
/**
|
|
@@ -4424,7 +4369,7 @@ export type StationsPutMaintenanceData = {
|
|
|
4424
4369
|
id: number;
|
|
4425
4370
|
};
|
|
4426
4371
|
query?: never;
|
|
4427
|
-
url:
|
|
4372
|
+
url: '/stations/maintenance/{id}';
|
|
4428
4373
|
};
|
|
4429
4374
|
export type StationsPutMaintenanceErrors = {
|
|
4430
4375
|
/**
|
|
@@ -4454,7 +4399,7 @@ export type StationsOnpremiseListData = {
|
|
|
4454
4399
|
body?: never;
|
|
4455
4400
|
path?: never;
|
|
4456
4401
|
query?: never;
|
|
4457
|
-
url:
|
|
4402
|
+
url: '/stations/onpremise';
|
|
4458
4403
|
};
|
|
4459
4404
|
export type StationsOnpremiseListErrors = {
|
|
4460
4405
|
/**
|
|
@@ -4474,7 +4419,7 @@ export type StationsOnpremiseConnectedData = {
|
|
|
4474
4419
|
body?: never;
|
|
4475
4420
|
path?: never;
|
|
4476
4421
|
query?: never;
|
|
4477
|
-
url:
|
|
4422
|
+
url: '/stations/onpremise/connected';
|
|
4478
4423
|
};
|
|
4479
4424
|
export type StationsOnpremiseConnectedErrors = {
|
|
4480
4425
|
/**
|
|
@@ -4494,7 +4439,7 @@ export type StationsOnpremiseConnectedAllData = {
|
|
|
4494
4439
|
body?: never;
|
|
4495
4440
|
path?: never;
|
|
4496
4441
|
query?: never;
|
|
4497
|
-
url:
|
|
4442
|
+
url: '/stations/onpremise/connected/all';
|
|
4498
4443
|
};
|
|
4499
4444
|
export type StationsOnpremiseConnectedAllErrors = {
|
|
4500
4445
|
/**
|
|
@@ -4514,7 +4459,7 @@ export type StationsLatestData = {
|
|
|
4514
4459
|
body?: never;
|
|
4515
4460
|
path?: never;
|
|
4516
4461
|
query?: never;
|
|
4517
|
-
url:
|
|
4462
|
+
url: '/stations/latest';
|
|
4518
4463
|
};
|
|
4519
4464
|
export type StationsLatestResponses = {
|
|
4520
4465
|
/**
|
|
@@ -4529,14 +4474,14 @@ export type StationsAgentTypeData = {
|
|
|
4529
4474
|
/**
|
|
4530
4475
|
* The new agent to use
|
|
4531
4476
|
*/
|
|
4532
|
-
agent:
|
|
4477
|
+
agent: 'ccagent' | 'cbot';
|
|
4533
4478
|
/**
|
|
4534
4479
|
* The ID of the station
|
|
4535
4480
|
*/
|
|
4536
4481
|
id: number;
|
|
4537
4482
|
};
|
|
4538
4483
|
query?: never;
|
|
4539
|
-
url:
|
|
4484
|
+
url: '/stations/{agent}/{id}';
|
|
4540
4485
|
};
|
|
4541
4486
|
export type StationsAgentTypeErrors = {
|
|
4542
4487
|
/**
|
|
@@ -4567,7 +4512,7 @@ export type StationsGetAgentsData = {
|
|
|
4567
4512
|
id: number;
|
|
4568
4513
|
};
|
|
4569
4514
|
query?: never;
|
|
4570
|
-
url:
|
|
4515
|
+
url: '/stations/agents/{id}';
|
|
4571
4516
|
};
|
|
4572
4517
|
export type StationsGetAgentsErrors = {
|
|
4573
4518
|
/**
|
|
@@ -4594,13 +4539,11 @@ export type StatisticData = {
|
|
|
4594
4539
|
path?: never;
|
|
4595
4540
|
query: {
|
|
4596
4541
|
/**
|
|
4597
|
-
* List of monitors to query. If both 'monitors' and 'folders' are omitted,
|
|
4598
|
-
* query all monitors. Format: Monitor name (string) or monitor ID (integer).
|
|
4542
|
+
* List of monitors to query. If both 'monitors' and 'folders' are omitted, query all monitors. Format: Monitor name (string) or monitor ID (integer).
|
|
4599
4543
|
*/
|
|
4600
4544
|
monitor?: Array<string>;
|
|
4601
4545
|
/**
|
|
4602
|
-
* List of folders to query. If both 'monitors' and 'folders' are omitted,
|
|
4603
|
-
* query all monitors. Format: Folder name (string) or folder ID (integer).
|
|
4546
|
+
* List of folders to query. If both 'monitors' and 'folders' are omitted, query all monitors. Format: Folder name (string) or folder ID (integer).
|
|
4604
4547
|
*/
|
|
4605
4548
|
folder?: Array<string>;
|
|
4606
4549
|
/**
|
|
@@ -4622,13 +4565,13 @@ export type StatisticData = {
|
|
|
4622
4565
|
/**
|
|
4623
4566
|
* Group results by monitor or location.
|
|
4624
4567
|
*/
|
|
4625
|
-
groupBy?:
|
|
4568
|
+
groupBy?: 'monitor' | 'location';
|
|
4626
4569
|
/**
|
|
4627
4570
|
* List of metrics to return. If omitted, return all metrics.
|
|
4628
4571
|
*/
|
|
4629
4572
|
metric?: Array<string>;
|
|
4630
4573
|
};
|
|
4631
|
-
url:
|
|
4574
|
+
url: '/statistic';
|
|
4632
4575
|
};
|
|
4633
4576
|
export type StatisticErrors = {
|
|
4634
4577
|
/**
|
|
@@ -4652,7 +4595,7 @@ export type TagsGetAllData = {
|
|
|
4652
4595
|
body?: never;
|
|
4653
4596
|
path?: never;
|
|
4654
4597
|
query?: never;
|
|
4655
|
-
url:
|
|
4598
|
+
url: '/tags';
|
|
4656
4599
|
};
|
|
4657
4600
|
export type TagsGetAllErrors = {
|
|
4658
4601
|
/**
|
|
@@ -4674,7 +4617,7 @@ export type TimezonesListData = {
|
|
|
4674
4617
|
body?: never;
|
|
4675
4618
|
path?: never;
|
|
4676
4619
|
query?: never;
|
|
4677
|
-
url:
|
|
4620
|
+
url: '/timezones';
|
|
4678
4621
|
};
|
|
4679
4622
|
export type TimezonesListErrors = {
|
|
4680
4623
|
/**
|
|
@@ -4696,7 +4639,7 @@ export type UserGetData = {
|
|
|
4696
4639
|
body?: never;
|
|
4697
4640
|
path?: never;
|
|
4698
4641
|
query?: never;
|
|
4699
|
-
url:
|
|
4642
|
+
url: '/user';
|
|
4700
4643
|
};
|
|
4701
4644
|
export type UserGetErrors = {
|
|
4702
4645
|
/**
|
|
@@ -4716,7 +4659,7 @@ export type UserSubaccountsGetData = {
|
|
|
4716
4659
|
body?: never;
|
|
4717
4660
|
path?: never;
|
|
4718
4661
|
query?: never;
|
|
4719
|
-
url:
|
|
4662
|
+
url: '/user/subaccounts';
|
|
4720
4663
|
};
|
|
4721
4664
|
export type UserSubaccountsGetErrors = {
|
|
4722
4665
|
/**
|
|
@@ -4739,7 +4682,7 @@ export type UserSubaccountsPostData = {
|
|
|
4739
4682
|
body: UserCreate;
|
|
4740
4683
|
path?: never;
|
|
4741
4684
|
query?: never;
|
|
4742
|
-
url:
|
|
4685
|
+
url: '/user/subaccounts';
|
|
4743
4686
|
};
|
|
4744
4687
|
export type UserSubaccountsPostErrors = {
|
|
4745
4688
|
/**
|
|
@@ -4770,7 +4713,7 @@ export type UserBlockDeleteData = {
|
|
|
4770
4713
|
id: number;
|
|
4771
4714
|
};
|
|
4772
4715
|
query?: never;
|
|
4773
|
-
url:
|
|
4716
|
+
url: '/user/block/{id}';
|
|
4774
4717
|
};
|
|
4775
4718
|
export type UserBlockDeleteErrors = {
|
|
4776
4719
|
/**
|
|
@@ -4805,7 +4748,7 @@ export type UserBlockPutData = {
|
|
|
4805
4748
|
id: number;
|
|
4806
4749
|
};
|
|
4807
4750
|
query?: never;
|
|
4808
|
-
url:
|
|
4751
|
+
url: '/user/block/{id}';
|
|
4809
4752
|
};
|
|
4810
4753
|
export type UserBlockPutErrors = {
|
|
4811
4754
|
/**
|
|
@@ -4840,7 +4783,7 @@ export type UserLockDeleteData = {
|
|
|
4840
4783
|
id: number;
|
|
4841
4784
|
};
|
|
4842
4785
|
query?: never;
|
|
4843
|
-
url:
|
|
4786
|
+
url: '/user/lock/{id}';
|
|
4844
4787
|
};
|
|
4845
4788
|
export type UserLockDeleteErrors = {
|
|
4846
4789
|
/**
|
|
@@ -4875,7 +4818,7 @@ export type UserDeleteData = {
|
|
|
4875
4818
|
id: number;
|
|
4876
4819
|
};
|
|
4877
4820
|
query?: never;
|
|
4878
|
-
url:
|
|
4821
|
+
url: '/user/{id}';
|
|
4879
4822
|
};
|
|
4880
4823
|
export type UserDeleteErrors = {
|
|
4881
4824
|
/**
|
|
@@ -4909,7 +4852,7 @@ export type UserPutData = {
|
|
|
4909
4852
|
id: number;
|
|
4910
4853
|
};
|
|
4911
4854
|
query?: never;
|
|
4912
|
-
url:
|
|
4855
|
+
url: '/user/{id}';
|
|
4913
4856
|
};
|
|
4914
4857
|
export type UserPutErrors = {
|
|
4915
4858
|
/**
|