@redhat-cloud-services/notifications-client 2.3.1 → 2.3.2
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/doc/README.md +2 -1
- package/doc/classes/BaseAPI.md +21 -13
- package/doc/classes/Configuration.md +24 -16
- package/doc/classes/RequiredError.md +17 -11
- package/doc/enums/EndpointStatus.md +6 -6
- package/doc/enums/EndpointType.md +5 -5
- package/doc/enums/Environment.md +4 -4
- package/doc/enums/EventLogEntryActionStatus.md +5 -5
- package/doc/enums/HttpType.md +3 -3
- package/doc/enums/NotificationStatus.md +5 -5
- package/doc/enums/Status.md +2 -2
- package/doc/enums/SubscriptionType.md +3 -3
- package/doc/interfaces/AddAccessRequest.md +2 -4
- package/doc/interfaces/AddApplicationRequest.md +4 -6
- package/doc/interfaces/AggregationEmailTemplate.md +10 -12
- package/doc/interfaces/AggregationEmailTemplateSubjectTemplate.md +6 -8
- package/doc/interfaces/ApiConfig.md +2 -2
- package/doc/interfaces/Application.md +6 -8
- package/doc/interfaces/Application1.md +2 -4
- package/doc/interfaces/ApplicationDTO.md +6 -8
- package/doc/interfaces/ApplicationSettingsValue.md +1 -3
- package/doc/interfaces/BasicAuthentication.md +2 -4
- package/doc/interfaces/BehaviorGroup.md +10 -12
- package/doc/interfaces/BehaviorGroupAction.md +3 -5
- package/doc/interfaces/BehaviorGroupActionId.md +2 -4
- package/doc/interfaces/Bundle.md +5 -7
- package/doc/interfaces/BundleSettingsValue.md +1 -3
- package/doc/interfaces/CamelProperties.md +7 -9
- package/doc/interfaces/ConfigurationParameters.md +14 -10
- package/doc/interfaces/CreateBehaviorGroupRequest.md +7 -9
- package/doc/interfaces/CreateBehaviorGroupResponse.md +7 -9
- package/doc/interfaces/CurrentStatus.md +3 -5
- package/doc/interfaces/DrawerEntryPayload.md +7 -9
- package/doc/interfaces/DuplicateNameMigrationReport.md +2 -4
- package/doc/interfaces/Endpoint.md +11 -13
- package/doc/interfaces/EndpointPage.md +3 -5
- package/doc/interfaces/EndpointTestRequest.md +1 -3
- package/doc/interfaces/EventLogEntry.md +7 -9
- package/doc/interfaces/EventLogEntryAction.md +7 -9
- package/doc/interfaces/EventType.md +10 -12
- package/doc/interfaces/EventTypeBehavior.md +3 -5
- package/doc/interfaces/EventTypeBehaviorId.md +2 -4
- package/doc/interfaces/EventTypeSettingsValue.md +3 -5
- package/doc/interfaces/Facet.md +4 -6
- package/doc/interfaces/InstantEmailTemplate.md +9 -11
- package/doc/interfaces/InternalApplicationUserPermission.md +3 -5
- package/doc/interfaces/InternalRoleAccess.md +3 -5
- package/doc/interfaces/InternalUserPermissions.md +3 -5
- package/doc/interfaces/MessageValidationResponse.md +1 -3
- package/doc/interfaces/Meta.md +1 -3
- package/doc/interfaces/NotificationHistory.md +9 -11
- package/doc/interfaces/PageBehaviorGroup.md +3 -5
- package/doc/interfaces/PageDrawerEntryPayload.md +3 -5
- package/doc/interfaces/PageEventLogEntry.md +3 -5
- package/doc/interfaces/PageEventType.md +3 -5
- package/doc/interfaces/PageNotificationHistory.md +3 -5
- package/doc/interfaces/RenderEmailTemplateRequest.md +2 -4
- package/doc/interfaces/RequestArgs.md +6 -8
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +2 -4
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +2 -4
- package/doc/interfaces/ServerInfo.md +1 -3
- package/doc/interfaces/SettingsValuesByEventType.md +1 -3
- package/doc/interfaces/SystemSubscriptionProperties.md +3 -5
- package/doc/interfaces/Template.md +6 -8
- package/doc/interfaces/TriggerDailyDigestRequest.md +5 -7
- package/doc/interfaces/UpdateApplicationRequest.md +3 -5
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +5 -7
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +3 -5
- package/doc/interfaces/WebhookProperties.md +6 -8
- package/doc/interfaces/X509Certificate.md +5 -7
- package/doc/modules.md +274 -274
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.3.2](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.3.1...@redhat-cloud-services/notifications-client-2.3.2) (2024-05-09)
|
|
6
|
+
|
|
5
7
|
## [2.3.1](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.3.0...@redhat-cloud-services/notifications-client-2.3.1) (2024-05-02)
|
|
6
8
|
|
|
7
9
|
## [2.3.0](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.2.5...@redhat-cloud-services/notifications-client-2.3.0) (2024-04-23)
|
package/doc/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@redhat-cloud-services/notifications-client / [Exports](modules.md)
|
|
2
|
+
|
|
1
3
|
# Javascript client for Notifications API
|
|
2
4
|
If you want to use [RedHatInsights/notifications-backend](https://github.com/RedHatInsights/notifications-backend) you shouldn't use get requests directly, but rather use this client to integrate with this service.
|
|
3
5
|
|
|
@@ -23,7 +25,6 @@ import createBehaviorGroup from '@redhat-cloud-services/notifications-client/Not
|
|
|
23
25
|
import updateBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1UpdateBehaviorGroup';
|
|
24
26
|
import deleteBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1DeleteBehaviorGroup';
|
|
25
27
|
|
|
26
|
-
|
|
27
28
|
// BASE_PATH should be set in your constants file
|
|
28
29
|
const notificationsApi = APIFactory(BASE_PATH, undefined, { createBehaviorGroup, updateBehaviorGroup, deleteBehaviorGroup });
|
|
29
30
|
export notificationsApi;
|
package/doc/classes/BaseAPI.md
CHANGED
|
@@ -6,6 +6,8 @@ Base API to store config, basepath and axios instance.
|
|
|
6
6
|
|
|
7
7
|
**`Export`**
|
|
8
8
|
|
|
9
|
+
BaseAPI
|
|
10
|
+
|
|
9
11
|
## Table of contents
|
|
10
12
|
|
|
11
13
|
### Constructors
|
|
@@ -27,7 +29,7 @@ Base API to store config, basepath and axios instance.
|
|
|
27
29
|
|
|
28
30
|
### constructor
|
|
29
31
|
|
|
30
|
-
• **new BaseAPI**(`basePath?`, `config?`)
|
|
32
|
+
• **new BaseAPI**(`basePath?`, `config?`): [`BaseAPI`](BaseAPI.md)
|
|
31
33
|
|
|
32
34
|
Constructor to create baseAPI.
|
|
33
35
|
|
|
@@ -38,9 +40,13 @@ Constructor to create baseAPI.
|
|
|
38
40
|
| `basePath` | `string` | `BASE_PATH` | basePath of api requests. |
|
|
39
41
|
| `config` | [`ApiConfig`](../interfaces/ApiConfig.md) | `undefined` | to be passed down to axios. |
|
|
40
42
|
|
|
43
|
+
#### Returns
|
|
44
|
+
|
|
45
|
+
[`BaseAPI`](BaseAPI.md)
|
|
46
|
+
|
|
41
47
|
#### Defined in
|
|
42
48
|
|
|
43
|
-
[packages/notifications/utils/base.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
49
|
+
[packages/notifications/utils/base.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L70)
|
|
44
50
|
|
|
45
51
|
## Properties
|
|
46
52
|
|
|
@@ -50,7 +56,7 @@ Constructor to create baseAPI.
|
|
|
50
56
|
|
|
51
57
|
#### Defined in
|
|
52
58
|
|
|
53
|
-
[packages/notifications/utils/base.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
59
|
+
[packages/notifications/utils/base.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L64)
|
|
54
60
|
|
|
55
61
|
___
|
|
56
62
|
|
|
@@ -58,9 +64,11 @@ ___
|
|
|
58
64
|
|
|
59
65
|
• `Protected` **basePath**: `string` = `BASE_PATH`
|
|
60
66
|
|
|
67
|
+
basePath of api requests.
|
|
68
|
+
|
|
61
69
|
#### Defined in
|
|
62
70
|
|
|
63
|
-
[packages/notifications/utils/base.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
71
|
+
[packages/notifications/utils/base.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L70)
|
|
64
72
|
|
|
65
73
|
___
|
|
66
74
|
|
|
@@ -70,33 +78,33 @@ ___
|
|
|
70
78
|
|
|
71
79
|
#### Defined in
|
|
72
80
|
|
|
73
|
-
[packages/notifications/utils/base.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
81
|
+
[packages/notifications/utils/base.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L63)
|
|
74
82
|
|
|
75
83
|
## Methods
|
|
76
84
|
|
|
77
85
|
### authConfig
|
|
78
86
|
|
|
79
|
-
▸
|
|
87
|
+
▸ **authConfig**(`«destructured»`): `Promise`\<`void`\>
|
|
80
88
|
|
|
81
89
|
#### Parameters
|
|
82
90
|
|
|
83
91
|
| Name | Type |
|
|
84
92
|
| :------ | :------ |
|
|
85
|
-
|
|
|
93
|
+
| `«destructured»` | `Omit`\<[`RequestArgs`](../interfaces/RequestArgs.md), ``"authType"`` \| ``"authKey"``\> & \{ `authKey?`: `string` \| [`string`, `string`[]] ; `authType`: [`AuthTypeEnum`](../modules.md#authtypeenum) } |
|
|
86
94
|
|
|
87
95
|
#### Returns
|
|
88
96
|
|
|
89
|
-
`Promise
|
|
97
|
+
`Promise`\<`void`\>
|
|
90
98
|
|
|
91
99
|
#### Defined in
|
|
92
100
|
|
|
93
|
-
[packages/notifications/utils/base.ts:83](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
101
|
+
[packages/notifications/utils/base.ts:83](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L83)
|
|
94
102
|
|
|
95
103
|
___
|
|
96
104
|
|
|
97
105
|
### sendRequest
|
|
98
106
|
|
|
99
|
-
▸ **sendRequest
|
|
107
|
+
▸ **sendRequest**\<`T`\>(`request`, `axios?`, `basePath?`): `Promise`\<`AxiosResponse`\<`T`, `any`\>\>
|
|
100
108
|
|
|
101
109
|
Send axios request
|
|
102
110
|
|
|
@@ -110,16 +118,16 @@ Send axios request
|
|
|
110
118
|
|
|
111
119
|
| Name | Type | Description |
|
|
112
120
|
| :------ | :------ | :------ |
|
|
113
|
-
| `request` | `Promise
|
|
121
|
+
| `request` | `Promise`\<[`RequestArgs`](../interfaces/RequestArgs.md)\> | to be send trough axios. |
|
|
114
122
|
| `axios?` | `AxiosInstance` | optional axios instance. |
|
|
115
123
|
| `basePath?` | `string` | - |
|
|
116
124
|
|
|
117
125
|
#### Returns
|
|
118
126
|
|
|
119
|
-
`Promise
|
|
127
|
+
`Promise`\<`AxiosResponse`\<`T`, `any`\>\>
|
|
120
128
|
|
|
121
129
|
promisable axios response.
|
|
122
130
|
|
|
123
131
|
#### Defined in
|
|
124
132
|
|
|
125
|
-
[packages/notifications/utils/base.ts:111](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
133
|
+
[packages/notifications/utils/base.ts:111](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L111)
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
### constructor
|
|
28
28
|
|
|
29
|
-
• **new Configuration**(`param?`)
|
|
29
|
+
• **new Configuration**(`param?`): [`Configuration`](Configuration.md)
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -34,15 +34,19 @@
|
|
|
34
34
|
| :------ | :------ |
|
|
35
35
|
| `param` | [`ConfigurationParameters`](../interfaces/ConfigurationParameters.md) |
|
|
36
36
|
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
[`Configuration`](Configuration.md)
|
|
40
|
+
|
|
37
41
|
#### Defined in
|
|
38
42
|
|
|
39
|
-
[packages/notifications/utils/configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
43
|
+
[packages/notifications/utils/configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L65)
|
|
40
44
|
|
|
41
45
|
## Properties
|
|
42
46
|
|
|
43
47
|
### accessToken
|
|
44
48
|
|
|
45
|
-
• `Optional` **accessToken**: `string` \| `Promise
|
|
49
|
+
• `Optional` **accessToken**: `string` \| `Promise`\<`string`\> \| (`name?`: `string`, `scopes?`: `string`[]) => `string` \| (`name?`: `string`, `scopes?`: `string`[]) => `Promise`\<`string`\>
|
|
46
50
|
|
|
47
51
|
parameter for oauth2 security
|
|
48
52
|
|
|
@@ -60,13 +64,13 @@ Configuration
|
|
|
60
64
|
|
|
61
65
|
#### Defined in
|
|
62
66
|
|
|
63
|
-
[packages/notifications/utils/configuration.ts:41](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
67
|
+
[packages/notifications/utils/configuration.ts:41](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L41)
|
|
64
68
|
|
|
65
69
|
___
|
|
66
70
|
|
|
67
71
|
### apiKey
|
|
68
72
|
|
|
69
|
-
• `Optional` **apiKey**: `string` \| `Promise
|
|
73
|
+
• `Optional` **apiKey**: `string` \| `Promise`\<`string`\> \| (`name`: `string`) => `string` \| (`name`: `string`) => `Promise`\<`string`\>
|
|
70
74
|
|
|
71
75
|
parameter for apiKey security
|
|
72
76
|
|
|
@@ -80,7 +84,7 @@ Configuration
|
|
|
80
84
|
|
|
81
85
|
#### Defined in
|
|
82
86
|
|
|
83
|
-
[packages/notifications/utils/configuration.ts:20](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
87
|
+
[packages/notifications/utils/configuration.ts:20](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L20)
|
|
84
88
|
|
|
85
89
|
___
|
|
86
90
|
|
|
@@ -96,7 +100,7 @@ Configuration
|
|
|
96
100
|
|
|
97
101
|
#### Defined in
|
|
98
102
|
|
|
99
|
-
[packages/notifications/utils/configuration.ts:55](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
103
|
+
[packages/notifications/utils/configuration.ts:55](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L55)
|
|
100
104
|
|
|
101
105
|
___
|
|
102
106
|
|
|
@@ -112,7 +116,7 @@ Configuration
|
|
|
112
116
|
|
|
113
117
|
#### Defined in
|
|
114
118
|
|
|
115
|
-
[packages/notifications/utils/configuration.ts:48](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
119
|
+
[packages/notifications/utils/configuration.ts:48](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L48)
|
|
116
120
|
|
|
117
121
|
___
|
|
118
122
|
|
|
@@ -120,17 +124,21 @@ ___
|
|
|
120
124
|
|
|
121
125
|
• `Optional` **formDataCtor**: () => `any`
|
|
122
126
|
|
|
123
|
-
#### Type declaration
|
|
124
|
-
|
|
125
|
-
• **new Configuration**()
|
|
126
|
-
|
|
127
127
|
The FormData constructor that will be used to create multipart form data
|
|
128
128
|
requests. You can inject this here so that execution environments that
|
|
129
129
|
do not support the FormData class can still run the generated client.
|
|
130
130
|
|
|
131
|
+
#### Type declaration
|
|
132
|
+
|
|
133
|
+
• **new formDataCtor**(): `any`
|
|
134
|
+
|
|
135
|
+
##### Returns
|
|
136
|
+
|
|
137
|
+
`any`
|
|
138
|
+
|
|
131
139
|
#### Defined in
|
|
132
140
|
|
|
133
|
-
[packages/notifications/utils/configuration.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
141
|
+
[packages/notifications/utils/configuration.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L63)
|
|
134
142
|
|
|
135
143
|
___
|
|
136
144
|
|
|
@@ -146,7 +154,7 @@ Configuration
|
|
|
146
154
|
|
|
147
155
|
#### Defined in
|
|
148
156
|
|
|
149
|
-
[packages/notifications/utils/configuration.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
157
|
+
[packages/notifications/utils/configuration.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L34)
|
|
150
158
|
|
|
151
159
|
___
|
|
152
160
|
|
|
@@ -162,7 +170,7 @@ Configuration
|
|
|
162
170
|
|
|
163
171
|
#### Defined in
|
|
164
172
|
|
|
165
|
-
[packages/notifications/utils/configuration.ts:27](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
173
|
+
[packages/notifications/utils/configuration.ts:27](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L27)
|
|
166
174
|
|
|
167
175
|
## Methods
|
|
168
176
|
|
|
@@ -191,4 +199,4 @@ True if the given MIME is JSON, false otherwise.
|
|
|
191
199
|
|
|
192
200
|
#### Defined in
|
|
193
201
|
|
|
194
|
-
[packages/notifications/utils/configuration.ts:85](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
202
|
+
[packages/notifications/utils/configuration.ts:85](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/configuration.ts#L85)
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**`Export`**
|
|
6
6
|
|
|
7
|
+
RequiredError
|
|
8
|
+
|
|
7
9
|
## Hierarchy
|
|
8
10
|
|
|
9
11
|
- `Error`
|
|
@@ -33,7 +35,7 @@
|
|
|
33
35
|
|
|
34
36
|
### constructor
|
|
35
37
|
|
|
36
|
-
• **new RequiredError**(`field`, `msg?`)
|
|
38
|
+
• **new RequiredError**(`field`, `msg?`): [`RequiredError`](RequiredError.md)
|
|
37
39
|
|
|
38
40
|
#### Parameters
|
|
39
41
|
|
|
@@ -42,13 +44,17 @@
|
|
|
42
44
|
| `field` | `string` |
|
|
43
45
|
| `msg?` | `string` |
|
|
44
46
|
|
|
47
|
+
#### Returns
|
|
48
|
+
|
|
49
|
+
[`RequiredError`](RequiredError.md)
|
|
50
|
+
|
|
45
51
|
#### Overrides
|
|
46
52
|
|
|
47
53
|
Error.constructor
|
|
48
54
|
|
|
49
55
|
#### Defined in
|
|
50
56
|
|
|
51
|
-
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
57
|
+
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L167)
|
|
52
58
|
|
|
53
59
|
## Properties
|
|
54
60
|
|
|
@@ -58,7 +64,7 @@ Error.constructor
|
|
|
58
64
|
|
|
59
65
|
#### Defined in
|
|
60
66
|
|
|
61
|
-
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
67
|
+
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/utils/base.ts#L167)
|
|
62
68
|
|
|
63
69
|
___
|
|
64
70
|
|
|
@@ -72,7 +78,7 @@ Error.message
|
|
|
72
78
|
|
|
73
79
|
#### Defined in
|
|
74
80
|
|
|
75
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
81
|
+
node_modules/typescript/lib/lib.es5.d.ts:1054
|
|
76
82
|
|
|
77
83
|
___
|
|
78
84
|
|
|
@@ -86,7 +92,7 @@ Error.name
|
|
|
86
92
|
|
|
87
93
|
#### Defined in
|
|
88
94
|
|
|
89
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
95
|
+
node_modules/typescript/lib/lib.es5.d.ts:1053
|
|
90
96
|
|
|
91
97
|
___
|
|
92
98
|
|
|
@@ -100,7 +106,7 @@ Error.stack
|
|
|
100
106
|
|
|
101
107
|
#### Defined in
|
|
102
108
|
|
|
103
|
-
node_modules/typescript/lib/lib.es5.d.ts:
|
|
109
|
+
node_modules/typescript/lib/lib.es5.d.ts:1055
|
|
104
110
|
|
|
105
111
|
___
|
|
106
112
|
|
|
@@ -108,16 +114,16 @@ ___
|
|
|
108
114
|
|
|
109
115
|
▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
|
|
110
116
|
|
|
111
|
-
#### Type declaration
|
|
112
|
-
|
|
113
|
-
▸ (`err`, `stackTraces`): `any`
|
|
114
|
-
|
|
115
117
|
Optional override for formatting stack traces
|
|
116
118
|
|
|
117
119
|
**`See`**
|
|
118
120
|
|
|
119
121
|
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
|
|
120
122
|
|
|
123
|
+
#### Type declaration
|
|
124
|
+
|
|
125
|
+
▸ (`err`, `stackTraces`): `any`
|
|
126
|
+
|
|
121
127
|
##### Parameters
|
|
122
128
|
|
|
123
129
|
| Name | Type |
|
|
@@ -155,7 +161,7 @@ node_modules/@types/node/globals.d.ts:117
|
|
|
155
161
|
|
|
156
162
|
### captureStackTrace
|
|
157
163
|
|
|
158
|
-
▸
|
|
164
|
+
▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
|
159
165
|
|
|
160
166
|
Create .stack property on a target object
|
|
161
167
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
#### Defined in
|
|
25
25
|
|
|
26
|
-
[packages/notifications/types/index.ts:796](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
26
|
+
[packages/notifications/types/index.ts:796](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L796)
|
|
27
27
|
|
|
28
28
|
___
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ ___
|
|
|
33
33
|
|
|
34
34
|
#### Defined in
|
|
35
35
|
|
|
36
|
-
[packages/notifications/types/index.ts:797](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
36
|
+
[packages/notifications/types/index.ts:797](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L797)
|
|
37
37
|
|
|
38
38
|
___
|
|
39
39
|
|
|
@@ -43,7 +43,7 @@ ___
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[packages/notifications/types/index.ts:794](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
46
|
+
[packages/notifications/types/index.ts:794](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L794)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ ___
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[packages/notifications/types/index.ts:795](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
56
|
+
[packages/notifications/types/index.ts:795](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L795)
|
|
57
57
|
|
|
58
58
|
___
|
|
59
59
|
|
|
@@ -63,7 +63,7 @@ ___
|
|
|
63
63
|
|
|
64
64
|
#### Defined in
|
|
65
65
|
|
|
66
|
-
[packages/notifications/types/index.ts:792](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
66
|
+
[packages/notifications/types/index.ts:792](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L792)
|
|
67
67
|
|
|
68
68
|
___
|
|
69
69
|
|
|
@@ -73,4 +73,4 @@ ___
|
|
|
73
73
|
|
|
74
74
|
#### Defined in
|
|
75
75
|
|
|
76
|
-
[packages/notifications/types/index.ts:793](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
76
|
+
[packages/notifications/types/index.ts:793](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L793)
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
#### Defined in
|
|
24
24
|
|
|
25
|
-
[packages/notifications/types/index.ts:826](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
25
|
+
[packages/notifications/types/index.ts:826](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L826)
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ ___
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/notifications/types/index.ts:825](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
35
|
+
[packages/notifications/types/index.ts:825](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L825)
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ ___
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[packages/notifications/types/index.ts:827](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
45
|
+
[packages/notifications/types/index.ts:827](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L827)
|
|
46
46
|
|
|
47
47
|
___
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@ ___
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[packages/notifications/types/index.ts:824](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
55
|
+
[packages/notifications/types/index.ts:824](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L824)
|
|
56
56
|
|
|
57
57
|
___
|
|
58
58
|
|
|
@@ -62,4 +62,4 @@ ___
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[packages/notifications/types/index.ts:823](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
65
|
+
[packages/notifications/types/index.ts:823](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L823)
|
package/doc/enums/Environment.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
#### Defined in
|
|
23
23
|
|
|
24
|
-
[packages/notifications/types/index.ts:842](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
24
|
+
[packages/notifications/types/index.ts:842](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L842)
|
|
25
25
|
|
|
26
26
|
___
|
|
27
27
|
|
|
@@ -31,7 +31,7 @@ ___
|
|
|
31
31
|
|
|
32
32
|
#### Defined in
|
|
33
33
|
|
|
34
|
-
[packages/notifications/types/index.ts:843](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
34
|
+
[packages/notifications/types/index.ts:843](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L843)
|
|
35
35
|
|
|
36
36
|
___
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ ___
|
|
|
41
41
|
|
|
42
42
|
#### Defined in
|
|
43
43
|
|
|
44
|
-
[packages/notifications/types/index.ts:840](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
44
|
+
[packages/notifications/types/index.ts:840](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L840)
|
|
45
45
|
|
|
46
46
|
___
|
|
47
47
|
|
|
@@ -51,4 +51,4 @@ ___
|
|
|
51
51
|
|
|
52
52
|
#### Defined in
|
|
53
53
|
|
|
54
|
-
[packages/notifications/types/index.ts:841](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
54
|
+
[packages/notifications/types/index.ts:841](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L841)
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
#### Defined in
|
|
24
24
|
|
|
25
|
-
[packages/notifications/types/index.ts:960](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
25
|
+
[packages/notifications/types/index.ts:960](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L960)
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ ___
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/notifications/types/index.ts:959](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
35
|
+
[packages/notifications/types/index.ts:959](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L959)
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ ___
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[packages/notifications/types/index.ts:957](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
45
|
+
[packages/notifications/types/index.ts:957](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L957)
|
|
46
46
|
|
|
47
47
|
___
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@ ___
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[packages/notifications/types/index.ts:958](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
55
|
+
[packages/notifications/types/index.ts:958](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L958)
|
|
56
56
|
|
|
57
57
|
___
|
|
58
58
|
|
|
@@ -62,4 +62,4 @@ ___
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[packages/notifications/types/index.ts:961](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
65
|
+
[packages/notifications/types/index.ts:961](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L961)
|
package/doc/enums/HttpType.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
#### Defined in
|
|
22
22
|
|
|
23
|
-
[packages/notifications/types/index.ts:1141](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
23
|
+
[packages/notifications/types/index.ts:1141](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1141)
|
|
24
24
|
|
|
25
25
|
___
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ ___
|
|
|
30
30
|
|
|
31
31
|
#### Defined in
|
|
32
32
|
|
|
33
|
-
[packages/notifications/types/index.ts:1142](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
33
|
+
[packages/notifications/types/index.ts:1142](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1142)
|
|
34
34
|
|
|
35
35
|
___
|
|
36
36
|
|
|
@@ -40,4 +40,4 @@ ___
|
|
|
40
40
|
|
|
41
41
|
#### Defined in
|
|
42
42
|
|
|
43
|
-
[packages/notifications/types/index.ts:1143](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
43
|
+
[packages/notifications/types/index.ts:1143](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1143)
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
#### Defined in
|
|
24
24
|
|
|
25
|
-
[packages/notifications/types/index.ts:1383](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
25
|
+
[packages/notifications/types/index.ts:1383](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1383)
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ ___
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/notifications/types/index.ts:1382](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
35
|
+
[packages/notifications/types/index.ts:1382](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1382)
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ ___
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[packages/notifications/types/index.ts:1384](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
45
|
+
[packages/notifications/types/index.ts:1384](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1384)
|
|
46
46
|
|
|
47
47
|
___
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@ ___
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[packages/notifications/types/index.ts:1385](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
55
|
+
[packages/notifications/types/index.ts:1385](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1385)
|
|
56
56
|
|
|
57
57
|
___
|
|
58
58
|
|
|
@@ -62,4 +62,4 @@ ___
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[packages/notifications/types/index.ts:1386](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
65
|
+
[packages/notifications/types/index.ts:1386](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1386)
|
package/doc/enums/Status.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
#### Defined in
|
|
21
21
|
|
|
22
|
-
[packages/notifications/types/index.ts:1610](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
22
|
+
[packages/notifications/types/index.ts:1610](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1610)
|
|
23
23
|
|
|
24
24
|
___
|
|
25
25
|
|
|
@@ -29,4 +29,4 @@ ___
|
|
|
29
29
|
|
|
30
30
|
#### Defined in
|
|
31
31
|
|
|
32
|
-
[packages/notifications/types/index.ts:1609](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
32
|
+
[packages/notifications/types/index.ts:1609](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1609)
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
#### Defined in
|
|
22
22
|
|
|
23
|
-
[packages/notifications/types/index.ts:1624](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
23
|
+
[packages/notifications/types/index.ts:1624](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1624)
|
|
24
24
|
|
|
25
25
|
___
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ ___
|
|
|
30
30
|
|
|
31
31
|
#### Defined in
|
|
32
32
|
|
|
33
|
-
[packages/notifications/types/index.ts:1625](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
33
|
+
[packages/notifications/types/index.ts:1625](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1625)
|
|
34
34
|
|
|
35
35
|
___
|
|
36
36
|
|
|
@@ -40,4 +40,4 @@ ___
|
|
|
40
40
|
|
|
41
41
|
#### Defined in
|
|
42
42
|
|
|
43
|
-
[packages/notifications/types/index.ts:1623](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
43
|
+
[packages/notifications/types/index.ts:1623](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L1623)
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
**`Export`**
|
|
6
6
|
|
|
7
|
-
**`Interface`**
|
|
8
|
-
|
|
9
7
|
AddAccessRequest
|
|
10
8
|
|
|
11
9
|
## Table of contents
|
|
@@ -27,7 +25,7 @@ AddAccessRequest
|
|
|
27
25
|
|
|
28
26
|
#### Defined in
|
|
29
27
|
|
|
30
|
-
[packages/notifications/types/index.ts:18](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
28
|
+
[packages/notifications/types/index.ts:18](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L18)
|
|
31
29
|
|
|
32
30
|
___
|
|
33
31
|
|
|
@@ -41,4 +39,4 @@ AddAccessRequest
|
|
|
41
39
|
|
|
42
40
|
#### Defined in
|
|
43
41
|
|
|
44
|
-
[packages/notifications/types/index.ts:12](https://github.com/RedHatInsights/javascript-clients/blob/
|
|
42
|
+
[packages/notifications/types/index.ts:12](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/notifications/types/index.ts#L12)
|