@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
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { PageEventType } from '../types';
|
|
4
|
+
export type NotificationResourceV2GetEventTypesParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { Set<string> }
|
|
8
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
9
|
+
*/
|
|
10
|
+
applicationIds?: Set<string>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { string }
|
|
14
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
15
|
+
*/
|
|
16
|
+
bundleId?: string;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
21
|
+
*/
|
|
22
|
+
eventTypeName?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { boolean }
|
|
26
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
27
|
+
*/
|
|
28
|
+
excludeMutedTypes?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { number }
|
|
32
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
33
|
+
*/
|
|
34
|
+
limit?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { number }
|
|
38
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
39
|
+
*/
|
|
40
|
+
offset?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type { number }
|
|
44
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
45
|
+
*/
|
|
46
|
+
pageNumber?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type { string }
|
|
50
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
51
|
+
*/
|
|
52
|
+
sortBy?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type { string }
|
|
56
|
+
* @memberof NotificationResourceV2GetEventTypesApi
|
|
57
|
+
*/
|
|
58
|
+
sortBy2?: string;
|
|
59
|
+
options?: AxiosRequestConfig;
|
|
60
|
+
};
|
|
61
|
+
export type NotificationResourceV2GetEventTypesReturnType = AxiosPromise<PageEventType>;
|
|
62
|
+
/**
|
|
63
|
+
* Lists all event types. You can filter the returned list by bundle, application name, or unmuted types.
|
|
64
|
+
* @summary List all event types
|
|
65
|
+
* @param {NotificationResourceV2GetEventTypesParams} config with all available params.
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
export declare const notificationResourceV2GetEventTypesParamCreator: (...config: ([NotificationResourceV2GetEventTypesParams] | [Set<string>, string, string, boolean, number, number, number, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
70
|
+
export default notificationResourceV2GetEventTypesParamCreator;
|
|
71
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypes/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,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;;MAIE;IACF,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;MAIE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;MAIE;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;MAIE;IACF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6CAA6C,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;AAKxF;;;;;;EAME;AACF,eAAO,MAAM,+CAA+C,cAAqB,CAAC,CAAC,yCAAyC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuDxP,CAAA;AAED,eAAe,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2GetEventTypesParamCreator = 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 isNotificationResourceV2GetEventTypesObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists all event types. You can filter the returned list by bundle, application name, or unmuted types.
|
|
12
|
+
* @summary List all event types
|
|
13
|
+
* @param {NotificationResourceV2GetEventTypesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2GetEventTypesParamCreator = 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, applicationIds, bundleId, eventTypeName, excludeMutedTypes, limit, offset, pageNumber, sortBy, sortBy2, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2GetEventTypesObjectParams(config) ? config[0] : ['applicationIds', 'bundleId', 'eventTypeName', 'excludeMutedTypes', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', '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
|
+
applicationIds = params.applicationIds, bundleId = params.bundleId, eventTypeName = params.eventTypeName, excludeMutedTypes = params.excludeMutedTypes, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, sortBy = params.sortBy, sortBy2 = params.sortBy2, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
if (applicationIds) {
|
|
36
|
+
localVarQueryParameter['applicationIds'] = Array.from(applicationIds);
|
|
37
|
+
}
|
|
38
|
+
if (bundleId !== undefined) {
|
|
39
|
+
localVarQueryParameter['bundleId'] = bundleId;
|
|
40
|
+
}
|
|
41
|
+
if (eventTypeName !== undefined) {
|
|
42
|
+
localVarQueryParameter['eventTypeName'] = eventTypeName;
|
|
43
|
+
}
|
|
44
|
+
if (excludeMutedTypes !== undefined) {
|
|
45
|
+
localVarQueryParameter['excludeMutedTypes'] = excludeMutedTypes;
|
|
46
|
+
}
|
|
47
|
+
if (limit !== undefined) {
|
|
48
|
+
localVarQueryParameter['limit'] = limit;
|
|
49
|
+
}
|
|
50
|
+
if (offset !== undefined) {
|
|
51
|
+
localVarQueryParameter['offset'] = offset;
|
|
52
|
+
}
|
|
53
|
+
if (pageNumber !== undefined) {
|
|
54
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
55
|
+
}
|
|
56
|
+
if (sortBy !== undefined) {
|
|
57
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
58
|
+
}
|
|
59
|
+
if (sortBy2 !== undefined) {
|
|
60
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
61
|
+
}
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
64
|
+
return [2 /*return*/, {
|
|
65
|
+
urlObj: localVarUrlObj,
|
|
66
|
+
options: localVarRequestOptions,
|
|
67
|
+
}];
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
exports.notificationResourceV2GetEventTypesParamCreator = notificationResourceV2GetEventTypesParamCreator;
|
|
72
|
+
exports.default = exports.notificationResourceV2GetEventTypesParamCreator;
|
|
73
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypes/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsEjU,IAAM,iDAAiD,GAAG,UAAC,MAA+D;IACxH,OAAO,M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V2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts
ADDED
|
@@ -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 { EventType } from '../types';
|
|
4
|
+
export type NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* The UUID of the behavior group to check
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
behaviorGroupId: string;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType = AxiosPromise<Array<EventType>>;
|
|
14
|
+
/**
|
|
15
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
16
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
17
|
+
* @param {NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator: (...config: ([NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
22
|
+
export default notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/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,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,MAAM,yEAAyE,GAAG;IACtF;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6EAA6E,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AAK3H;;;;;;EAME;AACF,eAAO,MAAM,+EAA+E,cAAqB,CAAC,CAAC,yEAAyE,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoBlP,CAAA;AAED,eAAe,+EAA+E,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = 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 isNotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
12
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
13
|
+
* @param {NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = 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, behaviorGroupId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams(config) ? config[0] : ['behaviorGroupId', '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
|
+
behaviorGroupId = params.behaviorGroupId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}"
|
|
31
|
+
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, 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.notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
46
|
+
exports.default = exports.notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,iFAAiF,GAAG,UAAC,MAA+F;IACxL,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAC/F,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,+EAA+E,GAAG;IAAO,gBAAuH;SAAvH,UAAuH,EAAvH,qBAAuH,EAAvH,IAAuH;QAAvH,2BAAuH;;;;;YACnN,MAAM,GAAG,iFAAiF,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,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,CAA8E,CAAC;YACjS,eAAe,GAAmB,MAAM,gBAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC3C,YAAY,GAAG,8EAA8E;iBAC9F,OAAO,CAAC,WAAI,iBAAiB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAE9E,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,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,+EAA+E,mFAoB3F;AAED,kBAAe,uFAA+E,CAAC"}
|
package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { EventType } from '../types';
|
|
4
|
+
export type NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
9
|
+
*/
|
|
10
|
+
applicationName: string;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { string }
|
|
14
|
+
* @memberof NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
15
|
+
*/
|
|
16
|
+
bundleName: string;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
21
|
+
*/
|
|
22
|
+
eventTypeName: string;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameReturnType = AxiosPromise<EventType>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
28
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
29
|
+
* @param {NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator: (...config: ([NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParams] | [string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
34
|
+
export default notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/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,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,MAAM,0EAA0E,GAAG;IACvF;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8EAA8E,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;AAKrH;;;;;;EAME;AACF,eAAO,MAAM,gFAAgF,cAAqB,CAAC,CAAC,0EAA0E,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBpQ,CAAA;AAED,eAAe,gFAAgF,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator = 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 isNotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName') && Object.prototype.hasOwnProperty.call(params, 'eventTypeName');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
12
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
13
|
+
* @param {NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator = 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, applicationName, bundleName, eventTypeName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'eventTypeName', '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
|
+
applicationName = params.applicationName, bundleName = params.bundleName, eventTypeName = params.eventTypeName, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}"
|
|
31
|
+
.replace("{".concat("applicationName", "}"), encodeURIComponent(String(applicationName)))
|
|
32
|
+
.replace("{".concat("bundleName", "}"), encodeURIComponent(String(bundleName)))
|
|
33
|
+
.replace("{".concat("eventTypeName", "}"), encodeURIComponent(String(eventTypeName)));
|
|
34
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
36
|
+
localVarHeaderParameter = {};
|
|
37
|
+
localVarQueryParameter = {};
|
|
38
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
40
|
+
return [2 /*return*/, {
|
|
41
|
+
urlObj: localVarUrlObj,
|
|
42
|
+
options: localVarRequestOptions,
|
|
43
|
+
}];
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
exports.notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator = notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
48
|
+
exports.default = exports.notificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkCjU,IAAM,kFAAkF,GAAG,UAAC,MAAgG;IAC1L,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAC9N,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,gFAAgF,GAAG;IAAO,gBAAwI;SAAxI,UAAwI,EAAxI,qBAAwI,EAAxI,IAAwI;QAAxI,2BAAwI;;;;;YACrO,MAAM,GAAG,kFAAkF,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,YAAY,EAAE,eAAe,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,CAA+E,CAAC;YAClU,eAAe,GAA8C,MAAM,gBAApD,EAAE,UAAU,GAAkC,MAAM,WAAxC,EAAE,aAAa,GAAmB,MAAM,cAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACtE,YAAY,GAAG,+FAA+F;iBAC/G,OAAO,CAAC,WAAI,iBAAiB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;iBAC9E,OAAO,CAAC,WAAI,YAAY,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;iBACpE,OAAO,CAAC,WAAI,eAAe,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YAE1E,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,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;AAtBY,QAAA,gFAAgF,oFAsB5F;AAED,kBAAe,wFAAgF,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { PageBehaviorGroup } from '../types';
|
|
4
|
+
export type NotificationResourceV2GetLinkedBehaviorGroupsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
9
|
+
*/
|
|
10
|
+
eventTypeId: string;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { number }
|
|
14
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { number }
|
|
20
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
21
|
+
*/
|
|
22
|
+
offset?: number;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { number }
|
|
26
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
27
|
+
*/
|
|
28
|
+
pageNumber?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
33
|
+
*/
|
|
34
|
+
sortBy?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { string }
|
|
38
|
+
* @memberof NotificationResourceV2GetLinkedBehaviorGroupsApi
|
|
39
|
+
*/
|
|
40
|
+
sortBy2?: string;
|
|
41
|
+
options?: AxiosRequestConfig;
|
|
42
|
+
};
|
|
43
|
+
export type NotificationResourceV2GetLinkedBehaviorGroupsReturnType = AxiosPromise<PageBehaviorGroup>;
|
|
44
|
+
/**
|
|
45
|
+
* Get Linked Behavior Groups
|
|
46
|
+
* @summary Retrieve the behavior groups linked to an event type.
|
|
47
|
+
* @param {NotificationResourceV2GetLinkedBehaviorGroupsParams} config with all available params.
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
export declare const notificationResourceV2GetLinkedBehaviorGroupsParamCreator: (...config: ([NotificationResourceV2GetLinkedBehaviorGroupsParams] | [string, number, number, number, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
52
|
+
export default notificationResourceV2GetLinkedBehaviorGroupsParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetLinkedBehaviorGroups/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,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,mDAAmD,GAAG;IAChE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAKtG;;;;;;EAME;AACF,eAAO,MAAM,yDAAyD,cAAqB,CAAC,CAAC,mDAAmD,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAwC9O,CAAA;AAED,eAAe,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2GetLinkedBehaviorGroupsParamCreator = 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 isNotificationResourceV2GetLinkedBehaviorGroupsObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Get Linked Behavior Groups
|
|
12
|
+
* @summary Retrieve the behavior groups linked to an event type.
|
|
13
|
+
* @param {NotificationResourceV2GetLinkedBehaviorGroupsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2GetLinkedBehaviorGroupsParamCreator = 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, eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2GetLinkedBehaviorGroupsObjectParams(config) ? config[0] : ['eventTypeId', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', '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
|
+
eventTypeId = params.eventTypeId, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, sortBy = params.sortBy, sortBy2 = params.sortBy2, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups"
|
|
31
|
+
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
if (limit !== undefined) {
|
|
37
|
+
localVarQueryParameter['limit'] = limit;
|
|
38
|
+
}
|
|
39
|
+
if (offset !== undefined) {
|
|
40
|
+
localVarQueryParameter['offset'] = offset;
|
|
41
|
+
}
|
|
42
|
+
if (pageNumber !== undefined) {
|
|
43
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
44
|
+
}
|
|
45
|
+
if (sortBy !== undefined) {
|
|
46
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
47
|
+
}
|
|
48
|
+
if (sortBy2 !== undefined) {
|
|
49
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
50
|
+
}
|
|
51
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
52
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
53
|
+
return [2 /*return*/, {
|
|
54
|
+
urlObj: localVarUrlObj,
|
|
55
|
+
options: localVarRequestOptions,
|
|
56
|
+
}];
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
exports.notificationResourceV2GetLinkedBehaviorGroupsParamCreator = notificationResourceV2GetLinkedBehaviorGroupsParamCreator;
|
|
61
|
+
exports.default = exports.notificationResourceV2GetLinkedBehaviorGroupsParamCreator;
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetLinkedBehaviorGroups/index.ts"],"names":[],"mappings":";;;;A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AK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,KAAK,KAAK,SAAS,EAAE;gBACrB,sBAAsB,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;aAC3C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,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;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;AAxCY,QAAA,yDAAyD,6DAwCrE;AAED,kBAAe,iEAAyD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { UpdateBehaviorGroupRequest } from '../types';
|
|
4
|
+
export type NotificationResourceV2UpdateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* The UUID of the behavior group to update
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV2UpdateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* New parameters
|
|
13
|
+
* @type { UpdateBehaviorGroupRequest }
|
|
14
|
+
* @memberof NotificationResourceV2UpdateBehaviorGroupApi
|
|
15
|
+
*/
|
|
16
|
+
updateBehaviorGroupRequest: UpdateBehaviorGroupRequest;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type NotificationResourceV2UpdateBehaviorGroupReturnType = AxiosPromise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
22
|
+
* @summary Update a behavior group
|
|
23
|
+
* @param {NotificationResourceV2UpdateBehaviorGroupParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
export declare const notificationResourceV2UpdateBehaviorGroupParamCreator: (...config: ([NotificationResourceV2UpdateBehaviorGroupParams] | [string, UpdateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
28
|
+
export default notificationResourceV2UpdateBehaviorGroupParamCreator;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2UpdateBehaviorGroup/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,MAAM,UAAU,CAAC;AAG3D,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,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,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB1N,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV2UpdateBehaviorGroupParamCreator = 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 isNotificationResourceV2UpdateBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && Object.prototype.hasOwnProperty.call(params, 'updateBehaviorGroupRequest');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
12
|
+
* @summary Update a behavior group
|
|
13
|
+
* @param {NotificationResourceV2UpdateBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV2UpdateBehaviorGroupParamCreator = 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, updateBehaviorGroupRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV2UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', '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, updateBehaviorGroupRequest = params.updateBehaviorGroupRequest, _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: 'PUT' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
+
serializeData: updateBehaviorGroupRequest,
|
|
43
|
+
}];
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
exports.notificationResourceV2UpdateBehaviorGroupParamCreator = notificationResourceV2UpdateBehaviorGroupParamCreator;
|
|
48
|
+
exports.default = exports.notificationResourceV2UpdateBehaviorGroupParamCreator;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2UpdateBehaviorGroup/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AAC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AE7D,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;AAvBY,QAAA,qDAAqD,yDAuBjE;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 NotificationResourceV2UpdateBehaviorGroupActionsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to update
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV2UpdateBehaviorGroupActionsApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { Array<string> }
|
|
13
|
+
* @memberof NotificationResourceV2UpdateBehaviorGroupActionsApi
|
|
14
|
+
*/
|
|
15
|
+
requestBody?: Array<string>;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV2UpdateBehaviorGroupActionsReturnType = AxiosPromise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
21
|
+
* @summary Update the list of behavior group actions
|
|
22
|
+
* @param {NotificationResourceV2UpdateBehaviorGroupActionsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV2UpdateBehaviorGroupActionsParamCreator: (...config: ([NotificationResourceV2UpdateBehaviorGroupActionsParams] | [string, Array<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV2UpdateBehaviorGroupActionsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2UpdateBehaviorGroupActions/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,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0DAA0D,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK9F;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB3N,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|