@redhat-cloud-services/notifications-client 0.0.40 → 1.0.0
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/README.md +8 -8
- package/dist/EventResourceV1GetEvents/index.d.ts +111 -0
- package/dist/EventResourceV1GetEvents/index.js +143 -0
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +26 -0
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +93 -0
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +21 -0
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +93 -0
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +20 -0
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +92 -0
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +26 -0
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +93 -0
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +20 -0
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +92 -0
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +26 -0
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +93 -0
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +20 -0
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +94 -0
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +20 -0
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +92 -0
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts +20 -0
- package/dist/NotificationResourceV1GetBundleByName/index.js +92 -0
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +20 -0
- package/dist/NotificationResourceV1GetBundleFacets/index.js +94 -0
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts +62 -0
- package/dist/NotificationResourceV1GetEventTypes/index.js +115 -0
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +20 -0
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +92 -0
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +32 -0
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +94 -0
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +50 -0
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +116 -0
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +27 -0
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +94 -0
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +26 -0
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +94 -0
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +26 -0
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +94 -0
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +13 -0
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +90 -0
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +20 -0
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +93 -0
- package/dist/UserConfigResourceV1GetPreferences/index.d.ts +25 -0
- package/dist/UserConfigResourceV1GetPreferences/index.js +92 -0
- package/dist/UserConfigResourceV1GetSettingsSchema/index.d.ts +19 -0
- package/dist/UserConfigResourceV1GetSettingsSchema/index.js +93 -0
- package/dist/UserConfigResourceV1SaveSettings/index.d.ts +20 -0
- package/dist/UserConfigResourceV1SaveSettings/index.js +92 -0
- package/dist/api.d.ts +2536 -759
- package/dist/api.js +2833 -778
- package/dist/base.d.ts +54 -0
- package/dist/base.js +80 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +252 -0
- package/dist/configuration.d.ts +24 -15
- package/dist/configuration.js +19 -12
- package/dist/index.d.ts +27 -13
- package/dist/index.js +89 -17
- package/dist/types/index.d.ts +1657 -0
- package/dist/types/index.js +90 -0
- package/dist/utils/base.d.ts +84 -0
- package/dist/utils/base.js +251 -0
- package/dist/utils/common.d.ts +54 -0
- package/dist/utils/common.js +241 -0
- package/dist/utils/configuration.d.ts +72 -0
- package/dist/utils/configuration.js +33 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +19 -0
- package/doc/.nojekyll +1 -0
- package/doc/README.md +11 -420
- package/doc/classes/BaseAPI.md +125 -0
- package/doc/classes/Configuration.md +194 -0
- package/doc/classes/RequiredError.md +179 -0
- package/doc/enums/EmailSubscriptionType.md +21 -0
- package/doc/enums/EndpointStatus.md +76 -0
- package/doc/enums/EndpointType.md +65 -0
- package/doc/enums/Environment.md +54 -0
- package/doc/enums/EventLogEntryActionStatus.md +65 -0
- package/doc/enums/HttpType.md +43 -0
- package/doc/enums/NotificationStatus.md +65 -0
- package/doc/enums/Status.md +32 -0
- package/doc/interfaces/AddAccessRequest.md +44 -0
- package/doc/interfaces/AddApplicationRequest.md +74 -0
- package/doc/interfaces/AggregationEmailTemplate.md +164 -0
- package/doc/interfaces/ApiConfig.md +30 -0
- package/doc/interfaces/Application.md +104 -0
- package/doc/interfaces/Application1.md +44 -0
- package/doc/interfaces/ApplicationSettingsValue.md +33 -0
- package/doc/interfaces/ApplicationSettingsValue1.md +48 -0
- package/doc/interfaces/BasicAuthentication.md +44 -0
- package/doc/interfaces/BehaviorGroup.md +149 -0
- package/doc/interfaces/BehaviorGroupAction.md +59 -0
- package/doc/interfaces/BehaviorGroupActionId.md +44 -0
- package/doc/interfaces/Bundle.md +89 -0
- package/doc/interfaces/BundleSettingsValue.md +33 -0
- package/doc/interfaces/BundleSettingsValue1.md +33 -0
- package/doc/interfaces/CamelProperties.md +93 -0
- package/doc/interfaces/ConfigurationParameters.md +89 -0
- package/doc/interfaces/CreateBehaviorGroupRequest.md +104 -0
- package/doc/interfaces/CreateBehaviorGroupResponse.md +104 -0
- package/doc/interfaces/CurrentStatus.md +59 -0
- package/doc/interfaces/DuplicateNameMigrationReport.md +44 -0
- package/doc/interfaces/Endpoint.md +179 -0
- package/doc/interfaces/EndpointPage.md +63 -0
- package/doc/interfaces/EndpointTestRequest.md +29 -0
- package/doc/interfaces/EventLogEntry.md +119 -0
- package/doc/interfaces/EventLogEntryAction.md +125 -0
- package/doc/interfaces/EventType.md +119 -0
- package/doc/interfaces/EventTypeBehavior.md +59 -0
- package/doc/interfaces/EventTypeBehaviorId.md +44 -0
- package/doc/interfaces/EventTypeSettingsValue.md +48 -0
- package/doc/interfaces/Facet.md +74 -0
- package/doc/interfaces/InstantEmailTemplate.md +149 -0
- package/doc/interfaces/InternalApplicationUserPermission.md +59 -0
- package/doc/interfaces/InternalRoleAccess.md +59 -0
- package/doc/interfaces/InternalUserPermissions.md +59 -0
- package/doc/interfaces/MessageValidationResponse.md +33 -0
- package/doc/interfaces/Meta.md +29 -0
- package/doc/interfaces/NotificationHistory.md +155 -0
- package/doc/interfaces/PageBehaviorGroup.md +63 -0
- package/doc/interfaces/PageEventLogEntry.md +63 -0
- package/doc/interfaces/PageEventType.md +63 -0
- package/doc/interfaces/PageNotificationHistory.md +63 -0
- package/doc/interfaces/RenderEmailTemplateRequest.md +44 -0
- package/doc/interfaces/RequestArgs.md +58 -0
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +44 -0
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +44 -0
- package/doc/interfaces/ServerInfo.md +29 -0
- package/doc/interfaces/SettingsValues.md +33 -0
- package/doc/interfaces/SettingsValuesByEventType.md +33 -0
- package/doc/interfaces/SystemSubscriptionProperties.md +59 -0
- package/doc/interfaces/Template.md +104 -0
- package/doc/interfaces/TriggerDailyDigestRequest.md +89 -0
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +74 -0
- package/doc/interfaces/UserConfigPreferences.md +44 -0
- package/doc/interfaces/WebhookProperties.md +89 -0
- package/doc/modules.md +1080 -0
- package/git_push.sh +57 -0
- package/openapitools.json +7 -0
- package/package.json +26 -31
- package/postProcess.sh +3 -11
- package/tsconfig-cjs.json +19 -0
- package/tsconfig-esm.json +21 -0
- package/tsconfig.json +18 -0
- package/doc/classes/appregistrationapi.md +0 -123
- package/doc/classes/appsapi.md +0 -149
- package/doc/classes/baseapi.md +0 -86
- package/doc/classes/configuration.md +0 -140
- package/doc/classes/endpointsapi.md +0 -255
- package/doc/classes/filtersapi.md +0 -124
- package/doc/classes/requirederror.md +0 -109
- package/doc/enums/app.typeenum.md +0 -28
- package/doc/enums/endpoint.typeenum.md +0 -28
- package/doc/enums/endpointattributes.lastdeliverystatusenum.md +0 -38
- package/doc/enums/eventtype.typeenum.md +0 -28
- package/doc/enums/inlineresponse2004data.typeenum.md +0 -28
- package/doc/enums/level.typeenum.md +0 -28
- package/doc/interfaces/appattributes.md +0 -54
- package/doc/interfaces/apprelationships.md +0 -36
- package/doc/interfaces/appsregisterapplication.md +0 -50
- package/doc/interfaces/appsregistereventtypes.md +0 -64
- package/doc/interfaces/appsregistereventtypeslevels.md +0 -50
- package/doc/interfaces/configurationparameters.md +0 -84
- package/doc/interfaces/endpointsendpoint.md +0 -78
- package/doc/interfaces/endpointsendpointfilter.md +0 -64
- package/doc/interfaces/endpointsidendpoint.md +0 -78
- package/doc/interfaces/endpointsidendpointfilter.md +0 -78
- package/doc/interfaces/errors.md +0 -36
- package/doc/interfaces/errorserrors.md +0 -120
- package/doc/interfaces/errorssource.md +0 -50
- package/doc/interfaces/eventtypeattributes.md +0 -54
- package/doc/interfaces/eventtyperelationships.md +0 -36
- package/doc/interfaces/inlineobject.md +0 -50
- package/doc/interfaces/inlineobject1.md +0 -36
- package/doc/interfaces/inlineobject2.md +0 -36
- package/doc/interfaces/inlineresponse200.md +0 -50
- package/doc/interfaces/inlineresponse2001.md +0 -36
- package/doc/interfaces/inlineresponse2002.md +0 -50
- package/doc/interfaces/inlineresponse2003.md +0 -64
- package/doc/interfaces/inlineresponse2004.md +0 -36
- package/doc/interfaces/inlineresponse2004dataattributes.md +0 -36
- package/doc/interfaces/inlineresponse2004datarelationships.md +0 -78
- package/doc/interfaces/inlineresponse201.md +0 -36
- package/doc/interfaces/levelattributes.md +0 -38
- package/doc/interfaces/links.md +0 -86
- package/doc/interfaces/metadata.md +0 -70
- package/doc/interfaces/relationship.md +0 -50
- package/doc/interfaces/relationships.md +0 -36
- package/doc/interfaces/requestargs.md +0 -42
- package/doc/modules/app.md +0 -82
- package/doc/modules/endpoint.md +0 -68
- package/doc/modules/endpointattributes.md +0 -118
- package/doc/modules/eventtype.md +0 -82
- package/doc/modules/inlineresponse2004data.md +0 -78
- package/doc/modules/level.md +0 -68
package/doc/modules.md
ADDED
|
@@ -0,0 +1,1080 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](README.md) / Exports
|
|
2
|
+
|
|
3
|
+
# @redhat-cloud-services/notifications-client
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumerations
|
|
8
|
+
|
|
9
|
+
- [EmailSubscriptionType](enums/EmailSubscriptionType.md)
|
|
10
|
+
- [EndpointStatus](enums/EndpointStatus.md)
|
|
11
|
+
- [EndpointType](enums/EndpointType.md)
|
|
12
|
+
- [Environment](enums/Environment.md)
|
|
13
|
+
- [EventLogEntryActionStatus](enums/EventLogEntryActionStatus.md)
|
|
14
|
+
- [HttpType](enums/HttpType.md)
|
|
15
|
+
- [NotificationStatus](enums/NotificationStatus.md)
|
|
16
|
+
- [Status](enums/Status.md)
|
|
17
|
+
|
|
18
|
+
### Classes
|
|
19
|
+
|
|
20
|
+
- [BaseAPI](classes/BaseAPI.md)
|
|
21
|
+
- [Configuration](classes/Configuration.md)
|
|
22
|
+
- [RequiredError](classes/RequiredError.md)
|
|
23
|
+
|
|
24
|
+
### Interfaces
|
|
25
|
+
|
|
26
|
+
- [AddAccessRequest](interfaces/AddAccessRequest.md)
|
|
27
|
+
- [AddApplicationRequest](interfaces/AddApplicationRequest.md)
|
|
28
|
+
- [AggregationEmailTemplate](interfaces/AggregationEmailTemplate.md)
|
|
29
|
+
- [ApiConfig](interfaces/ApiConfig.md)
|
|
30
|
+
- [Application](interfaces/Application.md)
|
|
31
|
+
- [Application1](interfaces/Application1.md)
|
|
32
|
+
- [ApplicationSettingsValue](interfaces/ApplicationSettingsValue.md)
|
|
33
|
+
- [ApplicationSettingsValue1](interfaces/ApplicationSettingsValue1.md)
|
|
34
|
+
- [BasicAuthentication](interfaces/BasicAuthentication.md)
|
|
35
|
+
- [BehaviorGroup](interfaces/BehaviorGroup.md)
|
|
36
|
+
- [BehaviorGroupAction](interfaces/BehaviorGroupAction.md)
|
|
37
|
+
- [BehaviorGroupActionId](interfaces/BehaviorGroupActionId.md)
|
|
38
|
+
- [Bundle](interfaces/Bundle.md)
|
|
39
|
+
- [BundleSettingsValue](interfaces/BundleSettingsValue.md)
|
|
40
|
+
- [BundleSettingsValue1](interfaces/BundleSettingsValue1.md)
|
|
41
|
+
- [CamelProperties](interfaces/CamelProperties.md)
|
|
42
|
+
- [ConfigurationParameters](interfaces/ConfigurationParameters.md)
|
|
43
|
+
- [CreateBehaviorGroupRequest](interfaces/CreateBehaviorGroupRequest.md)
|
|
44
|
+
- [CreateBehaviorGroupResponse](interfaces/CreateBehaviorGroupResponse.md)
|
|
45
|
+
- [CurrentStatus](interfaces/CurrentStatus.md)
|
|
46
|
+
- [DuplicateNameMigrationReport](interfaces/DuplicateNameMigrationReport.md)
|
|
47
|
+
- [Endpoint](interfaces/Endpoint.md)
|
|
48
|
+
- [EndpointPage](interfaces/EndpointPage.md)
|
|
49
|
+
- [EndpointTestRequest](interfaces/EndpointTestRequest.md)
|
|
50
|
+
- [EventLogEntry](interfaces/EventLogEntry.md)
|
|
51
|
+
- [EventLogEntryAction](interfaces/EventLogEntryAction.md)
|
|
52
|
+
- [EventType](interfaces/EventType.md)
|
|
53
|
+
- [EventTypeBehavior](interfaces/EventTypeBehavior.md)
|
|
54
|
+
- [EventTypeBehaviorId](interfaces/EventTypeBehaviorId.md)
|
|
55
|
+
- [EventTypeSettingsValue](interfaces/EventTypeSettingsValue.md)
|
|
56
|
+
- [Facet](interfaces/Facet.md)
|
|
57
|
+
- [InstantEmailTemplate](interfaces/InstantEmailTemplate.md)
|
|
58
|
+
- [InternalApplicationUserPermission](interfaces/InternalApplicationUserPermission.md)
|
|
59
|
+
- [InternalRoleAccess](interfaces/InternalRoleAccess.md)
|
|
60
|
+
- [InternalUserPermissions](interfaces/InternalUserPermissions.md)
|
|
61
|
+
- [MessageValidationResponse](interfaces/MessageValidationResponse.md)
|
|
62
|
+
- [Meta](interfaces/Meta.md)
|
|
63
|
+
- [NotificationHistory](interfaces/NotificationHistory.md)
|
|
64
|
+
- [PageBehaviorGroup](interfaces/PageBehaviorGroup.md)
|
|
65
|
+
- [PageEventLogEntry](interfaces/PageEventLogEntry.md)
|
|
66
|
+
- [PageEventType](interfaces/PageEventType.md)
|
|
67
|
+
- [PageNotificationHistory](interfaces/PageNotificationHistory.md)
|
|
68
|
+
- [RenderEmailTemplateRequest](interfaces/RenderEmailTemplateRequest.md)
|
|
69
|
+
- [RequestArgs](interfaces/RequestArgs.md)
|
|
70
|
+
- [RequestDefaultBehaviorGroupPropertyList](interfaces/RequestDefaultBehaviorGroupPropertyList.md)
|
|
71
|
+
- [RequestSystemSubscriptionProperties](interfaces/RequestSystemSubscriptionProperties.md)
|
|
72
|
+
- [ServerInfo](interfaces/ServerInfo.md)
|
|
73
|
+
- [SettingsValues](interfaces/SettingsValues.md)
|
|
74
|
+
- [SettingsValuesByEventType](interfaces/SettingsValuesByEventType.md)
|
|
75
|
+
- [SystemSubscriptionProperties](interfaces/SystemSubscriptionProperties.md)
|
|
76
|
+
- [Template](interfaces/Template.md)
|
|
77
|
+
- [TriggerDailyDigestRequest](interfaces/TriggerDailyDigestRequest.md)
|
|
78
|
+
- [UpdateBehaviorGroupRequest](interfaces/UpdateBehaviorGroupRequest.md)
|
|
79
|
+
- [UserConfigPreferences](interfaces/UserConfigPreferences.md)
|
|
80
|
+
- [WebhookProperties](interfaces/WebhookProperties.md)
|
|
81
|
+
|
|
82
|
+
### Type Aliases
|
|
83
|
+
|
|
84
|
+
- [ActionType](modules.md#actiontype)
|
|
85
|
+
- [AuthTypeEnum](modules.md#authtypeenum)
|
|
86
|
+
|
|
87
|
+
### Variables
|
|
88
|
+
|
|
89
|
+
- [AuthTypeEnum](modules.md#authtypeenum-1)
|
|
90
|
+
- [BASE\_PATH](modules.md#base_path)
|
|
91
|
+
- [COLLECTION\_FORMATS](modules.md#collection_formats)
|
|
92
|
+
- [DUMMY\_BASE\_URL](modules.md#dummy_base_url)
|
|
93
|
+
|
|
94
|
+
### Functions
|
|
95
|
+
|
|
96
|
+
- [APIFactory](modules.md#apifactory)
|
|
97
|
+
- [assertParamExists](modules.md#assertparamexists)
|
|
98
|
+
- [createRequestFunction](modules.md#createrequestfunction)
|
|
99
|
+
- [eventResourceV1GetEventsParamCreator](modules.md#eventresourcev1geteventsparamcreator)
|
|
100
|
+
- [notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator](modules.md#notificationresourcev1appendbehaviorgrouptoeventtypeparamcreator)
|
|
101
|
+
- [notificationResourceV1CreateBehaviorGroupParamCreator](modules.md#notificationresourcev1createbehaviorgroupparamcreator)
|
|
102
|
+
- [notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator](modules.md#notificationresourcev1deletebehaviorgroupfromeventtypeparamcreator)
|
|
103
|
+
- [notificationResourceV1DeleteBehaviorGroupParamCreator](modules.md#notificationresourcev1deletebehaviorgroupparamcreator)
|
|
104
|
+
- [notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator](modules.md#notificationresourcev1findbehaviorgroupsbybundleidparamcreator)
|
|
105
|
+
- [notificationResourceV1GetApplicationByNameAndBundleNameParamCreator](modules.md#notificationresourcev1getapplicationbynameandbundlenameparamcreator)
|
|
106
|
+
- [notificationResourceV1GetApplicationsFacetsParamCreator](modules.md#notificationresourcev1getapplicationsfacetsparamcreator)
|
|
107
|
+
- [notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator](modules.md#notificationresourcev1getbehaviorgroupsaffectedbyremovalofendpointparamcreator)
|
|
108
|
+
- [notificationResourceV1GetBundleByNameParamCreator](modules.md#notificationresourcev1getbundlebynameparamcreator)
|
|
109
|
+
- [notificationResourceV1GetBundleFacetsParamCreator](modules.md#notificationresourcev1getbundlefacetsparamcreator)
|
|
110
|
+
- [notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator](modules.md#notificationresourcev1geteventtypesaffectedbyremovalofbehaviorgroupparamcreator)
|
|
111
|
+
- [notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator](modules.md#notificationresourcev1geteventtypesbynameandbundleandapplicationnameparamcreator)
|
|
112
|
+
- [notificationResourceV1GetEventTypesParamCreator](modules.md#notificationresourcev1geteventtypesparamcreator)
|
|
113
|
+
- [notificationResourceV1GetLinkedBehaviorGroupsParamCreator](modules.md#notificationresourcev1getlinkedbehaviorgroupsparamcreator)
|
|
114
|
+
- [notificationResourceV1UpdateBehaviorGroupActionsParamCreator](modules.md#notificationresourcev1updatebehaviorgroupactionsparamcreator)
|
|
115
|
+
- [notificationResourceV1UpdateBehaviorGroupParamCreator](modules.md#notificationresourcev1updatebehaviorgroupparamcreator)
|
|
116
|
+
- [notificationResourceV1UpdateEventTypeBehaviorsParamCreator](modules.md#notificationresourcev1updateeventtypebehaviorsparamcreator)
|
|
117
|
+
- [orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator](modules.md#orgconfigresourcev1getdailydigesttimepreferenceparamcreator)
|
|
118
|
+
- [orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator](modules.md#orgconfigresourcev1savedailydigesttimepreferenceparamcreator)
|
|
119
|
+
- [serializeDataIfNeeded](modules.md#serializedataifneeded)
|
|
120
|
+
- [setApiKeyToObject](modules.md#setapikeytoobject)
|
|
121
|
+
- [setBasicAuthToObject](modules.md#setbasicauthtoobject)
|
|
122
|
+
- [setBearerAuthToObject](modules.md#setbearerauthtoobject)
|
|
123
|
+
- [setOAuthToObject](modules.md#setoauthtoobject)
|
|
124
|
+
- [setSearchParams](modules.md#setsearchparams)
|
|
125
|
+
- [toPathString](modules.md#topathstring)
|
|
126
|
+
- [userConfigResourceV1GetPreferencesParamCreator](modules.md#userconfigresourcev1getpreferencesparamcreator)
|
|
127
|
+
- [userConfigResourceV1GetSettingsSchemaParamCreator](modules.md#userconfigresourcev1getsettingsschemaparamcreator)
|
|
128
|
+
- [userConfigResourceV1SaveSettingsParamCreator](modules.md#userconfigresourcev1savesettingsparamcreator)
|
|
129
|
+
|
|
130
|
+
## Type Aliases
|
|
131
|
+
|
|
132
|
+
### ActionType
|
|
133
|
+
|
|
134
|
+
Ƭ **ActionType**: (...`config`: `any`) => `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
135
|
+
|
|
136
|
+
#### Type declaration
|
|
137
|
+
|
|
138
|
+
▸ (...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
139
|
+
|
|
140
|
+
##### Parameters
|
|
141
|
+
|
|
142
|
+
| Name | Type |
|
|
143
|
+
| :------ | :------ |
|
|
144
|
+
| `...config` | `any` |
|
|
145
|
+
|
|
146
|
+
##### Returns
|
|
147
|
+
|
|
148
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
149
|
+
|
|
150
|
+
#### Defined in
|
|
151
|
+
|
|
152
|
+
[packages/notifications/utils/base.ts:55](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L55)
|
|
153
|
+
|
|
154
|
+
___
|
|
155
|
+
|
|
156
|
+
### AuthTypeEnum
|
|
157
|
+
|
|
158
|
+
Ƭ **AuthTypeEnum**: typeof [`AuthTypeEnum`](modules.md#authtypeenum-1)[keyof typeof [`AuthTypeEnum`](modules.md#authtypeenum-1)]
|
|
159
|
+
|
|
160
|
+
#### Defined in
|
|
161
|
+
|
|
162
|
+
[packages/notifications/utils/base.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L45)
|
|
163
|
+
|
|
164
|
+
[packages/notifications/utils/base.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L53)
|
|
165
|
+
|
|
166
|
+
## Variables
|
|
167
|
+
|
|
168
|
+
### AuthTypeEnum
|
|
169
|
+
|
|
170
|
+
• `Const` **AuthTypeEnum**: `Object`
|
|
171
|
+
|
|
172
|
+
#### Type declaration
|
|
173
|
+
|
|
174
|
+
| Name | Type |
|
|
175
|
+
| :------ | :------ |
|
|
176
|
+
| `Basic` | ``"basic"`` |
|
|
177
|
+
| `Bearer` | ``"bearer"`` |
|
|
178
|
+
| `InHeader` | ``"inHeader"`` |
|
|
179
|
+
| `InQuery` | ``"inQuery"`` |
|
|
180
|
+
| `Oauth` | ``"oath"`` |
|
|
181
|
+
|
|
182
|
+
#### Defined in
|
|
183
|
+
|
|
184
|
+
[packages/notifications/utils/base.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L45)
|
|
185
|
+
|
|
186
|
+
[packages/notifications/utils/base.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L53)
|
|
187
|
+
|
|
188
|
+
___
|
|
189
|
+
|
|
190
|
+
### BASE\_PATH
|
|
191
|
+
|
|
192
|
+
• `Const` **BASE\_PATH**: `string`
|
|
193
|
+
|
|
194
|
+
#### Defined in
|
|
195
|
+
|
|
196
|
+
[packages/notifications/utils/base.ts:12](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L12)
|
|
197
|
+
|
|
198
|
+
___
|
|
199
|
+
|
|
200
|
+
### COLLECTION\_FORMATS
|
|
201
|
+
|
|
202
|
+
• `Const` **COLLECTION\_FORMATS**: `Object`
|
|
203
|
+
|
|
204
|
+
**`Export`**
|
|
205
|
+
|
|
206
|
+
#### Type declaration
|
|
207
|
+
|
|
208
|
+
| Name | Type |
|
|
209
|
+
| :------ | :------ |
|
|
210
|
+
| `csv` | `string` |
|
|
211
|
+
| `pipes` | `string` |
|
|
212
|
+
| `ssv` | `string` |
|
|
213
|
+
| `tsv` | `string` |
|
|
214
|
+
|
|
215
|
+
#### Defined in
|
|
216
|
+
|
|
217
|
+
[packages/notifications/utils/base.ts:18](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L18)
|
|
218
|
+
|
|
219
|
+
___
|
|
220
|
+
|
|
221
|
+
### DUMMY\_BASE\_URL
|
|
222
|
+
|
|
223
|
+
• `Const` **DUMMY\_BASE\_URL**: ``"https://example.com"``
|
|
224
|
+
|
|
225
|
+
**`Export`**
|
|
226
|
+
|
|
227
|
+
#### Defined in
|
|
228
|
+
|
|
229
|
+
[packages/notifications/utils/common.ts:13](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L13)
|
|
230
|
+
|
|
231
|
+
## Functions
|
|
232
|
+
|
|
233
|
+
### APIFactory
|
|
234
|
+
|
|
235
|
+
▸ **APIFactory**<`T`\>(`basePath?`, `config?`, `actions`): [`BaseAPI`](classes/BaseAPI.md) & `T`
|
|
236
|
+
|
|
237
|
+
Factory for creating API with option to add enpoints to the API.
|
|
238
|
+
|
|
239
|
+
#### Type parameters
|
|
240
|
+
|
|
241
|
+
| Name | Type |
|
|
242
|
+
| :------ | :------ |
|
|
243
|
+
| `T` | extends `Record`<`string`, [`ActionType`](modules.md#actiontype)\> |
|
|
244
|
+
|
|
245
|
+
#### Parameters
|
|
246
|
+
|
|
247
|
+
| Name | Type | Default value | Description |
|
|
248
|
+
| :------ | :------ | :------ | :------ |
|
|
249
|
+
| `basePath` | `string` | `BASE_PATH` | basePath of api requests. |
|
|
250
|
+
| `config` | [`ApiConfig`](interfaces/ApiConfig.md) | `undefined` | to be passed down to axios. |
|
|
251
|
+
| `actions` | `T` | `undefined` | object with actions to send with axios. |
|
|
252
|
+
|
|
253
|
+
#### Returns
|
|
254
|
+
|
|
255
|
+
[`BaseAPI`](classes/BaseAPI.md) & `T`
|
|
256
|
+
|
|
257
|
+
created base API.
|
|
258
|
+
|
|
259
|
+
#### Defined in
|
|
260
|
+
|
|
261
|
+
[packages/notifications/utils/base.ts:145](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L145)
|
|
262
|
+
|
|
263
|
+
___
|
|
264
|
+
|
|
265
|
+
### assertParamExists
|
|
266
|
+
|
|
267
|
+
▸ **assertParamExists**(`functionName`, `paramName`, `paramValue`): `void`
|
|
268
|
+
|
|
269
|
+
**`Throws`**
|
|
270
|
+
|
|
271
|
+
**`Export`**
|
|
272
|
+
|
|
273
|
+
#### Parameters
|
|
274
|
+
|
|
275
|
+
| Name | Type |
|
|
276
|
+
| :------ | :------ |
|
|
277
|
+
| `functionName` | `string` |
|
|
278
|
+
| `paramName` | `string` |
|
|
279
|
+
| `paramValue` | `unknown` |
|
|
280
|
+
|
|
281
|
+
#### Returns
|
|
282
|
+
|
|
283
|
+
`void`
|
|
284
|
+
|
|
285
|
+
#### Defined in
|
|
286
|
+
|
|
287
|
+
[packages/notifications/utils/common.ts:20](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L20)
|
|
288
|
+
|
|
289
|
+
___
|
|
290
|
+
|
|
291
|
+
### createRequestFunction
|
|
292
|
+
|
|
293
|
+
▸ **createRequestFunction**(`axiosArgs`, `globalAxios`, `BASE_PATH`, `configuration?`): <T, R\>(`axios`: `AxiosInstance`, `basePath`: `string`) => `Promise`<`R`\>
|
|
294
|
+
|
|
295
|
+
**`Export`**
|
|
296
|
+
|
|
297
|
+
#### Parameters
|
|
298
|
+
|
|
299
|
+
| Name | Type |
|
|
300
|
+
| :------ | :------ |
|
|
301
|
+
| `axiosArgs` | [`RequestArgs`](interfaces/RequestArgs.md) |
|
|
302
|
+
| `globalAxios` | `AxiosInstance` |
|
|
303
|
+
| `BASE_PATH` | `string` |
|
|
304
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
305
|
+
|
|
306
|
+
#### Returns
|
|
307
|
+
|
|
308
|
+
`fn`
|
|
309
|
+
|
|
310
|
+
▸ <`T`, `R`\>(`axios?`, `basePath?`): `Promise`<`R`\>
|
|
311
|
+
|
|
312
|
+
##### Type parameters
|
|
313
|
+
|
|
314
|
+
| Name | Type |
|
|
315
|
+
| :------ | :------ |
|
|
316
|
+
| `T` | `unknown` |
|
|
317
|
+
| `R` | `AxiosResponse`<`T`\> |
|
|
318
|
+
|
|
319
|
+
##### Parameters
|
|
320
|
+
|
|
321
|
+
| Name | Type | Default value |
|
|
322
|
+
| :------ | :------ | :------ |
|
|
323
|
+
| `axios` | `AxiosInstance` | `globalAxios` |
|
|
324
|
+
| `basePath` | `string` | `BASE_PATH` |
|
|
325
|
+
|
|
326
|
+
##### Returns
|
|
327
|
+
|
|
328
|
+
`Promise`<`R`\>
|
|
329
|
+
|
|
330
|
+
#### Defined in
|
|
331
|
+
|
|
332
|
+
[packages/notifications/utils/common.ts:133](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L133)
|
|
333
|
+
|
|
334
|
+
___
|
|
335
|
+
|
|
336
|
+
### eventResourceV1GetEventsParamCreator
|
|
337
|
+
|
|
338
|
+
▸ **eventResourceV1GetEventsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
339
|
+
|
|
340
|
+
Allowed `sort_by` fields are `bundle`, `application`, `event` and `created`. 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.
|
|
341
|
+
|
|
342
|
+
**`Summary`**
|
|
343
|
+
|
|
344
|
+
Retrieve the event log entries.
|
|
345
|
+
|
|
346
|
+
**`Throws`**
|
|
347
|
+
|
|
348
|
+
#### Parameters
|
|
349
|
+
|
|
350
|
+
| Name | Type | Description |
|
|
351
|
+
| :------ | :------ | :------ |
|
|
352
|
+
| `...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`] | with all available params. |
|
|
353
|
+
|
|
354
|
+
#### Returns
|
|
355
|
+
|
|
356
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
357
|
+
|
|
358
|
+
#### Defined in
|
|
359
|
+
|
|
360
|
+
[packages/notifications/EventResourceV1GetEvents/index.ts:124](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/EventResourceV1GetEvents/index.ts#L124)
|
|
361
|
+
|
|
362
|
+
___
|
|
363
|
+
|
|
364
|
+
### notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator
|
|
365
|
+
|
|
366
|
+
▸ **notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
367
|
+
|
|
368
|
+
**`Summary`**
|
|
369
|
+
|
|
370
|
+
Add a behavior group to the given event type.
|
|
371
|
+
|
|
372
|
+
**`Throws`**
|
|
373
|
+
|
|
374
|
+
#### Parameters
|
|
375
|
+
|
|
376
|
+
| Name | Type | Description |
|
|
377
|
+
| :------ | :------ | :------ |
|
|
378
|
+
| `...config` | [`NotificationResourceV1AppendBehaviorGroupToEventTypeParams`] \| [`string`, `string`, `AxiosRequestConfig`] | with all available params. |
|
|
379
|
+
|
|
380
|
+
#### Returns
|
|
381
|
+
|
|
382
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
383
|
+
|
|
384
|
+
#### Defined in
|
|
385
|
+
|
|
386
|
+
[packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts#L40)
|
|
387
|
+
|
|
388
|
+
___
|
|
389
|
+
|
|
390
|
+
### notificationResourceV1CreateBehaviorGroupParamCreator
|
|
391
|
+
|
|
392
|
+
▸ **notificationResourceV1CreateBehaviorGroupParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
393
|
+
|
|
394
|
+
**`Summary`**
|
|
395
|
+
|
|
396
|
+
Create a behavior group - assigning actions and linking to event types as requested
|
|
397
|
+
|
|
398
|
+
**`Throws`**
|
|
399
|
+
|
|
400
|
+
#### Parameters
|
|
401
|
+
|
|
402
|
+
| Name | Type | Description |
|
|
403
|
+
| :------ | :------ | :------ |
|
|
404
|
+
| `...config` | [`NotificationResourceV1CreateBehaviorGroupParams`] \| [[`CreateBehaviorGroupRequest`](interfaces/CreateBehaviorGroupRequest.md), `AxiosRequestConfig`] | with all available params. |
|
|
405
|
+
|
|
406
|
+
#### Returns
|
|
407
|
+
|
|
408
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
409
|
+
|
|
410
|
+
#### Defined in
|
|
411
|
+
|
|
412
|
+
[packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts#L34)
|
|
413
|
+
|
|
414
|
+
___
|
|
415
|
+
|
|
416
|
+
### notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator
|
|
417
|
+
|
|
418
|
+
▸ **notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
419
|
+
|
|
420
|
+
**`Summary`**
|
|
421
|
+
|
|
422
|
+
Delete a behavior group from the given event type.
|
|
423
|
+
|
|
424
|
+
**`Throws`**
|
|
425
|
+
|
|
426
|
+
#### Parameters
|
|
427
|
+
|
|
428
|
+
| Name | Type | Description |
|
|
429
|
+
| :------ | :------ | :------ |
|
|
430
|
+
| `...config` | [`string`, `string`, `AxiosRequestConfig`] \| [`NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams`] | with all available params. |
|
|
431
|
+
|
|
432
|
+
#### Returns
|
|
433
|
+
|
|
434
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
435
|
+
|
|
436
|
+
#### Defined in
|
|
437
|
+
|
|
438
|
+
[packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts#L40)
|
|
439
|
+
|
|
440
|
+
___
|
|
441
|
+
|
|
442
|
+
### notificationResourceV1DeleteBehaviorGroupParamCreator
|
|
443
|
+
|
|
444
|
+
▸ **notificationResourceV1DeleteBehaviorGroupParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
445
|
+
|
|
446
|
+
**`Summary`**
|
|
447
|
+
|
|
448
|
+
Delete a behavior group.
|
|
449
|
+
|
|
450
|
+
**`Throws`**
|
|
451
|
+
|
|
452
|
+
#### Parameters
|
|
453
|
+
|
|
454
|
+
| Name | Type | Description |
|
|
455
|
+
| :------ | :------ | :------ |
|
|
456
|
+
| `...config` | [`NotificationResourceV1DeleteBehaviorGroupParams`] \| [`string`, `AxiosRequestConfig`] | with all available params. |
|
|
457
|
+
|
|
458
|
+
#### Returns
|
|
459
|
+
|
|
460
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
461
|
+
|
|
462
|
+
#### Defined in
|
|
463
|
+
|
|
464
|
+
[packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts#L34)
|
|
465
|
+
|
|
466
|
+
___
|
|
467
|
+
|
|
468
|
+
### notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator
|
|
469
|
+
|
|
470
|
+
▸ **notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
471
|
+
|
|
472
|
+
**`Summary`**
|
|
473
|
+
|
|
474
|
+
Retrieve the behavior groups of a bundle.
|
|
475
|
+
|
|
476
|
+
**`Throws`**
|
|
477
|
+
|
|
478
|
+
#### Parameters
|
|
479
|
+
|
|
480
|
+
| Name | Type | Description |
|
|
481
|
+
| :------ | :------ | :------ |
|
|
482
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`NotificationResourceV1FindBehaviorGroupsByBundleIdParams`] | with all available params. |
|
|
483
|
+
|
|
484
|
+
#### Returns
|
|
485
|
+
|
|
486
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
487
|
+
|
|
488
|
+
#### Defined in
|
|
489
|
+
|
|
490
|
+
[packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts#L34)
|
|
491
|
+
|
|
492
|
+
___
|
|
493
|
+
|
|
494
|
+
### notificationResourceV1GetApplicationByNameAndBundleNameParamCreator
|
|
495
|
+
|
|
496
|
+
▸ **notificationResourceV1GetApplicationByNameAndBundleNameParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
497
|
+
|
|
498
|
+
**`Summary`**
|
|
499
|
+
|
|
500
|
+
Retrieve the application by name of a given bundle name
|
|
501
|
+
|
|
502
|
+
**`Throws`**
|
|
503
|
+
|
|
504
|
+
#### Parameters
|
|
505
|
+
|
|
506
|
+
| Name | Type | Description |
|
|
507
|
+
| :------ | :------ | :------ |
|
|
508
|
+
| `...config` | [`string`, `string`, `AxiosRequestConfig`] \| [`NotificationResourceV1GetApplicationByNameAndBundleNameParams`] | with all available params. |
|
|
509
|
+
|
|
510
|
+
#### Returns
|
|
511
|
+
|
|
512
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
513
|
+
|
|
514
|
+
#### Defined in
|
|
515
|
+
|
|
516
|
+
[packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts#L40)
|
|
517
|
+
|
|
518
|
+
___
|
|
519
|
+
|
|
520
|
+
### notificationResourceV1GetApplicationsFacetsParamCreator
|
|
521
|
+
|
|
522
|
+
▸ **notificationResourceV1GetApplicationsFacetsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
523
|
+
|
|
524
|
+
**`Summary`**
|
|
525
|
+
|
|
526
|
+
Return a thin list of configured applications. This can be used to configure a filter in the UI
|
|
527
|
+
|
|
528
|
+
**`Throws`**
|
|
529
|
+
|
|
530
|
+
#### Parameters
|
|
531
|
+
|
|
532
|
+
| Name | Type | Description |
|
|
533
|
+
| :------ | :------ | :------ |
|
|
534
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`NotificationResourceV1GetApplicationsFacetsParams`] | with all available params. |
|
|
535
|
+
|
|
536
|
+
#### Returns
|
|
537
|
+
|
|
538
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
539
|
+
|
|
540
|
+
#### Defined in
|
|
541
|
+
|
|
542
|
+
[packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts#L34)
|
|
543
|
+
|
|
544
|
+
___
|
|
545
|
+
|
|
546
|
+
### notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator
|
|
547
|
+
|
|
548
|
+
▸ **notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
549
|
+
|
|
550
|
+
**`Summary`**
|
|
551
|
+
|
|
552
|
+
Retrieve the behavior groups affected by the removal of an endpoint.
|
|
553
|
+
|
|
554
|
+
**`Throws`**
|
|
555
|
+
|
|
556
|
+
#### Parameters
|
|
557
|
+
|
|
558
|
+
| Name | Type | Description |
|
|
559
|
+
| :------ | :------ | :------ |
|
|
560
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams`] | with all available params. |
|
|
561
|
+
|
|
562
|
+
#### Returns
|
|
563
|
+
|
|
564
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
565
|
+
|
|
566
|
+
#### Defined in
|
|
567
|
+
|
|
568
|
+
[packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts#L34)
|
|
569
|
+
|
|
570
|
+
___
|
|
571
|
+
|
|
572
|
+
### notificationResourceV1GetBundleByNameParamCreator
|
|
573
|
+
|
|
574
|
+
▸ **notificationResourceV1GetBundleByNameParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
575
|
+
|
|
576
|
+
**`Summary`**
|
|
577
|
+
|
|
578
|
+
Retrieve the bundle by name
|
|
579
|
+
|
|
580
|
+
**`Throws`**
|
|
581
|
+
|
|
582
|
+
#### Parameters
|
|
583
|
+
|
|
584
|
+
| Name | Type | Description |
|
|
585
|
+
| :------ | :------ | :------ |
|
|
586
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`NotificationResourceV1GetBundleByNameParams`] | with all available params. |
|
|
587
|
+
|
|
588
|
+
#### Returns
|
|
589
|
+
|
|
590
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
591
|
+
|
|
592
|
+
#### Defined in
|
|
593
|
+
|
|
594
|
+
[packages/notifications/NotificationResourceV1GetBundleByName/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBundleByName/index.ts#L34)
|
|
595
|
+
|
|
596
|
+
___
|
|
597
|
+
|
|
598
|
+
### notificationResourceV1GetBundleFacetsParamCreator
|
|
599
|
+
|
|
600
|
+
▸ **notificationResourceV1GetBundleFacetsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
601
|
+
|
|
602
|
+
**`Summary`**
|
|
603
|
+
|
|
604
|
+
Return a thin list of configured bundles. This can be used to configure a filter in the UI
|
|
605
|
+
|
|
606
|
+
**`Throws`**
|
|
607
|
+
|
|
608
|
+
#### Parameters
|
|
609
|
+
|
|
610
|
+
| Name | Type | Description |
|
|
611
|
+
| :------ | :------ | :------ |
|
|
612
|
+
| `...config` | [`NotificationResourceV1GetBundleFacetsParams`] \| [`boolean`, `AxiosRequestConfig`] | with all available params. |
|
|
613
|
+
|
|
614
|
+
#### Returns
|
|
615
|
+
|
|
616
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
617
|
+
|
|
618
|
+
#### Defined in
|
|
619
|
+
|
|
620
|
+
[packages/notifications/NotificationResourceV1GetBundleFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBundleFacets/index.ts#L34)
|
|
621
|
+
|
|
622
|
+
___
|
|
623
|
+
|
|
624
|
+
### notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator
|
|
625
|
+
|
|
626
|
+
▸ **notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
627
|
+
|
|
628
|
+
**`Summary`**
|
|
629
|
+
|
|
630
|
+
Retrieve the event types affected by the removal of a behavior group.
|
|
631
|
+
|
|
632
|
+
**`Throws`**
|
|
633
|
+
|
|
634
|
+
#### Parameters
|
|
635
|
+
|
|
636
|
+
| Name | Type | Description |
|
|
637
|
+
| :------ | :------ | :------ |
|
|
638
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams`] | with all available params. |
|
|
639
|
+
|
|
640
|
+
#### Returns
|
|
641
|
+
|
|
642
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
643
|
+
|
|
644
|
+
#### Defined in
|
|
645
|
+
|
|
646
|
+
[packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts#L34)
|
|
647
|
+
|
|
648
|
+
___
|
|
649
|
+
|
|
650
|
+
### notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator
|
|
651
|
+
|
|
652
|
+
▸ **notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
653
|
+
|
|
654
|
+
**`Summary`**
|
|
655
|
+
|
|
656
|
+
Retrieve the event type by name of a given bundle name and application name
|
|
657
|
+
|
|
658
|
+
**`Throws`**
|
|
659
|
+
|
|
660
|
+
#### Parameters
|
|
661
|
+
|
|
662
|
+
| Name | Type | Description |
|
|
663
|
+
| :------ | :------ | :------ |
|
|
664
|
+
| `...config` | [`NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams`] \| [`string`, `string`, `string`, `AxiosRequestConfig`] | with all available params. |
|
|
665
|
+
|
|
666
|
+
#### Returns
|
|
667
|
+
|
|
668
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
669
|
+
|
|
670
|
+
#### Defined in
|
|
671
|
+
|
|
672
|
+
[packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts#L46)
|
|
673
|
+
|
|
674
|
+
___
|
|
675
|
+
|
|
676
|
+
### notificationResourceV1GetEventTypesParamCreator
|
|
677
|
+
|
|
678
|
+
▸ **notificationResourceV1GetEventTypesParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
679
|
+
|
|
680
|
+
**`Summary`**
|
|
681
|
+
|
|
682
|
+
Retrieve all event types. The returned list can be filtered by bundle or application.
|
|
683
|
+
|
|
684
|
+
**`Throws`**
|
|
685
|
+
|
|
686
|
+
#### Parameters
|
|
687
|
+
|
|
688
|
+
| Name | Type | Description |
|
|
689
|
+
| :------ | :------ | :------ |
|
|
690
|
+
| `...config` | [`NotificationResourceV1GetEventTypesParams`] \| [`Set`<`string`\>, `string`, `string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`] | with all available params. |
|
|
691
|
+
|
|
692
|
+
#### Returns
|
|
693
|
+
|
|
694
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
695
|
+
|
|
696
|
+
#### Defined in
|
|
697
|
+
|
|
698
|
+
[packages/notifications/NotificationResourceV1GetEventTypes/index.ts:76](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypes/index.ts#L76)
|
|
699
|
+
|
|
700
|
+
___
|
|
701
|
+
|
|
702
|
+
### notificationResourceV1GetLinkedBehaviorGroupsParamCreator
|
|
703
|
+
|
|
704
|
+
▸ **notificationResourceV1GetLinkedBehaviorGroupsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
705
|
+
|
|
706
|
+
**`Summary`**
|
|
707
|
+
|
|
708
|
+
Retrieve the behavior groups linked to an event type.
|
|
709
|
+
|
|
710
|
+
**`Throws`**
|
|
711
|
+
|
|
712
|
+
#### Parameters
|
|
713
|
+
|
|
714
|
+
| Name | Type | Description |
|
|
715
|
+
| :------ | :------ | :------ |
|
|
716
|
+
| `...config` | [`NotificationResourceV1GetLinkedBehaviorGroupsParams`] \| [`string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`] | with all available params. |
|
|
717
|
+
|
|
718
|
+
#### Returns
|
|
719
|
+
|
|
720
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
721
|
+
|
|
722
|
+
#### Defined in
|
|
723
|
+
|
|
724
|
+
[packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts#L64)
|
|
725
|
+
|
|
726
|
+
___
|
|
727
|
+
|
|
728
|
+
### notificationResourceV1UpdateBehaviorGroupActionsParamCreator
|
|
729
|
+
|
|
730
|
+
▸ **notificationResourceV1UpdateBehaviorGroupActionsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
731
|
+
|
|
732
|
+
**`Summary`**
|
|
733
|
+
|
|
734
|
+
Update the list of actions of a behavior group.
|
|
735
|
+
|
|
736
|
+
**`Throws`**
|
|
737
|
+
|
|
738
|
+
#### Parameters
|
|
739
|
+
|
|
740
|
+
| Name | Type | Description |
|
|
741
|
+
| :------ | :------ | :------ |
|
|
742
|
+
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupActionsParams`] \| [`string`, `string`[], `AxiosRequestConfig`] | with all available params. |
|
|
743
|
+
|
|
744
|
+
#### Returns
|
|
745
|
+
|
|
746
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
747
|
+
|
|
748
|
+
#### Defined in
|
|
749
|
+
|
|
750
|
+
[packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts#L40)
|
|
751
|
+
|
|
752
|
+
___
|
|
753
|
+
|
|
754
|
+
### notificationResourceV1UpdateBehaviorGroupParamCreator
|
|
755
|
+
|
|
756
|
+
▸ **notificationResourceV1UpdateBehaviorGroupParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
757
|
+
|
|
758
|
+
**`Summary`**
|
|
759
|
+
|
|
760
|
+
Update a behavior group.
|
|
761
|
+
|
|
762
|
+
**`Throws`**
|
|
763
|
+
|
|
764
|
+
#### Parameters
|
|
765
|
+
|
|
766
|
+
| Name | Type | Description |
|
|
767
|
+
| :------ | :------ | :------ |
|
|
768
|
+
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupParams`] \| [`string`, [`UpdateBehaviorGroupRequest`](interfaces/UpdateBehaviorGroupRequest.md), `AxiosRequestConfig`] | with all available params. |
|
|
769
|
+
|
|
770
|
+
#### Returns
|
|
771
|
+
|
|
772
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
773
|
+
|
|
774
|
+
#### Defined in
|
|
775
|
+
|
|
776
|
+
[packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts#L40)
|
|
777
|
+
|
|
778
|
+
___
|
|
779
|
+
|
|
780
|
+
### notificationResourceV1UpdateEventTypeBehaviorsParamCreator
|
|
781
|
+
|
|
782
|
+
▸ **notificationResourceV1UpdateEventTypeBehaviorsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
783
|
+
|
|
784
|
+
**`Summary`**
|
|
785
|
+
|
|
786
|
+
Update the list of behavior groups of an event type.
|
|
787
|
+
|
|
788
|
+
**`Throws`**
|
|
789
|
+
|
|
790
|
+
#### Parameters
|
|
791
|
+
|
|
792
|
+
| Name | Type | Description |
|
|
793
|
+
| :------ | :------ | :------ |
|
|
794
|
+
| `...config` | [`NotificationResourceV1UpdateEventTypeBehaviorsParams`] \| [`string`, `Set`<`string`\>, `AxiosRequestConfig`] | with all available params. |
|
|
795
|
+
|
|
796
|
+
#### Returns
|
|
797
|
+
|
|
798
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
799
|
+
|
|
800
|
+
#### Defined in
|
|
801
|
+
|
|
802
|
+
[packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts#L40)
|
|
803
|
+
|
|
804
|
+
___
|
|
805
|
+
|
|
806
|
+
### orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator
|
|
807
|
+
|
|
808
|
+
▸ **orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
809
|
+
|
|
810
|
+
**`Throws`**
|
|
811
|
+
|
|
812
|
+
#### Parameters
|
|
813
|
+
|
|
814
|
+
| Name | Type | Description |
|
|
815
|
+
| :------ | :------ | :------ |
|
|
816
|
+
| `...config` | [`OrgConfigResourceV1GetDailyDigestTimePreferenceParams`] \| [`AxiosRequestConfig`] | with all available params. |
|
|
817
|
+
|
|
818
|
+
#### Returns
|
|
819
|
+
|
|
820
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
821
|
+
|
|
822
|
+
#### Defined in
|
|
823
|
+
|
|
824
|
+
[packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts:27](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts#L27)
|
|
825
|
+
|
|
826
|
+
___
|
|
827
|
+
|
|
828
|
+
### orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator
|
|
829
|
+
|
|
830
|
+
▸ **orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
831
|
+
|
|
832
|
+
**`Summary`**
|
|
833
|
+
|
|
834
|
+
Save the daily digest UTC time preference. To cover all time zones conversion to UTC, the accepted minute values are 00, 15, 30 and 45.
|
|
835
|
+
|
|
836
|
+
**`Throws`**
|
|
837
|
+
|
|
838
|
+
#### Parameters
|
|
839
|
+
|
|
840
|
+
| Name | Type | Description |
|
|
841
|
+
| :------ | :------ | :------ |
|
|
842
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`OrgConfigResourceV1SaveDailyDigestTimePreferenceParams`] | with all available params. |
|
|
843
|
+
|
|
844
|
+
#### Returns
|
|
845
|
+
|
|
846
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
847
|
+
|
|
848
|
+
#### Defined in
|
|
849
|
+
|
|
850
|
+
[packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts#L34)
|
|
851
|
+
|
|
852
|
+
___
|
|
853
|
+
|
|
854
|
+
### serializeDataIfNeeded
|
|
855
|
+
|
|
856
|
+
▸ **serializeDataIfNeeded**(`value`, `requestOptions`, `configuration?`): `any`
|
|
857
|
+
|
|
858
|
+
**`Export`**
|
|
859
|
+
|
|
860
|
+
#### Parameters
|
|
861
|
+
|
|
862
|
+
| Name | Type |
|
|
863
|
+
| :------ | :------ |
|
|
864
|
+
| `value` | `any` |
|
|
865
|
+
| `requestOptions` | `any` |
|
|
866
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
867
|
+
|
|
868
|
+
#### Returns
|
|
869
|
+
|
|
870
|
+
`any`
|
|
871
|
+
|
|
872
|
+
#### Defined in
|
|
873
|
+
|
|
874
|
+
[packages/notifications/utils/common.ts:111](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L111)
|
|
875
|
+
|
|
876
|
+
___
|
|
877
|
+
|
|
878
|
+
### setApiKeyToObject
|
|
879
|
+
|
|
880
|
+
▸ **setApiKeyToObject**(`object`, `keyParamName`, `configuration?`): `Promise`<`void`\>
|
|
881
|
+
|
|
882
|
+
**`Export`**
|
|
883
|
+
|
|
884
|
+
#### Parameters
|
|
885
|
+
|
|
886
|
+
| Name | Type |
|
|
887
|
+
| :------ | :------ |
|
|
888
|
+
| `object` | `any` |
|
|
889
|
+
| `keyParamName` | `string` |
|
|
890
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
891
|
+
|
|
892
|
+
#### Returns
|
|
893
|
+
|
|
894
|
+
`Promise`<`void`\>
|
|
895
|
+
|
|
896
|
+
#### Defined in
|
|
897
|
+
|
|
898
|
+
[packages/notifications/utils/common.ts:30](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L30)
|
|
899
|
+
|
|
900
|
+
___
|
|
901
|
+
|
|
902
|
+
### setBasicAuthToObject
|
|
903
|
+
|
|
904
|
+
▸ **setBasicAuthToObject**(`object`, `configuration?`): `void`
|
|
905
|
+
|
|
906
|
+
**`Export`**
|
|
907
|
+
|
|
908
|
+
#### Parameters
|
|
909
|
+
|
|
910
|
+
| Name | Type |
|
|
911
|
+
| :------ | :------ |
|
|
912
|
+
| `object` | `any` |
|
|
913
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
914
|
+
|
|
915
|
+
#### Returns
|
|
916
|
+
|
|
917
|
+
`void`
|
|
918
|
+
|
|
919
|
+
#### Defined in
|
|
920
|
+
|
|
921
|
+
[packages/notifications/utils/common.ts:43](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L43)
|
|
922
|
+
|
|
923
|
+
___
|
|
924
|
+
|
|
925
|
+
### setBearerAuthToObject
|
|
926
|
+
|
|
927
|
+
▸ **setBearerAuthToObject**(`object`, `configuration?`): `Promise`<`void`\>
|
|
928
|
+
|
|
929
|
+
**`Export`**
|
|
930
|
+
|
|
931
|
+
#### Parameters
|
|
932
|
+
|
|
933
|
+
| Name | Type |
|
|
934
|
+
| :------ | :------ |
|
|
935
|
+
| `object` | `any` |
|
|
936
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
937
|
+
|
|
938
|
+
#### Returns
|
|
939
|
+
|
|
940
|
+
`Promise`<`void`\>
|
|
941
|
+
|
|
942
|
+
#### Defined in
|
|
943
|
+
|
|
944
|
+
[packages/notifications/utils/common.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L53)
|
|
945
|
+
|
|
946
|
+
___
|
|
947
|
+
|
|
948
|
+
### setOAuthToObject
|
|
949
|
+
|
|
950
|
+
▸ **setOAuthToObject**(`object`, `name`, `scopes`, `configuration?`): `Promise`<`void`\>
|
|
951
|
+
|
|
952
|
+
**`Export`**
|
|
953
|
+
|
|
954
|
+
#### Parameters
|
|
955
|
+
|
|
956
|
+
| Name | Type |
|
|
957
|
+
| :------ | :------ |
|
|
958
|
+
| `object` | `any` |
|
|
959
|
+
| `name` | `string` |
|
|
960
|
+
| `scopes` | `string`[] |
|
|
961
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
962
|
+
|
|
963
|
+
#### Returns
|
|
964
|
+
|
|
965
|
+
`Promise`<`void`\>
|
|
966
|
+
|
|
967
|
+
#### Defined in
|
|
968
|
+
|
|
969
|
+
[packages/notifications/utils/common.ts:66](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L66)
|
|
970
|
+
|
|
971
|
+
___
|
|
972
|
+
|
|
973
|
+
### setSearchParams
|
|
974
|
+
|
|
975
|
+
▸ **setSearchParams**(`url`, ...`objects`): `void`
|
|
976
|
+
|
|
977
|
+
**`Export`**
|
|
978
|
+
|
|
979
|
+
#### Parameters
|
|
980
|
+
|
|
981
|
+
| Name | Type |
|
|
982
|
+
| :------ | :------ |
|
|
983
|
+
| `url` | `URL` |
|
|
984
|
+
| `...objects` | `any`[] |
|
|
985
|
+
|
|
986
|
+
#### Returns
|
|
987
|
+
|
|
988
|
+
`void`
|
|
989
|
+
|
|
990
|
+
#### Defined in
|
|
991
|
+
|
|
992
|
+
[packages/notifications/utils/common.ts:101](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L101)
|
|
993
|
+
|
|
994
|
+
___
|
|
995
|
+
|
|
996
|
+
### toPathString
|
|
997
|
+
|
|
998
|
+
▸ **toPathString**(`url`): `string`
|
|
999
|
+
|
|
1000
|
+
**`Export`**
|
|
1001
|
+
|
|
1002
|
+
#### Parameters
|
|
1003
|
+
|
|
1004
|
+
| Name | Type |
|
|
1005
|
+
| :------ | :------ |
|
|
1006
|
+
| `url` | `URL` |
|
|
1007
|
+
|
|
1008
|
+
#### Returns
|
|
1009
|
+
|
|
1010
|
+
`string`
|
|
1011
|
+
|
|
1012
|
+
#### Defined in
|
|
1013
|
+
|
|
1014
|
+
[packages/notifications/utils/common.ts:125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L125)
|
|
1015
|
+
|
|
1016
|
+
___
|
|
1017
|
+
|
|
1018
|
+
### userConfigResourceV1GetPreferencesParamCreator
|
|
1019
|
+
|
|
1020
|
+
▸ **userConfigResourceV1GetPreferencesParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1021
|
+
|
|
1022
|
+
**`Throws`**
|
|
1023
|
+
|
|
1024
|
+
#### Parameters
|
|
1025
|
+
|
|
1026
|
+
| Name | Type | Description |
|
|
1027
|
+
| :------ | :------ | :------ |
|
|
1028
|
+
| `...config` | [`string`, `string`, `AxiosRequestConfig`] \| [`UserConfigResourceV1GetPreferencesParams`] | with all available params. |
|
|
1029
|
+
|
|
1030
|
+
#### Returns
|
|
1031
|
+
|
|
1032
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1033
|
+
|
|
1034
|
+
#### Defined in
|
|
1035
|
+
|
|
1036
|
+
[packages/notifications/UserConfigResourceV1GetPreferences/index.ts:39](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/UserConfigResourceV1GetPreferences/index.ts#L39)
|
|
1037
|
+
|
|
1038
|
+
___
|
|
1039
|
+
|
|
1040
|
+
### userConfigResourceV1GetSettingsSchemaParamCreator
|
|
1041
|
+
|
|
1042
|
+
▸ **userConfigResourceV1GetSettingsSchemaParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1043
|
+
|
|
1044
|
+
**`Throws`**
|
|
1045
|
+
|
|
1046
|
+
#### Parameters
|
|
1047
|
+
|
|
1048
|
+
| Name | Type | Description |
|
|
1049
|
+
| :------ | :------ | :------ |
|
|
1050
|
+
| `...config` | [`string`, `AxiosRequestConfig`] \| [`UserConfigResourceV1GetSettingsSchemaParams`] | with all available params. |
|
|
1051
|
+
|
|
1052
|
+
#### Returns
|
|
1053
|
+
|
|
1054
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1055
|
+
|
|
1056
|
+
#### Defined in
|
|
1057
|
+
|
|
1058
|
+
[packages/notifications/UserConfigResourceV1GetSettingsSchema/index.ts:33](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/UserConfigResourceV1GetSettingsSchema/index.ts#L33)
|
|
1059
|
+
|
|
1060
|
+
___
|
|
1061
|
+
|
|
1062
|
+
### userConfigResourceV1SaveSettingsParamCreator
|
|
1063
|
+
|
|
1064
|
+
▸ **userConfigResourceV1SaveSettingsParamCreator**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1065
|
+
|
|
1066
|
+
**`Throws`**
|
|
1067
|
+
|
|
1068
|
+
#### Parameters
|
|
1069
|
+
|
|
1070
|
+
| Name | Type | Description |
|
|
1071
|
+
| :------ | :------ | :------ |
|
|
1072
|
+
| `...config` | [`UserConfigResourceV1SaveSettingsParams`] \| [[`SettingsValues`](interfaces/SettingsValues.md), `AxiosRequestConfig`] | with all available params. |
|
|
1073
|
+
|
|
1074
|
+
#### Returns
|
|
1075
|
+
|
|
1076
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
1077
|
+
|
|
1078
|
+
#### Defined in
|
|
1079
|
+
|
|
1080
|
+
[packages/notifications/UserConfigResourceV1SaveSettings/index.ts:33](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/UserConfigResourceV1SaveSettings/index.ts#L33)
|