@redhat-cloud-services/notifications-client 2.5.6 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts +3 -1
  3. package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
  4. package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
  5. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +2 -1
  6. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
  7. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
  8. package/dist/EventResourceV1GetEvents/index.d.ts +3 -2
  9. package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
  10. package/dist/EventResourceV1GetEvents/index.js.map +1 -1
  11. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +2 -1
  12. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
  13. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
  14. package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +3 -2
  15. package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
  16. package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
  17. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +2 -1
  18. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
  19. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
  20. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +2 -1
  21. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
  22. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
  23. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +3 -1
  24. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
  25. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
  26. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +3 -1
  27. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
  28. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
  29. package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +3 -1
  30. package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
  31. package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
  32. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +3 -1
  33. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
  34. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
  35. package/dist/NotificationResourceV1GetBundleByName/index.d.ts +3 -1
  36. package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
  37. package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
  38. package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +3 -1
  39. package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
  40. package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
  41. package/dist/NotificationResourceV1GetEventTypes/index.d.ts +3 -1
  42. package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
  43. package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
  44. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +3 -1
  45. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
  46. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
  47. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +3 -1
  48. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
  49. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
  50. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +3 -1
  51. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
  52. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
  53. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +2 -1
  54. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
  55. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
  56. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +2 -1
  57. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
  58. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
  59. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +2 -1
  60. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
  61. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
  62. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +2 -1
  63. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
  64. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
  65. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +2 -1
  66. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
  67. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
  68. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +2 -1
  69. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
  70. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
  71. package/dist/api.d.ts +53 -2383
  72. package/dist/api.d.ts.map +1 -1
  73. package/dist/api.js +33 -3124
  74. package/dist/api.js.map +1 -1
  75. package/dist/index.d.ts +23 -24
  76. package/dist/index.d.ts.map +1 -1
  77. package/dist/index.js +0 -26
  78. package/dist/index.js.map +1 -1
  79. package/dist/v2/EventResourceV2GetEvents/index.d.ts +113 -0
  80. package/dist/v2/EventResourceV2GetEvents/index.d.ts.map +1 -0
  81. package/dist/v2/EventResourceV2GetEvents/index.js +98 -0
  82. package/dist/v2/EventResourceV2GetEvents/index.js.map +1 -0
  83. package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +28 -0
  84. package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  85. package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +48 -0
  86. package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +1 -0
  87. package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +23 -0
  88. package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +1 -0
  89. package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js +48 -0
  90. package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +1 -0
  91. package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +22 -0
  92. package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +1 -0
  93. package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +47 -0
  94. package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +1 -0
  95. package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
  96. package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  97. package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +48 -0
  98. package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +1 -0
  99. package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +23 -0
  100. package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  101. package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +47 -0
  102. package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +1 -0
  103. package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +29 -0
  104. package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  105. package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +48 -0
  106. package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +1 -0
  107. package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +23 -0
  108. package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +1 -0
  109. package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js +49 -0
  110. package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +1 -0
  111. package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
  112. package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  113. package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
  114. package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
  115. package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts +23 -0
  116. package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +1 -0
  117. package/dist/v2/NotificationResourceV2GetBundleByName/index.js +47 -0
  118. package/dist/v2/NotificationResourceV2GetBundleByName/index.js.map +1 -0
  119. package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts +23 -0
  120. package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +1 -0
  121. package/dist/v2/NotificationResourceV2GetBundleFacets/index.js +49 -0
  122. package/dist/v2/NotificationResourceV2GetBundleFacets/index.js.map +1 -0
  123. package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts +71 -0
  124. package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +1 -0
  125. package/dist/v2/NotificationResourceV2GetEventTypes/index.js +73 -0
  126. package/dist/v2/NotificationResourceV2GetEventTypes/index.js.map +1 -0
  127. package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
  128. package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  129. package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
  130. package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
  131. package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
  132. package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  133. package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
  134. package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
  135. package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +53 -0
  136. package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  137. package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +62 -0
  138. package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -0
  139. package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +29 -0
  140. package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +1 -0
  141. package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +49 -0
  142. package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +1 -0
  143. package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +28 -0
  144. package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  145. package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +49 -0
  146. package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +1 -0
  147. package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +28 -0
  148. package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  149. package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +49 -0
  150. package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +1 -0
  151. package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +28 -0
  152. package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +1 -0
  153. package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +49 -0
  154. package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +1 -0
  155. package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +16 -0
  156. package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +1 -0
  157. package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +46 -0
  158. package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +1 -0
  159. package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +22 -0
  160. package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  161. package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +48 -0
  162. package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +1 -0
  163. package/dist/v2/api.d.ts +50 -0
  164. package/dist/v2/api.d.ts.map +1 -0
  165. package/dist/v2/api.js +34 -0
  166. package/dist/v2/api.js.map +1 -0
  167. package/dist/v2/index.d.ts +22 -0
  168. package/dist/v2/index.d.ts.map +1 -0
  169. package/dist/v2/index.js +46 -0
  170. package/dist/v2/index.js.map +1 -0
  171. package/dist/v2/types/index.d.ts +760 -0
  172. package/dist/v2/types/index.d.ts.map +1 -0
  173. package/dist/v2/types/index.js +42 -0
  174. package/dist/v2/types/index.js.map +1 -0
  175. package/package.json +2 -2
  176. package/dist/base.d.ts +0 -55
  177. package/dist/base.d.ts.map +0 -1
  178. package/dist/base.js +0 -67
  179. package/dist/base.js.map +0 -1
  180. package/dist/common.d.ts +0 -66
  181. package/dist/common.d.ts.map +0 -1
  182. package/dist/common.js +0 -207
  183. package/dist/common.js.map +0 -1
  184. package/dist/configuration.d.ts +0 -84
  185. package/dist/configuration.d.ts.map +0 -1
  186. package/dist/configuration.js +0 -45
  187. package/dist/configuration.js.map +0 -1
