@redhat-cloud-services/notifications-client 1.0.102
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/LICENSE +201 -0
- package/README.md +59 -0
- package/doc/README.md +63 -0
- package/doc/classes/appregistrationapi.md +102 -0
- package/doc/classes/appsapi.md +127 -0
- package/doc/classes/baseapi.md +71 -0
- package/doc/classes/configuration.md +116 -0
- package/doc/classes/endpointsapi.md +229 -0
- package/doc/classes/filtersapi.md +103 -0
- package/doc/classes/requirederror.md +88 -0
- package/doc/enums/apptypeenum.md +19 -0
- package/doc/enums/endpointattributeslastdeliverystatusenum.md +28 -0
- package/doc/enums/endpointtypeenum.md +19 -0
- package/doc/enums/eventtypetypeenum.md +19 -0
- package/doc/enums/inlineresponse2004datatypeenum.md +19 -0
- package/doc/enums/leveltypeenum.md +19 -0
- package/doc/globals.md +458 -0
- package/doc/interfaces/app.md +66 -0
- package/doc/interfaces/appattributes.md +42 -0
- package/doc/interfaces/apprelationships.md +27 -0
- package/doc/interfaces/appsregisterapplication.md +38 -0
- package/doc/interfaces/appsregistereventtypes.md +49 -0
- package/doc/interfaces/appsregistereventtypeslevels.md +38 -0
- package/doc/interfaces/configurationparameters.md +75 -0
- package/doc/interfaces/endpoint.md +53 -0
- package/doc/interfaces/endpointattributes.md +94 -0
- package/doc/interfaces/endpointsendpoint.md +60 -0
- package/doc/interfaces/endpointsendpointfilter.md +49 -0
- package/doc/interfaces/endpointsidendpoint.md +60 -0
- package/doc/interfaces/endpointsidendpointfilter.md +60 -0
- package/doc/interfaces/errors.md +27 -0
- package/doc/interfaces/errorserrors.md +93 -0
- package/doc/interfaces/errorssource.md +38 -0
- package/doc/interfaces/eventtype.md +66 -0
- package/doc/interfaces/eventtypeattributes.md +42 -0
- package/doc/interfaces/eventtyperelationships.md +27 -0
- package/doc/interfaces/inlineobject.md +38 -0
- package/doc/interfaces/inlineobject1.md +27 -0
- package/doc/interfaces/inlineobject2.md +27 -0
- package/doc/interfaces/inlineresponse200.md +38 -0
- package/doc/interfaces/inlineresponse2001.md +27 -0
- package/doc/interfaces/inlineresponse2002.md +38 -0
- package/doc/interfaces/inlineresponse2003.md +49 -0
- package/doc/interfaces/inlineresponse2004.md +27 -0
- package/doc/interfaces/inlineresponse2004data.md +60 -0
- package/doc/interfaces/inlineresponse2004dataattributes.md +27 -0
- package/doc/interfaces/inlineresponse2004datarelationships.md +60 -0
- package/doc/interfaces/inlineresponse201.md +27 -0
- package/doc/interfaces/level.md +55 -0
- package/doc/interfaces/levelattributes.md +29 -0
- package/doc/interfaces/links.md +68 -0
- package/doc/interfaces/metadata.md +55 -0
- package/doc/interfaces/relationship.md +38 -0
- package/doc/interfaces/relationships.md +27 -0
- package/doc/interfaces/requestargs.md +34 -0
- package/package.json +34 -0
- package/postProcess.sh +12 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [Configuration](configuration.md)
|
|
2
|
+
|
|
3
|
+
# Class: Configuration
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
* **Configuration**
|
|
8
|
+
|
|
9
|
+
## Index
|
|
10
|
+
|
|
11
|
+
### Constructors
|
|
12
|
+
|
|
13
|
+
* [constructor](configuration.md#constructor)
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
* [accessToken](configuration.md#optional-accesstoken)
|
|
18
|
+
* [apiKey](configuration.md#optional-apikey)
|
|
19
|
+
* [baseOptions](configuration.md#optional-baseoptions)
|
|
20
|
+
* [basePath](configuration.md#optional-basepath)
|
|
21
|
+
* [password](configuration.md#optional-password)
|
|
22
|
+
* [username](configuration.md#optional-username)
|
|
23
|
+
|
|
24
|
+
## Constructors
|
|
25
|
+
|
|
26
|
+
### constructor
|
|
27
|
+
|
|
28
|
+
\+ **new Configuration**(`param`: [ConfigurationParameters](../interfaces/configurationparameters.md)): *[Configuration](configuration.md)*
|
|
29
|
+
|
|
30
|
+
*Defined in [packages/hooks/configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L65)*
|
|
31
|
+
|
|
32
|
+
**Parameters:**
|
|
33
|
+
|
|
34
|
+
Name | Type | Default |
|
|
35
|
+
------ | ------ | ------ |
|
|
36
|
+
`param` | [ConfigurationParameters](../interfaces/configurationparameters.md) | {} |
|
|
37
|
+
|
|
38
|
+
**Returns:** *[Configuration](configuration.md)*
|
|
39
|
+
|
|
40
|
+
## Properties
|
|
41
|
+
|
|
42
|
+
### `Optional` accessToken
|
|
43
|
+
|
|
44
|
+
• **accessToken**? : *string | function*
|
|
45
|
+
|
|
46
|
+
*Defined in [packages/hooks/configuration.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L51)*
|
|
47
|
+
|
|
48
|
+
parameter for oauth2 security
|
|
49
|
+
|
|
50
|
+
**`param`** security name
|
|
51
|
+
|
|
52
|
+
**`param`** oauth2 scope
|
|
53
|
+
|
|
54
|
+
**`memberof`** Configuration
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### `Optional` apiKey
|
|
59
|
+
|
|
60
|
+
• **apiKey**? : *string | function*
|
|
61
|
+
|
|
62
|
+
*Defined in [packages/hooks/configuration.ts:30](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L30)*
|
|
63
|
+
|
|
64
|
+
parameter for apiKey security
|
|
65
|
+
|
|
66
|
+
**`param`** security name
|
|
67
|
+
|
|
68
|
+
**`memberof`** Configuration
|
|
69
|
+
|
|
70
|
+
___
|
|
71
|
+
|
|
72
|
+
### `Optional` baseOptions
|
|
73
|
+
|
|
74
|
+
• **baseOptions**? : *any*
|
|
75
|
+
|
|
76
|
+
*Defined in [packages/hooks/configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L65)*
|
|
77
|
+
|
|
78
|
+
base options for axios calls
|
|
79
|
+
|
|
80
|
+
**`memberof`** Configuration
|
|
81
|
+
|
|
82
|
+
___
|
|
83
|
+
|
|
84
|
+
### `Optional` basePath
|
|
85
|
+
|
|
86
|
+
• **basePath**? : *string*
|
|
87
|
+
|
|
88
|
+
*Defined in [packages/hooks/configuration.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L58)*
|
|
89
|
+
|
|
90
|
+
override base path
|
|
91
|
+
|
|
92
|
+
**`memberof`** Configuration
|
|
93
|
+
|
|
94
|
+
___
|
|
95
|
+
|
|
96
|
+
### `Optional` password
|
|
97
|
+
|
|
98
|
+
• **password**? : *string*
|
|
99
|
+
|
|
100
|
+
*Defined in [packages/hooks/configuration.ts:44](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L44)*
|
|
101
|
+
|
|
102
|
+
parameter for basic security
|
|
103
|
+
|
|
104
|
+
**`memberof`** Configuration
|
|
105
|
+
|
|
106
|
+
___
|
|
107
|
+
|
|
108
|
+
### `Optional` username
|
|
109
|
+
|
|
110
|
+
• **username**? : *string*
|
|
111
|
+
|
|
112
|
+
*Defined in [packages/hooks/configuration.ts:37](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L37)*
|
|
113
|
+
|
|
114
|
+
parameter for basic security
|
|
115
|
+
|
|
116
|
+
**`memberof`** Configuration
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [EndpointsApi](endpointsapi.md)
|
|
2
|
+
|
|
3
|
+
# Class: EndpointsApi
|
|
4
|
+
|
|
5
|
+
EndpointsApi - object-oriented interface
|
|
6
|
+
|
|
7
|
+
**`export`**
|
|
8
|
+
|
|
9
|
+
## Hierarchy
|
|
10
|
+
|
|
11
|
+
* [BaseAPI](baseapi.md)
|
|
12
|
+
|
|
13
|
+
↳ **EndpointsApi**
|
|
14
|
+
|
|
15
|
+
## Index
|
|
16
|
+
|
|
17
|
+
### Constructors
|
|
18
|
+
|
|
19
|
+
* [constructor](endpointsapi.md#constructor)
|
|
20
|
+
|
|
21
|
+
### Properties
|
|
22
|
+
|
|
23
|
+
* [axios](endpointsapi.md#protected-axios)
|
|
24
|
+
* [basePath](endpointsapi.md#protected-basepath)
|
|
25
|
+
* [configuration](endpointsapi.md#protected-configuration)
|
|
26
|
+
|
|
27
|
+
### Methods
|
|
28
|
+
|
|
29
|
+
* [endpointsCreate](endpointsapi.md#endpointscreate)
|
|
30
|
+
* [endpointsDestroy](endpointsapi.md#endpointsdestroy)
|
|
31
|
+
* [endpointsIndex](endpointsapi.md#endpointsindex)
|
|
32
|
+
* [endpointsShow](endpointsapi.md#endpointsshow)
|
|
33
|
+
* [endpointsTest](endpointsapi.md#endpointstest)
|
|
34
|
+
* [endpointsUpdate](endpointsapi.md#endpointsupdate)
|
|
35
|
+
|
|
36
|
+
## Constructors
|
|
37
|
+
|
|
38
|
+
### constructor
|
|
39
|
+
|
|
40
|
+
\+ **new EndpointsApi**(`configuration?`: [Configuration](configuration.md), `basePath`: string, `axios`: AxiosInstance): *[EndpointsApi](endpointsapi.md)*
|
|
41
|
+
|
|
42
|
+
*Inherited from [BaseAPI](baseapi.md).[constructor](baseapi.md#constructor)*
|
|
43
|
+
|
|
44
|
+
Defined in packages/hooks/base.ts:49
|
|
45
|
+
|
|
46
|
+
**Parameters:**
|
|
47
|
+
|
|
48
|
+
Name | Type | Default |
|
|
49
|
+
------ | ------ | ------ |
|
|
50
|
+
`configuration?` | [Configuration](configuration.md) | - |
|
|
51
|
+
`basePath` | string | BASE_PATH |
|
|
52
|
+
`axios` | AxiosInstance | globalAxios |
|
|
53
|
+
|
|
54
|
+
**Returns:** *[EndpointsApi](endpointsapi.md)*
|
|
55
|
+
|
|
56
|
+
## Properties
|
|
57
|
+
|
|
58
|
+
### `Protected` axios
|
|
59
|
+
|
|
60
|
+
• **axios**: *AxiosInstance*
|
|
61
|
+
|
|
62
|
+
*Inherited from [BaseAPI](baseapi.md).[axios](baseapi.md#protected-axios)*
|
|
63
|
+
|
|
64
|
+
Defined in packages/hooks/base.ts:51
|
|
65
|
+
|
|
66
|
+
___
|
|
67
|
+
|
|
68
|
+
### `Protected` basePath
|
|
69
|
+
|
|
70
|
+
• **basePath**: *string*
|
|
71
|
+
|
|
72
|
+
*Inherited from [BaseAPI](baseapi.md).[basePath](baseapi.md#protected-basepath)*
|
|
73
|
+
|
|
74
|
+
Defined in packages/hooks/base.ts:51
|
|
75
|
+
|
|
76
|
+
___
|
|
77
|
+
|
|
78
|
+
### `Protected` configuration
|
|
79
|
+
|
|
80
|
+
• **configuration**: *[Configuration](configuration.md) | undefined*
|
|
81
|
+
|
|
82
|
+
*Inherited from [BaseAPI](baseapi.md).[configuration](baseapi.md#protected-configuration)*
|
|
83
|
+
|
|
84
|
+
Defined in packages/hooks/base.ts:49
|
|
85
|
+
|
|
86
|
+
## Methods
|
|
87
|
+
|
|
88
|
+
### endpointsCreate
|
|
89
|
+
|
|
90
|
+
▸ **endpointsCreate**(`xRHIDENTITY`: string, `inlineObject1`: [InlineObject1](../interfaces/inlineobject1.md), `options?`: any): *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
91
|
+
|
|
92
|
+
*Defined in [packages/hooks/api.ts:1655](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1655)*
|
|
93
|
+
|
|
94
|
+
Creates an endpoint
|
|
95
|
+
|
|
96
|
+
**`throws`** {RequiredError}
|
|
97
|
+
|
|
98
|
+
**`memberof`** EndpointsApi
|
|
99
|
+
|
|
100
|
+
**Parameters:**
|
|
101
|
+
|
|
102
|
+
Name | Type |
|
|
103
|
+
------ | ------ |
|
|
104
|
+
`xRHIDENTITY` | string |
|
|
105
|
+
`inlineObject1` | [InlineObject1](../interfaces/inlineobject1.md) |
|
|
106
|
+
`options?` | any |
|
|
107
|
+
|
|
108
|
+
**Returns:** *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
109
|
+
|
|
110
|
+
___
|
|
111
|
+
|
|
112
|
+
### endpointsDestroy
|
|
113
|
+
|
|
114
|
+
▸ **endpointsDestroy**(`xRHIDENTITY`: string, `id`: number, `options?`: any): *AxiosPromise‹void›*
|
|
115
|
+
|
|
116
|
+
*Defined in [packages/hooks/api.ts:1667](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1667)*
|
|
117
|
+
|
|
118
|
+
**`throws`** {RequiredError}
|
|
119
|
+
|
|
120
|
+
**`memberof`** EndpointsApi
|
|
121
|
+
|
|
122
|
+
**Parameters:**
|
|
123
|
+
|
|
124
|
+
Name | Type |
|
|
125
|
+
------ | ------ |
|
|
126
|
+
`xRHIDENTITY` | string |
|
|
127
|
+
`id` | number |
|
|
128
|
+
`options?` | any |
|
|
129
|
+
|
|
130
|
+
**Returns:** *AxiosPromise‹void›*
|
|
131
|
+
|
|
132
|
+
___
|
|
133
|
+
|
|
134
|
+
### endpointsIndex
|
|
135
|
+
|
|
136
|
+
▸ **endpointsIndex**(`xRHIDENTITY`: string, `order?`: string, `offset?`: number, `limit?`: number, `options?`: any): *AxiosPromise‹[InlineResponse2003](../interfaces/inlineresponse2003.md)›*
|
|
137
|
+
|
|
138
|
+
*Defined in [packages/hooks/api.ts:1681](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1681)*
|
|
139
|
+
|
|
140
|
+
List all endpoints
|
|
141
|
+
|
|
142
|
+
**`throws`** {RequiredError}
|
|
143
|
+
|
|
144
|
+
**`memberof`** EndpointsApi
|
|
145
|
+
|
|
146
|
+
**Parameters:**
|
|
147
|
+
|
|
148
|
+
Name | Type |
|
|
149
|
+
------ | ------ |
|
|
150
|
+
`xRHIDENTITY` | string |
|
|
151
|
+
`order?` | string |
|
|
152
|
+
`offset?` | number |
|
|
153
|
+
`limit?` | number |
|
|
154
|
+
`options?` | any |
|
|
155
|
+
|
|
156
|
+
**Returns:** *AxiosPromise‹[InlineResponse2003](../interfaces/inlineresponse2003.md)›*
|
|
157
|
+
|
|
158
|
+
___
|
|
159
|
+
|
|
160
|
+
### endpointsShow
|
|
161
|
+
|
|
162
|
+
▸ **endpointsShow**(`xRHIDENTITY`: string, `id`: number, `options?`: any): *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
163
|
+
|
|
164
|
+
*Defined in [packages/hooks/api.ts:1693](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1693)*
|
|
165
|
+
|
|
166
|
+
Shows the requested endpoint
|
|
167
|
+
|
|
168
|
+
**`throws`** {RequiredError}
|
|
169
|
+
|
|
170
|
+
**`memberof`** EndpointsApi
|
|
171
|
+
|
|
172
|
+
**Parameters:**
|
|
173
|
+
|
|
174
|
+
Name | Type |
|
|
175
|
+
------ | ------ |
|
|
176
|
+
`xRHIDENTITY` | string |
|
|
177
|
+
`id` | number |
|
|
178
|
+
`options?` | any |
|
|
179
|
+
|
|
180
|
+
**Returns:** *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
181
|
+
|
|
182
|
+
___
|
|
183
|
+
|
|
184
|
+
### endpointsTest
|
|
185
|
+
|
|
186
|
+
▸ **endpointsTest**(`xRHIDENTITY`: string, `id`: number, `options?`: any): *AxiosPromise‹void›*
|
|
187
|
+
|
|
188
|
+
*Defined in [packages/hooks/api.ts:1705](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1705)*
|
|
189
|
+
|
|
190
|
+
Send a test message to the endpoint
|
|
191
|
+
|
|
192
|
+
**`throws`** {RequiredError}
|
|
193
|
+
|
|
194
|
+
**`memberof`** EndpointsApi
|
|
195
|
+
|
|
196
|
+
**Parameters:**
|
|
197
|
+
|
|
198
|
+
Name | Type |
|
|
199
|
+
------ | ------ |
|
|
200
|
+
`xRHIDENTITY` | string |
|
|
201
|
+
`id` | number |
|
|
202
|
+
`options?` | any |
|
|
203
|
+
|
|
204
|
+
**Returns:** *AxiosPromise‹void›*
|
|
205
|
+
|
|
206
|
+
___
|
|
207
|
+
|
|
208
|
+
### endpointsUpdate
|
|
209
|
+
|
|
210
|
+
▸ **endpointsUpdate**(`xRHIDENTITY`: string, `id`: number, `inlineObject2`: [InlineObject2](../interfaces/inlineobject2.md), `options?`: any): *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
211
|
+
|
|
212
|
+
*Defined in [packages/hooks/api.ts:1718](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1718)*
|
|
213
|
+
|
|
214
|
+
Updates the requested endpoint
|
|
215
|
+
|
|
216
|
+
**`throws`** {RequiredError}
|
|
217
|
+
|
|
218
|
+
**`memberof`** EndpointsApi
|
|
219
|
+
|
|
220
|
+
**Parameters:**
|
|
221
|
+
|
|
222
|
+
Name | Type |
|
|
223
|
+
------ | ------ |
|
|
224
|
+
`xRHIDENTITY` | string |
|
|
225
|
+
`id` | number |
|
|
226
|
+
`inlineObject2` | [InlineObject2](../interfaces/inlineobject2.md) |
|
|
227
|
+
`options?` | any |
|
|
228
|
+
|
|
229
|
+
**Returns:** *AxiosPromise‹[InlineResponse201](../interfaces/inlineresponse201.md)›*
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [FiltersApi](filtersapi.md)
|
|
2
|
+
|
|
3
|
+
# Class: FiltersApi
|
|
4
|
+
|
|
5
|
+
FiltersApi - object-oriented interface
|
|
6
|
+
|
|
7
|
+
**`export`**
|
|
8
|
+
|
|
9
|
+
## Hierarchy
|
|
10
|
+
|
|
11
|
+
* [BaseAPI](baseapi.md)
|
|
12
|
+
|
|
13
|
+
↳ **FiltersApi**
|
|
14
|
+
|
|
15
|
+
## Index
|
|
16
|
+
|
|
17
|
+
### Constructors
|
|
18
|
+
|
|
19
|
+
* [constructor](filtersapi.md#constructor)
|
|
20
|
+
|
|
21
|
+
### Properties
|
|
22
|
+
|
|
23
|
+
* [axios](filtersapi.md#protected-axios)
|
|
24
|
+
* [basePath](filtersapi.md#protected-basepath)
|
|
25
|
+
* [configuration](filtersapi.md#protected-configuration)
|
|
26
|
+
|
|
27
|
+
### Methods
|
|
28
|
+
|
|
29
|
+
* [filtersShow](filtersapi.md#filtersshow)
|
|
30
|
+
|
|
31
|
+
## Constructors
|
|
32
|
+
|
|
33
|
+
### constructor
|
|
34
|
+
|
|
35
|
+
\+ **new FiltersApi**(`configuration?`: [Configuration](configuration.md), `basePath`: string, `axios`: AxiosInstance): *[FiltersApi](filtersapi.md)*
|
|
36
|
+
|
|
37
|
+
*Inherited from [BaseAPI](baseapi.md).[constructor](baseapi.md#constructor)*
|
|
38
|
+
|
|
39
|
+
Defined in packages/hooks/base.ts:49
|
|
40
|
+
|
|
41
|
+
**Parameters:**
|
|
42
|
+
|
|
43
|
+
Name | Type | Default |
|
|
44
|
+
------ | ------ | ------ |
|
|
45
|
+
`configuration?` | [Configuration](configuration.md) | - |
|
|
46
|
+
`basePath` | string | BASE_PATH |
|
|
47
|
+
`axios` | AxiosInstance | globalAxios |
|
|
48
|
+
|
|
49
|
+
**Returns:** *[FiltersApi](filtersapi.md)*
|
|
50
|
+
|
|
51
|
+
## Properties
|
|
52
|
+
|
|
53
|
+
### `Protected` axios
|
|
54
|
+
|
|
55
|
+
• **axios**: *AxiosInstance*
|
|
56
|
+
|
|
57
|
+
*Inherited from [BaseAPI](baseapi.md).[axios](baseapi.md#protected-axios)*
|
|
58
|
+
|
|
59
|
+
Defined in packages/hooks/base.ts:51
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### `Protected` basePath
|
|
64
|
+
|
|
65
|
+
• **basePath**: *string*
|
|
66
|
+
|
|
67
|
+
*Inherited from [BaseAPI](baseapi.md).[basePath](baseapi.md#protected-basepath)*
|
|
68
|
+
|
|
69
|
+
Defined in packages/hooks/base.ts:51
|
|
70
|
+
|
|
71
|
+
___
|
|
72
|
+
|
|
73
|
+
### `Protected` configuration
|
|
74
|
+
|
|
75
|
+
• **configuration**: *[Configuration](configuration.md) | undefined*
|
|
76
|
+
|
|
77
|
+
*Inherited from [BaseAPI](baseapi.md).[configuration](baseapi.md#protected-configuration)*
|
|
78
|
+
|
|
79
|
+
Defined in packages/hooks/base.ts:49
|
|
80
|
+
|
|
81
|
+
## Methods
|
|
82
|
+
|
|
83
|
+
### filtersShow
|
|
84
|
+
|
|
85
|
+
▸ **filtersShow**(`xRHIDENTITY`: string, `endpointId`: number, `options?`: any): *AxiosPromise‹[InlineResponse2004](../interfaces/inlineresponse2004.md)›*
|
|
86
|
+
|
|
87
|
+
*Defined in [packages/hooks/api.ts:1835](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1835)*
|
|
88
|
+
|
|
89
|
+
Show the filter of the endpoint
|
|
90
|
+
|
|
91
|
+
**`throws`** {RequiredError}
|
|
92
|
+
|
|
93
|
+
**`memberof`** FiltersApi
|
|
94
|
+
|
|
95
|
+
**Parameters:**
|
|
96
|
+
|
|
97
|
+
Name | Type |
|
|
98
|
+
------ | ------ |
|
|
99
|
+
`xRHIDENTITY` | string |
|
|
100
|
+
`endpointId` | number |
|
|
101
|
+
`options?` | any |
|
|
102
|
+
|
|
103
|
+
**Returns:** *AxiosPromise‹[InlineResponse2004](../interfaces/inlineresponse2004.md)›*
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [RequiredError](requirederror.md)
|
|
2
|
+
|
|
3
|
+
# Class: RequiredError
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
* [Error](requirederror.md#static-error)
|
|
10
|
+
|
|
11
|
+
↳ **RequiredError**
|
|
12
|
+
|
|
13
|
+
## Index
|
|
14
|
+
|
|
15
|
+
### Constructors
|
|
16
|
+
|
|
17
|
+
* [constructor](requirederror.md#constructor)
|
|
18
|
+
|
|
19
|
+
### Properties
|
|
20
|
+
|
|
21
|
+
* [field](requirederror.md#field)
|
|
22
|
+
* [message](requirederror.md#message)
|
|
23
|
+
* [name](requirederror.md#name)
|
|
24
|
+
* [stack](requirederror.md#optional-stack)
|
|
25
|
+
* [Error](requirederror.md#static-error)
|
|
26
|
+
|
|
27
|
+
## Constructors
|
|
28
|
+
|
|
29
|
+
### constructor
|
|
30
|
+
|
|
31
|
+
\+ **new RequiredError**(`field`: string, `msg?`: string): *[RequiredError](requirederror.md)*
|
|
32
|
+
|
|
33
|
+
Defined in packages/hooks/base.ts:66
|
|
34
|
+
|
|
35
|
+
**Parameters:**
|
|
36
|
+
|
|
37
|
+
Name | Type |
|
|
38
|
+
------ | ------ |
|
|
39
|
+
`field` | string |
|
|
40
|
+
`msg?` | string |
|
|
41
|
+
|
|
42
|
+
**Returns:** *[RequiredError](requirederror.md)*
|
|
43
|
+
|
|
44
|
+
## Properties
|
|
45
|
+
|
|
46
|
+
### field
|
|
47
|
+
|
|
48
|
+
• **field**: *string*
|
|
49
|
+
|
|
50
|
+
Defined in packages/hooks/base.ts:67
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
54
|
+
### message
|
|
55
|
+
|
|
56
|
+
• **message**: *string*
|
|
57
|
+
|
|
58
|
+
*Inherited from [RequiredError](requirederror.md).[message](requirederror.md#message)*
|
|
59
|
+
|
|
60
|
+
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### name
|
|
65
|
+
|
|
66
|
+
• **name**: *"RequiredError"* = "RequiredError"
|
|
67
|
+
|
|
68
|
+
*Overrides void*
|
|
69
|
+
|
|
70
|
+
Defined in packages/hooks/base.ts:66
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### `Optional` stack
|
|
75
|
+
|
|
76
|
+
• **stack**? : *string*
|
|
77
|
+
|
|
78
|
+
*Inherited from [RequiredError](requirederror.md).[stack](requirederror.md#optional-stack)*
|
|
79
|
+
|
|
80
|
+
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
|
|
81
|
+
|
|
82
|
+
___
|
|
83
|
+
|
|
84
|
+
### `Static` Error
|
|
85
|
+
|
|
86
|
+
▪ **Error**: *ErrorConstructor*
|
|
87
|
+
|
|
88
|
+
Defined in node_modules/typescript/lib/lib.es5.d.ts:984
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [AppTypeEnum](apptypeenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: AppTypeEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [App](apptypeenum.md#app)
|
|
12
|
+
|
|
13
|
+
## Enumeration members
|
|
14
|
+
|
|
15
|
+
### App
|
|
16
|
+
|
|
17
|
+
• **App**: = "app"
|
|
18
|
+
|
|
19
|
+
*Defined in [packages/hooks/api.ts:59](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L59)*
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [EndpointAttributesLastDeliveryStatusEnum](endpointattributeslastdeliverystatusenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: EndpointAttributesLastDeliveryStatusEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [Failure](endpointattributeslastdeliverystatusenum.md#failure)
|
|
12
|
+
* [Success](endpointattributeslastdeliverystatusenum.md#success)
|
|
13
|
+
|
|
14
|
+
## Enumeration members
|
|
15
|
+
|
|
16
|
+
### Failure
|
|
17
|
+
|
|
18
|
+
• **Failure**: = "failure"
|
|
19
|
+
|
|
20
|
+
*Defined in [packages/hooks/api.ts:241](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L241)*
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### Success
|
|
25
|
+
|
|
26
|
+
• **Success**: = "success"
|
|
27
|
+
|
|
28
|
+
*Defined in [packages/hooks/api.ts:240](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L240)*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [EndpointTypeEnum](endpointtypeenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: EndpointTypeEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [Endpoint](endpointtypeenum.md#endpoint)
|
|
12
|
+
|
|
13
|
+
## Enumeration members
|
|
14
|
+
|
|
15
|
+
### Endpoint
|
|
16
|
+
|
|
17
|
+
• **Endpoint**: = "endpoint"
|
|
18
|
+
|
|
19
|
+
*Defined in [packages/hooks/api.ts:188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L188)*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [EventTypeTypeEnum](eventtypetypeenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: EventTypeTypeEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [EventType](eventtypetypeenum.md#eventtype)
|
|
12
|
+
|
|
13
|
+
## Enumeration members
|
|
14
|
+
|
|
15
|
+
### EventType
|
|
16
|
+
|
|
17
|
+
• **EventType**: = "event_type"
|
|
18
|
+
|
|
19
|
+
*Defined in [packages/hooks/api.ts:480](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L480)*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [InlineResponse2004DataTypeEnum](inlineresponse2004datatypeenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: InlineResponse2004DataTypeEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [Filter](inlineresponse2004datatypeenum.md#filter)
|
|
12
|
+
|
|
13
|
+
## Enumeration members
|
|
14
|
+
|
|
15
|
+
### Filter
|
|
16
|
+
|
|
17
|
+
• **Filter**: = "filter"
|
|
18
|
+
|
|
19
|
+
*Defined in [packages/hooks/api.ts:686](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L686)*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) › [Globals](../globals.md) › [LevelTypeEnum](leveltypeenum.md)
|
|
2
|
+
|
|
3
|
+
# Enumeration: LevelTypeEnum
|
|
4
|
+
|
|
5
|
+
**`export`**
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
* [Level](leveltypeenum.md#level)
|
|
12
|
+
|
|
13
|
+
## Enumeration members
|
|
14
|
+
|
|
15
|
+
### Level
|
|
16
|
+
|
|
17
|
+
• **Level**: = "level"
|
|
18
|
+
|
|
19
|
+
*Defined in [packages/hooks/api.ts:777](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L777)*
|