@redhat-cloud-services/notifications-client 3.0.1 → 3.1.1
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 +12 -0
- package/README.md +21 -14
- package/dist/v2/EventResourceV2GetEvents/index.d.ts +113 -0
- package/dist/v2/EventResourceV2GetEvents/index.d.ts.map +1 -0
- package/dist/v2/EventResourceV2GetEvents/index.js +98 -0
- package/dist/v2/EventResourceV2GetEvents/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +48 -0
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js +48 -0
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +47 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +48 -0
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +47 -0
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +48 -0
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js +49 -0
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetBundleByName/index.js +47 -0
- package/dist/v2/NotificationResourceV2GetBundleByName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.js +49 -0
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts +71 -0
- package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypes/index.js +73 -0
- package/dist/v2/NotificationResourceV2GetEventTypes/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +53 -0
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +62 -0
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +29 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +49 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +49 -0
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +49 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +49 -0
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +1 -0
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +16 -0
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +46 -0
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +1 -0
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +48 -0
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +1 -0
- package/dist/v2/api.d.ts +50 -0
- package/dist/v2/api.d.ts.map +1 -0
- package/dist/v2/api.js +34 -0
- package/dist/v2/api.js.map +1 -0
- package/dist/v2/index.d.ts +22 -0
- package/dist/v2/index.d.ts.map +1 -0
- package/dist/v2/index.js +46 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v2/types/index.d.ts +760 -0
- package/dist/v2/types/index.d.ts.map +1 -0
- package/dist/v2/types/index.js +42 -0
- package/dist/v2/types/index.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [3.1.1](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-3.1.0...@redhat-cloud-services/notifications-client-3.1.1) (2024-12-09)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@redhat-cloud-services/javascript-clients-shared` updated to version `1.2.7`
|
|
10
|
+
## [3.1.0](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-3.0.1...@redhat-cloud-services/notifications-client-3.1.0) (2024-11-19)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* create V2 spec of notifications client RHCLOUD-36224 ([6196b8f](https://github.com/RedHatInsights/javascript-clients/commit/6196b8f7098c8616b4f66976c2b6a2e388ee8f6c))
|
|
16
|
+
|
|
5
17
|
## [3.0.1](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-3.0.0...@redhat-cloud-services/notifications-client-3.0.1) (2024-11-19)
|
|
6
18
|
|
|
7
19
|
## [2.5.6](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.5.5...@redhat-cloud-services/notifications-client-2.5.6) (2024-11-18)
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Javascript client for
|
|
2
|
-
If you want to use [RedHatInsights/notifications
|
|
1
|
+
# Javascript client for the notifications API
|
|
2
|
+
If you want to use [RedHatInsights/notifications](https://github.com/RedHatInsights/notifications) you shouldn't use get requests directly, but rather use this client to integrate with this service.
|
|
3
3
|
|
|
4
4
|
## Install
|
|
5
5
|
NPM
|
|
@@ -15,25 +15,29 @@ yarn add @redhat-cloud-services/notifications-client
|
|
|
15
15
|
### Usage
|
|
16
16
|
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
This package comes with a client in its `api.ts` already defined with every call available.
|
|
19
19
|
```JS
|
|
20
|
-
|
|
21
|
-
import APIFactory from '@redhat-cloud-services/notifications-client/utils';
|
|
22
|
-
import createBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1CreateBehaviorGroup';
|
|
23
|
-
import updateBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1UpdateBehaviorGroup';
|
|
24
|
-
import deleteBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1DeleteBehaviorGroup';
|
|
20
|
+
`import notificationsClient from '@redhat-cloud-services/javascript-clients-shared/utils';
|
|
25
21
|
|
|
22
|
+
notificationsClient.someEndpoint();
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
To bootstrap this API manually, you should create your own client via the `APIFactory` defined in the `@redhat-cloud-services/javascript-clients-shared` package. See below for an example:
|
|
26
|
+
```JS
|
|
27
|
+
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
|
|
28
|
+
import exampleEndpoint from '@redhat-cloud-services/notifications-client/ExampleEndpoint';
|
|
26
29
|
|
|
27
30
|
// BASE_PATH should be set in your constants file
|
|
28
|
-
const notificationsApi = APIFactory(BASE_PATH, undefined, {
|
|
31
|
+
const notificationsApi = APIFactory(BASE_PATH, undefined, { exampleEndpoint });
|
|
29
32
|
export notificationsApi;
|
|
30
33
|
```
|
|
31
34
|
|
|
32
35
|
If you want to add some interceptors you can use axios build in interceptors
|
|
33
36
|
```JS
|
|
34
|
-
// api.js
|
|
35
37
|
import axios from 'axios';
|
|
36
|
-
import
|
|
38
|
+
import APIFactory from '@redhat-cloud-services/javascript-clients-shared/utils';
|
|
39
|
+
import exampleEndpoint from '@redhat-cloud-services/notifications-client/ExampleEndpoint';
|
|
40
|
+
|
|
37
41
|
const instance = axios.create();
|
|
38
42
|
|
|
39
43
|
// Request interceptor
|
|
@@ -52,17 +56,20 @@ instance.interceptors.response.use(null, (error) => {
|
|
|
52
56
|
});
|
|
53
57
|
|
|
54
58
|
// BASE_PATH should be set in your constants file
|
|
55
|
-
const notificationsApi = APIFactory(BASE_PATH, instance, {
|
|
59
|
+
const notificationsApi = APIFactory(BASE_PATH, instance, { exampleEndpoint });
|
|
56
60
|
export notificationsApi;
|
|
57
61
|
```
|
|
62
|
+
## Generating
|
|
63
|
+
|
|
64
|
+
Ensure you have the javascript-clients generator built first with `npm run build:generator`. Then, run `nx run @redhat-cloud-services/notifications-client:generate` to generate the package.
|
|
58
65
|
|
|
59
66
|
## Building
|
|
60
67
|
|
|
61
|
-
Run `nx
|
|
68
|
+
Run `nx run @redhat-cloud-services/notifications-client:build` to build the package. This creates the `dist` for publishing.
|
|
62
69
|
|
|
63
70
|
## Running unit tests
|
|
64
71
|
|
|
65
|
-
Run `nx
|
|
72
|
+
Run `nx run @redhat-cloud-services/notifications-client:test` to execute the unit tests via [Jest](https://jestjs.io).
|
|
66
73
|
|
|
67
74
|
## API documentation
|
|
68
75
|
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { EventLogEntryActionStatus, PageEventLogEntry } from '../types';
|
|
4
|
+
export type EventResourceV2GetEventsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { Set<string> }
|
|
8
|
+
* @memberof EventResourceV2GetEventsApi
|
|
9
|
+
*/
|
|
10
|
+
appIds?: Set<string>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Set<string> }
|
|
14
|
+
* @memberof EventResourceV2GetEventsApi
|
|
15
|
+
*/
|
|
16
|
+
bundleIds?: Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof EventResourceV2GetEventsApi
|
|
21
|
+
*/
|
|
22
|
+
endDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { Set<string> }
|
|
26
|
+
* @memberof EventResourceV2GetEventsApi
|
|
27
|
+
*/
|
|
28
|
+
endpointTypes?: Set<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof EventResourceV2GetEventsApi
|
|
33
|
+
*/
|
|
34
|
+
eventTypeDisplayName?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { boolean }
|
|
38
|
+
* @memberof EventResourceV2GetEventsApi
|
|
39
|
+
*/
|
|
40
|
+
includeActions?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type { boolean }
|
|
44
|
+
* @memberof EventResourceV2GetEventsApi
|
|
45
|
+
*/
|
|
46
|
+
includeDetails?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type { boolean }
|
|
50
|
+
* @memberof EventResourceV2GetEventsApi
|
|
51
|
+
*/
|
|
52
|
+
includePayload?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type { Set<boolean> }
|
|
56
|
+
* @memberof EventResourceV2GetEventsApi
|
|
57
|
+
*/
|
|
58
|
+
invocationResults?: Set<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type { number }
|
|
62
|
+
* @memberof EventResourceV2GetEventsApi
|
|
63
|
+
*/
|
|
64
|
+
limit?: number;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type { number }
|
|
68
|
+
* @memberof EventResourceV2GetEventsApi
|
|
69
|
+
*/
|
|
70
|
+
offset?: number;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type { number }
|
|
74
|
+
* @memberof EventResourceV2GetEventsApi
|
|
75
|
+
*/
|
|
76
|
+
pageNumber?: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type { string }
|
|
80
|
+
* @memberof EventResourceV2GetEventsApi
|
|
81
|
+
*/
|
|
82
|
+
sortBy?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type { string }
|
|
86
|
+
* @memberof EventResourceV2GetEventsApi
|
|
87
|
+
*/
|
|
88
|
+
sortBy2?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type { string }
|
|
92
|
+
* @memberof EventResourceV2GetEventsApi
|
|
93
|
+
*/
|
|
94
|
+
startDate?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type { Set<EventLogEntryActionStatus> }
|
|
98
|
+
* @memberof EventResourceV2GetEventsApi
|
|
99
|
+
*/
|
|
100
|
+
status?: Set<EventLogEntryActionStatus>;
|
|
101
|
+
options?: AxiosRequestConfig;
|
|
102
|
+
};
|
|
103
|
+
export type EventResourceV2GetEventsReturnType = AxiosPromise<PageEventLogEntry>;
|
|
104
|
+
/**
|
|
105
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
106
|
+
* @summary Retrieve the event log entries
|
|
107
|
+
* @param {EventResourceV2GetEventsParams} config with all available params.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
export declare const eventResourceV2GetEventsParamCreator: (...config: ([EventResourceV2GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
112
|
+
export default eventResourceV2GetEventsParamCreator;
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
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BAAyB,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAKjF;;;;;;EAME;AACF,eAAO,MAAM,oCAAoC,cAAqB,CAAC,CAAC,8BAA8B,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuFpU,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.eventResourceV2GetEventsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isEventResourceV2GetEventsObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
12
|
+
* @summary Retrieve the event log entries
|
|
13
|
+
* @param {EventResourceV2GetEventsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var eventResourceV2GetEventsParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isEventResourceV2GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
appIds = params.appIds, bundleIds = params.bundleIds, endDate = params.endDate, endpointTypes = params.endpointTypes, eventTypeDisplayName = params.eventTypeDisplayName, includeActions = params.includeActions, includeDetails = params.includeDetails, includePayload = params.includePayload, invocationResults = params.invocationResults, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, sortBy = params.sortBy, sortBy2 = params.sortBy2, startDate = params.startDate, status = params.status, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/events";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
if (appIds) {
|
|
36
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
37
|
+
}
|
|
38
|
+
if (bundleIds) {
|
|
39
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
40
|
+
}
|
|
41
|
+
if (endDate !== undefined) {
|
|
42
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
43
|
+
endDate.toISOString().substr(0, 10) :
|
|
44
|
+
endDate;
|
|
45
|
+
}
|
|
46
|
+
if (endpointTypes) {
|
|
47
|
+
localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
|
|
48
|
+
}
|
|
49
|
+
if (eventTypeDisplayName !== undefined) {
|
|
50
|
+
localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
|
|
51
|
+
}
|
|
52
|
+
if (includeActions !== undefined) {
|
|
53
|
+
localVarQueryParameter['includeActions'] = includeActions;
|
|
54
|
+
}
|
|
55
|
+
if (includeDetails !== undefined) {
|
|
56
|
+
localVarQueryParameter['includeDetails'] = includeDetails;
|
|
57
|
+
}
|
|
58
|
+
if (includePayload !== undefined) {
|
|
59
|
+
localVarQueryParameter['includePayload'] = includePayload;
|
|
60
|
+
}
|
|
61
|
+
if (invocationResults) {
|
|
62
|
+
localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
|
|
63
|
+
}
|
|
64
|
+
if (limit !== undefined) {
|
|
65
|
+
localVarQueryParameter['limit'] = limit;
|
|
66
|
+
}
|
|
67
|
+
if (offset !== undefined) {
|
|
68
|
+
localVarQueryParameter['offset'] = offset;
|
|
69
|
+
}
|
|
70
|
+
if (pageNumber !== undefined) {
|
|
71
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
72
|
+
}
|
|
73
|
+
if (sortBy !== undefined) {
|
|
74
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
75
|
+
}
|
|
76
|
+
if (sortBy2 !== undefined) {
|
|
77
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
78
|
+
}
|
|
79
|
+
if (startDate !== undefined) {
|
|
80
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
81
|
+
startDate.toISOString().substr(0, 10) :
|
|
82
|
+
startDate;
|
|
83
|
+
}
|
|
84
|
+
if (status) {
|
|
85
|
+
localVarQueryParameter['status'] = Array.from(status);
|
|
86
|
+
}
|
|
87
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
89
|
+
return [2 /*return*/, {
|
|
90
|
+
urlObj: localVarUrlObj,
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
}];
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
exports.eventResourceV2GetEventsParamCreator = eventResourceV2GetEventsParamCreator;
|
|
97
|
+
exports.default = exports.eventResourceV2GetEventsParamCreator;
|
|
98
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/EventResourceV2GetEvents/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgHjU,IAAM,sCAAsC,GAAG,UAAC,MAAoD;IAClG,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AAC5J,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,oCAAoC,GAAG;IAAO,gBAAoP;SAApP,UAAoP,EAApP,qBAAoP,EAApP,IAAoP;QAApP,2BAAoP;;;;;YACrS,MAAM,GAAG,sCAAsC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,C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sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,UAAU,KAAK,SAAS,EAAE;gBAC1B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;aACrD;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,OAAO,KAAK,SAAS,EAAE;gBACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;aAC/C;YAED,IAAI,SAAS,KAAK,SAAS,EAAE;gBACzB,sBAAsB,CAAC,WAAW,CAAC,GAAG,CAAC,SAAgB,YAAY,IAAI,CAAC,CAAC,CAAC;oBACrE,SAAiB,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC,EAAC,EAAE,CAAC,CAAC,CAAC;oBAC/C,SAAS,CAAC;aACjB;YAED,IAAI,MAAM,EAAE;gBACR,sBAAsB,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACzD;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAvFY,QAAA,oCAAoC,wCAuFhD;AAED,kBAAe,4CAAoC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV2AppendBehaviorGroupToEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV2AppendBehaviorGroupToEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupUuid: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV2AppendBehaviorGroupToEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeUuid: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV2AppendBehaviorGroupToEventTypeReturnType = AxiosPromise<void>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Add a behavior group to the given event type.
|
|
22
|
+
* @param {NotificationResourceV2AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator: (...config: ([NotificationResourceV2AppendBehaviorGroupToEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,0DAA0D,GAAG;IACvE;;;;MAIE;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8DAA8D,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AAKhG;;;;;;EAME;AACF,eAAO,MAAM,gEAAgE,cAAqB,CAAC,CAAC,0DAA0D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqB5N,CAAA;AAED,eAAe,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV2AppendBehaviorGroupToEventTypeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @summary Add a behavior group to the given event type.
|
|
13
|
+
* @param {NotificationResourceV2AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, behaviorGroupUuid, eventTypeUuid, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
behaviorGroupUuid = params.behaviorGroupUuid, eventTypeUuid = params.eventTypeUuid, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}"
|
|
31
|
+
.replace("{".concat("behaviorGroupUuid", "}"), encodeURIComponent(String(behaviorGroupUuid)))
|
|
32
|
+
.replace("{".concat("eventTypeUuid", "}"), encodeURIComponent(String(eventTypeUuid)));
|
|
33
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
35
|
+
localVarHeaderParameter = {};
|
|
36
|
+
localVarQueryParameter = {};
|
|
37
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
39
|
+
return [2 /*return*/, {
|
|
40
|
+
urlObj: localVarUrlObj,
|
|
41
|
+
options: localVarRequestOptions,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator = notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator;
|
|
47
|
+
exports.default = exports.notificationResourceV2AppendBehaviorGroupToEventTypeParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;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AG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AArBY,QAAA,gEAAgE,oEAqB5E;AAED,kBAAe,wEAAgE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { CreateBehaviorGroupRequest, CreateBehaviorGroupResponse } from '../types';
|
|
4
|
+
export type NotificationResourceV2CreateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { CreateBehaviorGroupRequest }
|
|
8
|
+
* @memberof NotificationResourceV2CreateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
createBehaviorGroupRequest: CreateBehaviorGroupRequest;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type NotificationResourceV2CreateBehaviorGroupReturnType = AxiosPromise<CreateBehaviorGroupResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
16
|
+
* @summary Create a behavior group
|
|
17
|
+
* @param {NotificationResourceV2CreateBehaviorGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const notificationResourceV2CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV2CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
22
|
+
export default notificationResourceV2CreateBehaviorGroupParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAGxF,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,2BAA2B,CAAC,CAAC;AAK5G;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2CreateBehaviorGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV2CreateBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
12
|
+
* @summary Create a behavior group
|
|
13
|
+
* @param {NotificationResourceV2CreateBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2CreateBehaviorGroupParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, createBehaviorGroupRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
createBehaviorGroupRequest = params.createBehaviorGroupRequest, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/behaviorGroups";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
serializeData: createBehaviorGroupRequest,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.notificationResourceV2CreateBehaviorGroupParamCreator = notificationResourceV2CreateBehaviorGroupParamCreator;
|
|
47
|
+
exports.default = exports.notificationResourceV2CreateBehaviorGroupParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2CreateBehaviorGroup/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,uDAAuD,GAAG,UAAC,MAAqE;IACpI,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAA;AAC1G,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,qDAAqD,GAAG;IAAO,gBAAiH;SAAjH,UAAiH,EAAjH,qBAAiH,EAAjH,IAAiH;QAAjH,2BAAiH;;;;;YACnL,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,4BAA4B,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAoD,CAAC;YACxP,0BAA0B,GAAmB,MAAM,2BAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACtD,YAAY,GAAG,+BAA+B,CAAC;YAE/C,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,MAAgB,IAAK,OAAO,CAAC,CAAC;YACjE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;oBAC/B,aAAa,EAAE,0BAA0B;iBAC5C,EAAC;;;CACL,CAAA;AAtBY,QAAA,qDAAqD,yDAsBjE;AAED,kBAAe,6DAAqD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV2DeleteBehaviorGroupParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to delete
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV2DeleteBehaviorGroupApi
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV2DeleteBehaviorGroupReturnType = AxiosPromise<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
15
|
+
* @summary Delete a behavior group
|
|
16
|
+
* @param {NotificationResourceV2DeleteBehaviorGroupParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV2DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV2DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
21
|
+
export default notificationResourceV2DeleteBehaviorGroupParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AAKxF;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2DeleteBehaviorGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV2DeleteBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
12
|
+
* @summary Delete a behavior group
|
|
13
|
+
* @param {NotificationResourceV2DeleteBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2DeleteBehaviorGroupParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, id, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
id = params.id, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/behaviorGroups/{id}"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
}];
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
exports.notificationResourceV2DeleteBehaviorGroupParamCreator = notificationResourceV2DeleteBehaviorGroupParamCreator;
|
|
46
|
+
exports.default = exports.notificationResourceV2DeleteBehaviorGroupParamCreator;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2DeleteBehaviorGroup/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,uDAAuD,GAAG,UAAC,MAAqE;IACpI,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClF,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,qDAAqD,GAAG;IAAO,gBAA6F;SAA7F,UAA6F,EAA7F,qBAA6F,EAA7F,IAA6F;QAA7F,2BAA6F;;;;;YAC/J,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAoD,CAAC;YAChO,EAAE,GAAmB,MAAM,GAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC9B,YAAY,GAAG,oCAAoC;iBACpD,OAAO,CAAC,WAAI,IAAI,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,QAAkB,IAAK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AApBY,QAAA,qDAAqD,yDAoBjE;AAED,kBAAe,6DAAqD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV2DeleteBehaviorGroupFromEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV2DeleteBehaviorGroupFromEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV2DeleteBehaviorGroupFromEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeId: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV2DeleteBehaviorGroupFromEventTypeReturnType = AxiosPromise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Delete a behavior group from the specified event type.
|
|
21
|
+
* @summary Delete a behavior group from an event type
|
|
22
|
+
* @param {NotificationResourceV2DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV2DeleteBehaviorGroupFromEventTypeParamCreator: (...config: ([NotificationResourceV2DeleteBehaviorGroupFromEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV2DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AAKlG;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,cAAqB,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqBhO,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|