@redhat-cloud-services/notifications-client 2.5.3 → 2.5.4

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/api.d.ts CHANGED
@@ -16,2007 +16,779 @@ import { BaseAPI } from './base';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface AddAccessRequest
19
+ * @interface Application
20
20
  */
21
- export interface AddAccessRequest {
21
+ export interface Application {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof AddAccessRequest
25
+ * @memberof Application
26
26
  */
27
- 'role'?: string;
27
+ 'created'?: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof AddAccessRequest
31
+ * @memberof Application
32
32
  */
33
- 'application_id'?: string;
34
- }
35
- /**
36
- *
37
- * @export
38
- * @interface AddApplicationRequest
39
- */
40
- export interface AddApplicationRequest {
33
+ 'updated'?: string;
41
34
  /**
42
35
  *
43
36
  * @type {string}
44
- * @memberof AddApplicationRequest
37
+ * @memberof Application
45
38
  */
46
- 'name': string;
39
+ 'id'?: string;
47
40
  /**
48
41
  *
49
42
  * @type {string}
50
- * @memberof AddApplicationRequest
43
+ * @memberof Application
51
44
  */
52
- 'display_name': string;
45
+ 'name': string;
53
46
  /**
54
47
  *
55
48
  * @type {string}
56
- * @memberof AddApplicationRequest
49
+ * @memberof Application
57
50
  */
58
- 'bundle_id': string;
51
+ 'display_name': string;
59
52
  /**
60
53
  *
61
54
  * @type {string}
62
- * @memberof AddApplicationRequest
55
+ * @memberof Application
63
56
  */
64
- 'owner_role'?: string;
57
+ 'bundle_id': string;
65
58
  }
66
59
  /**
67
60
  *
68
61
  * @export
69
- * @interface AggregationEmailTemplate
62
+ * @interface BehaviorGroup
70
63
  */
71
- export interface AggregationEmailTemplate {
64
+ export interface BehaviorGroup {
72
65
  /**
73
66
  *
74
67
  * @type {string}
75
- * @memberof AggregationEmailTemplate
68
+ * @memberof BehaviorGroup
76
69
  */
77
70
  'created'?: string;
78
71
  /**
79
72
  *
80
73
  * @type {string}
81
- * @memberof AggregationEmailTemplate
74
+ * @memberof BehaviorGroup
82
75
  */
83
76
  'updated'?: string;
84
77
  /**
85
78
  *
86
79
  * @type {string}
87
- * @memberof AggregationEmailTemplate
80
+ * @memberof BehaviorGroup
88
81
  */
89
82
  'id'?: string;
90
- /**
91
- *
92
- * @type {Application}
93
- * @memberof AggregationEmailTemplate
94
- */
95
- 'application'?: Application;
96
83
  /**
97
84
  *
98
85
  * @type {string}
99
- * @memberof AggregationEmailTemplate
86
+ * @memberof BehaviorGroup
100
87
  */
101
- 'application_id'?: string;
88
+ 'display_name': string;
102
89
  /**
103
90
  *
104
- * @type {SubscriptionType}
105
- * @memberof AggregationEmailTemplate
91
+ * @type {string}
92
+ * @memberof BehaviorGroup
106
93
  */
107
- 'subscription_type': SubscriptionType;
94
+ 'bundle_id': string;
108
95
  /**
109
96
  *
110
- * @type {AggregationEmailTemplateSubjectTemplate}
111
- * @memberof AggregationEmailTemplate
97
+ * @type {Bundle}
98
+ * @memberof BehaviorGroup
112
99
  */
113
- 'subject_template'?: AggregationEmailTemplateSubjectTemplate;
100
+ 'bundle'?: Bundle;
114
101
  /**
115
102
  *
116
- * @type {string}
117
- * @memberof AggregationEmailTemplate
103
+ * @type {Array<BehaviorGroupAction>}
104
+ * @memberof BehaviorGroup
118
105
  */
119
- 'subject_template_id': string;
106
+ 'actions'?: Array<BehaviorGroupAction>;
120
107
  /**
121
108
  *
122
- * @type {AggregationEmailTemplateSubjectTemplate}
123
- * @memberof AggregationEmailTemplate
109
+ * @type {Set<EventTypeBehavior>}
110
+ * @memberof BehaviorGroup
124
111
  */
125
- 'body_template'?: AggregationEmailTemplateSubjectTemplate;
112
+ 'behaviors'?: Set<EventTypeBehavior>;
126
113
  /**
127
114
  *
128
- * @type {string}
129
- * @memberof AggregationEmailTemplate
115
+ * @type {boolean}
116
+ * @memberof BehaviorGroup
130
117
  */
131
- 'body_template_id': string;
118
+ 'default_behavior'?: boolean;
132
119
  }
133
120
  /**
134
121
  *
135
122
  * @export
136
- * @interface AggregationEmailTemplateSubjectTemplate
123
+ * @interface BehaviorGroupAction
137
124
  */
138
- export interface AggregationEmailTemplateSubjectTemplate {
125
+ export interface BehaviorGroupAction {
139
126
  /**
140
127
  *
141
128
  * @type {string}
142
- * @memberof AggregationEmailTemplateSubjectTemplate
129
+ * @memberof BehaviorGroupAction
143
130
  */
144
131
  'created'?: string;
145
132
  /**
146
133
  *
147
- * @type {string}
148
- * @memberof AggregationEmailTemplateSubjectTemplate
149
- */
150
- 'updated'?: string;
151
- /**
152
- *
153
- * @type {string}
154
- * @memberof AggregationEmailTemplateSubjectTemplate
134
+ * @type {BehaviorGroupActionId}
135
+ * @memberof BehaviorGroupAction
155
136
  */
156
- 'id'?: string;
137
+ 'id'?: BehaviorGroupActionId;
157
138
  /**
158
139
  *
159
- * @type {string}
160
- * @memberof AggregationEmailTemplateSubjectTemplate
140
+ * @type {Endpoint}
141
+ * @memberof BehaviorGroupAction
161
142
  */
162
- 'name': string;
143
+ 'endpoint'?: Endpoint;
144
+ }
145
+ /**
146
+ *
147
+ * @export
148
+ * @interface BehaviorGroupActionId
149
+ */
150
+ export interface BehaviorGroupActionId {
163
151
  /**
164
152
  *
165
153
  * @type {string}
166
- * @memberof AggregationEmailTemplateSubjectTemplate
154
+ * @memberof BehaviorGroupActionId
167
155
  */
168
- 'description': string;
156
+ 'behaviorGroupId': string;
169
157
  /**
170
158
  *
171
159
  * @type {string}
172
- * @memberof AggregationEmailTemplateSubjectTemplate
160
+ * @memberof BehaviorGroupActionId
173
161
  */
174
- 'data': string;
162
+ 'endpointId': string;
175
163
  }
176
164
  /**
177
165
  *
178
166
  * @export
179
- * @interface Application
167
+ * @interface Bundle
180
168
  */
181
- export interface Application {
169
+ export interface Bundle {
182
170
  /**
183
171
  *
184
172
  * @type {string}
185
- * @memberof Application
173
+ * @memberof Bundle
186
174
  */
187
175
  'created'?: string;
188
176
  /**
189
177
  *
190
178
  * @type {string}
191
- * @memberof Application
179
+ * @memberof Bundle
192
180
  */
193
181
  'updated'?: string;
194
182
  /**
195
183
  *
196
184
  * @type {string}
197
- * @memberof Application
185
+ * @memberof Bundle
198
186
  */
199
187
  'id'?: string;
200
188
  /**
201
189
  *
202
190
  * @type {string}
203
- * @memberof Application
191
+ * @memberof Bundle
204
192
  */
205
193
  'name': string;
206
194
  /**
207
195
  *
208
196
  * @type {string}
209
- * @memberof Application
197
+ * @memberof Bundle
210
198
  */
211
199
  'display_name': string;
212
- /**
213
- *
214
- * @type {string}
215
- * @memberof Application
216
- */
217
- 'bundle_id': string;
218
200
  }
219
201
  /**
220
202
  *
221
203
  * @export
222
- * @interface Application1
204
+ * @interface CreateBehaviorGroupRequest
223
205
  */
224
- export interface Application1 {
206
+ export interface CreateBehaviorGroupRequest {
207
+ /**
208
+ *
209
+ * @type {string}
210
+ * @memberof CreateBehaviorGroupRequest
211
+ */
212
+ 'bundle_id'?: string;
225
213
  /**
226
214
  *
227
215
  * @type {string}
228
- * @memberof Application1
216
+ * @memberof CreateBehaviorGroupRequest
229
217
  */
230
- 'id': string;
218
+ 'bundle_name'?: string;
231
219
  /**
232
220
  *
233
221
  * @type {string}
234
- * @memberof Application1
222
+ * @memberof CreateBehaviorGroupRequest
235
223
  */
236
224
  'display_name': string;
225
+ /**
226
+ *
227
+ * @type {Array<string>}
228
+ * @memberof CreateBehaviorGroupRequest
229
+ */
230
+ 'endpoint_ids'?: Array<string>;
231
+ /**
232
+ *
233
+ * @type {Set<string>}
234
+ * @memberof CreateBehaviorGroupRequest
235
+ */
236
+ 'event_type_ids'?: Set<string>;
237
+ /**
238
+ *
239
+ * @type {boolean}
240
+ * @memberof CreateBehaviorGroupRequest
241
+ */
242
+ 'bundle_uuid_or_bundle_name_valid'?: boolean;
237
243
  }
238
244
  /**
239
245
  *
240
246
  * @export
241
- * @interface ApplicationDTO
247
+ * @interface CreateBehaviorGroupResponse
242
248
  */
243
- export interface ApplicationDTO {
249
+ export interface CreateBehaviorGroupResponse {
244
250
  /**
245
251
  *
246
252
  * @type {string}
247
- * @memberof ApplicationDTO
253
+ * @memberof CreateBehaviorGroupResponse
248
254
  */
249
- 'id'?: string;
255
+ 'id': string;
250
256
  /**
251
257
  *
252
258
  * @type {string}
253
- * @memberof ApplicationDTO
259
+ * @memberof CreateBehaviorGroupResponse
254
260
  */
255
- 'name': string;
261
+ 'bundle_id': string;
256
262
  /**
257
263
  *
258
264
  * @type {string}
259
- * @memberof ApplicationDTO
265
+ * @memberof CreateBehaviorGroupResponse
260
266
  */
261
267
  'display_name': string;
262
268
  /**
263
269
  *
264
- * @type {string}
265
- * @memberof ApplicationDTO
270
+ * @type {Array<string>}
271
+ * @memberof CreateBehaviorGroupResponse
266
272
  */
267
- 'bundle_id': string;
273
+ 'endpoints': Array<string>;
274
+ /**
275
+ *
276
+ * @type {Set<string>}
277
+ * @memberof CreateBehaviorGroupResponse
278
+ */
279
+ 'event_types': Set<string>;
268
280
  /**
269
281
  *
270
- * @type {Set<EventTypeDTO>}
271
- * @memberof ApplicationDTO
282
+ * @type {string}
283
+ * @memberof CreateBehaviorGroupResponse
272
284
  */
273
- 'event_types'?: Set<EventTypeDTO>;
285
+ 'created': string;
274
286
  }
275
287
  /**
276
288
  *
277
289
  * @export
278
- * @interface ApplicationDTO1
290
+ * @interface DrawerEntryPayload
279
291
  */
280
- export interface ApplicationDTO1 {
292
+ export interface DrawerEntryPayload {
281
293
  /**
282
294
  *
283
295
  * @type {string}
284
- * @memberof ApplicationDTO1
296
+ * @memberof DrawerEntryPayload
285
297
  */
286
298
  'id'?: string;
287
299
  /**
288
300
  *
289
301
  * @type {string}
290
- * @memberof ApplicationDTO1
291
- */
292
- 'name': string;
293
- /**
294
- *
295
- * @type {string}
296
- * @memberof ApplicationDTO1
297
- */
298
- 'display_name': string;
299
- /**
300
- *
301
- * @type {string}
302
- * @memberof ApplicationDTO1
302
+ * @memberof DrawerEntryPayload
303
303
  */
304
- 'bundle_id': string;
304
+ 'description'?: string;
305
305
  /**
306
306
  *
307
307
  * @type {string}
308
- * @memberof ApplicationDTO1
308
+ * @memberof DrawerEntryPayload
309
309
  */
310
- 'owner_role'?: string;
310
+ 'title'?: string;
311
311
  /**
312
312
  *
313
313
  * @type {string}
314
- * @memberof ApplicationDTO1
314
+ * @memberof DrawerEntryPayload
315
315
  */
316
316
  'created'?: string;
317
- }
318
- /**
319
- *
320
- * @export
321
- * @interface ApplicationSettingsValue
322
- */
323
- export interface ApplicationSettingsValue {
324
317
  /**
325
318
  *
326
- * @type {{ [key: string]: EventTypeSettingsValue; }}
327
- * @memberof ApplicationSettingsValue
319
+ * @type {boolean}
320
+ * @memberof DrawerEntryPayload
328
321
  */
329
- 'eventTypes'?: {
330
- [key: string]: EventTypeSettingsValue;
331
- };
332
- }
333
- /**
334
- *
335
- * @export
336
- * @interface BasicAuthenticationDTO
337
- */
338
- export interface BasicAuthenticationDTO {
322
+ 'read': boolean;
339
323
  /**
340
324
  *
341
325
  * @type {string}
342
- * @memberof BasicAuthenticationDTO
326
+ * @memberof DrawerEntryPayload
343
327
  */
344
- 'username'?: string;
328
+ 'source'?: string;
345
329
  /**
346
330
  *
347
331
  * @type {string}
348
- * @memberof BasicAuthenticationDTO
332
+ * @memberof DrawerEntryPayload
349
333
  */
350
- 'password'?: string;
334
+ 'bundle'?: string;
351
335
  }
352
336
  /**
353
337
  *
354
338
  * @export
355
- * @interface BehaviorGroup
339
+ * @interface Endpoint
356
340
  */
357
- export interface BehaviorGroup {
341
+ export interface Endpoint {
358
342
  /**
359
343
  *
360
344
  * @type {string}
361
- * @memberof BehaviorGroup
345
+ * @memberof Endpoint
362
346
  */
363
347
  'created'?: string;
364
348
  /**
365
349
  *
366
350
  * @type {string}
367
- * @memberof BehaviorGroup
351
+ * @memberof Endpoint
368
352
  */
369
353
  'updated'?: string;
370
354
  /**
371
355
  *
372
356
  * @type {string}
373
- * @memberof BehaviorGroup
357
+ * @memberof Endpoint
374
358
  */
375
359
  'id'?: string;
376
360
  /**
377
361
  *
378
362
  * @type {string}
379
- * @memberof BehaviorGroup
363
+ * @memberof Endpoint
380
364
  */
381
- 'display_name': string;
365
+ 'name': string;
382
366
  /**
383
367
  *
384
368
  * @type {string}
385
- * @memberof BehaviorGroup
386
- */
387
- 'bundle_id': string;
388
- /**
389
- *
390
- * @type {Bundle}
391
- * @memberof BehaviorGroup
369
+ * @memberof Endpoint
392
370
  */
393
- 'bundle'?: Bundle;
371
+ 'description': string;
394
372
  /**
395
373
  *
396
- * @type {Array<BehaviorGroupAction>}
397
- * @memberof BehaviorGroup
374
+ * @type {boolean}
375
+ * @memberof Endpoint
398
376
  */
399
- 'actions'?: Array<BehaviorGroupAction>;
377
+ 'enabled'?: boolean;
400
378
  /**
401
379
  *
402
- * @type {Set<EventTypeBehavior>}
403
- * @memberof BehaviorGroup
380
+ * @type {EndpointStatus}
381
+ * @memberof Endpoint
404
382
  */
405
- 'behaviors'?: Set<EventTypeBehavior>;
383
+ 'status'?: EndpointStatus;
406
384
  /**
407
385
  *
408
- * @type {boolean}
409
- * @memberof BehaviorGroup
386
+ * @type {number}
387
+ * @memberof Endpoint
410
388
  */
411
- 'default_behavior'?: boolean;
412
- }
413
- /**
414
- *
415
- * @export
416
- * @interface BehaviorGroupAction
417
- */
418
- export interface BehaviorGroupAction {
389
+ 'server_errors'?: number;
419
390
  /**
420
391
  *
421
- * @type {string}
422
- * @memberof BehaviorGroupAction
392
+ * @type {object}
393
+ * @memberof Endpoint
423
394
  */
424
- 'created'?: string;
395
+ 'properties'?: object;
425
396
  /**
426
397
  *
427
- * @type {BehaviorGroupActionId}
428
- * @memberof BehaviorGroupAction
398
+ * @type {EndpointType}
399
+ * @memberof Endpoint
429
400
  */
430
- 'id'?: BehaviorGroupActionId;
401
+ 'type'?: EndpointType;
431
402
  /**
432
403
  *
433
- * @type {Endpoint}
434
- * @memberof BehaviorGroupAction
404
+ * @type {string}
405
+ * @memberof Endpoint
435
406
  */
436
- 'endpoint'?: Endpoint;
407
+ 'sub_type'?: string;
437
408
  }
438
409
  /**
439
410
  *
440
411
  * @export
441
- * @interface BehaviorGroupActionId
412
+ * @enum {string}
442
413
  */
443
- export interface BehaviorGroupActionId {
444
- /**
445
- *
446
- * @type {string}
447
- * @memberof BehaviorGroupActionId
448
- */
449
- 'behaviorGroupId': string;
450
- /**
451
- *
452
- * @type {string}
453
- * @memberof BehaviorGroupActionId
454
- */
455
- 'endpointId': string;
456
- }
414
+ export declare const EndpointStatus: {
415
+ readonly Ready: "READY";
416
+ readonly Unknown: "UNKNOWN";
417
+ readonly New: "NEW";
418
+ readonly Provisioning: "PROVISIONING";
419
+ readonly Deleting: "DELETING";
420
+ readonly Failed: "FAILED";
421
+ };
422
+ export type EndpointStatus = typeof EndpointStatus[keyof typeof EndpointStatus];
457
423
  /**
458
424
  *
459
425
  * @export
460
- * @interface Bundle
426
+ * @enum {string}
461
427
  */
462
- export interface Bundle {
463
- /**
464
- *
465
- * @type {string}
466
- * @memberof Bundle
467
- */
468
- 'created'?: string;
469
- /**
470
- *
471
- * @type {string}
472
- * @memberof Bundle
473
- */
474
- 'updated'?: string;
475
- /**
476
- *
477
- * @type {string}
478
- * @memberof Bundle
479
- */
480
- 'id'?: string;
481
- /**
482
- *
483
- * @type {string}
484
- * @memberof Bundle
485
- */
486
- 'name': string;
487
- /**
488
- *
489
- * @type {string}
490
- * @memberof Bundle
491
- */
492
- 'display_name': string;
493
- }
428
+ export declare const EndpointType: {
429
+ readonly Ansible: "ansible";
430
+ readonly Camel: "camel";
431
+ readonly Drawer: "drawer";
432
+ readonly EmailSubscription: "email_subscription";
433
+ readonly Webhook: "webhook";
434
+ readonly Pagerduty: "pagerduty";
435
+ };
436
+ export type EndpointType = typeof EndpointType[keyof typeof EndpointType];
494
437
  /**
495
438
  *
496
439
  * @export
497
- * @interface BundleDTO
440
+ * @interface EventLogEntry
498
441
  */
499
- export interface BundleDTO {
442
+ export interface EventLogEntry {
500
443
  /**
501
444
  *
502
445
  * @type {string}
503
- * @memberof BundleDTO
446
+ * @memberof EventLogEntry
504
447
  */
505
- 'id'?: string;
448
+ 'id': string;
506
449
  /**
507
450
  *
508
451
  * @type {string}
509
- * @memberof BundleDTO
452
+ * @memberof EventLogEntry
510
453
  */
511
- 'name': string;
454
+ 'created': string;
512
455
  /**
513
456
  *
514
457
  * @type {string}
515
- * @memberof BundleDTO
516
- */
517
- 'display_name': string;
518
- /**
519
- *
520
- * @type {Set<ApplicationDTO>}
521
- * @memberof BundleDTO
522
- */
523
- 'applications'?: Set<ApplicationDTO>;
524
- }
525
- /**
526
- *
527
- * @export
528
- * @interface BundleSettingsValue
529
- */
530
- export interface BundleSettingsValue {
531
- /**
532
- *
533
- * @type {{ [key: string]: ApplicationSettingsValue; }}
534
- * @memberof BundleSettingsValue
535
- */
536
- 'applications'?: {
537
- [key: string]: ApplicationSettingsValue;
538
- };
539
- }
540
- /**
541
- *
542
- * @export
543
- * @interface CamelPropertiesDTO
544
- */
545
- export interface CamelPropertiesDTO {
546
- /**
547
- *
548
- * @type {boolean}
549
- * @memberof CamelPropertiesDTO
458
+ * @memberof EventLogEntry
550
459
  */
551
- 'disableSslVerification': boolean;
460
+ 'bundle': string;
552
461
  /**
553
462
  *
554
- * @type {{ [key: string]: string; }}
555
- * @memberof CamelPropertiesDTO
463
+ * @type {string}
464
+ * @memberof EventLogEntry
556
465
  */
557
- 'extras'?: {
558
- [key: string]: string;
559
- };
466
+ 'application': string;
560
467
  /**
561
468
  *
562
469
  * @type {string}
563
- * @memberof CamelPropertiesDTO
470
+ * @memberof EventLogEntry
564
471
  */
565
- 'url': string;
472
+ 'event_type': string;
566
473
  /**
567
474
  *
568
- * @type {BasicAuthenticationDTO}
569
- * @memberof CamelPropertiesDTO
475
+ * @type {string}
476
+ * @memberof EventLogEntry
570
477
  */
571
- 'basicAuthentication'?: BasicAuthenticationDTO;
478
+ 'payload'?: string;
572
479
  /**
573
480
  *
574
- * @type {string}
575
- * @memberof CamelPropertiesDTO
481
+ * @type {Array<EventLogEntryAction>}
482
+ * @memberof EventLogEntry
576
483
  */
577
- 'secretToken'?: string;
484
+ 'actions': Array<EventLogEntryAction>;
578
485
  }
579
486
  /**
580
487
  *
581
488
  * @export
582
- * @interface CreateBehaviorGroupRequest
489
+ * @interface EventLogEntryAction
583
490
  */
584
- export interface CreateBehaviorGroupRequest {
491
+ export interface EventLogEntryAction {
585
492
  /**
586
493
  *
587
494
  * @type {string}
588
- * @memberof CreateBehaviorGroupRequest
495
+ * @memberof EventLogEntryAction
589
496
  */
590
- 'bundle_id'?: string;
497
+ 'id': string;
591
498
  /**
592
499
  *
593
- * @type {string}
594
- * @memberof CreateBehaviorGroupRequest
500
+ * @type {EndpointType}
501
+ * @memberof EventLogEntryAction
595
502
  */
596
- 'bundle_name'?: string;
503
+ 'endpoint_type': EndpointType;
597
504
  /**
598
505
  *
599
506
  * @type {string}
600
- * @memberof CreateBehaviorGroupRequest
601
- */
602
- 'display_name': string;
603
- /**
604
- *
605
- * @type {Array<string>}
606
- * @memberof CreateBehaviorGroupRequest
607
- */
608
- 'endpoint_ids'?: Array<string>;
609
- /**
610
- *
611
- * @type {Set<string>}
612
- * @memberof CreateBehaviorGroupRequest
507
+ * @memberof EventLogEntryAction
613
508
  */
614
- 'event_type_ids'?: Set<string>;
509
+ 'endpoint_sub_type'?: string;
615
510
  /**
616
511
  *
617
512
  * @type {boolean}
618
- * @memberof CreateBehaviorGroupRequest
619
- */
620
- 'bundle_uuid_or_bundle_name_valid'?: boolean;
621
- }
622
- /**
623
- *
624
- * @export
625
- * @interface CreateBehaviorGroupResponse
626
- */
627
- export interface CreateBehaviorGroupResponse {
628
- /**
629
- *
630
- * @type {string}
631
- * @memberof CreateBehaviorGroupResponse
513
+ * @memberof EventLogEntryAction
514
+ * @deprecated
632
515
  */
633
- 'id': string;
516
+ 'invocation_result': boolean;
634
517
  /**
635
518
  *
636
- * @type {string}
637
- * @memberof CreateBehaviorGroupResponse
519
+ * @type {EventLogEntryActionStatus}
520
+ * @memberof EventLogEntryAction
638
521
  */
639
- 'bundle_id': string;
522
+ 'status': EventLogEntryActionStatus;
640
523
  /**
641
524
  *
642
525
  * @type {string}
643
- * @memberof CreateBehaviorGroupResponse
644
- */
645
- 'display_name': string;
646
- /**
647
- *
648
- * @type {Array<string>}
649
- * @memberof CreateBehaviorGroupResponse
650
- */
651
- 'endpoints': Array<string>;
652
- /**
653
- *
654
- * @type {Set<string>}
655
- * @memberof CreateBehaviorGroupResponse
526
+ * @memberof EventLogEntryAction
656
527
  */
657
- 'event_types': Set<string>;
528
+ 'endpoint_id'?: string;
658
529
  /**
659
530
  *
660
- * @type {string}
661
- * @memberof CreateBehaviorGroupResponse
531
+ * @type {{ [key: string]: any; }}
532
+ * @memberof EventLogEntryAction
662
533
  */
663
- 'created': string;
534
+ 'details'?: {
535
+ [key: string]: any;
536
+ };
664
537
  }
665
538
  /**
666
539
  *
667
540
  * @export
668
- * @interface CurrentStatus
541
+ * @enum {string}
669
542
  */
670
- export interface CurrentStatus {
671
- /**
672
- *
673
- * @type {Status}
674
- * @memberof CurrentStatus
675
- */
676
- 'status': Status;
677
- /**
678
- *
679
- * @type {string}
680
- * @memberof CurrentStatus
681
- */
682
- 'start_time'?: string;
683
- /**
684
- *
685
- * @type {string}
686
- * @memberof CurrentStatus
687
- */
688
- 'end_time'?: string;
689
- }
543
+ export declare const EventLogEntryActionStatus: {
544
+ readonly Sent: "SENT";
545
+ readonly Success: "SUCCESS";
546
+ readonly Processing: "PROCESSING";
547
+ readonly Failed: "FAILED";
548
+ readonly Unknown: "UNKNOWN";
549
+ };
550
+ export type EventLogEntryActionStatus = typeof EventLogEntryActionStatus[keyof typeof EventLogEntryActionStatus];
690
551
  /**
691
552
  *
692
553
  * @export
693
- * @interface DrawerEntryPayload
554
+ * @interface EventType
694
555
  */
695
- export interface DrawerEntryPayload {
556
+ export interface EventType {
696
557
  /**
697
558
  *
698
559
  * @type {string}
699
- * @memberof DrawerEntryPayload
560
+ * @memberof EventType
700
561
  */
701
562
  'id'?: string;
702
563
  /**
703
564
  *
704
565
  * @type {string}
705
- * @memberof DrawerEntryPayload
706
- */
707
- 'description'?: string;
708
- /**
709
- *
710
- * @type {string}
711
- * @memberof DrawerEntryPayload
712
- */
713
- 'title'?: string;
714
- /**
715
- *
716
- * @type {string}
717
- * @memberof DrawerEntryPayload
718
- */
719
- 'created'?: string;
720
- /**
721
- *
722
- * @type {boolean}
723
- * @memberof DrawerEntryPayload
566
+ * @memberof EventType
724
567
  */
725
- 'read': boolean;
568
+ 'name': string;
726
569
  /**
727
570
  *
728
571
  * @type {string}
729
- * @memberof DrawerEntryPayload
572
+ * @memberof EventType
730
573
  */
731
- 'source'?: string;
574
+ 'display_name': string;
732
575
  /**
733
576
  *
734
577
  * @type {string}
735
- * @memberof DrawerEntryPayload
736
- */
737
- 'bundle'?: string;
738
- }
739
- /**
740
- *
741
- * @export
742
- * @interface Endpoint
743
- */
744
- export interface Endpoint {
745
- /**
746
- *
747
- * @type {string}
748
- * @memberof Endpoint
749
- */
750
- 'created'?: string;
751
- /**
752
- *
753
- * @type {string}
754
- * @memberof Endpoint
755
- */
756
- 'updated'?: string;
757
- /**
758
- *
759
- * @type {string}
760
- * @memberof Endpoint
761
- */
762
- 'id'?: string;
763
- /**
764
- *
765
- * @type {string}
766
- * @memberof Endpoint
767
- */
768
- 'name': string;
769
- /**
770
- *
771
- * @type {string}
772
- * @memberof Endpoint
773
- */
774
- 'description': string;
775
- /**
776
- *
777
- * @type {boolean}
778
- * @memberof Endpoint
779
- */
780
- 'enabled'?: boolean;
781
- /**
782
- *
783
- * @type {EndpointStatus}
784
- * @memberof Endpoint
785
- */
786
- 'status'?: EndpointStatus;
787
- /**
788
- *
789
- * @type {number}
790
- * @memberof Endpoint
791
- */
792
- 'server_errors'?: number;
793
- /**
794
- *
795
- * @type {object}
796
- * @memberof Endpoint
797
- */
798
- 'properties'?: object;
799
- /**
800
- *
801
- * @type {EndpointType}
802
- * @memberof Endpoint
803
- */
804
- 'type'?: EndpointType;
805
- /**
806
- *
807
- * @type {string}
808
- * @memberof Endpoint
809
- */
810
- 'sub_type'?: string;
811
- }
812
- /**
813
- *
814
- * @export
815
- * @interface EndpointDTO
816
- */
817
- export interface EndpointDTO {
818
- /**
819
- *
820
- * @type {string}
821
- * @memberof EndpointDTO
822
- */
823
- 'id'?: string;
824
- /**
825
- *
826
- * @type {string}
827
- * @memberof EndpointDTO
828
- */
829
- 'name': string;
830
- /**
831
- *
832
- * @type {string}
833
- * @memberof EndpointDTO
834
- */
835
- 'description': string;
836
- /**
837
- *
838
- * @type {boolean}
839
- * @memberof EndpointDTO
840
- */
841
- 'enabled'?: boolean;
842
- /**
843
- *
844
- * @type {EndpointStatusDTO}
845
- * @memberof EndpointDTO
846
- */
847
- 'status'?: EndpointStatusDTO;
848
- /**
849
- *
850
- * @type {number}
851
- * @memberof EndpointDTO
852
- */
853
- 'server_errors'?: number;
854
- /**
855
- *
856
- * @type {EndpointTypeDTO}
857
- * @memberof EndpointDTO
858
- */
859
- 'type': EndpointTypeDTO;
860
- /**
861
- *
862
- * @type {string}
863
- * @memberof EndpointDTO
864
- */
865
- 'sub_type'?: string;
866
- /**
867
- *
868
- * @type {string}
869
- * @memberof EndpointDTO
870
- */
871
- 'created'?: string;
872
- /**
873
- *
874
- * @type {string}
875
- * @memberof EndpointDTO
876
- */
877
- 'updated'?: string;
878
- /**
879
- *
880
- * @type {object}
881
- * @memberof EndpointDTO
882
- */
883
- 'properties'?: object;
884
- /**
885
- *
886
- * @type {Set<BundleDTO>}
887
- * @memberof EndpointDTO
888
- */
889
- 'event_types_group_by_bundles_and_applications'?: Set<BundleDTO>;
890
- /**
891
- *
892
- * @type {Set<string>}
893
- * @memberof EndpointDTO
894
- */
895
- 'event_types'?: Set<string>;
896
- }
897
- /**
898
- *
899
- * @export
900
- * @interface EndpointPage
901
- */
902
- export interface EndpointPage {
903
- /**
904
- *
905
- * @type {Array<EndpointDTO>}
906
- * @memberof EndpointPage
907
- */
908
- 'data': Array<EndpointDTO>;
909
- /**
910
- *
911
- * @type {{ [key: string]: string; }}
912
- * @memberof EndpointPage
913
- */
914
- 'links': {
915
- [key: string]: string;
916
- };
917
- /**
918
- *
919
- * @type {Meta}
920
- * @memberof EndpointPage
921
- */
922
- 'meta': Meta;
923
- }
924
- /**
925
- *
926
- * @export
927
- * @enum {string}
928
- */
929
- export declare const EndpointStatus: {
930
- readonly Ready: "READY";
931
- readonly Unknown: "UNKNOWN";
932
- readonly New: "NEW";
933
- readonly Provisioning: "PROVISIONING";
934
- readonly Deleting: "DELETING";
935
- readonly Failed: "FAILED";
936
- };
937
- export type EndpointStatus = typeof EndpointStatus[keyof typeof EndpointStatus];
938
- /**
939
- *
940
- * @export
941
- * @enum {string}
942
- */
943
- export declare const EndpointStatusDTO: {
944
- readonly Deleting: "DELETING";
945
- readonly Failed: "FAILED";
946
- readonly New: "NEW";
947
- readonly Provisioning: "PROVISIONING";
948
- readonly Ready: "READY";
949
- readonly Unknown: "UNKNOWN";
950
- };
951
- export type EndpointStatusDTO = typeof EndpointStatusDTO[keyof typeof EndpointStatusDTO];
952
- /**
953
- *
954
- * @export
955
- * @interface EndpointTestRequest
956
- */
957
- export interface EndpointTestRequest {
958
- /**
959
- *
960
- * @type {string}
961
- * @memberof EndpointTestRequest
962
- */
963
- 'message': string;
964
- }
965
- /**
966
- *
967
- * @export
968
- * @enum {string}
969
- */
970
- export declare const EndpointType: {
971
- readonly Ansible: "ansible";
972
- readonly Camel: "camel";
973
- readonly Drawer: "drawer";
974
- readonly EmailSubscription: "email_subscription";
975
- readonly Webhook: "webhook";
976
- readonly Pagerduty: "pagerduty";
977
- };
978
- export type EndpointType = typeof EndpointType[keyof typeof EndpointType];
979
- /**
980
- *
981
- * @export
982
- * @enum {string}
983
- */
984
- export declare const EndpointTypeDTO: {
985
- readonly Ansible: "ansible";
986
- readonly Camel: "camel";
987
- readonly Drawer: "drawer";
988
- readonly EmailSubscription: "email_subscription";
989
- readonly Webhook: "webhook";
990
- };
991
- export type EndpointTypeDTO = typeof EndpointTypeDTO[keyof typeof EndpointTypeDTO];
992
- /**
993
- *
994
- * @export
995
- * @enum {string}
996
- */
997
- export declare const Environment: {
998
- readonly Prod: "PROD";
999
- readonly Stage: "STAGE";
1000
- readonly Ephemeral: "EPHEMERAL";
1001
- readonly LocalServer: "LOCAL_SERVER";
1002
- };
1003
- export type Environment = typeof Environment[keyof typeof Environment];
1004
- /**
1005
- *
1006
- * @export
1007
- * @interface EventLogEntry
1008
- */
1009
- export interface EventLogEntry {
1010
- /**
1011
- *
1012
- * @type {string}
1013
- * @memberof EventLogEntry
1014
- */
1015
- 'id': string;
1016
- /**
1017
- *
1018
- * @type {string}
1019
- * @memberof EventLogEntry
1020
- */
1021
- 'created': string;
1022
- /**
1023
- *
1024
- * @type {string}
1025
- * @memberof EventLogEntry
1026
- */
1027
- 'bundle': string;
1028
- /**
1029
- *
1030
- * @type {string}
1031
- * @memberof EventLogEntry
1032
- */
1033
- 'application': string;
1034
- /**
1035
- *
1036
- * @type {string}
1037
- * @memberof EventLogEntry
1038
- */
1039
- 'event_type': string;
1040
- /**
1041
- *
1042
- * @type {string}
1043
- * @memberof EventLogEntry
1044
- */
1045
- 'payload'?: string;
1046
- /**
1047
- *
1048
- * @type {Array<EventLogEntryAction>}
1049
- * @memberof EventLogEntry
1050
- */
1051
- 'actions': Array<EventLogEntryAction>;
1052
- }
1053
- /**
1054
- *
1055
- * @export
1056
- * @interface EventLogEntryAction
1057
- */
1058
- export interface EventLogEntryAction {
1059
- /**
1060
- *
1061
- * @type {string}
1062
- * @memberof EventLogEntryAction
1063
- */
1064
- 'id': string;
1065
- /**
1066
- *
1067
- * @type {EndpointType}
1068
- * @memberof EventLogEntryAction
1069
- */
1070
- 'endpoint_type': EndpointType;
1071
- /**
1072
- *
1073
- * @type {string}
1074
- * @memberof EventLogEntryAction
1075
- */
1076
- 'endpoint_sub_type'?: string;
1077
- /**
1078
- *
1079
- * @type {boolean}
1080
- * @memberof EventLogEntryAction
1081
- * @deprecated
1082
- */
1083
- 'invocation_result': boolean;
1084
- /**
1085
- *
1086
- * @type {EventLogEntryActionStatus}
1087
- * @memberof EventLogEntryAction
1088
- */
1089
- 'status': EventLogEntryActionStatus;
1090
- /**
1091
- *
1092
- * @type {string}
1093
- * @memberof EventLogEntryAction
1094
- */
1095
- 'endpoint_id'?: string;
1096
- /**
1097
- *
1098
- * @type {{ [key: string]: any; }}
1099
- * @memberof EventLogEntryAction
1100
- */
1101
- 'details'?: {
1102
- [key: string]: any;
1103
- };
1104
- }
1105
- /**
1106
- *
1107
- * @export
1108
- * @enum {string}
1109
- */
1110
- export declare const EventLogEntryActionStatus: {
1111
- readonly Sent: "SENT";
1112
- readonly Success: "SUCCESS";
1113
- readonly Processing: "PROCESSING";
1114
- readonly Failed: "FAILED";
1115
- readonly Unknown: "UNKNOWN";
1116
- };
1117
- export type EventLogEntryActionStatus = typeof EventLogEntryActionStatus[keyof typeof EventLogEntryActionStatus];
1118
- /**
1119
- *
1120
- * @export
1121
- * @interface EventType
1122
- */
1123
- export interface EventType {
1124
- /**
1125
- *
1126
- * @type {string}
1127
- * @memberof EventType
1128
- */
1129
- 'id'?: string;
1130
- /**
1131
- *
1132
- * @type {string}
1133
- * @memberof EventType
1134
- */
1135
- 'name': string;
1136
- /**
1137
- *
1138
- * @type {string}
1139
- * @memberof EventType
1140
- */
1141
- 'display_name': string;
1142
- /**
1143
- *
1144
- * @type {string}
1145
- * @memberof EventType
1146
- */
1147
- 'description'?: string;
1148
- /**
1149
- *
1150
- * @type {string}
1151
- * @memberof EventType
1152
- */
1153
- 'fully_qualified_name'?: string;
1154
- /**
1155
- *
1156
- * @type {string}
1157
- * @memberof EventType
1158
- */
1159
- 'application_id': string;
1160
- /**
1161
- *
1162
- * @type {Application}
1163
- * @memberof EventType
1164
- */
1165
- 'application'?: Application;
1166
- /**
1167
- *
1168
- * @type {boolean}
1169
- * @memberof EventType
1170
- */
1171
- 'visible'?: boolean;
1172
- /**
1173
- *
1174
- * @type {boolean}
1175
- * @memberof EventType
1176
- */
1177
- 'subscribed_by_default'?: boolean;
1178
- /**
1179
- *
1180
- * @type {boolean}
1181
- * @memberof EventType
1182
- */
1183
- 'subscription_locked'?: boolean;
1184
- /**
1185
- *
1186
- * @type {boolean}
1187
- * @memberof EventType
1188
- */
1189
- 'not_subscription_locked_or_subscribed_by_default'?: boolean;
1190
- }
1191
- /**
1192
- *
1193
- * @export
1194
- * @interface EventTypeBehavior
1195
- */
1196
- export interface EventTypeBehavior {
1197
- /**
1198
- *
1199
- * @type {string}
1200
- * @memberof EventTypeBehavior
1201
- */
1202
- 'created'?: string;
1203
- /**
1204
- *
1205
- * @type {EventTypeBehaviorId}
1206
- * @memberof EventTypeBehavior
1207
- */
1208
- 'id'?: EventTypeBehaviorId;
1209
- /**
1210
- *
1211
- * @type {EventType}
1212
- * @memberof EventTypeBehavior
1213
- */
1214
- 'event_type'?: EventType;
1215
- }
1216
- /**
1217
- *
1218
- * @export
1219
- * @interface EventTypeBehaviorId
1220
- */
1221
- export interface EventTypeBehaviorId {
1222
- /**
1223
- *
1224
- * @type {string}
1225
- * @memberof EventTypeBehaviorId
1226
- */
1227
- 'eventTypeId': string;
1228
- /**
1229
- *
1230
- * @type {string}
1231
- * @memberof EventTypeBehaviorId
1232
- */
1233
- 'behaviorGroupId': string;
1234
- }
1235
- /**
1236
- *
1237
- * @export
1238
- * @interface EventTypeDTO
1239
- */
1240
- export interface EventTypeDTO {
1241
- /**
1242
- *
1243
- * @type {string}
1244
- * @memberof EventTypeDTO
1245
- */
1246
- 'id'?: string;
1247
- /**
1248
- *
1249
- * @type {string}
1250
- * @memberof EventTypeDTO
1251
- */
1252
- 'name': string;
1253
- /**
1254
- *
1255
- * @type {string}
1256
- * @memberof EventTypeDTO
1257
- */
1258
- 'display_name': string;
1259
- /**
1260
- *
1261
- * @type {string}
1262
- * @memberof EventTypeDTO
1263
- */
1264
- 'description'?: string;
1265
- /**
1266
- *
1267
- * @type {ApplicationDTO}
1268
- * @memberof EventTypeDTO
1269
- */
1270
- 'application'?: ApplicationDTO;
1271
- }
1272
- /**
1273
- *
1274
- * @export
1275
- * @interface EventTypeSettingsValue
1276
- */
1277
- export interface EventTypeSettingsValue {
1278
- /**
1279
- *
1280
- * @type {{ [key: string]: boolean; }}
1281
- * @memberof EventTypeSettingsValue
1282
- */
1283
- 'emailSubscriptionTypes'?: {
1284
- [key: string]: boolean;
1285
- };
1286
- /**
1287
- *
1288
- * @type {boolean}
1289
- * @memberof EventTypeSettingsValue
1290
- */
1291
- 'hasForcedEmail'?: boolean;
1292
- /**
1293
- *
1294
- * @type {boolean}
1295
- * @memberof EventTypeSettingsValue
1296
- */
1297
- 'subscriptionLocked'?: boolean;
1298
- }
1299
- /**
1300
- *
1301
- * @export
1302
- * @interface EventsReplayRequest
1303
- */
1304
- export interface EventsReplayRequest {
1305
- /**
1306
- *
1307
- * @type {string}
1308
- * @memberof EventsReplayRequest
1309
- */
1310
- 'start_date': string;
1311
- /**
1312
- *
1313
- * @type {string}
1314
- * @memberof EventsReplayRequest
1315
- */
1316
- 'end_date': string;
1317
- /**
1318
- *
1319
- * @type {string}
1320
- * @memberof EventsReplayRequest
1321
- */
1322
- 'org_id'?: string;
1323
- }
1324
- /**
1325
- *
1326
- * @export
1327
- * @interface Facet
1328
- */
1329
- export interface Facet {
1330
- /**
1331
- *
1332
- * @type {string}
1333
- * @memberof Facet
1334
- */
1335
- 'id': string;
1336
- /**
1337
- *
1338
- * @type {string}
1339
- * @memberof Facet
1340
- */
1341
- 'name': string;
1342
- /**
1343
- *
1344
- * @type {string}
1345
- * @memberof Facet
1346
- */
1347
- 'displayName': string;
1348
- /**
1349
- *
1350
- * @type {Array<Facet>}
1351
- * @memberof Facet
1352
- */
1353
- 'children'?: Array<Facet>;
1354
- }
1355
- /**
1356
- *
1357
- * @export
1358
- * @enum {string}
1359
- */
1360
- export declare const HttpType: {
1361
- readonly Get: "GET";
1362
- readonly Post: "POST";
1363
- readonly Put: "PUT";
1364
- };
1365
- export type HttpType = typeof HttpType[keyof typeof HttpType];
1366
- /**
1367
- *
1368
- * @export
1369
- * @interface InstantEmailTemplate
1370
- */
1371
- export interface InstantEmailTemplate {
1372
- /**
1373
- *
1374
- * @type {string}
1375
- * @memberof InstantEmailTemplate
1376
- */
1377
- 'created'?: string;
1378
- /**
1379
- *
1380
- * @type {string}
1381
- * @memberof InstantEmailTemplate
1382
- */
1383
- 'updated'?: string;
1384
- /**
1385
- *
1386
- * @type {string}
1387
- * @memberof InstantEmailTemplate
1388
- */
1389
- 'id'?: string;
1390
- /**
1391
- *
1392
- * @type {EventType}
1393
- * @memberof InstantEmailTemplate
1394
- */
1395
- 'event_type'?: EventType;
1396
- /**
1397
- *
1398
- * @type {string}
1399
- * @memberof InstantEmailTemplate
1400
- */
1401
- 'event_type_id'?: string;
1402
- /**
1403
- *
1404
- * @type {AggregationEmailTemplateSubjectTemplate}
1405
- * @memberof InstantEmailTemplate
1406
- */
1407
- 'subject_template'?: AggregationEmailTemplateSubjectTemplate;
1408
- /**
1409
- *
1410
- * @type {string}
1411
- * @memberof InstantEmailTemplate
1412
- */
1413
- 'subject_template_id': string;
1414
- /**
1415
- *
1416
- * @type {AggregationEmailTemplateSubjectTemplate}
1417
- * @memberof InstantEmailTemplate
1418
- */
1419
- 'body_template'?: AggregationEmailTemplateSubjectTemplate;
1420
- /**
1421
- *
1422
- * @type {string}
1423
- * @memberof InstantEmailTemplate
1424
- */
1425
- 'body_template_id': string;
1426
- }
1427
- /**
1428
- *
1429
- * @export
1430
- * @interface InternalApplicationUserPermission
1431
- */
1432
- export interface InternalApplicationUserPermission {
1433
- /**
1434
- *
1435
- * @type {string}
1436
- * @memberof InternalApplicationUserPermission
1437
- */
1438
- 'application_id': string;
1439
- /**
1440
- *
1441
- * @type {string}
1442
- * @memberof InternalApplicationUserPermission
1443
- */
1444
- 'application_display_name': string;
1445
- /**
1446
- *
1447
- * @type {string}
1448
- * @memberof InternalApplicationUserPermission
1449
- */
1450
- 'role': string;
1451
- }
1452
- /**
1453
- *
1454
- * @export
1455
- * @interface InternalRoleAccess
1456
- */
1457
- export interface InternalRoleAccess {
1458
- /**
1459
- *
1460
- * @type {string}
1461
- * @memberof InternalRoleAccess
1462
- */
1463
- 'id'?: string;
1464
- /**
1465
- *
1466
- * @type {string}
1467
- * @memberof InternalRoleAccess
1468
- */
1469
- 'role': string;
1470
- /**
1471
- *
1472
- * @type {string}
1473
- * @memberof InternalRoleAccess
1474
- */
1475
- 'application_id': string;
1476
- }
1477
- /**
1478
- *
1479
- * @export
1480
- * @interface InternalUserPermissions
1481
- */
1482
- export interface InternalUserPermissions {
1483
- /**
1484
- *
1485
- * @type {boolean}
1486
- * @memberof InternalUserPermissions
1487
- */
1488
- 'is_admin': boolean;
1489
- /**
1490
- *
1491
- * @type {Array<Application1>}
1492
- * @memberof InternalUserPermissions
1493
- */
1494
- 'applications': Array<Application1>;
1495
- /**
1496
- *
1497
- * @type {Array<string>}
1498
- * @memberof InternalUserPermissions
1499
- */
1500
- 'roles': Array<string>;
1501
- }
1502
- /**
1503
- *
1504
- * @export
1505
- * @interface MessageValidationResponse
1506
- */
1507
- export interface MessageValidationResponse {
1508
- /**
1509
- *
1510
- * @type {{ [key: string]: Array<string>; }}
1511
- * @memberof MessageValidationResponse
1512
- */
1513
- 'errors': {
1514
- [key: string]: Array<string>;
1515
- };
1516
- }
1517
- /**
1518
- *
1519
- * @export
1520
- * @interface Meta
1521
- */
1522
- export interface Meta {
1523
- /**
1524
- *
1525
- * @type {number}
1526
- * @memberof Meta
1527
- */
1528
- 'count': number;
1529
- }
1530
- /**
1531
- *
1532
- * @export
1533
- * @interface NotificationHistory
1534
- */
1535
- export interface NotificationHistory {
1536
- /**
1537
- *
1538
- * @type {string}
1539
- * @memberof NotificationHistory
1540
- */
1541
- 'created'?: string;
1542
- /**
1543
- *
1544
- * @type {string}
1545
- * @memberof NotificationHistory
1546
- */
1547
- 'id'?: string;
1548
- /**
1549
- *
1550
- * @type {number}
1551
- * @memberof NotificationHistory
1552
- */
1553
- 'invocationTime': number;
1554
- /**
1555
- *
1556
- * @type {boolean}
1557
- * @memberof NotificationHistory
1558
- * @deprecated
1559
- */
1560
- 'invocationResult': boolean;
1561
- /**
1562
- *
1563
- * @type {NotificationStatus}
1564
- * @memberof NotificationHistory
1565
- */
1566
- 'status': NotificationStatus;
1567
- /**
1568
- *
1569
- * @type {string}
1570
- * @memberof NotificationHistory
1571
- */
1572
- 'endpointId'?: string;
1573
- /**
1574
- *
1575
- * @type {{ [key: string]: any; }}
1576
- * @memberof NotificationHistory
1577
- */
1578
- 'details'?: {
1579
- [key: string]: any;
1580
- };
1581
- /**
1582
- *
1583
- * @type {EndpointType}
1584
- * @memberof NotificationHistory
1585
- */
1586
- 'endpointType'?: EndpointType;
1587
- /**
1588
- *
1589
- * @type {string}
1590
- * @memberof NotificationHistory
1591
- */
1592
- 'endpointSubType'?: string;
1593
- }
1594
- /**
1595
- *
1596
- * @export
1597
- * @enum {string}
1598
- */
1599
- export declare const NotificationStatus: {
1600
- readonly FailedInternal: "FAILED_INTERNAL";
1601
- readonly FailedExternal: "FAILED_EXTERNAL";
1602
- readonly Processing: "PROCESSING";
1603
- readonly Sent: "SENT";
1604
- readonly Success: "SUCCESS";
1605
- };
1606
- export type NotificationStatus = typeof NotificationStatus[keyof typeof NotificationStatus];
1607
- /**
1608
- *
1609
- * @export
1610
- * @interface PageBehaviorGroup
1611
- */
1612
- export interface PageBehaviorGroup {
1613
- /**
1614
- *
1615
- * @type {Array<BehaviorGroup>}
1616
- * @memberof PageBehaviorGroup
1617
- */
1618
- 'data': Array<BehaviorGroup>;
1619
- /**
1620
- *
1621
- * @type {{ [key: string]: string; }}
1622
- * @memberof PageBehaviorGroup
1623
- */
1624
- 'links': {
1625
- [key: string]: string;
1626
- };
1627
- /**
1628
- *
1629
- * @type {Meta}
1630
- * @memberof PageBehaviorGroup
1631
- */
1632
- 'meta': Meta;
1633
- }
1634
- /**
1635
- *
1636
- * @export
1637
- * @interface PageDrawerEntryPayload
1638
- */
1639
- export interface PageDrawerEntryPayload {
1640
- /**
1641
- *
1642
- * @type {Array<DrawerEntryPayload>}
1643
- * @memberof PageDrawerEntryPayload
1644
- */
1645
- 'data': Array<DrawerEntryPayload>;
1646
- /**
1647
- *
1648
- * @type {{ [key: string]: string; }}
1649
- * @memberof PageDrawerEntryPayload
1650
- */
1651
- 'links': {
1652
- [key: string]: string;
1653
- };
1654
- /**
1655
- *
1656
- * @type {Meta}
1657
- * @memberof PageDrawerEntryPayload
1658
- */
1659
- 'meta': Meta;
1660
- }
1661
- /**
1662
- *
1663
- * @export
1664
- * @interface PageEventLogEntry
1665
- */
1666
- export interface PageEventLogEntry {
1667
- /**
1668
- *
1669
- * @type {Array<EventLogEntry>}
1670
- * @memberof PageEventLogEntry
1671
- */
1672
- 'data': Array<EventLogEntry>;
1673
- /**
1674
- *
1675
- * @type {{ [key: string]: string; }}
1676
- * @memberof PageEventLogEntry
1677
- */
1678
- 'links': {
1679
- [key: string]: string;
1680
- };
1681
- /**
1682
- *
1683
- * @type {Meta}
1684
- * @memberof PageEventLogEntry
1685
- */
1686
- 'meta': Meta;
1687
- }
1688
- /**
1689
- *
1690
- * @export
1691
- * @interface PageEventType
1692
- */
1693
- export interface PageEventType {
1694
- /**
1695
- *
1696
- * @type {Array<EventType>}
1697
- * @memberof PageEventType
1698
- */
1699
- 'data': Array<EventType>;
1700
- /**
1701
- *
1702
- * @type {{ [key: string]: string; }}
1703
- * @memberof PageEventType
1704
- */
1705
- 'links': {
1706
- [key: string]: string;
1707
- };
1708
- /**
1709
- *
1710
- * @type {Meta}
1711
- * @memberof PageEventType
1712
- */
1713
- 'meta': Meta;
1714
- }
1715
- /**
1716
- *
1717
- * @export
1718
- * @interface PageNotificationHistory
1719
- */
1720
- export interface PageNotificationHistory {
1721
- /**
1722
- *
1723
- * @type {Array<NotificationHistory>}
1724
- * @memberof PageNotificationHistory
1725
- */
1726
- 'data': Array<NotificationHistory>;
1727
- /**
1728
- *
1729
- * @type {{ [key: string]: string; }}
1730
- * @memberof PageNotificationHistory
1731
- */
1732
- 'links': {
1733
- [key: string]: string;
1734
- };
1735
- /**
1736
- *
1737
- * @type {Meta}
1738
- * @memberof PageNotificationHistory
1739
- */
1740
- 'meta': Meta;
1741
- }
1742
- /**
1743
- *
1744
- * @export
1745
- * @interface PagerDutyPropertiesDTO
1746
- */
1747
- export interface PagerDutyPropertiesDTO {
1748
- /**
1749
- *
1750
- * @type {PagerDutySeverityDTO}
1751
- * @memberof PagerDutyPropertiesDTO
1752
- */
1753
- 'severity': PagerDutySeverityDTO;
1754
- /**
1755
- *
1756
- * @type {string}
1757
- * @memberof PagerDutyPropertiesDTO
1758
- */
1759
- 'secretToken': string;
1760
- }
1761
- /**
1762
- *
1763
- * @export
1764
- * @enum {string}
1765
- */
1766
- export declare const PagerDutySeverity: {
1767
- readonly Critical: "critical";
1768
- readonly Error: "error";
1769
- readonly Warning: "warning";
1770
- readonly Info: "info";
1771
- };
1772
- export type PagerDutySeverity = typeof PagerDutySeverity[keyof typeof PagerDutySeverity];
1773
- /**
1774
- *
1775
- * @export
1776
- * @enum {string}
1777
- */
1778
- export declare const PagerDutySeverityDTO: {
1779
- readonly Critical: "critical";
1780
- readonly Error: "error";
1781
- readonly Warning: "warning";
1782
- readonly Info: "info";
1783
- };
1784
- export type PagerDutySeverityDTO = typeof PagerDutySeverityDTO[keyof typeof PagerDutySeverityDTO];
1785
- /**
1786
- *
1787
- * @export
1788
- * @interface RenderEmailTemplateRequest
1789
- */
1790
- export interface RenderEmailTemplateRequest {
1791
- /**
1792
- *
1793
- * @type {Array<string>}
1794
- * @memberof RenderEmailTemplateRequest
578
+ * @memberof EventType
1795
579
  */
1796
- 'template': Array<string>;
580
+ 'description'?: string;
1797
581
  /**
1798
582
  *
1799
583
  * @type {string}
1800
- * @memberof RenderEmailTemplateRequest
584
+ * @memberof EventType
1801
585
  */
1802
- 'payload': string;
1803
- }
1804
- /**
1805
- *
1806
- * @export
1807
- * @interface RequestDefaultBehaviorGroupPropertyList
1808
- */
1809
- export interface RequestDefaultBehaviorGroupPropertyList {
586
+ 'fully_qualified_name'?: string;
1810
587
  /**
1811
588
  *
1812
- * @type {boolean}
1813
- * @memberof RequestDefaultBehaviorGroupPropertyList
589
+ * @type {string}
590
+ * @memberof EventType
1814
591
  */
1815
- 'only_admins': boolean;
592
+ 'application_id': string;
1816
593
  /**
1817
594
  *
1818
- * @type {boolean}
1819
- * @memberof RequestDefaultBehaviorGroupPropertyList
595
+ * @type {Application}
596
+ * @memberof EventType
1820
597
  */
1821
- 'ignore_preferences': boolean;
1822
- }
1823
- /**
1824
- *
1825
- * @export
1826
- * @interface RequestSystemSubscriptionProperties
1827
- */
1828
- export interface RequestSystemSubscriptionProperties {
598
+ 'application'?: Application;
1829
599
  /**
1830
600
  *
1831
601
  * @type {boolean}
1832
- * @memberof RequestSystemSubscriptionProperties
602
+ * @memberof EventType
1833
603
  */
1834
- 'only_admins': boolean;
604
+ 'visible'?: boolean;
1835
605
  /**
1836
606
  *
1837
- * @type {string}
1838
- * @memberof RequestSystemSubscriptionProperties
607
+ * @type {boolean}
608
+ * @memberof EventType
1839
609
  */
1840
- 'group_id'?: string;
1841
- }
1842
- /**
1843
- *
1844
- * @export
1845
- * @interface ServerInfo
1846
- */
1847
- export interface ServerInfo {
610
+ 'subscribed_by_default'?: boolean;
1848
611
  /**
1849
612
  *
1850
- * @type {Environment}
1851
- * @memberof ServerInfo
613
+ * @type {boolean}
614
+ * @memberof EventType
1852
615
  */
1853
- 'environment'?: Environment;
1854
- }
1855
- /**
1856
- *
1857
- * @export
1858
- * @interface SettingsValuesByEventType
1859
- */
1860
- export interface SettingsValuesByEventType {
616
+ 'subscription_locked'?: boolean;
1861
617
  /**
1862
618
  *
1863
- * @type {{ [key: string]: BundleSettingsValue; }}
1864
- * @memberof SettingsValuesByEventType
619
+ * @type {boolean}
620
+ * @memberof EventType
1865
621
  */
1866
- 'bundles'?: {
1867
- [key: string]: BundleSettingsValue;
1868
- };
622
+ 'not_subscription_locked_or_subscribed_by_default'?: boolean;
1869
623
  }
1870
624
  /**
1871
625
  *
1872
626
  * @export
1873
- * @enum {string}
1874
- */
1875
- export declare const Status: {
1876
- readonly Up: "UP";
1877
- readonly Maintenance: "MAINTENANCE";
1878
- };
1879
- export type Status = typeof Status[keyof typeof Status];
1880
- /**
1881
- *
1882
- * @export
1883
- * @enum {string}
1884
- */
1885
- export declare const SubscriptionType: {
1886
- readonly Instant: "INSTANT";
1887
- readonly Daily: "DAILY";
1888
- readonly Drawer: "DRAWER";
1889
- };
1890
- export type SubscriptionType = typeof SubscriptionType[keyof typeof SubscriptionType];
1891
- /**
1892
- *
1893
- * @export
1894
- * @interface SystemSubscriptionPropertiesDTO
627
+ * @interface EventTypeBehavior
1895
628
  */
1896
- export interface SystemSubscriptionPropertiesDTO {
629
+ export interface EventTypeBehavior {
1897
630
  /**
1898
631
  *
1899
632
  * @type {string}
1900
- * @memberof SystemSubscriptionPropertiesDTO
633
+ * @memberof EventTypeBehavior
1901
634
  */
1902
- 'groupId'?: string;
635
+ 'created'?: string;
1903
636
  /**
1904
637
  *
1905
- * @type {boolean}
1906
- * @memberof SystemSubscriptionPropertiesDTO
638
+ * @type {EventTypeBehaviorId}
639
+ * @memberof EventTypeBehavior
1907
640
  */
1908
- 'ignorePreferences'?: boolean;
641
+ 'id'?: EventTypeBehaviorId;
1909
642
  /**
1910
643
  *
1911
- * @type {boolean}
1912
- * @memberof SystemSubscriptionPropertiesDTO
644
+ * @type {EventType}
645
+ * @memberof EventTypeBehavior
1913
646
  */
1914
- 'onlyAdmins'?: boolean;
647
+ 'event_type'?: EventType;
1915
648
  }
1916
649
  /**
1917
650
  *
1918
651
  * @export
1919
- * @interface Template
652
+ * @interface EventTypeBehaviorId
1920
653
  */
1921
- export interface Template {
654
+ export interface EventTypeBehaviorId {
1922
655
  /**
1923
656
  *
1924
657
  * @type {string}
1925
- * @memberof Template
658
+ * @memberof EventTypeBehaviorId
1926
659
  */
1927
- 'created'?: string;
660
+ 'eventTypeId': string;
1928
661
  /**
1929
662
  *
1930
663
  * @type {string}
1931
- * @memberof Template
664
+ * @memberof EventTypeBehaviorId
1932
665
  */
1933
- 'updated'?: string;
666
+ 'behaviorGroupId': string;
667
+ }
668
+ /**
669
+ *
670
+ * @export
671
+ * @interface Facet
672
+ */
673
+ export interface Facet {
1934
674
  /**
1935
675
  *
1936
676
  * @type {string}
1937
- * @memberof Template
677
+ * @memberof Facet
1938
678
  */
1939
- 'id'?: string;
679
+ 'id': string;
1940
680
  /**
1941
681
  *
1942
682
  * @type {string}
1943
- * @memberof Template
683
+ * @memberof Facet
1944
684
  */
1945
685
  'name': string;
1946
686
  /**
1947
687
  *
1948
688
  * @type {string}
1949
- * @memberof Template
689
+ * @memberof Facet
1950
690
  */
1951
- 'description': string;
691
+ 'displayName': string;
1952
692
  /**
1953
693
  *
1954
- * @type {string}
1955
- * @memberof Template
694
+ * @type {Array<Facet>}
695
+ * @memberof Facet
1956
696
  */
1957
- 'data': string;
697
+ 'children'?: Array<Facet>;
1958
698
  }
1959
699
  /**
1960
700
  *
1961
701
  * @export
1962
- * @interface TriggerDailyDigestRequest
702
+ * @interface Meta
1963
703
  */
1964
- export interface TriggerDailyDigestRequest {
704
+ export interface Meta {
1965
705
  /**
1966
706
  *
1967
- * @type {string}
1968
- * @memberof TriggerDailyDigestRequest
707
+ * @type {number}
708
+ * @memberof Meta
1969
709
  */
1970
- 'application_name': string;
710
+ 'count': number;
711
+ }
712
+ /**
713
+ *
714
+ * @export
715
+ * @interface PageDrawerEntryPayload
716
+ */
717
+ export interface PageDrawerEntryPayload {
1971
718
  /**
1972
719
  *
1973
- * @type {string}
1974
- * @memberof TriggerDailyDigestRequest
720
+ * @type {Array<DrawerEntryPayload>}
721
+ * @memberof PageDrawerEntryPayload
1975
722
  */
1976
- 'bundle_name': string;
723
+ 'data': Array<DrawerEntryPayload>;
1977
724
  /**
1978
725
  *
1979
- * @type {string}
1980
- * @memberof TriggerDailyDigestRequest
726
+ * @type {{ [key: string]: string; }}
727
+ * @memberof PageDrawerEntryPayload
1981
728
  */
1982
- 'end'?: string;
729
+ 'links': {
730
+ [key: string]: string;
731
+ };
1983
732
  /**
1984
733
  *
1985
- * @type {string}
1986
- * @memberof TriggerDailyDigestRequest
734
+ * @type {Meta}
735
+ * @memberof PageDrawerEntryPayload
736
+ */
737
+ 'meta': Meta;
738
+ }
739
+ /**
740
+ *
741
+ * @export
742
+ * @interface PageEventLogEntry
743
+ */
744
+ export interface PageEventLogEntry {
745
+ /**
746
+ *
747
+ * @type {Array<EventLogEntry>}
748
+ * @memberof PageEventLogEntry
1987
749
  */
1988
- 'org_id': string;
750
+ 'data': Array<EventLogEntry>;
1989
751
  /**
1990
752
  *
1991
- * @type {string}
1992
- * @memberof TriggerDailyDigestRequest
753
+ * @type {{ [key: string]: string; }}
754
+ * @memberof PageEventLogEntry
755
+ */
756
+ 'links': {
757
+ [key: string]: string;
758
+ };
759
+ /**
760
+ *
761
+ * @type {Meta}
762
+ * @memberof PageEventLogEntry
1993
763
  */
1994
- 'start'?: string;
764
+ 'meta': Meta;
1995
765
  }
1996
766
  /**
1997
767
  *
1998
768
  * @export
1999
- * @interface UpdateApplicationRequest
769
+ * @interface PageEventType
2000
770
  */
2001
- export interface UpdateApplicationRequest {
771
+ export interface PageEventType {
2002
772
  /**
2003
773
  *
2004
- * @type {string}
2005
- * @memberof UpdateApplicationRequest
774
+ * @type {Array<EventType>}
775
+ * @memberof PageEventType
2006
776
  */
2007
- 'name'?: string;
777
+ 'data': Array<EventType>;
2008
778
  /**
2009
779
  *
2010
- * @type {string}
2011
- * @memberof UpdateApplicationRequest
780
+ * @type {{ [key: string]: string; }}
781
+ * @memberof PageEventType
2012
782
  */
2013
- 'display_name'?: string;
783
+ 'links': {
784
+ [key: string]: string;
785
+ };
2014
786
  /**
2015
787
  *
2016
- * @type {string}
2017
- * @memberof UpdateApplicationRequest
788
+ * @type {Meta}
789
+ * @memberof PageEventType
2018
790
  */
2019
- 'owner_role'?: string;
791
+ 'meta': Meta;
2020
792
  }
2021
793
  /**
2022
794
  *
@@ -2068,86 +840,6 @@ export interface UpdateNotificationDrawerStatus {
2068
840
  */
2069
841
  'read_status': boolean;
2070
842
  }
2071
- /**
2072
- *
2073
- * @export
2074
- * @interface WebhookPropertiesDTO
2075
- */
2076
- export interface WebhookPropertiesDTO {
2077
- /**
2078
- *
2079
- * @type {boolean}
2080
- * @memberof WebhookPropertiesDTO
2081
- */
2082
- 'disableSslVerification': boolean;
2083
- /**
2084
- *
2085
- * @type {HttpType}
2086
- * @memberof WebhookPropertiesDTO
2087
- */
2088
- 'method': HttpType;
2089
- /**
2090
- *
2091
- * @type {string}
2092
- * @memberof WebhookPropertiesDTO
2093
- */
2094
- 'url': string;
2095
- /**
2096
- *
2097
- * @type {BasicAuthenticationDTO}
2098
- * @memberof WebhookPropertiesDTO
2099
- */
2100
- 'basicAuthentication'?: BasicAuthenticationDTO;
2101
- /**
2102
- *
2103
- * @type {string}
2104
- * @memberof WebhookPropertiesDTO
2105
- */
2106
- 'bearerAuthentication'?: string;
2107
- /**
2108
- *
2109
- * @type {string}
2110
- * @memberof WebhookPropertiesDTO
2111
- */
2112
- 'secretToken'?: string;
2113
- }
2114
- /**
2115
- *
2116
- * @export
2117
- * @interface X509Certificate
2118
- */
2119
- export interface X509Certificate {
2120
- /**
2121
- *
2122
- * @type {string}
2123
- * @memberof X509Certificate
2124
- */
2125
- 'id'?: string;
2126
- /**
2127
- *
2128
- * @type {string}
2129
- * @memberof X509Certificate
2130
- */
2131
- 'subject_dn': string;
2132
- /**
2133
- *
2134
- * @type {string}
2135
- * @memberof X509Certificate
2136
- */
2137
- 'source_environment': string;
2138
- /**
2139
- *
2140
- * @type {string}
2141
- * @memberof X509Certificate
2142
- */
2143
- 'bundle': string;
2144
- /**
2145
- *
2146
- * @type {string}
2147
- * @memberof X509Certificate
2148
- */
2149
- 'application': string;
2150
- }
2151
843
  /**
2152
844
  * DrawerResourceV1GetDrawerEntriesApi - axios parameter creator
2153
845
  * @export
@@ -3512,6 +2204,69 @@ export declare class NotificationResourceV1UpdateEventTypeBehaviorsApi extends B
3512
2204
  */
3513
2205
  notificationResourceV1UpdateEventTypeBehaviors(eventTypeId: string, requestBody?: Set<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3514
2206
  }
2207
+ /**
2208
+ * NotificationResourceV1UpdateEventTypeEndpointsApi - axios parameter creator
2209
+ * @export
2210
+ */
2211
+ export declare const NotificationResourceV1UpdateEventTypeEndpointsApiAxiosParamCreator: (configuration?: Configuration) => {
2212
+ /**
2213
+ * Updates the list of endpoints associated with an event type.
2214
+ * @summary Update the list of endpoints for an event type
2215
+ * @param {string} eventTypeId UUID of the eventType to associate with the endpoint(s)
2216
+ * @param {Set<string>} [requestBody]
2217
+ * @param {*} [options] Override http request option.
2218
+ * @throws {RequiredError}
2219
+ */
2220
+ notificationResourceV1UpdateEventTypeEndpoints: (eventTypeId: string, requestBody?: Set<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2221
+ };
2222
+ /**
2223
+ * NotificationResourceV1UpdateEventTypeEndpointsApi - functional programming interface
2224
+ * @export
2225
+ */
2226
+ export declare const NotificationResourceV1UpdateEventTypeEndpointsApiFp: (configuration?: Configuration) => {
2227
+ /**
2228
+ * Updates the list of endpoints associated with an event type.
2229
+ * @summary Update the list of endpoints for an event type
2230
+ * @param {string} eventTypeId UUID of the eventType to associate with the endpoint(s)
2231
+ * @param {Set<string>} [requestBody]
2232
+ * @param {*} [options] Override http request option.
2233
+ * @throws {RequiredError}
2234
+ */
2235
+ notificationResourceV1UpdateEventTypeEndpoints(eventTypeId: string, requestBody?: Set<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2236
+ };
2237
+ /**
2238
+ * NotificationResourceV1UpdateEventTypeEndpointsApi - factory interface
2239
+ * @export
2240
+ */
2241
+ export declare const NotificationResourceV1UpdateEventTypeEndpointsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2242
+ /**
2243
+ * Updates the list of endpoints associated with an event type.
2244
+ * @summary Update the list of endpoints for an event type
2245
+ * @param {string} eventTypeId UUID of the eventType to associate with the endpoint(s)
2246
+ * @param {Set<string>} [requestBody]
2247
+ * @param {*} [options] Override http request option.
2248
+ * @throws {RequiredError}
2249
+ */
2250
+ notificationResourceV1UpdateEventTypeEndpoints(eventTypeId: string, requestBody?: Set<string>, options?: any): AxiosPromise<string>;
2251
+ };
2252
+ /**
2253
+ * NotificationResourceV1UpdateEventTypeEndpointsApi - object-oriented interface
2254
+ * @export
2255
+ * @class NotificationResourceV1UpdateEventTypeEndpointsApi
2256
+ * @extends {BaseAPI}
2257
+ */
2258
+ export declare class NotificationResourceV1UpdateEventTypeEndpointsApi extends BaseAPI {
2259
+ /**
2260
+ * Updates the list of endpoints associated with an event type.
2261
+ * @summary Update the list of endpoints for an event type
2262
+ * @param {string} eventTypeId UUID of the eventType to associate with the endpoint(s)
2263
+ * @param {Set<string>} [requestBody]
2264
+ * @param {*} [options] Override http request option.
2265
+ * @throws {RequiredError}
2266
+ * @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
2267
+ */
2268
+ notificationResourceV1UpdateEventTypeEndpoints(eventTypeId: string, requestBody?: Set<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
2269
+ }
3515
2270
  /**
3516
2271
  * OrgConfigResourceV1GetDailyDigestTimePreferenceApi - axios parameter creator
3517
2272
  * @export