@redhat-cloud-services/notifications-client 2.4.0 → 2.4.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/CHANGELOG.md +2 -0
- package/README.md +1 -1
- package/dist/configuration.d.ts +0 -11
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js +0 -11
- package/dist/configuration.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/doc/README.md +28 -56
- package/doc/classes/{BaseAPI.md → index.BaseAPI.md} +9 -7
- package/doc/classes/{RequiredError.md → index.RequiredError.md} +13 -11
- package/doc/enums/{EndpointStatus.md → types.EndpointStatus.md} +9 -7
- package/doc/enums/{EndpointType.md → types.EndpointType.md} +8 -6
- package/doc/enums/{Environment.md → types.Environment.md} +7 -5
- package/doc/enums/{EventLogEntryActionStatus.md → types.EventLogEntryActionStatus.md} +8 -6
- package/doc/enums/{HttpType.md → types.HttpType.md} +6 -4
- package/doc/enums/{NotificationStatus.md → types.NotificationStatus.md} +8 -6
- package/doc/enums/{Status.md → types.Status.md} +5 -3
- package/doc/enums/{SubscriptionType.md → types.SubscriptionType.md} +6 -4
- package/doc/interfaces/{RequestArgs.md → index.RequestArgs.md} +5 -3
- package/doc/interfaces/{AddAccessRequest.md → types.AddAccessRequest.md} +5 -3
- package/doc/interfaces/{AddApplicationRequest.md → types.AddApplicationRequest.md} +7 -5
- package/doc/interfaces/{AggregationEmailTemplate.md → types.AggregationEmailTemplate.md} +17 -15
- package/doc/interfaces/{AggregationEmailTemplateSubjectTemplate.md → types.AggregationEmailTemplateSubjectTemplate.md} +9 -7
- package/doc/interfaces/{Application.md → types.Application.md} +9 -7
- package/doc/interfaces/{Application1.md → types.Application1.md} +5 -3
- package/doc/interfaces/{ApplicationDTO.md → types.ApplicationDTO.md} +9 -7
- package/doc/interfaces/{ApplicationSettingsValue.md → types.ApplicationSettingsValue.md} +5 -3
- package/doc/interfaces/{BasicAuthentication.md → types.BasicAuthentication.md} +5 -3
- package/doc/interfaces/{BehaviorGroup.md → types.BehaviorGroup.md} +15 -13
- package/doc/interfaces/{BehaviorGroupAction.md → types.BehaviorGroupAction.md} +8 -6
- package/doc/interfaces/{BehaviorGroupActionId.md → types.BehaviorGroupActionId.md} +5 -3
- package/doc/interfaces/{Bundle.md → types.Bundle.md} +8 -6
- package/doc/interfaces/{BundleSettingsValue.md → types.BundleSettingsValue.md} +5 -3
- package/doc/interfaces/{CamelProperties.md → types.CamelProperties.md} +11 -9
- package/doc/interfaces/{CreateBehaviorGroupRequest.md → types.CreateBehaviorGroupRequest.md} +9 -7
- package/doc/interfaces/{CreateBehaviorGroupResponse.md → types.CreateBehaviorGroupResponse.md} +9 -7
- package/doc/interfaces/{CurrentStatus.md → types.CurrentStatus.md} +7 -5
- package/doc/interfaces/{DrawerEntryPayload.md → types.DrawerEntryPayload.md} +10 -8
- package/doc/interfaces/{DuplicateNameMigrationReport.md → types.DuplicateNameMigrationReport.md} +5 -3
- package/doc/interfaces/{Endpoint.md → types.Endpoint.md} +16 -14
- package/doc/interfaces/{EndpointPage.md → types.EndpointPage.md} +8 -6
- package/doc/interfaces/{EndpointTestRequest.md → types.EndpointTestRequest.md} +4 -2
- package/doc/interfaces/{EventLogEntry.md → types.EventLogEntry.md} +11 -9
- package/doc/interfaces/{EventLogEntryAction.md → types.EventLogEntryAction.md} +12 -10
- package/doc/interfaces/{EventType.md → types.EventType.md} +15 -13
- package/doc/interfaces/{EventTypeBehavior.md → types.EventTypeBehavior.md} +8 -6
- package/doc/interfaces/{EventTypeBehaviorId.md → types.EventTypeBehaviorId.md} +5 -3
- package/doc/interfaces/{EventTypeSettingsValue.md → types.EventTypeSettingsValue.md} +6 -4
- package/doc/interfaces/{Facet.md → types.Facet.md} +8 -6
- package/doc/interfaces/{InstantEmailTemplate.md → types.InstantEmailTemplate.md} +15 -13
- package/doc/interfaces/{InternalApplicationUserPermission.md → types.InternalApplicationUserPermission.md} +6 -4
- package/doc/interfaces/{InternalRoleAccess.md → types.InternalRoleAccess.md} +6 -4
- package/doc/interfaces/{InternalUserPermissions.md → types.InternalUserPermissions.md} +7 -5
- package/doc/interfaces/{MessageValidationResponse.md → types.MessageValidationResponse.md} +4 -2
- package/doc/interfaces/{Meta.md → types.Meta.md} +4 -2
- package/doc/interfaces/{NotificationHistory.md → types.NotificationHistory.md} +14 -12
- package/doc/interfaces/{PageBehaviorGroup.md → types.PageBehaviorGroup.md} +8 -6
- package/doc/interfaces/{PageDrawerEntryPayload.md → types.PageDrawerEntryPayload.md} +8 -6
- package/doc/interfaces/{PageEventLogEntry.md → types.PageEventLogEntry.md} +8 -6
- package/doc/interfaces/{PageEventType.md → types.PageEventType.md} +8 -6
- package/doc/interfaces/{PageNotificationHistory.md → types.PageNotificationHistory.md} +8 -6
- package/doc/interfaces/{RenderEmailTemplateRequest.md → types.RenderEmailTemplateRequest.md} +5 -3
- package/doc/interfaces/{RequestDefaultBehaviorGroupPropertyList.md → types.RequestDefaultBehaviorGroupPropertyList.md} +5 -3
- package/doc/interfaces/{RequestSystemSubscriptionProperties.md → types.RequestSystemSubscriptionProperties.md} +5 -3
- package/doc/interfaces/{ServerInfo.md → types.ServerInfo.md} +5 -3
- package/doc/interfaces/{SettingsValuesByEventType.md → types.SettingsValuesByEventType.md} +5 -3
- package/doc/interfaces/{SystemSubscriptionProperties.md → types.SystemSubscriptionProperties.md} +6 -4
- package/doc/interfaces/{Template.md → types.Template.md} +9 -7
- package/doc/interfaces/{TriggerDailyDigestRequest.md → types.TriggerDailyDigestRequest.md} +8 -6
- package/doc/interfaces/{UpdateApplicationRequest.md → types.UpdateApplicationRequest.md} +6 -4
- package/doc/interfaces/{UpdateBehaviorGroupRequest.md → types.UpdateBehaviorGroupRequest.md} +7 -5
- package/doc/interfaces/{UpdateNotificationDrawerStatus.md → types.UpdateNotificationDrawerStatus.md} +5 -3
- package/doc/interfaces/{WebhookProperties.md → types.WebhookProperties.md} +11 -9
- package/doc/interfaces/{X509Certificate.md → types.X509Certificate.md} +8 -6
- package/doc/modules/DrawerResourceV1GetDrawerEntries.md +78 -0
- package/doc/modules/DrawerResourceV1UpdateNotificationReadStatus.md +68 -0
- package/doc/modules/EventResourceV1GetEvents.md +83 -0
- package/doc/modules/NotificationResourceV1AppendBehaviorGroupToEventType.md +67 -0
- package/doc/modules/NotificationResourceV1CreateBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md +69 -0
- package/doc/modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md +68 -0
- package/doc/modules/NotificationResourceV1GetApplicationByNameAndBundleName.md +69 -0
- package/doc/modules/NotificationResourceV1GetApplicationsFacets.md +68 -0
- package/doc/modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md +68 -0
- package/doc/modules/NotificationResourceV1GetBundleByName.md +68 -0
- package/doc/modules/NotificationResourceV1GetBundleFacets.md +68 -0
- package/doc/modules/NotificationResourceV1GetEventTypes.md +75 -0
- package/doc/modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md +70 -0
- package/doc/modules/NotificationResourceV1GetLinkedBehaviorGroups.md +73 -0
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroup.md +69 -0
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroupActions.md +69 -0
- package/doc/modules/NotificationResourceV1UpdateEventTypeBehaviors.md +69 -0
- package/doc/modules/OrgConfigResourceV1GetDailyDigestTimePreference.md +67 -0
- package/doc/modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md +68 -0
- package/doc/modules/index.md +648 -0
- package/doc/modules/types.md +74 -0
- package/doc/modules.md +28 -751
- package/package.json +1 -1
package/doc/modules.md
CHANGED
|
@@ -1,755 +1,32 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](README.md) / Exports
|
|
2
2
|
|
|
3
|
-
# @redhat-cloud-services/
|
|
3
|
+
# @redhat-cloud-services/javascript-clients
|
|
4
4
|
|
|
5
5
|
## Table of contents
|
|
6
6
|
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
16
|
-
- [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
29
|
-
- [
|
|
30
|
-
- [
|
|
31
|
-
- [
|
|
32
|
-
- [
|
|
33
|
-
- [BasicAuthentication](interfaces/BasicAuthentication.md)
|
|
34
|
-
- [BehaviorGroup](interfaces/BehaviorGroup.md)
|
|
35
|
-
- [BehaviorGroupAction](interfaces/BehaviorGroupAction.md)
|
|
36
|
-
- [BehaviorGroupActionId](interfaces/BehaviorGroupActionId.md)
|
|
37
|
-
- [Bundle](interfaces/Bundle.md)
|
|
38
|
-
- [BundleSettingsValue](interfaces/BundleSettingsValue.md)
|
|
39
|
-
- [CamelProperties](interfaces/CamelProperties.md)
|
|
40
|
-
- [CreateBehaviorGroupRequest](interfaces/CreateBehaviorGroupRequest.md)
|
|
41
|
-
- [CreateBehaviorGroupResponse](interfaces/CreateBehaviorGroupResponse.md)
|
|
42
|
-
- [CurrentStatus](interfaces/CurrentStatus.md)
|
|
43
|
-
- [DrawerEntryPayload](interfaces/DrawerEntryPayload.md)
|
|
44
|
-
- [DuplicateNameMigrationReport](interfaces/DuplicateNameMigrationReport.md)
|
|
45
|
-
- [Endpoint](interfaces/Endpoint.md)
|
|
46
|
-
- [EndpointPage](interfaces/EndpointPage.md)
|
|
47
|
-
- [EndpointTestRequest](interfaces/EndpointTestRequest.md)
|
|
48
|
-
- [EventLogEntry](interfaces/EventLogEntry.md)
|
|
49
|
-
- [EventLogEntryAction](interfaces/EventLogEntryAction.md)
|
|
50
|
-
- [EventType](interfaces/EventType.md)
|
|
51
|
-
- [EventTypeBehavior](interfaces/EventTypeBehavior.md)
|
|
52
|
-
- [EventTypeBehaviorId](interfaces/EventTypeBehaviorId.md)
|
|
53
|
-
- [EventTypeSettingsValue](interfaces/EventTypeSettingsValue.md)
|
|
54
|
-
- [Facet](interfaces/Facet.md)
|
|
55
|
-
- [InstantEmailTemplate](interfaces/InstantEmailTemplate.md)
|
|
56
|
-
- [InternalApplicationUserPermission](interfaces/InternalApplicationUserPermission.md)
|
|
57
|
-
- [InternalRoleAccess](interfaces/InternalRoleAccess.md)
|
|
58
|
-
- [InternalUserPermissions](interfaces/InternalUserPermissions.md)
|
|
59
|
-
- [MessageValidationResponse](interfaces/MessageValidationResponse.md)
|
|
60
|
-
- [Meta](interfaces/Meta.md)
|
|
61
|
-
- [NotificationHistory](interfaces/NotificationHistory.md)
|
|
62
|
-
- [PageBehaviorGroup](interfaces/PageBehaviorGroup.md)
|
|
63
|
-
- [PageDrawerEntryPayload](interfaces/PageDrawerEntryPayload.md)
|
|
64
|
-
- [PageEventLogEntry](interfaces/PageEventLogEntry.md)
|
|
65
|
-
- [PageEventType](interfaces/PageEventType.md)
|
|
66
|
-
- [PageNotificationHistory](interfaces/PageNotificationHistory.md)
|
|
67
|
-
- [RenderEmailTemplateRequest](interfaces/RenderEmailTemplateRequest.md)
|
|
68
|
-
- [RequestArgs](interfaces/RequestArgs.md)
|
|
69
|
-
- [RequestDefaultBehaviorGroupPropertyList](interfaces/RequestDefaultBehaviorGroupPropertyList.md)
|
|
70
|
-
- [RequestSystemSubscriptionProperties](interfaces/RequestSystemSubscriptionProperties.md)
|
|
71
|
-
- [ServerInfo](interfaces/ServerInfo.md)
|
|
72
|
-
- [SettingsValuesByEventType](interfaces/SettingsValuesByEventType.md)
|
|
73
|
-
- [SystemSubscriptionProperties](interfaces/SystemSubscriptionProperties.md)
|
|
74
|
-
- [Template](interfaces/Template.md)
|
|
75
|
-
- [TriggerDailyDigestRequest](interfaces/TriggerDailyDigestRequest.md)
|
|
76
|
-
- [UpdateApplicationRequest](interfaces/UpdateApplicationRequest.md)
|
|
77
|
-
- [UpdateBehaviorGroupRequest](interfaces/UpdateBehaviorGroupRequest.md)
|
|
78
|
-
- [UpdateNotificationDrawerStatus](interfaces/UpdateNotificationDrawerStatus.md)
|
|
79
|
-
- [WebhookProperties](interfaces/WebhookProperties.md)
|
|
80
|
-
- [X509Certificate](interfaces/X509Certificate.md)
|
|
81
|
-
|
|
82
|
-
### Variables
|
|
83
|
-
|
|
84
|
-
- [BASE\_PATH](modules.md#base_path)
|
|
85
|
-
- [COLLECTION\_FORMATS](modules.md#collection_formats)
|
|
86
|
-
|
|
87
|
-
### Functions
|
|
88
|
-
|
|
89
|
-
- [drawerResourceV1GetDrawerEntries](modules.md#drawerresourcev1getdrawerentries)
|
|
90
|
-
- [drawerResourceV1UpdateNotificationReadStatus](modules.md#drawerresourcev1updatenotificationreadstatus)
|
|
91
|
-
- [eventResourceV1GetEvents](modules.md#eventresourcev1getevents)
|
|
92
|
-
- [notificationResourceV1AppendBehaviorGroupToEventType](modules.md#notificationresourcev1appendbehaviorgrouptoeventtype)
|
|
93
|
-
- [notificationResourceV1CreateBehaviorGroup](modules.md#notificationresourcev1createbehaviorgroup)
|
|
94
|
-
- [notificationResourceV1DeleteBehaviorGroup](modules.md#notificationresourcev1deletebehaviorgroup)
|
|
95
|
-
- [notificationResourceV1DeleteBehaviorGroupFromEventType](modules.md#notificationresourcev1deletebehaviorgroupfromeventtype)
|
|
96
|
-
- [notificationResourceV1FindBehaviorGroupsByBundleId](modules.md#notificationresourcev1findbehaviorgroupsbybundleid)
|
|
97
|
-
- [notificationResourceV1GetApplicationByNameAndBundleName](modules.md#notificationresourcev1getapplicationbynameandbundlename)
|
|
98
|
-
- [notificationResourceV1GetApplicationsFacets](modules.md#notificationresourcev1getapplicationsfacets)
|
|
99
|
-
- [notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint](modules.md#notificationresourcev1getbehaviorgroupsaffectedbyremovalofendpoint)
|
|
100
|
-
- [notificationResourceV1GetBundleByName](modules.md#notificationresourcev1getbundlebyname)
|
|
101
|
-
- [notificationResourceV1GetBundleFacets](modules.md#notificationresourcev1getbundlefacets)
|
|
102
|
-
- [notificationResourceV1GetEventTypes](modules.md#notificationresourcev1geteventtypes)
|
|
103
|
-
- [notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup](modules.md#notificationresourcev1geteventtypesaffectedbyremovalofbehaviorgroup)
|
|
104
|
-
- [notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName](modules.md#notificationresourcev1geteventtypesbynameandbundleandapplicationname)
|
|
105
|
-
- [notificationResourceV1GetLinkedBehaviorGroups](modules.md#notificationresourcev1getlinkedbehaviorgroups)
|
|
106
|
-
- [notificationResourceV1UpdateBehaviorGroup](modules.md#notificationresourcev1updatebehaviorgroup)
|
|
107
|
-
- [notificationResourceV1UpdateBehaviorGroupActions](modules.md#notificationresourcev1updatebehaviorgroupactions)
|
|
108
|
-
- [notificationResourceV1UpdateEventTypeBehaviors](modules.md#notificationresourcev1updateeventtypebehaviors)
|
|
109
|
-
- [orgConfigResourceV1GetDailyDigestTimePreference](modules.md#orgconfigresourcev1getdailydigesttimepreference)
|
|
110
|
-
- [orgConfigResourceV1SaveDailyDigestTimePreference](modules.md#orgconfigresourcev1savedailydigesttimepreference)
|
|
111
|
-
|
|
112
|
-
## Variables
|
|
113
|
-
|
|
114
|
-
### BASE\_PATH
|
|
115
|
-
|
|
116
|
-
• `Const` **BASE\_PATH**: `string`
|
|
117
|
-
|
|
118
|
-
#### Defined in
|
|
119
|
-
|
|
120
|
-
[packages/notifications/base.ts:22](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/base.ts#L22)
|
|
121
|
-
|
|
122
|
-
___
|
|
123
|
-
|
|
124
|
-
### COLLECTION\_FORMATS
|
|
125
|
-
|
|
126
|
-
• `Const` **COLLECTION\_FORMATS**: `Object`
|
|
127
|
-
|
|
128
|
-
**`Export`**
|
|
129
|
-
|
|
130
|
-
#### Type declaration
|
|
131
|
-
|
|
132
|
-
| Name | Type |
|
|
133
|
-
| :------ | :------ |
|
|
134
|
-
| `csv` | `string` |
|
|
135
|
-
| `pipes` | `string` |
|
|
136
|
-
| `ssv` | `string` |
|
|
137
|
-
| `tsv` | `string` |
|
|
138
|
-
|
|
139
|
-
#### Defined in
|
|
140
|
-
|
|
141
|
-
[packages/notifications/base.ts:28](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/base.ts#L28)
|
|
142
|
-
|
|
143
|
-
## Functions
|
|
144
|
-
|
|
145
|
-
### drawerResourceV1GetDrawerEntries
|
|
146
|
-
|
|
147
|
-
▸ **drawerResourceV1GetDrawerEntries**(`...config`): `Promise`\<`RequestArgs`\>
|
|
148
|
-
|
|
149
|
-
Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
150
|
-
|
|
151
|
-
#### Parameters
|
|
152
|
-
|
|
153
|
-
| Name | Type | Description |
|
|
154
|
-
| :------ | :------ | :------ |
|
|
155
|
-
| `...config` | [`DrawerResourceV1GetDrawerEntriesParams`] \| [`Set`\<`string`\>, `Set`\<`string`\>, `string`, `Set`\<`string`\>, `number`, `number`, `number`, `boolean`, `string`, `string`, `string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
156
|
-
|
|
157
|
-
#### Returns
|
|
158
|
-
|
|
159
|
-
`Promise`\<`RequestArgs`\>
|
|
160
|
-
|
|
161
|
-
**`Summary`**
|
|
162
|
-
|
|
163
|
-
Retrieve drawer notifications entries.
|
|
164
|
-
|
|
165
|
-
**`Throws`**
|
|
166
|
-
|
|
167
|
-
#### Defined in
|
|
168
|
-
|
|
169
|
-
[packages/notifications/DrawerResourceV1GetDrawerEntries/index.ts:94](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/DrawerResourceV1GetDrawerEntries/index.ts#L94)
|
|
170
|
-
|
|
171
|
-
___
|
|
172
|
-
|
|
173
|
-
### drawerResourceV1UpdateNotificationReadStatus
|
|
174
|
-
|
|
175
|
-
▸ **drawerResourceV1UpdateNotificationReadStatus**(`...config`): `Promise`\<`RequestArgs`\>
|
|
176
|
-
|
|
177
|
-
Update drawer notifications status.
|
|
178
|
-
|
|
179
|
-
#### Parameters
|
|
180
|
-
|
|
181
|
-
| Name | Type | Description |
|
|
182
|
-
| :------ | :------ | :------ |
|
|
183
|
-
| `...config` | [`DrawerResourceV1UpdateNotificationReadStatusParams`] \| [[`UpdateNotificationDrawerStatus`](interfaces/UpdateNotificationDrawerStatus.md), `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
184
|
-
|
|
185
|
-
#### Returns
|
|
186
|
-
|
|
187
|
-
`Promise`\<`RequestArgs`\>
|
|
188
|
-
|
|
189
|
-
**`Summary`**
|
|
190
|
-
|
|
191
|
-
Update drawer notifications status.
|
|
192
|
-
|
|
193
|
-
**`Throws`**
|
|
194
|
-
|
|
195
|
-
#### Defined in
|
|
196
|
-
|
|
197
|
-
[packages/notifications/DrawerResourceV1UpdateNotificationReadStatus/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/DrawerResourceV1UpdateNotificationReadStatus/index.ts#L34)
|
|
198
|
-
|
|
199
|
-
___
|
|
200
|
-
|
|
201
|
-
### eventResourceV1GetEvents
|
|
202
|
-
|
|
203
|
-
▸ **eventResourceV1GetEvents**(`...config`): `Promise`\<`RequestArgs`\>
|
|
204
|
-
|
|
205
|
-
Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
206
|
-
|
|
207
|
-
#### Parameters
|
|
208
|
-
|
|
209
|
-
| Name | Type | Description |
|
|
210
|
-
| :------ | :------ | :------ |
|
|
211
|
-
| `...config` | [`EventResourceV1GetEventsParams`] \| [`Set`\<`string`\>, `Set`\<`string`\>, `string`, `Set`\<`string`\>, `string`, `boolean`, `boolean`, `boolean`, `Set`\<`boolean`\>, `number`, `number`, `number`, `string`, `string`, `string`, `Set`\<[`EventLogEntryActionStatus`](enums/EventLogEntryActionStatus.md)\>, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
212
|
-
|
|
213
|
-
#### Returns
|
|
214
|
-
|
|
215
|
-
`Promise`\<`RequestArgs`\>
|
|
216
|
-
|
|
217
|
-
**`Summary`**
|
|
218
|
-
|
|
219
|
-
Retrieve the event log entrie
|
|
220
|
-
|
|
221
|
-
**`Throws`**
|
|
222
|
-
|
|
223
|
-
#### Defined in
|
|
224
|
-
|
|
225
|
-
[packages/notifications/EventResourceV1GetEvents/index.ts:124](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/EventResourceV1GetEvents/index.ts#L124)
|
|
226
|
-
|
|
227
|
-
___
|
|
228
|
-
|
|
229
|
-
### notificationResourceV1AppendBehaviorGroupToEventType
|
|
230
|
-
|
|
231
|
-
▸ **notificationResourceV1AppendBehaviorGroupToEventType**(`...config`): `Promise`\<`RequestArgs`\>
|
|
232
|
-
|
|
233
|
-
#### Parameters
|
|
234
|
-
|
|
235
|
-
| Name | Type | Description |
|
|
236
|
-
| :------ | :------ | :------ |
|
|
237
|
-
| `...config` | [`NotificationResourceV1AppendBehaviorGroupToEventTypeParams`] \| [`string`, `string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
238
|
-
|
|
239
|
-
#### Returns
|
|
240
|
-
|
|
241
|
-
`Promise`\<`RequestArgs`\>
|
|
242
|
-
|
|
243
|
-
**`Summary`**
|
|
244
|
-
|
|
245
|
-
Add a behavior group to the given event type.
|
|
246
|
-
|
|
247
|
-
**`Throws`**
|
|
248
|
-
|
|
249
|
-
#### Defined in
|
|
250
|
-
|
|
251
|
-
[packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts#L40)
|
|
252
|
-
|
|
253
|
-
___
|
|
254
|
-
|
|
255
|
-
### notificationResourceV1CreateBehaviorGroup
|
|
256
|
-
|
|
257
|
-
▸ **notificationResourceV1CreateBehaviorGroup**(`...config`): `Promise`\<`RequestArgs`\>
|
|
258
|
-
|
|
259
|
-
Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
260
|
-
|
|
261
|
-
#### Parameters
|
|
262
|
-
|
|
263
|
-
| Name | Type | Description |
|
|
264
|
-
| :------ | :------ | :------ |
|
|
265
|
-
| `...config` | [`NotificationResourceV1CreateBehaviorGroupParams`] \| [[`CreateBehaviorGroupRequest`](interfaces/CreateBehaviorGroupRequest.md), `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
266
|
-
|
|
267
|
-
#### Returns
|
|
268
|
-
|
|
269
|
-
`Promise`\<`RequestArgs`\>
|
|
270
|
-
|
|
271
|
-
**`Summary`**
|
|
272
|
-
|
|
273
|
-
Create a behavior group
|
|
274
|
-
|
|
275
|
-
**`Throws`**
|
|
276
|
-
|
|
277
|
-
#### Defined in
|
|
278
|
-
|
|
279
|
-
[packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts#L34)
|
|
280
|
-
|
|
281
|
-
___
|
|
282
|
-
|
|
283
|
-
### notificationResourceV1DeleteBehaviorGroup
|
|
284
|
-
|
|
285
|
-
▸ **notificationResourceV1DeleteBehaviorGroup**(`...config`): `Promise`\<`RequestArgs`\>
|
|
286
|
-
|
|
287
|
-
Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
288
|
-
|
|
289
|
-
#### Parameters
|
|
290
|
-
|
|
291
|
-
| Name | Type | Description |
|
|
292
|
-
| :------ | :------ | :------ |
|
|
293
|
-
| `...config` | [`NotificationResourceV1DeleteBehaviorGroupParams`] \| [`string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
294
|
-
|
|
295
|
-
#### Returns
|
|
296
|
-
|
|
297
|
-
`Promise`\<`RequestArgs`\>
|
|
298
|
-
|
|
299
|
-
**`Summary`**
|
|
300
|
-
|
|
301
|
-
Delete a behavior group
|
|
302
|
-
|
|
303
|
-
**`Throws`**
|
|
304
|
-
|
|
305
|
-
#### Defined in
|
|
306
|
-
|
|
307
|
-
[packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts#L34)
|
|
308
|
-
|
|
309
|
-
___
|
|
310
|
-
|
|
311
|
-
### notificationResourceV1DeleteBehaviorGroupFromEventType
|
|
312
|
-
|
|
313
|
-
▸ **notificationResourceV1DeleteBehaviorGroupFromEventType**(`...config`): `Promise`\<`RequestArgs`\>
|
|
314
|
-
|
|
315
|
-
Adds a behavior group to the specified event type.
|
|
316
|
-
|
|
317
|
-
#### Parameters
|
|
318
|
-
|
|
319
|
-
| Name | Type | Description |
|
|
320
|
-
| :------ | :------ | :------ |
|
|
321
|
-
| `...config` | [`string`, `string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams`] | with all available params. |
|
|
322
|
-
|
|
323
|
-
#### Returns
|
|
324
|
-
|
|
325
|
-
`Promise`\<`RequestArgs`\>
|
|
326
|
-
|
|
327
|
-
**`Summary`**
|
|
328
|
-
|
|
329
|
-
Add a behavior group to an event type
|
|
330
|
-
|
|
331
|
-
**`Throws`**
|
|
332
|
-
|
|
333
|
-
#### Defined in
|
|
334
|
-
|
|
335
|
-
[packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts#L40)
|
|
336
|
-
|
|
337
|
-
___
|
|
338
|
-
|
|
339
|
-
### notificationResourceV1FindBehaviorGroupsByBundleId
|
|
340
|
-
|
|
341
|
-
▸ **notificationResourceV1FindBehaviorGroupsByBundleId**(`...config`): `Promise`\<`RequestArgs`\>
|
|
342
|
-
|
|
343
|
-
Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
|
|
344
|
-
|
|
345
|
-
#### Parameters
|
|
346
|
-
|
|
347
|
-
| Name | Type | Description |
|
|
348
|
-
| :------ | :------ | :------ |
|
|
349
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1FindBehaviorGroupsByBundleIdParams`] | with all available params. |
|
|
350
|
-
|
|
351
|
-
#### Returns
|
|
352
|
-
|
|
353
|
-
`Promise`\<`RequestArgs`\>
|
|
354
|
-
|
|
355
|
-
**`Summary`**
|
|
356
|
-
|
|
357
|
-
List behavior groups in a bundle
|
|
358
|
-
|
|
359
|
-
**`Throws`**
|
|
360
|
-
|
|
361
|
-
#### Defined in
|
|
362
|
-
|
|
363
|
-
[packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts#L34)
|
|
364
|
-
|
|
365
|
-
___
|
|
366
|
-
|
|
367
|
-
### notificationResourceV1GetApplicationByNameAndBundleName
|
|
368
|
-
|
|
369
|
-
▸ **notificationResourceV1GetApplicationByNameAndBundleName**(`...config`): `Promise`\<`RequestArgs`\>
|
|
370
|
-
|
|
371
|
-
Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
|
|
372
|
-
|
|
373
|
-
#### Parameters
|
|
374
|
-
|
|
375
|
-
| Name | Type | Description |
|
|
376
|
-
| :------ | :------ | :------ |
|
|
377
|
-
| `...config` | [`string`, `string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1GetApplicationByNameAndBundleNameParams`] | with all available params. |
|
|
378
|
-
|
|
379
|
-
#### Returns
|
|
380
|
-
|
|
381
|
-
`Promise`\<`RequestArgs`\>
|
|
382
|
-
|
|
383
|
-
**`Summary`**
|
|
384
|
-
|
|
385
|
-
Retrieve an application by bundle and application name
|
|
386
|
-
|
|
387
|
-
**`Throws`**
|
|
388
|
-
|
|
389
|
-
#### Defined in
|
|
390
|
-
|
|
391
|
-
[packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts#L40)
|
|
392
|
-
|
|
393
|
-
___
|
|
394
|
-
|
|
395
|
-
### notificationResourceV1GetApplicationsFacets
|
|
396
|
-
|
|
397
|
-
▸ **notificationResourceV1GetApplicationsFacets**(`...config`): `Promise`\<`RequestArgs`\>
|
|
398
|
-
|
|
399
|
-
Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
400
|
-
|
|
401
|
-
#### Parameters
|
|
402
|
-
|
|
403
|
-
| Name | Type | Description |
|
|
404
|
-
| :------ | :------ | :------ |
|
|
405
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1GetApplicationsFacetsParams`] | with all available params. |
|
|
406
|
-
|
|
407
|
-
#### Returns
|
|
408
|
-
|
|
409
|
-
`Promise`\<`RequestArgs`\>
|
|
410
|
-
|
|
411
|
-
**`Summary`**
|
|
412
|
-
|
|
413
|
-
List configured application
|
|
414
|
-
|
|
415
|
-
**`Throws`**
|
|
416
|
-
|
|
417
|
-
#### Defined in
|
|
418
|
-
|
|
419
|
-
[packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts#L34)
|
|
420
|
-
|
|
421
|
-
___
|
|
422
|
-
|
|
423
|
-
### notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint
|
|
424
|
-
|
|
425
|
-
▸ **notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint**(`...config`): `Promise`\<`RequestArgs`\>
|
|
426
|
-
|
|
427
|
-
Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
428
|
-
|
|
429
|
-
#### Parameters
|
|
430
|
-
|
|
431
|
-
| Name | Type | Description |
|
|
432
|
-
| :------ | :------ | :------ |
|
|
433
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams`] | with all available params. |
|
|
434
|
-
|
|
435
|
-
#### Returns
|
|
436
|
-
|
|
437
|
-
`Promise`\<`RequestArgs`\>
|
|
438
|
-
|
|
439
|
-
**`Summary`**
|
|
440
|
-
|
|
441
|
-
List the behavior groups affected by the removal of an endpoint
|
|
442
|
-
|
|
443
|
-
**`Throws`**
|
|
444
|
-
|
|
445
|
-
#### Defined in
|
|
446
|
-
|
|
447
|
-
[packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts#L34)
|
|
448
|
-
|
|
449
|
-
___
|
|
450
|
-
|
|
451
|
-
### notificationResourceV1GetBundleByName
|
|
452
|
-
|
|
453
|
-
▸ **notificationResourceV1GetBundleByName**(`...config`): `Promise`\<`RequestArgs`\>
|
|
454
|
-
|
|
455
|
-
Retrieves the details of a bundle by searching by its name.
|
|
456
|
-
|
|
457
|
-
#### Parameters
|
|
458
|
-
|
|
459
|
-
| Name | Type | Description |
|
|
460
|
-
| :------ | :------ | :------ |
|
|
461
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1GetBundleByNameParams`] | with all available params. |
|
|
462
|
-
|
|
463
|
-
#### Returns
|
|
464
|
-
|
|
465
|
-
`Promise`\<`RequestArgs`\>
|
|
466
|
-
|
|
467
|
-
**`Summary`**
|
|
468
|
-
|
|
469
|
-
Retrieve a bundle by name
|
|
470
|
-
|
|
471
|
-
**`Throws`**
|
|
472
|
-
|
|
473
|
-
#### Defined in
|
|
474
|
-
|
|
475
|
-
[packages/notifications/NotificationResourceV1GetBundleByName/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetBundleByName/index.ts#L34)
|
|
476
|
-
|
|
477
|
-
___
|
|
478
|
-
|
|
479
|
-
### notificationResourceV1GetBundleFacets
|
|
480
|
-
|
|
481
|
-
▸ **notificationResourceV1GetBundleFacets**(`...config`): `Promise`\<`RequestArgs`\>
|
|
482
|
-
|
|
483
|
-
Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
484
|
-
|
|
485
|
-
#### Parameters
|
|
486
|
-
|
|
487
|
-
| Name | Type | Description |
|
|
488
|
-
| :------ | :------ | :------ |
|
|
489
|
-
| `...config` | [`NotificationResourceV1GetBundleFacetsParams`] \| [`boolean`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
490
|
-
|
|
491
|
-
#### Returns
|
|
492
|
-
|
|
493
|
-
`Promise`\<`RequestArgs`\>
|
|
494
|
-
|
|
495
|
-
**`Summary`**
|
|
496
|
-
|
|
497
|
-
List configured bundle
|
|
498
|
-
|
|
499
|
-
**`Throws`**
|
|
500
|
-
|
|
501
|
-
#### Defined in
|
|
502
|
-
|
|
503
|
-
[packages/notifications/NotificationResourceV1GetBundleFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetBundleFacets/index.ts#L34)
|
|
504
|
-
|
|
505
|
-
___
|
|
506
|
-
|
|
507
|
-
### notificationResourceV1GetEventTypes
|
|
508
|
-
|
|
509
|
-
▸ **notificationResourceV1GetEventTypes**(`...config`): `Promise`\<`RequestArgs`\>
|
|
510
|
-
|
|
511
|
-
Lists all event types. You can filter the returned list by bundle or application name.
|
|
512
|
-
|
|
513
|
-
#### Parameters
|
|
514
|
-
|
|
515
|
-
| Name | Type | Description |
|
|
516
|
-
| :------ | :------ | :------ |
|
|
517
|
-
| `...config` | [`NotificationResourceV1GetEventTypesParams`] \| [`Set`\<`string`\>, `string`, `string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
518
|
-
|
|
519
|
-
#### Returns
|
|
520
|
-
|
|
521
|
-
`Promise`\<`RequestArgs`\>
|
|
522
|
-
|
|
523
|
-
**`Summary`**
|
|
524
|
-
|
|
525
|
-
List all event type
|
|
526
|
-
|
|
527
|
-
**`Throws`**
|
|
528
|
-
|
|
529
|
-
#### Defined in
|
|
530
|
-
|
|
531
|
-
[packages/notifications/NotificationResourceV1GetEventTypes/index.ts:76](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetEventTypes/index.ts#L76)
|
|
532
|
-
|
|
533
|
-
___
|
|
534
|
-
|
|
535
|
-
### notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup
|
|
536
|
-
|
|
537
|
-
▸ **notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup**(`...config`): `Promise`\<`RequestArgs`\>
|
|
538
|
-
|
|
539
|
-
Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
540
|
-
|
|
541
|
-
#### Parameters
|
|
542
|
-
|
|
543
|
-
| Name | Type | Description |
|
|
544
|
-
| :------ | :------ | :------ |
|
|
545
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams`] | with all available params. |
|
|
546
|
-
|
|
547
|
-
#### Returns
|
|
548
|
-
|
|
549
|
-
`Promise`\<`RequestArgs`\>
|
|
550
|
-
|
|
551
|
-
**`Summary`**
|
|
552
|
-
|
|
553
|
-
List the event types affected by the removal of a behavior group
|
|
554
|
-
|
|
555
|
-
**`Throws`**
|
|
556
|
-
|
|
557
|
-
#### Defined in
|
|
558
|
-
|
|
559
|
-
[packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts#L34)
|
|
560
|
-
|
|
561
|
-
___
|
|
562
|
-
|
|
563
|
-
### notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName
|
|
564
|
-
|
|
565
|
-
▸ **notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName**(`...config`): `Promise`\<`RequestArgs`\>
|
|
566
|
-
|
|
567
|
-
Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
568
|
-
|
|
569
|
-
#### Parameters
|
|
570
|
-
|
|
571
|
-
| Name | Type | Description |
|
|
572
|
-
| :------ | :------ | :------ |
|
|
573
|
-
| `...config` | [`NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams`] \| [`string`, `string`, `string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
574
|
-
|
|
575
|
-
#### Returns
|
|
576
|
-
|
|
577
|
-
`Promise`\<`RequestArgs`\>
|
|
578
|
-
|
|
579
|
-
**`Summary`**
|
|
580
|
-
|
|
581
|
-
Retrieve an event type by bundle, application and event type name
|
|
582
|
-
|
|
583
|
-
**`Throws`**
|
|
584
|
-
|
|
585
|
-
#### Defined in
|
|
586
|
-
|
|
587
|
-
[packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts#L46)
|
|
588
|
-
|
|
589
|
-
___
|
|
590
|
-
|
|
591
|
-
### notificationResourceV1GetLinkedBehaviorGroups
|
|
592
|
-
|
|
593
|
-
▸ **notificationResourceV1GetLinkedBehaviorGroups**(`...config`): `Promise`\<`RequestArgs`\>
|
|
594
|
-
|
|
595
|
-
Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
596
|
-
|
|
597
|
-
#### Parameters
|
|
598
|
-
|
|
599
|
-
| Name | Type | Description |
|
|
600
|
-
| :------ | :------ | :------ |
|
|
601
|
-
| `...config` | [`NotificationResourceV1GetLinkedBehaviorGroupsParams`] \| [`string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
602
|
-
|
|
603
|
-
#### Returns
|
|
604
|
-
|
|
605
|
-
`Promise`\<`RequestArgs`\>
|
|
606
|
-
|
|
607
|
-
**`Summary`**
|
|
608
|
-
|
|
609
|
-
List the behavior groups linked to an event type
|
|
610
|
-
|
|
611
|
-
**`Throws`**
|
|
612
|
-
|
|
613
|
-
#### Defined in
|
|
614
|
-
|
|
615
|
-
[packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts#L64)
|
|
616
|
-
|
|
617
|
-
___
|
|
618
|
-
|
|
619
|
-
### notificationResourceV1UpdateBehaviorGroup
|
|
620
|
-
|
|
621
|
-
▸ **notificationResourceV1UpdateBehaviorGroup**(`...config`): `Promise`\<`RequestArgs`\>
|
|
622
|
-
|
|
623
|
-
Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
624
|
-
|
|
625
|
-
#### Parameters
|
|
626
|
-
|
|
627
|
-
| Name | Type | Description |
|
|
628
|
-
| :------ | :------ | :------ |
|
|
629
|
-
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupParams`] \| [`string`, [`UpdateBehaviorGroupRequest`](interfaces/UpdateBehaviorGroupRequest.md), `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
630
|
-
|
|
631
|
-
#### Returns
|
|
632
|
-
|
|
633
|
-
`Promise`\<`RequestArgs`\>
|
|
634
|
-
|
|
635
|
-
**`Summary`**
|
|
636
|
-
|
|
637
|
-
Update a behavior group
|
|
638
|
-
|
|
639
|
-
**`Throws`**
|
|
640
|
-
|
|
641
|
-
#### Defined in
|
|
642
|
-
|
|
643
|
-
[packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts#L40)
|
|
644
|
-
|
|
645
|
-
___
|
|
646
|
-
|
|
647
|
-
### notificationResourceV1UpdateBehaviorGroupActions
|
|
648
|
-
|
|
649
|
-
▸ **notificationResourceV1UpdateBehaviorGroupActions**(`...config`): `Promise`\<`RequestArgs`\>
|
|
650
|
-
|
|
651
|
-
Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
652
|
-
|
|
653
|
-
#### Parameters
|
|
654
|
-
|
|
655
|
-
| Name | Type | Description |
|
|
656
|
-
| :------ | :------ | :------ |
|
|
657
|
-
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupActionsParams`] \| [`string`, `string`[], `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
658
|
-
|
|
659
|
-
#### Returns
|
|
660
|
-
|
|
661
|
-
`Promise`\<`RequestArgs`\>
|
|
662
|
-
|
|
663
|
-
**`Summary`**
|
|
664
|
-
|
|
665
|
-
Update the list of behavior group action
|
|
666
|
-
|
|
667
|
-
**`Throws`**
|
|
668
|
-
|
|
669
|
-
#### Defined in
|
|
670
|
-
|
|
671
|
-
[packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts#L40)
|
|
672
|
-
|
|
673
|
-
___
|
|
674
|
-
|
|
675
|
-
### notificationResourceV1UpdateEventTypeBehaviors
|
|
676
|
-
|
|
677
|
-
▸ **notificationResourceV1UpdateEventTypeBehaviors**(`...config`): `Promise`\<`RequestArgs`\>
|
|
678
|
-
|
|
679
|
-
Updates the list of behavior groups associated with an event type.
|
|
680
|
-
|
|
681
|
-
#### Parameters
|
|
682
|
-
|
|
683
|
-
| Name | Type | Description |
|
|
684
|
-
| :------ | :------ | :------ |
|
|
685
|
-
| `...config` | [`NotificationResourceV1UpdateEventTypeBehaviorsParams`] \| [`string`, `Set`\<`string`\>, `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
686
|
-
|
|
687
|
-
#### Returns
|
|
688
|
-
|
|
689
|
-
`Promise`\<`RequestArgs`\>
|
|
690
|
-
|
|
691
|
-
**`Summary`**
|
|
692
|
-
|
|
693
|
-
Update the list of behavior groups for an event type
|
|
694
|
-
|
|
695
|
-
**`Throws`**
|
|
696
|
-
|
|
697
|
-
#### Defined in
|
|
698
|
-
|
|
699
|
-
[packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts#L40)
|
|
700
|
-
|
|
701
|
-
___
|
|
702
|
-
|
|
703
|
-
### orgConfigResourceV1GetDailyDigestTimePreference
|
|
704
|
-
|
|
705
|
-
▸ **orgConfigResourceV1GetDailyDigestTimePreference**(`...config`): `Promise`\<`RequestArgs`\>
|
|
706
|
-
|
|
707
|
-
Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
708
|
-
|
|
709
|
-
#### Parameters
|
|
710
|
-
|
|
711
|
-
| Name | Type | Description |
|
|
712
|
-
| :------ | :------ | :------ |
|
|
713
|
-
| `...config` | [`OrgConfigResourceV1GetDailyDigestTimePreferenceParams`] \| [`AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
714
|
-
|
|
715
|
-
#### Returns
|
|
716
|
-
|
|
717
|
-
`Promise`\<`RequestArgs`\>
|
|
718
|
-
|
|
719
|
-
**`Summary`**
|
|
720
|
-
|
|
721
|
-
Retrieve the daily digest time
|
|
722
|
-
|
|
723
|
-
**`Throws`**
|
|
724
|
-
|
|
725
|
-
#### Defined in
|
|
726
|
-
|
|
727
|
-
[packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts:28](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts#L28)
|
|
728
|
-
|
|
729
|
-
___
|
|
730
|
-
|
|
731
|
-
### orgConfigResourceV1SaveDailyDigestTimePreference
|
|
732
|
-
|
|
733
|
-
▸ **orgConfigResourceV1SaveDailyDigestTimePreference**(`...config`): `Promise`\<`RequestArgs`\>
|
|
734
|
-
|
|
735
|
-
Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
736
|
-
|
|
737
|
-
#### Parameters
|
|
738
|
-
|
|
739
|
-
| Name | Type | Description |
|
|
740
|
-
| :------ | :------ | :------ |
|
|
741
|
-
| `...config` | [`string`, `AxiosRequestConfig`\<`any`\>] \| [`OrgConfigResourceV1SaveDailyDigestTimePreferenceParams`] | with all available params. |
|
|
742
|
-
|
|
743
|
-
#### Returns
|
|
744
|
-
|
|
745
|
-
`Promise`\<`RequestArgs`\>
|
|
746
|
-
|
|
747
|
-
**`Summary`**
|
|
748
|
-
|
|
749
|
-
Set the daily digest time
|
|
750
|
-
|
|
751
|
-
**`Throws`**
|
|
752
|
-
|
|
753
|
-
#### Defined in
|
|
754
|
-
|
|
755
|
-
[packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts#L34)
|
|
7
|
+
### Modules
|
|
8
|
+
|
|
9
|
+
- [DrawerResourceV1GetDrawerEntries](modules/DrawerResourceV1GetDrawerEntries.md)
|
|
10
|
+
- [DrawerResourceV1UpdateNotificationReadStatus](modules/DrawerResourceV1UpdateNotificationReadStatus.md)
|
|
11
|
+
- [EventResourceV1GetEvents](modules/EventResourceV1GetEvents.md)
|
|
12
|
+
- [NotificationResourceV1AppendBehaviorGroupToEventType](modules/NotificationResourceV1AppendBehaviorGroupToEventType.md)
|
|
13
|
+
- [NotificationResourceV1CreateBehaviorGroup](modules/NotificationResourceV1CreateBehaviorGroup.md)
|
|
14
|
+
- [NotificationResourceV1DeleteBehaviorGroup](modules/NotificationResourceV1DeleteBehaviorGroup.md)
|
|
15
|
+
- [NotificationResourceV1DeleteBehaviorGroupFromEventType](modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md)
|
|
16
|
+
- [NotificationResourceV1FindBehaviorGroupsByBundleId](modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md)
|
|
17
|
+
- [NotificationResourceV1GetApplicationByNameAndBundleName](modules/NotificationResourceV1GetApplicationByNameAndBundleName.md)
|
|
18
|
+
- [NotificationResourceV1GetApplicationsFacets](modules/NotificationResourceV1GetApplicationsFacets.md)
|
|
19
|
+
- [NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint](modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md)
|
|
20
|
+
- [NotificationResourceV1GetBundleByName](modules/NotificationResourceV1GetBundleByName.md)
|
|
21
|
+
- [NotificationResourceV1GetBundleFacets](modules/NotificationResourceV1GetBundleFacets.md)
|
|
22
|
+
- [NotificationResourceV1GetEventTypes](modules/NotificationResourceV1GetEventTypes.md)
|
|
23
|
+
- [NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup](modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md)
|
|
24
|
+
- [NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName](modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md)
|
|
25
|
+
- [NotificationResourceV1GetLinkedBehaviorGroups](modules/NotificationResourceV1GetLinkedBehaviorGroups.md)
|
|
26
|
+
- [NotificationResourceV1UpdateBehaviorGroup](modules/NotificationResourceV1UpdateBehaviorGroup.md)
|
|
27
|
+
- [NotificationResourceV1UpdateBehaviorGroupActions](modules/NotificationResourceV1UpdateBehaviorGroupActions.md)
|
|
28
|
+
- [NotificationResourceV1UpdateEventTypeBehaviors](modules/NotificationResourceV1UpdateEventTypeBehaviors.md)
|
|
29
|
+
- [OrgConfigResourceV1GetDailyDigestTimePreference](modules/OrgConfigResourceV1GetDailyDigestTimePreference.md)
|
|
30
|
+
- [OrgConfigResourceV1SaveDailyDigestTimePreference](modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md)
|
|
31
|
+
- [index](modules/index.md)
|
|
32
|
+
- [types](modules/types.md)
|