@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
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / Configuration
|
|
2
|
+
|
|
3
|
+
# Class: Configuration
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Constructors
|
|
8
|
+
|
|
9
|
+
- [constructor](Configuration.md#constructor)
|
|
10
|
+
|
|
11
|
+
### Properties
|
|
12
|
+
|
|
13
|
+
- [accessToken](Configuration.md#accesstoken)
|
|
14
|
+
- [apiKey](Configuration.md#apikey)
|
|
15
|
+
- [baseOptions](Configuration.md#baseoptions)
|
|
16
|
+
- [basePath](Configuration.md#basepath)
|
|
17
|
+
- [formDataCtor](Configuration.md#formdatactor)
|
|
18
|
+
- [password](Configuration.md#password)
|
|
19
|
+
- [username](Configuration.md#username)
|
|
20
|
+
|
|
21
|
+
### Methods
|
|
22
|
+
|
|
23
|
+
- [isJsonMime](Configuration.md#isjsonmime)
|
|
24
|
+
|
|
25
|
+
## Constructors
|
|
26
|
+
|
|
27
|
+
### constructor
|
|
28
|
+
|
|
29
|
+
• **new Configuration**(`param?`)
|
|
30
|
+
|
|
31
|
+
#### Parameters
|
|
32
|
+
|
|
33
|
+
| Name | Type |
|
|
34
|
+
| :------ | :------ |
|
|
35
|
+
| `param` | [`ConfigurationParameters`](../interfaces/ConfigurationParameters.md) |
|
|
36
|
+
|
|
37
|
+
#### Defined in
|
|
38
|
+
|
|
39
|
+
[packages/notifications/utils/configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L65)
|
|
40
|
+
|
|
41
|
+
## Properties
|
|
42
|
+
|
|
43
|
+
### accessToken
|
|
44
|
+
|
|
45
|
+
• `Optional` **accessToken**: `string` \| `Promise`<`string`\> \| (`name?`: `string`, `scopes?`: `string`[]) => `string` \| (`name?`: `string`, `scopes?`: `string`[]) => `Promise`<`string`\>
|
|
46
|
+
|
|
47
|
+
parameter for oauth2 security
|
|
48
|
+
|
|
49
|
+
**`Param`**
|
|
50
|
+
|
|
51
|
+
security name
|
|
52
|
+
|
|
53
|
+
**`Param`**
|
|
54
|
+
|
|
55
|
+
oauth2 scope
|
|
56
|
+
|
|
57
|
+
**`Memberof`**
|
|
58
|
+
|
|
59
|
+
Configuration
|
|
60
|
+
|
|
61
|
+
#### Defined in
|
|
62
|
+
|
|
63
|
+
[packages/notifications/utils/configuration.ts:41](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L41)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### apiKey
|
|
68
|
+
|
|
69
|
+
• `Optional` **apiKey**: `string` \| `Promise`<`string`\> \| (`name`: `string`) => `string` \| (`name`: `string`) => `Promise`<`string`\>
|
|
70
|
+
|
|
71
|
+
parameter for apiKey security
|
|
72
|
+
|
|
73
|
+
**`Param`**
|
|
74
|
+
|
|
75
|
+
security name
|
|
76
|
+
|
|
77
|
+
**`Memberof`**
|
|
78
|
+
|
|
79
|
+
Configuration
|
|
80
|
+
|
|
81
|
+
#### Defined in
|
|
82
|
+
|
|
83
|
+
[packages/notifications/utils/configuration.ts:20](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L20)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### baseOptions
|
|
88
|
+
|
|
89
|
+
• `Optional` **baseOptions**: `any`
|
|
90
|
+
|
|
91
|
+
base options for axios calls
|
|
92
|
+
|
|
93
|
+
**`Memberof`**
|
|
94
|
+
|
|
95
|
+
Configuration
|
|
96
|
+
|
|
97
|
+
#### Defined in
|
|
98
|
+
|
|
99
|
+
[packages/notifications/utils/configuration.ts:55](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L55)
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### basePath
|
|
104
|
+
|
|
105
|
+
• `Optional` **basePath**: `string`
|
|
106
|
+
|
|
107
|
+
override base path
|
|
108
|
+
|
|
109
|
+
**`Memberof`**
|
|
110
|
+
|
|
111
|
+
Configuration
|
|
112
|
+
|
|
113
|
+
#### Defined in
|
|
114
|
+
|
|
115
|
+
[packages/notifications/utils/configuration.ts:48](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L48)
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### formDataCtor
|
|
120
|
+
|
|
121
|
+
• `Optional` **formDataCtor**: () => `any`
|
|
122
|
+
|
|
123
|
+
#### Type declaration
|
|
124
|
+
|
|
125
|
+
• **new Configuration**()
|
|
126
|
+
|
|
127
|
+
The FormData constructor that will be used to create multipart form data
|
|
128
|
+
requests. You can inject this here so that execution environments that
|
|
129
|
+
do not support the FormData class can still run the generated client.
|
|
130
|
+
|
|
131
|
+
#### Defined in
|
|
132
|
+
|
|
133
|
+
[packages/notifications/utils/configuration.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L63)
|
|
134
|
+
|
|
135
|
+
___
|
|
136
|
+
|
|
137
|
+
### password
|
|
138
|
+
|
|
139
|
+
• `Optional` **password**: `string`
|
|
140
|
+
|
|
141
|
+
parameter for basic security
|
|
142
|
+
|
|
143
|
+
**`Memberof`**
|
|
144
|
+
|
|
145
|
+
Configuration
|
|
146
|
+
|
|
147
|
+
#### Defined in
|
|
148
|
+
|
|
149
|
+
[packages/notifications/utils/configuration.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L34)
|
|
150
|
+
|
|
151
|
+
___
|
|
152
|
+
|
|
153
|
+
### username
|
|
154
|
+
|
|
155
|
+
• `Optional` **username**: `string`
|
|
156
|
+
|
|
157
|
+
parameter for basic security
|
|
158
|
+
|
|
159
|
+
**`Memberof`**
|
|
160
|
+
|
|
161
|
+
Configuration
|
|
162
|
+
|
|
163
|
+
#### Defined in
|
|
164
|
+
|
|
165
|
+
[packages/notifications/utils/configuration.ts:27](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L27)
|
|
166
|
+
|
|
167
|
+
## Methods
|
|
168
|
+
|
|
169
|
+
### isJsonMime
|
|
170
|
+
|
|
171
|
+
▸ **isJsonMime**(`mime`): `boolean`
|
|
172
|
+
|
|
173
|
+
Check if the given MIME is a JSON MIME.
|
|
174
|
+
JSON MIME examples:
|
|
175
|
+
application/json
|
|
176
|
+
application/json; charset=UTF8
|
|
177
|
+
APPLICATION/JSON
|
|
178
|
+
application/vnd.company+json
|
|
179
|
+
|
|
180
|
+
#### Parameters
|
|
181
|
+
|
|
182
|
+
| Name | Type | Description |
|
|
183
|
+
| :------ | :------ | :------ |
|
|
184
|
+
| `mime` | `string` | MIME (Multipurpose Internet Mail Extensions) |
|
|
185
|
+
|
|
186
|
+
#### Returns
|
|
187
|
+
|
|
188
|
+
`boolean`
|
|
189
|
+
|
|
190
|
+
True if the given MIME is JSON, false otherwise.
|
|
191
|
+
|
|
192
|
+
#### Defined in
|
|
193
|
+
|
|
194
|
+
[packages/notifications/utils/configuration.ts:85](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/configuration.ts#L85)
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / RequiredError
|
|
2
|
+
|
|
3
|
+
# Class: RequiredError
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
- `Error`
|
|
10
|
+
|
|
11
|
+
↳ **`RequiredError`**
|
|
12
|
+
|
|
13
|
+
## Table of contents
|
|
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#stack)
|
|
25
|
+
- [prepareStackTrace](RequiredError.md#preparestacktrace)
|
|
26
|
+
- [stackTraceLimit](RequiredError.md#stacktracelimit)
|
|
27
|
+
|
|
28
|
+
### Methods
|
|
29
|
+
|
|
30
|
+
- [captureStackTrace](RequiredError.md#capturestacktrace)
|
|
31
|
+
|
|
32
|
+
## Constructors
|
|
33
|
+
|
|
34
|
+
### constructor
|
|
35
|
+
|
|
36
|
+
• **new RequiredError**(`field`, `msg?`)
|
|
37
|
+
|
|
38
|
+
#### Parameters
|
|
39
|
+
|
|
40
|
+
| Name | Type |
|
|
41
|
+
| :------ | :------ |
|
|
42
|
+
| `field` | `string` |
|
|
43
|
+
| `msg?` | `string` |
|
|
44
|
+
|
|
45
|
+
#### Overrides
|
|
46
|
+
|
|
47
|
+
Error.constructor
|
|
48
|
+
|
|
49
|
+
#### Defined in
|
|
50
|
+
|
|
51
|
+
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L167)
|
|
52
|
+
|
|
53
|
+
## Properties
|
|
54
|
+
|
|
55
|
+
### field
|
|
56
|
+
|
|
57
|
+
• **field**: `string`
|
|
58
|
+
|
|
59
|
+
#### Defined in
|
|
60
|
+
|
|
61
|
+
[packages/notifications/utils/base.ts:167](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L167)
|
|
62
|
+
|
|
63
|
+
___
|
|
64
|
+
|
|
65
|
+
### message
|
|
66
|
+
|
|
67
|
+
• **message**: `string`
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
Error.message
|
|
72
|
+
|
|
73
|
+
#### Defined in
|
|
74
|
+
|
|
75
|
+
node_modules/typescript/lib/lib.es5.d.ts:1041
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### name
|
|
80
|
+
|
|
81
|
+
• **name**: `string`
|
|
82
|
+
|
|
83
|
+
#### Inherited from
|
|
84
|
+
|
|
85
|
+
Error.name
|
|
86
|
+
|
|
87
|
+
#### Defined in
|
|
88
|
+
|
|
89
|
+
node_modules/typescript/lib/lib.es5.d.ts:1040
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### stack
|
|
94
|
+
|
|
95
|
+
• `Optional` **stack**: `string`
|
|
96
|
+
|
|
97
|
+
#### Inherited from
|
|
98
|
+
|
|
99
|
+
Error.stack
|
|
100
|
+
|
|
101
|
+
#### Defined in
|
|
102
|
+
|
|
103
|
+
node_modules/typescript/lib/lib.es5.d.ts:1042
|
|
104
|
+
|
|
105
|
+
___
|
|
106
|
+
|
|
107
|
+
### prepareStackTrace
|
|
108
|
+
|
|
109
|
+
▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
|
|
110
|
+
|
|
111
|
+
#### Type declaration
|
|
112
|
+
|
|
113
|
+
▸ (`err`, `stackTraces`): `any`
|
|
114
|
+
|
|
115
|
+
Optional override for formatting stack traces
|
|
116
|
+
|
|
117
|
+
**`See`**
|
|
118
|
+
|
|
119
|
+
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
|
|
120
|
+
|
|
121
|
+
##### Parameters
|
|
122
|
+
|
|
123
|
+
| Name | Type |
|
|
124
|
+
| :------ | :------ |
|
|
125
|
+
| `err` | `Error` |
|
|
126
|
+
| `stackTraces` | `CallSite`[] |
|
|
127
|
+
|
|
128
|
+
##### Returns
|
|
129
|
+
|
|
130
|
+
`any`
|
|
131
|
+
|
|
132
|
+
#### Inherited from
|
|
133
|
+
|
|
134
|
+
Error.prepareStackTrace
|
|
135
|
+
|
|
136
|
+
#### Defined in
|
|
137
|
+
|
|
138
|
+
node_modules/@types/node/globals.d.ts:115
|
|
139
|
+
|
|
140
|
+
___
|
|
141
|
+
|
|
142
|
+
### stackTraceLimit
|
|
143
|
+
|
|
144
|
+
▪ `Static` **stackTraceLimit**: `number`
|
|
145
|
+
|
|
146
|
+
#### Inherited from
|
|
147
|
+
|
|
148
|
+
Error.stackTraceLimit
|
|
149
|
+
|
|
150
|
+
#### Defined in
|
|
151
|
+
|
|
152
|
+
node_modules/@types/node/globals.d.ts:117
|
|
153
|
+
|
|
154
|
+
## Methods
|
|
155
|
+
|
|
156
|
+
### captureStackTrace
|
|
157
|
+
|
|
158
|
+
▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
|
159
|
+
|
|
160
|
+
Create .stack property on a target object
|
|
161
|
+
|
|
162
|
+
#### Parameters
|
|
163
|
+
|
|
164
|
+
| Name | Type |
|
|
165
|
+
| :------ | :------ |
|
|
166
|
+
| `targetObject` | `object` |
|
|
167
|
+
| `constructorOpt?` | `Function` |
|
|
168
|
+
|
|
169
|
+
#### Returns
|
|
170
|
+
|
|
171
|
+
`void`
|
|
172
|
+
|
|
173
|
+
#### Inherited from
|
|
174
|
+
|
|
175
|
+
Error.captureStackTrace
|
|
176
|
+
|
|
177
|
+
#### Defined in
|
|
178
|
+
|
|
179
|
+
node_modules/@types/node/globals.d.ts:108
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / EmailSubscriptionType
|
|
2
|
+
|
|
3
|
+
# Enumeration: EmailSubscriptionType
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Daily](EmailSubscriptionType.md#daily)
|
|
12
|
+
|
|
13
|
+
## Enumeration Members
|
|
14
|
+
|
|
15
|
+
### Daily
|
|
16
|
+
|
|
17
|
+
• **Daily** = ``"DAILY"``
|
|
18
|
+
|
|
19
|
+
#### Defined in
|
|
20
|
+
|
|
21
|
+
[packages/notifications/types/index.ts:577](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L577)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / EndpointStatus
|
|
2
|
+
|
|
3
|
+
# Enumeration: EndpointStatus
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Deleting](EndpointStatus.md#deleting)
|
|
12
|
+
- [Failed](EndpointStatus.md#failed)
|
|
13
|
+
- [New](EndpointStatus.md#new)
|
|
14
|
+
- [Provisioning](EndpointStatus.md#provisioning)
|
|
15
|
+
- [Ready](EndpointStatus.md#ready)
|
|
16
|
+
- [Unknown](EndpointStatus.md#unknown)
|
|
17
|
+
|
|
18
|
+
## Enumeration Members
|
|
19
|
+
|
|
20
|
+
### Deleting
|
|
21
|
+
|
|
22
|
+
• **Deleting** = ``"DELETING"``
|
|
23
|
+
|
|
24
|
+
#### Defined in
|
|
25
|
+
|
|
26
|
+
[packages/notifications/types/index.ts:694](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L694)
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### Failed
|
|
31
|
+
|
|
32
|
+
• **Failed** = ``"FAILED"``
|
|
33
|
+
|
|
34
|
+
#### Defined in
|
|
35
|
+
|
|
36
|
+
[packages/notifications/types/index.ts:695](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L695)
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### New
|
|
41
|
+
|
|
42
|
+
• **New** = ``"NEW"``
|
|
43
|
+
|
|
44
|
+
#### Defined in
|
|
45
|
+
|
|
46
|
+
[packages/notifications/types/index.ts:692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L692)
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### Provisioning
|
|
51
|
+
|
|
52
|
+
• **Provisioning** = ``"PROVISIONING"``
|
|
53
|
+
|
|
54
|
+
#### Defined in
|
|
55
|
+
|
|
56
|
+
[packages/notifications/types/index.ts:693](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L693)
|
|
57
|
+
|
|
58
|
+
___
|
|
59
|
+
|
|
60
|
+
### Ready
|
|
61
|
+
|
|
62
|
+
• **Ready** = ``"READY"``
|
|
63
|
+
|
|
64
|
+
#### Defined in
|
|
65
|
+
|
|
66
|
+
[packages/notifications/types/index.ts:690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L690)
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### Unknown
|
|
71
|
+
|
|
72
|
+
• **Unknown** = ``"UNKNOWN"``
|
|
73
|
+
|
|
74
|
+
#### Defined in
|
|
75
|
+
|
|
76
|
+
[packages/notifications/types/index.ts:691](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L691)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / EndpointType
|
|
2
|
+
|
|
3
|
+
# Enumeration: EndpointType
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Ansible](EndpointType.md#ansible)
|
|
12
|
+
- [Camel](EndpointType.md#camel)
|
|
13
|
+
- [Drawer](EndpointType.md#drawer)
|
|
14
|
+
- [EmailSubscription](EndpointType.md#emailsubscription)
|
|
15
|
+
- [Webhook](EndpointType.md#webhook)
|
|
16
|
+
|
|
17
|
+
## Enumeration Members
|
|
18
|
+
|
|
19
|
+
### Ansible
|
|
20
|
+
|
|
21
|
+
• **Ansible** = ``"ansible"``
|
|
22
|
+
|
|
23
|
+
#### Defined in
|
|
24
|
+
|
|
25
|
+
[packages/notifications/types/index.ts:724](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L724)
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### Camel
|
|
30
|
+
|
|
31
|
+
• **Camel** = ``"camel"``
|
|
32
|
+
|
|
33
|
+
#### Defined in
|
|
34
|
+
|
|
35
|
+
[packages/notifications/types/index.ts:723](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L723)
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### Drawer
|
|
40
|
+
|
|
41
|
+
• **Drawer** = ``"drawer"``
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[packages/notifications/types/index.ts:725](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L725)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### EmailSubscription
|
|
50
|
+
|
|
51
|
+
• **EmailSubscription** = ``"email_subscription"``
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[packages/notifications/types/index.ts:722](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L722)
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### Webhook
|
|
60
|
+
|
|
61
|
+
• **Webhook** = ``"webhook"``
|
|
62
|
+
|
|
63
|
+
#### Defined in
|
|
64
|
+
|
|
65
|
+
[packages/notifications/types/index.ts:721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L721)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / Environment
|
|
2
|
+
|
|
3
|
+
# Enumeration: Environment
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Ephemeral](Environment.md#ephemeral)
|
|
12
|
+
- [LocalServer](Environment.md#localserver)
|
|
13
|
+
- [Prod](Environment.md#prod)
|
|
14
|
+
- [Stage](Environment.md#stage)
|
|
15
|
+
|
|
16
|
+
## Enumeration Members
|
|
17
|
+
|
|
18
|
+
### Ephemeral
|
|
19
|
+
|
|
20
|
+
• **Ephemeral** = ``"EPHEMERAL"``
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[packages/notifications/types/index.ts:740](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L740)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### LocalServer
|
|
29
|
+
|
|
30
|
+
• **LocalServer** = ``"LOCAL_SERVER"``
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[packages/notifications/types/index.ts:741](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L741)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### Prod
|
|
39
|
+
|
|
40
|
+
• **Prod** = ``"PROD"``
|
|
41
|
+
|
|
42
|
+
#### Defined in
|
|
43
|
+
|
|
44
|
+
[packages/notifications/types/index.ts:738](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L738)
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### Stage
|
|
49
|
+
|
|
50
|
+
• **Stage** = ``"STAGE"``
|
|
51
|
+
|
|
52
|
+
#### Defined in
|
|
53
|
+
|
|
54
|
+
[packages/notifications/types/index.ts:739](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L739)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / EventLogEntryActionStatus
|
|
2
|
+
|
|
3
|
+
# Enumeration: EventLogEntryActionStatus
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Failed](EventLogEntryActionStatus.md#failed)
|
|
12
|
+
- [Processing](EventLogEntryActionStatus.md#processing)
|
|
13
|
+
- [Sent](EventLogEntryActionStatus.md#sent)
|
|
14
|
+
- [Success](EventLogEntryActionStatus.md#success)
|
|
15
|
+
- [Unknown](EventLogEntryActionStatus.md#unknown)
|
|
16
|
+
|
|
17
|
+
## Enumeration Members
|
|
18
|
+
|
|
19
|
+
### Failed
|
|
20
|
+
|
|
21
|
+
• **Failed** = ``"FAILED"``
|
|
22
|
+
|
|
23
|
+
#### Defined in
|
|
24
|
+
|
|
25
|
+
[packages/notifications/types/index.ts:858](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L858)
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### Processing
|
|
30
|
+
|
|
31
|
+
• **Processing** = ``"PROCESSING"``
|
|
32
|
+
|
|
33
|
+
#### Defined in
|
|
34
|
+
|
|
35
|
+
[packages/notifications/types/index.ts:857](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L857)
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### Sent
|
|
40
|
+
|
|
41
|
+
• **Sent** = ``"SENT"``
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[packages/notifications/types/index.ts:855](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L855)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### Success
|
|
50
|
+
|
|
51
|
+
• **Success** = ``"SUCCESS"``
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[packages/notifications/types/index.ts:856](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L856)
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### Unknown
|
|
60
|
+
|
|
61
|
+
• **Unknown** = ``"UNKNOWN"``
|
|
62
|
+
|
|
63
|
+
#### Defined in
|
|
64
|
+
|
|
65
|
+
[packages/notifications/types/index.ts:859](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L859)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / HttpType
|
|
2
|
+
|
|
3
|
+
# Enumeration: HttpType
|
|
4
|
+
|
|
5
|
+
**`Export`**
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration Members
|
|
10
|
+
|
|
11
|
+
- [Get](HttpType.md#get)
|
|
12
|
+
- [Post](HttpType.md#post)
|
|
13
|
+
- [Put](HttpType.md#put)
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
### Get
|
|
18
|
+
|
|
19
|
+
• **Get** = ``"GET"``
|
|
20
|
+
|
|
21
|
+
#### Defined in
|
|
22
|
+
|
|
23
|
+
[packages/notifications/types/index.ts:1015](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L1015)
|
|
24
|
+
|
|
25
|
+
___
|
|
26
|
+
|
|
27
|
+
### Post
|
|
28
|
+
|
|
29
|
+
• **Post** = ``"POST"``
|
|
30
|
+
|
|
31
|
+
#### Defined in
|
|
32
|
+
|
|
33
|
+
[packages/notifications/types/index.ts:1016](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L1016)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### Put
|
|
38
|
+
|
|
39
|
+
• **Put** = ``"PUT"``
|
|
40
|
+
|
|
41
|
+
#### Defined in
|
|
42
|
+
|
|
43
|
+
[packages/notifications/types/index.ts:1017](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/types/index.ts#L1017)
|