@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
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [Configuration](../classes/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#accesstoken)
|
|
18
|
-
* [apiKey](configuration.md#apikey)
|
|
19
|
-
* [baseOptions](configuration.md#baseoptions)
|
|
20
|
-
* [basePath](configuration.md#basepath)
|
|
21
|
-
* [password](configuration.md#password)
|
|
22
|
-
* [username](configuration.md#username)
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Constructors
|
|
27
|
-
|
|
28
|
-
<a id="constructor"></a>
|
|
29
|
-
|
|
30
|
-
### constructor
|
|
31
|
-
|
|
32
|
-
⊕ **new Configuration**(param?: *[ConfigurationParameters](../interfaces/configurationparameters.md)*): [Configuration](configuration.md)
|
|
33
|
-
|
|
34
|
-
*Defined in [configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L65)*
|
|
35
|
-
|
|
36
|
-
**Parameters:**
|
|
37
|
-
|
|
38
|
-
| Name | Type | Default value |
|
|
39
|
-
| ------ | ------ | ------ |
|
|
40
|
-
| `Default value` param | [ConfigurationParameters](../interfaces/configurationparameters.md) | {} |
|
|
41
|
-
|
|
42
|
-
**Returns:** [Configuration](configuration.md)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
## Properties
|
|
47
|
-
|
|
48
|
-
<a id="accesstoken"></a>
|
|
49
|
-
|
|
50
|
-
### `<Optional>` accessToken
|
|
51
|
-
|
|
52
|
-
**● accessToken**: *`string` \| `function`*
|
|
53
|
-
|
|
54
|
-
*Defined in [configuration.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L51)*
|
|
55
|
-
|
|
56
|
-
parameter for oauth2 security
|
|
57
|
-
|
|
58
|
-
*__param__*: security name
|
|
59
|
-
|
|
60
|
-
*__param__*: oauth2 scope
|
|
61
|
-
|
|
62
|
-
*__memberof__*: Configuration
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
<a id="apikey"></a>
|
|
66
|
-
|
|
67
|
-
### `<Optional>` apiKey
|
|
68
|
-
|
|
69
|
-
**● apiKey**: *`string` \| `function`*
|
|
70
|
-
|
|
71
|
-
*Defined in [configuration.ts:30](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L30)*
|
|
72
|
-
|
|
73
|
-
parameter for apiKey security
|
|
74
|
-
|
|
75
|
-
*__param__*: security name
|
|
76
|
-
|
|
77
|
-
*__memberof__*: Configuration
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
<a id="baseoptions"></a>
|
|
81
|
-
|
|
82
|
-
### `<Optional>` baseOptions
|
|
83
|
-
|
|
84
|
-
**● baseOptions**: *`any`*
|
|
85
|
-
|
|
86
|
-
*Defined in [configuration.ts:65](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L65)*
|
|
87
|
-
|
|
88
|
-
base options for axios calls
|
|
89
|
-
|
|
90
|
-
*__type__*: {any}
|
|
91
|
-
|
|
92
|
-
*__memberof__*: Configuration
|
|
93
|
-
|
|
94
|
-
___
|
|
95
|
-
<a id="basepath"></a>
|
|
96
|
-
|
|
97
|
-
### `<Optional>` basePath
|
|
98
|
-
|
|
99
|
-
**● basePath**: *`string`*
|
|
100
|
-
|
|
101
|
-
*Defined in [configuration.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L58)*
|
|
102
|
-
|
|
103
|
-
override base path
|
|
104
|
-
|
|
105
|
-
*__type__*: {string}
|
|
106
|
-
|
|
107
|
-
*__memberof__*: Configuration
|
|
108
|
-
|
|
109
|
-
___
|
|
110
|
-
<a id="password"></a>
|
|
111
|
-
|
|
112
|
-
### `<Optional>` password
|
|
113
|
-
|
|
114
|
-
**● password**: *`string`*
|
|
115
|
-
|
|
116
|
-
*Defined in [configuration.ts:44](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L44)*
|
|
117
|
-
|
|
118
|
-
parameter for basic security
|
|
119
|
-
|
|
120
|
-
*__type__*: {string}
|
|
121
|
-
|
|
122
|
-
*__memberof__*: Configuration
|
|
123
|
-
|
|
124
|
-
___
|
|
125
|
-
<a id="username"></a>
|
|
126
|
-
|
|
127
|
-
### `<Optional>` username
|
|
128
|
-
|
|
129
|
-
**● username**: *`string`*
|
|
130
|
-
|
|
131
|
-
*Defined in [configuration.ts:37](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/configuration.ts#L37)*
|
|
132
|
-
|
|
133
|
-
parameter for basic security
|
|
134
|
-
|
|
135
|
-
*__type__*: {string}
|
|
136
|
-
|
|
137
|
-
*__memberof__*: Configuration
|
|
138
|
-
|
|
139
|
-
___
|
|
140
|
-
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [EndpointsApi](../classes/endpointsapi.md)
|
|
2
|
-
|
|
3
|
-
# Class: EndpointsApi
|
|
4
|
-
|
|
5
|
-
EndpointsApi - object-oriented interface
|
|
6
|
-
|
|
7
|
-
*__export__*:
|
|
8
|
-
|
|
9
|
-
*__class__*: EndpointsApi
|
|
10
|
-
|
|
11
|
-
*__extends__*: {BaseAPI}
|
|
12
|
-
|
|
13
|
-
## Hierarchy
|
|
14
|
-
|
|
15
|
-
[BaseAPI](baseapi.md)
|
|
16
|
-
|
|
17
|
-
**↳ EndpointsApi**
|
|
18
|
-
|
|
19
|
-
## Index
|
|
20
|
-
|
|
21
|
-
### Constructors
|
|
22
|
-
|
|
23
|
-
* [constructor](endpointsapi.md#constructor)
|
|
24
|
-
|
|
25
|
-
### Properties
|
|
26
|
-
|
|
27
|
-
* [axios](endpointsapi.md#axios)
|
|
28
|
-
* [basePath](endpointsapi.md#basepath)
|
|
29
|
-
* [configuration](endpointsapi.md#configuration)
|
|
30
|
-
|
|
31
|
-
### Methods
|
|
32
|
-
|
|
33
|
-
* [endpointsCreate](endpointsapi.md#endpointscreate)
|
|
34
|
-
* [endpointsDestroy](endpointsapi.md#endpointsdestroy)
|
|
35
|
-
* [endpointsIndex](endpointsapi.md#endpointsindex)
|
|
36
|
-
* [endpointsShow](endpointsapi.md#endpointsshow)
|
|
37
|
-
* [endpointsTest](endpointsapi.md#endpointstest)
|
|
38
|
-
* [endpointsUpdate](endpointsapi.md#endpointsupdate)
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## Constructors
|
|
43
|
-
|
|
44
|
-
<a id="constructor"></a>
|
|
45
|
-
|
|
46
|
-
### constructor
|
|
47
|
-
|
|
48
|
-
⊕ **new EndpointsApi**(configuration?: *[Configuration](configuration.md)*, basePath?: *`string`*, axios?: *`AxiosInstance`*): [EndpointsApi](endpointsapi.md)
|
|
49
|
-
|
|
50
|
-
*Inherited from [BaseAPI](baseapi.md).[constructor](baseapi.md#constructor)*
|
|
51
|
-
|
|
52
|
-
*Defined in [api.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L49)*
|
|
53
|
-
|
|
54
|
-
**Parameters:**
|
|
55
|
-
|
|
56
|
-
| Name | Type | Default value |
|
|
57
|
-
| ------ | ------ | ------ |
|
|
58
|
-
| `Optional` configuration | [Configuration](configuration.md) | - |
|
|
59
|
-
| `Default value` basePath | `string` | BASE_PATH |
|
|
60
|
-
| `Default value` axios | `AxiosInstance` | globalAxios |
|
|
61
|
-
|
|
62
|
-
**Returns:** [EndpointsApi](endpointsapi.md)
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
## Properties
|
|
67
|
-
|
|
68
|
-
<a id="axios"></a>
|
|
69
|
-
|
|
70
|
-
### `<Protected>` axios
|
|
71
|
-
|
|
72
|
-
**● axios**: *`AxiosInstance`*
|
|
73
|
-
|
|
74
|
-
*Inherited from [BaseAPI](baseapi.md).[axios](baseapi.md#axios)*
|
|
75
|
-
|
|
76
|
-
*Defined in [api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L51)*
|
|
77
|
-
|
|
78
|
-
___
|
|
79
|
-
<a id="basepath"></a>
|
|
80
|
-
|
|
81
|
-
### `<Protected>` basePath
|
|
82
|
-
|
|
83
|
-
**● basePath**: *`string`*
|
|
84
|
-
|
|
85
|
-
*Inherited from [BaseAPI](baseapi.md).[basePath](baseapi.md#basepath)*
|
|
86
|
-
|
|
87
|
-
*Defined in [api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L51)*
|
|
88
|
-
|
|
89
|
-
___
|
|
90
|
-
<a id="configuration"></a>
|
|
91
|
-
|
|
92
|
-
### `<Protected>` configuration
|
|
93
|
-
|
|
94
|
-
**● configuration**: *[Configuration](configuration.md) \| `undefined`*
|
|
95
|
-
|
|
96
|
-
*Inherited from [BaseAPI](baseapi.md).[configuration](baseapi.md#configuration)*
|
|
97
|
-
|
|
98
|
-
*Defined in [api.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L49)*
|
|
99
|
-
|
|
100
|
-
___
|
|
101
|
-
|
|
102
|
-
## Methods
|
|
103
|
-
|
|
104
|
-
<a id="endpointscreate"></a>
|
|
105
|
-
|
|
106
|
-
### endpointsCreate
|
|
107
|
-
|
|
108
|
-
▸ **endpointsCreate**(X_RH_IDENTITY: *`string`*, inlineObject1: *[InlineObject1](../interfaces/inlineobject1.md)*, options?: *`any`*): `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
109
|
-
|
|
110
|
-
*Defined in [api.ts:1742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1742)*
|
|
111
|
-
|
|
112
|
-
Creates an endpoint
|
|
113
|
-
|
|
114
|
-
*__throws__*: {RequiredError}
|
|
115
|
-
|
|
116
|
-
*__memberof__*: EndpointsApi
|
|
117
|
-
|
|
118
|
-
**Parameters:**
|
|
119
|
-
|
|
120
|
-
| Name | Type | Description |
|
|
121
|
-
| ------ | ------ | ------ |
|
|
122
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
123
|
-
| inlineObject1 | [InlineObject1](../interfaces/inlineobject1.md) | \- |
|
|
124
|
-
| `Optional` options | `any` |
|
|
125
|
-
|
|
126
|
-
**Returns:** `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
127
|
-
|
|
128
|
-
___
|
|
129
|
-
<a id="endpointsdestroy"></a>
|
|
130
|
-
|
|
131
|
-
### endpointsDestroy
|
|
132
|
-
|
|
133
|
-
▸ **endpointsDestroy**(X_RH_IDENTITY: *`string`*, id: *`number`*, options?: *`any`*): `AxiosPromise`<`Response`>
|
|
134
|
-
|
|
135
|
-
*Defined in [api.ts:1754](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1754)*
|
|
136
|
-
|
|
137
|
-
*__throws__*: {RequiredError}
|
|
138
|
-
|
|
139
|
-
*__memberof__*: EndpointsApi
|
|
140
|
-
|
|
141
|
-
**Parameters:**
|
|
142
|
-
|
|
143
|
-
| Name | Type | Description |
|
|
144
|
-
| ------ | ------ | ------ |
|
|
145
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
146
|
-
| id | `number` | \- |
|
|
147
|
-
| `Optional` options | `any` |
|
|
148
|
-
|
|
149
|
-
**Returns:** `AxiosPromise`<`Response`>
|
|
150
|
-
|
|
151
|
-
___
|
|
152
|
-
<a id="endpointsindex"></a>
|
|
153
|
-
|
|
154
|
-
### endpointsIndex
|
|
155
|
-
|
|
156
|
-
▸ **endpointsIndex**(X_RH_IDENTITY: *`string`*, order?: *`string`*, offset?: *`number`*, limit?: *`number`*, options?: *`any`*): `AxiosPromise`<[InlineResponse2003](../interfaces/inlineresponse2003.md)>
|
|
157
|
-
|
|
158
|
-
*Defined in [api.ts:1768](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1768)*
|
|
159
|
-
|
|
160
|
-
List all endpoints
|
|
161
|
-
|
|
162
|
-
*__throws__*: {RequiredError}
|
|
163
|
-
|
|
164
|
-
*__memberof__*: EndpointsApi
|
|
165
|
-
|
|
166
|
-
**Parameters:**
|
|
167
|
-
|
|
168
|
-
| Name | Type | Description |
|
|
169
|
-
| ------ | ------ | ------ |
|
|
170
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
171
|
-
| `Optional` order | `string` |
|
|
172
|
-
| `Optional` offset | `number` |
|
|
173
|
-
| `Optional` limit | `number` |
|
|
174
|
-
| `Optional` options | `any` |
|
|
175
|
-
|
|
176
|
-
**Returns:** `AxiosPromise`<[InlineResponse2003](../interfaces/inlineresponse2003.md)>
|
|
177
|
-
|
|
178
|
-
___
|
|
179
|
-
<a id="endpointsshow"></a>
|
|
180
|
-
|
|
181
|
-
### endpointsShow
|
|
182
|
-
|
|
183
|
-
▸ **endpointsShow**(X_RH_IDENTITY: *`string`*, id: *`number`*, options?: *`any`*): `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
184
|
-
|
|
185
|
-
*Defined in [api.ts:1780](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1780)*
|
|
186
|
-
|
|
187
|
-
Shows the requested endpoint
|
|
188
|
-
|
|
189
|
-
*__throws__*: {RequiredError}
|
|
190
|
-
|
|
191
|
-
*__memberof__*: EndpointsApi
|
|
192
|
-
|
|
193
|
-
**Parameters:**
|
|
194
|
-
|
|
195
|
-
| Name | Type | Description |
|
|
196
|
-
| ------ | ------ | ------ |
|
|
197
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
198
|
-
| id | `number` | \- |
|
|
199
|
-
| `Optional` options | `any` |
|
|
200
|
-
|
|
201
|
-
**Returns:** `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
202
|
-
|
|
203
|
-
___
|
|
204
|
-
<a id="endpointstest"></a>
|
|
205
|
-
|
|
206
|
-
### endpointsTest
|
|
207
|
-
|
|
208
|
-
▸ **endpointsTest**(X_RH_IDENTITY: *`string`*, id: *`number`*, options?: *`any`*): `AxiosPromise`<`Response`>
|
|
209
|
-
|
|
210
|
-
*Defined in [api.ts:1792](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1792)*
|
|
211
|
-
|
|
212
|
-
Send a test message to the endpoint
|
|
213
|
-
|
|
214
|
-
*__throws__*: {RequiredError}
|
|
215
|
-
|
|
216
|
-
*__memberof__*: EndpointsApi
|
|
217
|
-
|
|
218
|
-
**Parameters:**
|
|
219
|
-
|
|
220
|
-
| Name | Type | Description |
|
|
221
|
-
| ------ | ------ | ------ |
|
|
222
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
223
|
-
| id | `number` | \- |
|
|
224
|
-
| `Optional` options | `any` |
|
|
225
|
-
|
|
226
|
-
**Returns:** `AxiosPromise`<`Response`>
|
|
227
|
-
|
|
228
|
-
___
|
|
229
|
-
<a id="endpointsupdate"></a>
|
|
230
|
-
|
|
231
|
-
### endpointsUpdate
|
|
232
|
-
|
|
233
|
-
▸ **endpointsUpdate**(X_RH_IDENTITY: *`string`*, id: *`number`*, inlineObject2: *[InlineObject2](../interfaces/inlineobject2.md)*, options?: *`any`*): `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
234
|
-
|
|
235
|
-
*Defined in [api.ts:1805](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1805)*
|
|
236
|
-
|
|
237
|
-
Updates the requested endpoint
|
|
238
|
-
|
|
239
|
-
*__throws__*: {RequiredError}
|
|
240
|
-
|
|
241
|
-
*__memberof__*: EndpointsApi
|
|
242
|
-
|
|
243
|
-
**Parameters:**
|
|
244
|
-
|
|
245
|
-
| Name | Type | Description |
|
|
246
|
-
| ------ | ------ | ------ |
|
|
247
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
248
|
-
| id | `number` | \- |
|
|
249
|
-
| inlineObject2 | [InlineObject2](../interfaces/inlineobject2.md) | \- |
|
|
250
|
-
| `Optional` options | `any` |
|
|
251
|
-
|
|
252
|
-
**Returns:** `AxiosPromise`<[InlineResponse201](../interfaces/inlineresponse201.md)>
|
|
253
|
-
|
|
254
|
-
___
|
|
255
|
-
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [FiltersApi](../classes/filtersapi.md)
|
|
2
|
-
|
|
3
|
-
# Class: FiltersApi
|
|
4
|
-
|
|
5
|
-
FiltersApi - object-oriented interface
|
|
6
|
-
|
|
7
|
-
*__export__*:
|
|
8
|
-
|
|
9
|
-
*__class__*: FiltersApi
|
|
10
|
-
|
|
11
|
-
*__extends__*: {BaseAPI}
|
|
12
|
-
|
|
13
|
-
## Hierarchy
|
|
14
|
-
|
|
15
|
-
[BaseAPI](baseapi.md)
|
|
16
|
-
|
|
17
|
-
**↳ FiltersApi**
|
|
18
|
-
|
|
19
|
-
## Index
|
|
20
|
-
|
|
21
|
-
### Constructors
|
|
22
|
-
|
|
23
|
-
* [constructor](filtersapi.md#constructor)
|
|
24
|
-
|
|
25
|
-
### Properties
|
|
26
|
-
|
|
27
|
-
* [axios](filtersapi.md#axios)
|
|
28
|
-
* [basePath](filtersapi.md#basepath)
|
|
29
|
-
* [configuration](filtersapi.md#configuration)
|
|
30
|
-
|
|
31
|
-
### Methods
|
|
32
|
-
|
|
33
|
-
* [filtersShow](filtersapi.md#filtersshow)
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Constructors
|
|
38
|
-
|
|
39
|
-
<a id="constructor"></a>
|
|
40
|
-
|
|
41
|
-
### constructor
|
|
42
|
-
|
|
43
|
-
⊕ **new FiltersApi**(configuration?: *[Configuration](configuration.md)*, basePath?: *`string`*, axios?: *`AxiosInstance`*): [FiltersApi](filtersapi.md)
|
|
44
|
-
|
|
45
|
-
*Inherited from [BaseAPI](baseapi.md).[constructor](baseapi.md#constructor)*
|
|
46
|
-
|
|
47
|
-
*Defined in [api.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L49)*
|
|
48
|
-
|
|
49
|
-
**Parameters:**
|
|
50
|
-
|
|
51
|
-
| Name | Type | Default value |
|
|
52
|
-
| ------ | ------ | ------ |
|
|
53
|
-
| `Optional` configuration | [Configuration](configuration.md) | - |
|
|
54
|
-
| `Default value` basePath | `string` | BASE_PATH |
|
|
55
|
-
| `Default value` axios | `AxiosInstance` | globalAxios |
|
|
56
|
-
|
|
57
|
-
**Returns:** [FiltersApi](filtersapi.md)
|
|
58
|
-
|
|
59
|
-
___
|
|
60
|
-
|
|
61
|
-
## Properties
|
|
62
|
-
|
|
63
|
-
<a id="axios"></a>
|
|
64
|
-
|
|
65
|
-
### `<Protected>` axios
|
|
66
|
-
|
|
67
|
-
**● axios**: *`AxiosInstance`*
|
|
68
|
-
|
|
69
|
-
*Inherited from [BaseAPI](baseapi.md).[axios](baseapi.md#axios)*
|
|
70
|
-
|
|
71
|
-
*Defined in [api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L51)*
|
|
72
|
-
|
|
73
|
-
___
|
|
74
|
-
<a id="basepath"></a>
|
|
75
|
-
|
|
76
|
-
### `<Protected>` basePath
|
|
77
|
-
|
|
78
|
-
**● basePath**: *`string`*
|
|
79
|
-
|
|
80
|
-
*Inherited from [BaseAPI](baseapi.md).[basePath](baseapi.md#basepath)*
|
|
81
|
-
|
|
82
|
-
*Defined in [api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L51)*
|
|
83
|
-
|
|
84
|
-
___
|
|
85
|
-
<a id="configuration"></a>
|
|
86
|
-
|
|
87
|
-
### `<Protected>` configuration
|
|
88
|
-
|
|
89
|
-
**● configuration**: *[Configuration](configuration.md) \| `undefined`*
|
|
90
|
-
|
|
91
|
-
*Inherited from [BaseAPI](baseapi.md).[configuration](baseapi.md#configuration)*
|
|
92
|
-
|
|
93
|
-
*Defined in [api.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L49)*
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
## Methods
|
|
98
|
-
|
|
99
|
-
<a id="filtersshow"></a>
|
|
100
|
-
|
|
101
|
-
### filtersShow
|
|
102
|
-
|
|
103
|
-
▸ **filtersShow**(X_RH_IDENTITY: *`string`*, endpointId: *`number`*, options?: *`any`*): `AxiosPromise`<[InlineResponse2004](../interfaces/inlineresponse2004.md)>
|
|
104
|
-
|
|
105
|
-
*Defined in [api.ts:1918](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L1918)*
|
|
106
|
-
|
|
107
|
-
Show the filter of the endpoint
|
|
108
|
-
|
|
109
|
-
*__throws__*: {RequiredError}
|
|
110
|
-
|
|
111
|
-
*__memberof__*: FiltersApi
|
|
112
|
-
|
|
113
|
-
**Parameters:**
|
|
114
|
-
|
|
115
|
-
| Name | Type | Description |
|
|
116
|
-
| ------ | ------ | ------ |
|
|
117
|
-
| X_RH_IDENTITY | `string` | \- |
|
|
118
|
-
| endpointId | `number` | \- |
|
|
119
|
-
| `Optional` options | `any` |
|
|
120
|
-
|
|
121
|
-
**Returns:** `AxiosPromise`<[InlineResponse2004](../interfaces/inlineresponse2004.md)>
|
|
122
|
-
|
|
123
|
-
___
|
|
124
|
-
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [RequiredError](../classes/requirederror.md)
|
|
2
|
-
|
|
3
|
-
# Class: RequiredError
|
|
4
|
-
|
|
5
|
-
*__export__*:
|
|
6
|
-
|
|
7
|
-
*__class__*: RequiredError
|
|
8
|
-
|
|
9
|
-
*__extends__*: {Error}
|
|
10
|
-
|
|
11
|
-
## Hierarchy
|
|
12
|
-
|
|
13
|
-
`Error`
|
|
14
|
-
|
|
15
|
-
**↳ RequiredError**
|
|
16
|
-
|
|
17
|
-
## Index
|
|
18
|
-
|
|
19
|
-
### Constructors
|
|
20
|
-
|
|
21
|
-
* [constructor](requirederror.md#constructor)
|
|
22
|
-
|
|
23
|
-
### Properties
|
|
24
|
-
|
|
25
|
-
* [field](requirederror.md#field)
|
|
26
|
-
* [message](requirederror.md#message)
|
|
27
|
-
* [name](requirederror.md#name)
|
|
28
|
-
* [stack](requirederror.md#stack)
|
|
29
|
-
* [Error](requirederror.md#error)
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Constructors
|
|
34
|
-
|
|
35
|
-
<a id="constructor"></a>
|
|
36
|
-
|
|
37
|
-
### constructor
|
|
38
|
-
|
|
39
|
-
⊕ **new RequiredError**(field: *`string`*, msg?: *`string`*): [RequiredError](requirederror.md)
|
|
40
|
-
|
|
41
|
-
*Defined in [api.ts:66](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L66)*
|
|
42
|
-
|
|
43
|
-
**Parameters:**
|
|
44
|
-
|
|
45
|
-
| Name | Type |
|
|
46
|
-
| ------ | ------ |
|
|
47
|
-
| field | `string` |
|
|
48
|
-
| `Optional` msg | `string` |
|
|
49
|
-
|
|
50
|
-
**Returns:** [RequiredError](requirederror.md)
|
|
51
|
-
|
|
52
|
-
___
|
|
53
|
-
|
|
54
|
-
## Properties
|
|
55
|
-
|
|
56
|
-
<a id="field"></a>
|
|
57
|
-
|
|
58
|
-
### field
|
|
59
|
-
|
|
60
|
-
**● field**: *`string`*
|
|
61
|
-
|
|
62
|
-
*Defined in [api.ts:67](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L67)*
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
<a id="message"></a>
|
|
66
|
-
|
|
67
|
-
### message
|
|
68
|
-
|
|
69
|
-
**● message**: *`string`*
|
|
70
|
-
|
|
71
|
-
*Inherited from Error.message*
|
|
72
|
-
|
|
73
|
-
*Defined in node_modules/typescript/lib/lib.es5.d.ts:974*
|
|
74
|
-
|
|
75
|
-
___
|
|
76
|
-
<a id="name"></a>
|
|
77
|
-
|
|
78
|
-
### name
|
|
79
|
-
|
|
80
|
-
**● name**: *"RequiredError"* = "RequiredError"
|
|
81
|
-
|
|
82
|
-
*Overrides Error.name*
|
|
83
|
-
|
|
84
|
-
*Defined in [api.ts:66](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L66)*
|
|
85
|
-
|
|
86
|
-
___
|
|
87
|
-
<a id="stack"></a>
|
|
88
|
-
|
|
89
|
-
### `<Optional>` stack
|
|
90
|
-
|
|
91
|
-
**● stack**: *`string`*
|
|
92
|
-
|
|
93
|
-
*Inherited from Error.stack*
|
|
94
|
-
|
|
95
|
-
*Overrides Error.stack*
|
|
96
|
-
|
|
97
|
-
*Defined in node_modules/typescript/lib/lib.es5.d.ts:975*
|
|
98
|
-
|
|
99
|
-
___
|
|
100
|
-
<a id="error"></a>
|
|
101
|
-
|
|
102
|
-
### `<Static>` Error
|
|
103
|
-
|
|
104
|
-
**● Error**: *`ErrorConstructor`*
|
|
105
|
-
|
|
106
|
-
*Defined in node_modules/typescript/lib/lib.es5.d.ts:984*
|
|
107
|
-
|
|
108
|
-
___
|
|
109
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [App](../modules/app.md) > [TypeEnum](../enums/app.typeenum.md)
|
|
2
|
-
|
|
3
|
-
# Enumeration: TypeEnum
|
|
4
|
-
|
|
5
|
-
*__export__*:
|
|
6
|
-
|
|
7
|
-
*__enum__*: {string}
|
|
8
|
-
|
|
9
|
-
## Index
|
|
10
|
-
|
|
11
|
-
### Enumeration members
|
|
12
|
-
|
|
13
|
-
* [App](app.typeenum.md#app)
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Enumeration members
|
|
18
|
-
|
|
19
|
-
<a id="app"></a>
|
|
20
|
-
|
|
21
|
-
### App
|
|
22
|
-
|
|
23
|
-
**App**: = "app"
|
|
24
|
-
|
|
25
|
-
*Defined in [api.ts:114](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L114)*
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) > [Endpoint](../modules/endpoint.md) > [TypeEnum](../enums/endpoint.typeenum.md)
|
|
2
|
-
|
|
3
|
-
# Enumeration: TypeEnum
|
|
4
|
-
|
|
5
|
-
*__export__*:
|
|
6
|
-
|
|
7
|
-
*__enum__*: {string}
|
|
8
|
-
|
|
9
|
-
## Index
|
|
10
|
-
|
|
11
|
-
### Enumeration members
|
|
12
|
-
|
|
13
|
-
* [Endpoint](endpoint.typeenum.md#endpoint)
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Enumeration members
|
|
18
|
-
|
|
19
|
-
<a id="endpoint"></a>
|
|
20
|
-
|
|
21
|
-
### Endpoint
|
|
22
|
-
|
|
23
|
-
**Endpoint**: = "endpoint"
|
|
24
|
-
|
|
25
|
-
*Defined in [api.ts:254](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/hooks/api.ts#L254)*
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|