@@ -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 { Bundle } from '../types';
4
+ export type NotificationResourceV2GetBundleByNameParams = {
5
+ /**
6
+ *
7
+ * @type { string }
8
+ * @memberof NotificationResourceV2GetBundleByNameApi
9
+ */
10
+ bundleName: string;
11
+ options?: AxiosRequestConfig;
12
+ };
13
+ export type NotificationResourceV2GetBundleByNameReturnType = AxiosPromise<Bundle>;
14
+ /**
15
+ * Retrieves the details of a bundle by searching by its name.
16
+ * @summary Retrieve a bundle by name
17
+ * @param {NotificationResourceV2GetBundleByNameParams} config with all available params.
18
+ * @param {*} [options] Override http request option.
19
+ * @throws {RequiredError}
20
+ */
21
+ export declare const notificationResourceV2GetBundleByNameParamCreator: (...config: ([NotificationResourceV2GetBundleByNameParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
22
+ export default notificationResourceV2GetBundleByNameParamCreator;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetBundleByName/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,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAKnF;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,cAAqB,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoBtL,CAAA;AAED,eAAe,iDAAiD,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notificationResourceV2GetBundleByNameParamCreator = 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 isNotificationResourceV2GetBundleByNameObjectParams = function (params) {
8
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleName');
9
+ };
10
+ /**
11
+ * Retrieves the details of a bundle by searching by its name.
12
+ * @summary Retrieve a bundle by name
13
+ * @param {NotificationResourceV2GetBundleByNameParams} config with all available params.
14
+ * @param {*} [options] Override http request option.
15
+ * @throws {RequiredError}
16
+ */
17
+ var notificationResourceV2GetBundleByNameParamCreator = 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, bundleName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
24
+ return tslib_1.__generator(this, function (_b) {
25
+ params = isNotificationResourceV2GetBundleByNameObjectParams(config) ? config[0] : ['bundleName', '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
+ bundleName = params.bundleName, _a = params.options, options = _a === void 0 ? {} : _a;
30
+ localVarPath = "/notifications/bundles/{bundleName}"
31
+ .replace("{".concat("bundleName", "}"), encodeURIComponent(String(bundleName)));
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.notificationResourceV2GetBundleByNameParamCreator = notificationResourceV2GetBundleByNameParamCreator;
46
+ exports.default = exports.notificationResourceV2GetBundleByNameParamCreator;
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetBundleByName/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,mDAAmD,GAAG,UAAC,MAAiE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AA,iDAAiD,qDAoB7D;AAED,kBAAe,yDAAiD,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 { Facet } from '../types';
4
+ export type NotificationResourceV2GetBundleFacetsParams = {
5
+ /**
6
+ *
7
+ * @type { boolean }
8
+ * @memberof NotificationResourceV2GetBundleFacetsApi
9
+ */
10
+ includeApplications?: boolean;
11
+ options?: AxiosRequestConfig;
12
+ };
13
+ export type NotificationResourceV2GetBundleFacetsReturnType = AxiosPromise<Array<Facet>>;
14
+ /**
15
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
16
+ * @summary List configured bundles
17
+ * @param {NotificationResourceV2GetBundleFacetsParams} config with all available params.
18
+ * @param {*} [options] Override http request option.
19
+ * @throws {RequiredError}
20
+ */
21
+ export declare const notificationResourceV2GetBundleFacetsParamCreator: (...config: ([NotificationResourceV2GetBundleFacetsParams] | [boolean, AxiosRequestConfig])) => Promise<RequestArgs>;
22
+ export default notificationResourceV2GetBundleFacetsParamCreator;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetBundleFacets/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,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAKzF;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,cAAqB,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBvL,CAAA;AAED,eAAe,iDAAiD,CAAC"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.notificationResourceV2GetBundleFacetsParamCreator = 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 isNotificationResourceV2GetBundleFacetsObjectParams = function (params) {
8
+ return params.length === 1 && true;
9
+ };
10
+ /**
11
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
12
+ * @summary List configured bundles
13
+ * @param {NotificationResourceV2GetBundleFacetsParams} config with all available params.
14
+ * @param {*} [options] Override http request option.
15
+ * @throws {RequiredError}
16
+ */
17
+ var notificationResourceV2GetBundleFacetsParamCreator = 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, includeApplications, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
24
+ return tslib_1.__generator(this, function (_b) {
25
+ params = isNotificationResourceV2GetBundleFacetsObjectParams(config) ? config[0] : ['includeApplications', '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
+ includeApplications = params.includeApplications, _a = params.options, options = _a === void 0 ? {} : _a;
30
+ localVarPath = "/notifications/facets/bundles";
31
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
32
+ localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
33
+ localVarHeaderParameter = {};
34
+ localVarQueryParameter = {};
35
+ if (includeApplications !== undefined) {
36
+ localVarQueryParameter['includeApplications'] = includeApplications;
37
+ }
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.notificationResourceV2GetBundleFacetsParamCreator = notificationResourceV2GetBundleFacetsParamCreator;
48
+ exports.default = exports.notificationResourceV2GetBundleFacetsParamCreator;
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV2GetBundleFacets/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,mDAAmD,GAAG,UAAC,MAAiE;IAC5H,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,iDAAiD,GAAG;IAAO,gBAA0F;SAA1F,UAA0F,EAA1F,qBAA0F,EAA1F,IAA0F;QAA1F,2BAA0F;;;;;YACxJ,MAAM,GAAG,mDAAmD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB,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,CAAgD,CAAC;YACzO,mBAAmB,GAAmB,MAAM,oBAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC/C,YAAY,GAAG,+BAA+B,CAAC;YAE/C,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;YAEzC,IAAI,mBAAmB,KAAK,SAAS,EAAE;gBACnC,sBAAsB,CAAC,qBAAqB,CAAC,GAAG,mBAAmB,CAAC;aACvE;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;AAvBY,QAAA,iDAAiD,qDAuB7D;AAED,kBAAe,yDAAiD,CAAC"}
@@ -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,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpG,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,+CAA+C,GAAG;IAAO,gBAA6J;SAA7J,UAA6J,EAA7J,qBAA6J,EAA7J,IAA6J;QAA7J,2BAA6J;;;;;YACzN,MAAM,GAAG,iDAAiD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAA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AsB,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;AAvDY,QAAA,+CAA+C,mDAuD3D;AAED,kBAAe,uDAA+C,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 { 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
@@ -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
@@ -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"}
@@ -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
@@ -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
@@ -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;;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ACL,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":";;;;AAEA,aAAa;AACb,uFAAiU;AAoDjU,IAAM,2DAA2D,GAAG,UAAC,MAAyE;IAC5I,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACnI,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,yDAAyD,GAAG;IAAO,gBAAyI;SAAzI,UAAyI,EAAzI,qBAAyI,EAAzI,IAAyI;QAAzI,2BAAyI;;;;;YAC/M,MAAM,GAAG,2DAA2D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,OA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