@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.
- package/CHANGELOG.md +9 -0
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts +3 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +2 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/EventResourceV1GetEvents/index.d.ts +3 -2
- package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +2 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +3 -2
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +2 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +2 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +3 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +2 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +2 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/api.d.ts +53 -2383
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +33 -3124
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +23 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -26
- package/dist/index.js.map +1 -1
- 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 +2 -2
- package/dist/base.d.ts +0 -55
- package/dist/base.d.ts.map +0 -1
- package/dist/base.js +0 -67
- package/dist/base.js.map +0 -1
- package/dist/common.d.ts +0 -66
- package/dist/common.d.ts.map +0 -1
- package/dist/common.js +0 -207
- package/dist/common.js.map +0 -1
- package/dist/configuration.d.ts +0 -84
- package/dist/configuration.d.ts.map +0 -1
- package/dist/configuration.js +0 -45
- package/dist/configuration.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AACD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACrC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AACD;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AAE,IAAI,CAAC;CAChB;AACD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACzB;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACpC;;;;OAIG;IACH,MAAM,EAAE,IAAI,CAAC;CAChB;AACD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC/C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventLogEntryActionStatus = exports.EndpointType = exports.EndpointStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
exports.EndpointStatus = {
|
|
10
|
+
Ready: 'READY',
|
|
11
|
+
Unknown: 'UNKNOWN',
|
|
12
|
+
New: 'NEW',
|
|
13
|
+
Provisioning: 'PROVISIONING',
|
|
14
|
+
Deleting: 'DELETING',
|
|
15
|
+
Failed: 'FAILED'
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.EndpointType = {
|
|
23
|
+
Ansible: 'ansible',
|
|
24
|
+
Camel: 'camel',
|
|
25
|
+
Drawer: 'drawer',
|
|
26
|
+
EmailSubscription: 'email_subscription',
|
|
27
|
+
Webhook: 'webhook',
|
|
28
|
+
Pagerduty: 'pagerduty'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
exports.EventLogEntryActionStatus = {
|
|
36
|
+
Sent: 'SENT',
|
|
37
|
+
Success: 'SUCCESS',
|
|
38
|
+
Processing: 'PROCESSING',
|
|
39
|
+
Failed: 'FAILED',
|
|
40
|
+
Unknown: 'UNKNOWN'
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/types/index.ts"],"names":[],"mappings":";;;AA0VA;;;;GAIG;AAEU,QAAA,cAAc,GAAG;IAC1B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACV,CAAC;AAKX;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,oBAAoB;IACvC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CAChB,CAAC;AA0GX;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redhat-cloud-services/notifications-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"axios": "^1.7.2",
|
|
25
25
|
"tslib": "^2.6.2",
|
|
26
|
-
"@redhat-cloud-services/javascript-clients-shared": "^1.2.
|
|
26
|
+
"@redhat-cloud-services/javascript-clients-shared": "^1.2.6"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/dist/base.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notifications
|
|
3
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const COLLECTION_FORMATS: {
|
|
20
|
-
csv: string;
|
|
21
|
-
ssv: string;
|
|
22
|
-
tsv: string;
|
|
23
|
-
pipes: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
|
-
export interface RequestArgs {
|
|
31
|
-
url: string;
|
|
32
|
-
options: AxiosRequestConfig;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
export declare class BaseAPI {
|
|
40
|
-
protected basePath: string;
|
|
41
|
-
protected axios: AxiosInstance;
|
|
42
|
-
protected configuration: Configuration | undefined;
|
|
43
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
|
-
export declare class RequiredError extends Error {
|
|
52
|
-
field: string;
|
|
53
|
-
constructor(field: string, msg?: string);
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=base.d.ts.map
|
package/dist/base.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAgB,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAG7E,eAAO,MAAM,SAAS,QAA2E,CAAC;AAElG;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED;;;;GAIG;AACH,qBAAa,OAAO;IAG2B,SAAS,CAAC,QAAQ,EAAE,MAAM;IAAc,SAAS,CAAC,KAAK,EAAE,aAAa;IAFjH,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;gBAEvC,aAAa,CAAC,EAAE,aAAa,EAAY,QAAQ,GAAE,MAAkB,EAAY,KAAK,GAAE,aAA2B;CAMlI;AAED;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACjB,KAAK,EAAE,MAAM;gBAAb,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAIjD"}
|
package/dist/base.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notifications
|
|
6
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
|
-
var tslib_1 = require("tslib");
|
|
18
|
-
var axios_1 = require("axios");
|
|
19
|
-
exports.BASE_PATH = "https://console.redhat.com//api/notifications/v1.0".replace(/\/+$/, "");
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
*/
|
|
24
|
-
exports.COLLECTION_FORMATS = {
|
|
25
|
-
csv: ",",
|
|
26
|
-
ssv: " ",
|
|
27
|
-
tsv: "\t",
|
|
28
|
-
pipes: "|",
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @export
|
|
33
|
-
* @class BaseAPI
|
|
34
|
-
*/
|
|
35
|
-
var BaseAPI = /** @class */ (function () {
|
|
36
|
-
function BaseAPI(configuration, basePath, axios) {
|
|
37
|
-
if (basePath === void 0) { basePath = exports.BASE_PATH; }
|
|
38
|
-
if (axios === void 0) { axios = axios_1.default; }
|
|
39
|
-
this.basePath = basePath;
|
|
40
|
-
this.axios = axios;
|
|
41
|
-
if (configuration) {
|
|
42
|
-
this.configuration = configuration;
|
|
43
|
-
this.basePath = configuration.basePath || this.basePath;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return BaseAPI;
|
|
47
|
-
}());
|
|
48
|
-
exports.BaseAPI = BaseAPI;
|
|
49
|
-
;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @class RequiredError
|
|
54
|
-
* @extends {Error}
|
|
55
|
-
*/
|
|
56
|
-
var RequiredError = /** @class */ (function (_super) {
|
|
57
|
-
tslib_1.__extends(RequiredError, _super);
|
|
58
|
-
function RequiredError(field, msg) {
|
|
59
|
-
var _this = _super.call(this, msg) || this;
|
|
60
|
-
_this.field = field;
|
|
61
|
-
_this.name = "RequiredError";
|
|
62
|
-
return _this;
|
|
63
|
-
}
|
|
64
|
-
return RequiredError;
|
|
65
|
-
}(Error));
|
|
66
|
-
exports.RequiredError = RequiredError;
|
|
67
|
-
//# sourceMappingURL=base.js.map
|
package/dist/base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;AAOH,+BAAgC;AAEnB,QAAA,SAAS,GAAG,oDAAoD,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAElG;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH;IAGI,iBAAY,aAA6B,EAAY,QAA4B,EAAY,KAAkC;QAA1E,yBAAA,EAAA,WAAmB,iBAAS;QAAY,sBAAA,EAAA,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AASnB,CAAC;AAEF;;;;;GAKG;AACH;IAAmC,yCAAK;IACpC,uBAAmB,KAAa,EAAE,GAAY;QAA9C,YACI,kBAAM,GAAG,CAAC,SAEb;QAHkB,WAAK,GAAL,KAAK,CAAQ;QAE5B,KAAI,CAAC,IAAI,GAAG,eAAe,CAAA;;IAC/B,CAAC;IACL,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa"}
|
package/dist/common.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notifications
|
|
3
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from "./configuration";
|
|
13
|
-
import type { RequestArgs } from "./base";
|
|
14
|
-
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
-
//# sourceMappingURL=common.d.ts.map
|
package/dist/common.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../common.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAAwB,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iBAA2B,MAAM,aAAa,MAAM,cAAc,OAAO,SAItG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAA2B,GAAG,gBAAgB,MAAM,kBAAkB,aAAa,kBAOhH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,WAAqB,GAAG,kBAAkB,aAAa,SAIvF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,WAA2B,GAAG,kBAAkB,aAAa,kBAO9F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,WAA2B,GAAG,QAAQ,MAAM,UAAU,MAAM,EAAE,kBAAkB,aAAa,kBAOzH,CAAA;AAwBD;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAkB,GAAG,cAAc,GAAG,EAAE,SAInE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAAoB,GAAG,kBAAkB,GAAG,kBAAkB,aAAa,QAQ5G,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAkB,GAAG,WAE7C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAAwB,WAAW,eAAe,aAAa,aAAa,MAAM,kBAAkB,aAAa,sDAC7F,aAAa,aAA0B,MAAM,eAIlG,CAAA"}
|
package/dist/common.js
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notifications
|
|
6
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
|
-
var tslib_1 = require("tslib");
|
|
18
|
-
var base_1 = require("./base");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
|
-
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @throws {RequiredError}
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
var assertParamExists = function (functionName, paramName, paramValue) {
|
|
30
|
-
if (paramValue === null || paramValue === undefined) {
|
|
31
|
-
throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
exports.assertParamExists = assertParamExists;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
40
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
41
|
-
var localVarApiKeyValue, _a;
|
|
42
|
-
return tslib_1.__generator(this, function (_b) {
|
|
43
|
-
switch (_b.label) {
|
|
44
|
-
case 0:
|
|
45
|
-
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
46
|
-
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
47
|
-
return [4 /*yield*/, configuration.apiKey(keyParamName)];
|
|
48
|
-
case 1:
|
|
49
|
-
_a = _b.sent();
|
|
50
|
-
return [3 /*break*/, 4];
|
|
51
|
-
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
52
|
-
case 3:
|
|
53
|
-
_a = _b.sent();
|
|
54
|
-
_b.label = 4;
|
|
55
|
-
case 4:
|
|
56
|
-
localVarApiKeyValue = _a;
|
|
57
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
58
|
-
_b.label = 5;
|
|
59
|
-
case 5: return [2 /*return*/];
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
exports.setApiKeyToObject = setApiKeyToObject;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @export
|
|
68
|
-
*/
|
|
69
|
-
var setBasicAuthToObject = function (object, configuration) {
|
|
70
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
71
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
var setBearerAuthToObject = function (object, configuration) {
|
|
80
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
81
|
-
var accessToken, _a;
|
|
82
|
-
return tslib_1.__generator(this, function (_b) {
|
|
83
|
-
switch (_b.label) {
|
|
84
|
-
case 0:
|
|
85
|
-
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
86
|
-
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
87
|
-
return [4 /*yield*/, configuration.accessToken()];
|
|
88
|
-
case 1:
|
|
89
|
-
_a = _b.sent();
|
|
90
|
-
return [3 /*break*/, 4];
|
|
91
|
-
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
92
|
-
case 3:
|
|
93
|
-
_a = _b.sent();
|
|
94
|
-
_b.label = 4;
|
|
95
|
-
case 4:
|
|
96
|
-
accessToken = _a;
|
|
97
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
98
|
-
_b.label = 5;
|
|
99
|
-
case 5: return [2 /*return*/];
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @export
|
|
108
|
-
*/
|
|
109
|
-
var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
110
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
111
|
-
var localVarAccessTokenValue, _a;
|
|
112
|
-
return tslib_1.__generator(this, function (_b) {
|
|
113
|
-
switch (_b.label) {
|
|
114
|
-
case 0:
|
|
115
|
-
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
116
|
-
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
117
|
-
return [4 /*yield*/, configuration.accessToken(name, scopes)];
|
|
118
|
-
case 1:
|
|
119
|
-
_a = _b.sent();
|
|
120
|
-
return [3 /*break*/, 4];
|
|
121
|
-
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
122
|
-
case 3:
|
|
123
|
-
_a = _b.sent();
|
|
124
|
-
_b.label = 4;
|
|
125
|
-
case 4:
|
|
126
|
-
localVarAccessTokenValue = _a;
|
|
127
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
128
|
-
_b.label = 5;
|
|
129
|
-
case 5: return [2 /*return*/];
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
exports.setOAuthToObject = setOAuthToObject;
|
|
135
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key) {
|
|
136
|
-
if (key === void 0) { key = ""; }
|
|
137
|
-
if (parameter == null)
|
|
138
|
-
return;
|
|
139
|
-
if (typeof parameter === "object") {
|
|
140
|
-
if (Array.isArray(parameter)) {
|
|
141
|
-
parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
Object.keys(parameter).forEach(function (currentKey) {
|
|
145
|
-
return setFlattenedQueryParams(urlSearchParams, parameter[currentKey], "".concat(key).concat(key !== '' ? '.' : '').concat(currentKey));
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
if (urlSearchParams.has(key)) {
|
|
151
|
-
urlSearchParams.append(key, parameter);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
urlSearchParams.set(key, parameter);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @export
|
|
161
|
-
*/
|
|
162
|
-
var setSearchParams = function (url) {
|
|
163
|
-
var objects = [];
|
|
164
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
165
|
-
objects[_i - 1] = arguments[_i];
|
|
166
|
-
}
|
|
167
|
-
var searchParams = new URLSearchParams(url.search);
|
|
168
|
-
setFlattenedQueryParams(searchParams, objects);
|
|
169
|
-
url.search = searchParams.toString();
|
|
170
|
-
};
|
|
171
|
-
exports.setSearchParams = setSearchParams;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @export
|
|
175
|
-
*/
|
|
176
|
-
var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
177
|
-
var nonString = typeof value !== 'string';
|
|
178
|
-
var needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
179
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
180
|
-
: nonString;
|
|
181
|
-
return needsSerialization
|
|
182
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
183
|
-
: (value || "");
|
|
184
|
-
};
|
|
185
|
-
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @export
|
|
189
|
-
*/
|
|
190
|
-
var toPathString = function (url) {
|
|
191
|
-
return url.pathname + url.search + url.hash;
|
|
192
|
-
};
|
|
193
|
-
exports.toPathString = toPathString;
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* @export
|
|
197
|
-
*/
|
|
198
|
-
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
199
|
-
return function (axios, basePath) {
|
|
200
|
-
if (axios === void 0) { axios = globalAxios; }
|
|
201
|
-
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
202
|
-
var axiosRequestArgs = tslib_1.__assign(tslib_1.__assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || axios.defaults.baseURL || basePath) + axiosArgs.url });
|
|
203
|
-
return axios.request(axiosRequestArgs);
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
exports.createRequestFunction = createRequestFunction;
|
|
207
|
-
//# sourceMappingURL=common.js.map
|
package/dist/common.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAA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YAAY,gBAExB;AAED;;;GAGG;AACI,IAAM,qBAAqB,GAAG,UAAU,SAAsB,EAAE,WAA0B,EAAE,SAAiB,EAAE,aAA6B;IAC/I,OAAO,UAAoC,KAAkC,EAAE,QAA4B;QAAhE,sBAAA,EAAA,mBAAkC;QAAE,yBAAA,EAAA,oBAA4B;QACvG,IAAM,gBAAgB,yCAAO,SAAS,CAAC,OAAO,KAAE,GAAG,EAAE,CAAC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,KAAI,KAAK,CAAC,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,GAAG,SAAS,CAAC,GAAG,GAAC,CAAC;QACtI,OAAO,KAAK,CAAC,OAAO,CAAO,gBAAgB,CAAC,CAAC;IACjD,CAAC,CAAC;AACN,CAAC,CAAA;AALY,QAAA,qBAAqB,yBAKjC"}
|
package/dist/configuration.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notifications
|
|
3
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export interface ConfigurationParameters {
|
|
13
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
-
username?: string;
|
|
15
|
-
password?: string;
|
|
16
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
-
basePath?: string;
|
|
18
|
-
baseOptions?: any;
|
|
19
|
-
formDataCtor?: new () => any;
|
|
20
|
-
}
|
|
21
|
-
export declare class Configuration {
|
|
22
|
-
/**
|
|
23
|
-
* parameter for apiKey security
|
|
24
|
-
* @param name security name
|
|
25
|
-
* @memberof Configuration
|
|
26
|
-
*/
|
|
27
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
-
/**
|
|
29
|
-
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
|
-
*/
|
|
34
|
-
username?: string;
|
|
35
|
-
/**
|
|
36
|
-
* parameter for basic security
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Configuration
|
|
40
|
-
*/
|
|
41
|
-
password?: string;
|
|
42
|
-
/**
|
|
43
|
-
* parameter for oauth2 security
|
|
44
|
-
* @param name security name
|
|
45
|
-
* @param scopes oauth2 scope
|
|
46
|
-
* @memberof Configuration
|
|
47
|
-
*/
|
|
48
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
-
/**
|
|
50
|
-
* override base path
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Configuration
|
|
54
|
-
*/
|
|
55
|
-
basePath?: string;
|
|
56
|
-
/**
|
|
57
|
-
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
|
-
*/
|
|
62
|
-
baseOptions?: any;
|
|
63
|
-
/**
|
|
64
|
-
* The FormData constructor that will be used to create multipart form data
|
|
65
|
-
* requests. You can inject this here so that execution environments that
|
|
66
|
-
* do not support the FormData class can still run the generated client.
|
|
67
|
-
*
|
|
68
|
-
* @type {new () => FormData}
|
|
69
|
-
*/
|
|
70
|
-
formDataCtor?: new () => any;
|
|
71
|
-
constructor(param?: ConfigurationParameters);
|
|
72
|
-
/**
|
|
73
|
-
* Check if the given MIME is a JSON MIME.
|
|
74
|
-
* JSON MIME examples:
|
|
75
|
-
* application/json
|
|
76
|
-
* application/json; charset=UTF8
|
|
77
|
-
* APPLICATION/JSON
|
|
78
|
-
* application/vnd.company+json
|
|
79
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
-
*/
|
|
82
|
-
isJsonMime(mime: string): boolean;
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACrG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAClJ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC;CAChC;AAED,qBAAa,aAAa;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACrG;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAClJ;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC;gBAEjB,KAAK,GAAE,uBAA4B;IAU/C;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;CAI3C"}
|
package/dist/configuration.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notifications
|
|
6
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Configuration = void 0;
|
|
17
|
-
var Configuration = /** @class */ (function () {
|
|
18
|
-
function Configuration(param) {
|
|
19
|
-
if (param === void 0) { param = {}; }
|
|
20
|
-
this.apiKey = param.apiKey;
|
|
21
|
-
this.username = param.username;
|
|
22
|
-
this.password = param.password;
|
|
23
|
-
this.accessToken = param.accessToken;
|
|
24
|
-
this.basePath = param.basePath;
|
|
25
|
-
this.baseOptions = param.baseOptions;
|
|
26
|
-
this.formDataCtor = param.formDataCtor;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Check if the given MIME is a JSON MIME.
|
|
30
|
-
* JSON MIME examples:
|
|
31
|
-
* application/json
|
|
32
|
-
* application/json; charset=UTF8
|
|
33
|
-
* APPLICATION/JSON
|
|
34
|
-
* application/vnd.company+json
|
|
35
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
36
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
37
|
-
*/
|
|
38
|
-
Configuration.prototype.isJsonMime = function (mime) {
|
|
39
|
-
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
40
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
41
|
-
};
|
|
42
|
-
return Configuration;
|
|
43
|
-
}());
|
|
44
|
-
exports.Configuration = Configuration;
|
|
45
|
-
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH;IAmDI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,kCAAU,GAAjB,UAAkB,IAAY;QAC1B,IAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;IACL,oBAAC;AAAD,CAAC,AA3ED,IA2EC;AA3EY,sCAAa"}
|