@redhat-cloud-services/notifications-client 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/README.md +1 -1
- package/dist/configuration.d.ts +0 -11
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js +0 -11
- package/dist/configuration.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/doc/README.md +28 -56
- package/doc/classes/{BaseAPI.md → index.BaseAPI.md} +9 -7
- package/doc/classes/{RequiredError.md → index.RequiredError.md} +13 -11
- package/doc/enums/{EndpointStatus.md → types.EndpointStatus.md} +9 -7
- package/doc/enums/{EndpointType.md → types.EndpointType.md} +8 -6
- package/doc/enums/{Environment.md → types.Environment.md} +7 -5
- package/doc/enums/{EventLogEntryActionStatus.md → types.EventLogEntryActionStatus.md} +8 -6
- package/doc/enums/{HttpType.md → types.HttpType.md} +6 -4
- package/doc/enums/{NotificationStatus.md → types.NotificationStatus.md} +8 -6
- package/doc/enums/{Status.md → types.Status.md} +5 -3
- package/doc/enums/{SubscriptionType.md → types.SubscriptionType.md} +6 -4
- package/doc/interfaces/{RequestArgs.md → index.RequestArgs.md} +5 -3
- package/doc/interfaces/{AddAccessRequest.md → types.AddAccessRequest.md} +5 -3
- package/doc/interfaces/{AddApplicationRequest.md → types.AddApplicationRequest.md} +7 -5
- package/doc/interfaces/{AggregationEmailTemplate.md → types.AggregationEmailTemplate.md} +17 -15
- package/doc/interfaces/{AggregationEmailTemplateSubjectTemplate.md → types.AggregationEmailTemplateSubjectTemplate.md} +9 -7
- package/doc/interfaces/{Application.md → types.Application.md} +9 -7
- package/doc/interfaces/{Application1.md → types.Application1.md} +5 -3
- package/doc/interfaces/{ApplicationDTO.md → types.ApplicationDTO.md} +9 -7
- package/doc/interfaces/{ApplicationSettingsValue.md → types.ApplicationSettingsValue.md} +5 -3
- package/doc/interfaces/{BasicAuthentication.md → types.BasicAuthentication.md} +5 -3
- package/doc/interfaces/{BehaviorGroup.md → types.BehaviorGroup.md} +15 -13
- package/doc/interfaces/{BehaviorGroupAction.md → types.BehaviorGroupAction.md} +8 -6
- package/doc/interfaces/{BehaviorGroupActionId.md → types.BehaviorGroupActionId.md} +5 -3
- package/doc/interfaces/{Bundle.md → types.Bundle.md} +8 -6
- package/doc/interfaces/{BundleSettingsValue.md → types.BundleSettingsValue.md} +5 -3
- package/doc/interfaces/{CamelProperties.md → types.CamelProperties.md} +11 -9
- package/doc/interfaces/{CreateBehaviorGroupRequest.md → types.CreateBehaviorGroupRequest.md} +9 -7
- package/doc/interfaces/{CreateBehaviorGroupResponse.md → types.CreateBehaviorGroupResponse.md} +9 -7
- package/doc/interfaces/{CurrentStatus.md → types.CurrentStatus.md} +7 -5
- package/doc/interfaces/{DrawerEntryPayload.md → types.DrawerEntryPayload.md} +10 -8
- package/doc/interfaces/{DuplicateNameMigrationReport.md → types.DuplicateNameMigrationReport.md} +5 -3
- package/doc/interfaces/{Endpoint.md → types.Endpoint.md} +16 -14
- package/doc/interfaces/{EndpointPage.md → types.EndpointPage.md} +8 -6
- package/doc/interfaces/{EndpointTestRequest.md → types.EndpointTestRequest.md} +4 -2
- package/doc/interfaces/{EventLogEntry.md → types.EventLogEntry.md} +11 -9
- package/doc/interfaces/{EventLogEntryAction.md → types.EventLogEntryAction.md} +12 -10
- package/doc/interfaces/{EventType.md → types.EventType.md} +15 -13
- package/doc/interfaces/{EventTypeBehavior.md → types.EventTypeBehavior.md} +8 -6
- package/doc/interfaces/{EventTypeBehaviorId.md → types.EventTypeBehaviorId.md} +5 -3
- package/doc/interfaces/{EventTypeSettingsValue.md → types.EventTypeSettingsValue.md} +6 -4
- package/doc/interfaces/{Facet.md → types.Facet.md} +8 -6
- package/doc/interfaces/{InstantEmailTemplate.md → types.InstantEmailTemplate.md} +15 -13
- package/doc/interfaces/{InternalApplicationUserPermission.md → types.InternalApplicationUserPermission.md} +6 -4
- package/doc/interfaces/{InternalRoleAccess.md → types.InternalRoleAccess.md} +6 -4
- package/doc/interfaces/{InternalUserPermissions.md → types.InternalUserPermissions.md} +7 -5
- package/doc/interfaces/{MessageValidationResponse.md → types.MessageValidationResponse.md} +4 -2
- package/doc/interfaces/{Meta.md → types.Meta.md} +4 -2
- package/doc/interfaces/{NotificationHistory.md → types.NotificationHistory.md} +14 -12
- package/doc/interfaces/{PageBehaviorGroup.md → types.PageBehaviorGroup.md} +8 -6
- package/doc/interfaces/{PageDrawerEntryPayload.md → types.PageDrawerEntryPayload.md} +8 -6
- package/doc/interfaces/{PageEventLogEntry.md → types.PageEventLogEntry.md} +8 -6
- package/doc/interfaces/{PageEventType.md → types.PageEventType.md} +8 -6
- package/doc/interfaces/{PageNotificationHistory.md → types.PageNotificationHistory.md} +8 -6
- package/doc/interfaces/{RenderEmailTemplateRequest.md → types.RenderEmailTemplateRequest.md} +5 -3
- package/doc/interfaces/{RequestDefaultBehaviorGroupPropertyList.md → types.RequestDefaultBehaviorGroupPropertyList.md} +5 -3
- package/doc/interfaces/{RequestSystemSubscriptionProperties.md → types.RequestSystemSubscriptionProperties.md} +5 -3
- package/doc/interfaces/{ServerInfo.md → types.ServerInfo.md} +5 -3
- package/doc/interfaces/{SettingsValuesByEventType.md → types.SettingsValuesByEventType.md} +5 -3
- package/doc/interfaces/{SystemSubscriptionProperties.md → types.SystemSubscriptionProperties.md} +6 -4
- package/doc/interfaces/{Template.md → types.Template.md} +9 -7
- package/doc/interfaces/{TriggerDailyDigestRequest.md → types.TriggerDailyDigestRequest.md} +8 -6
- package/doc/interfaces/{UpdateApplicationRequest.md → types.UpdateApplicationRequest.md} +6 -4
- package/doc/interfaces/{UpdateBehaviorGroupRequest.md → types.UpdateBehaviorGroupRequest.md} +7 -5
- package/doc/interfaces/{UpdateNotificationDrawerStatus.md → types.UpdateNotificationDrawerStatus.md} +5 -3
- package/doc/interfaces/{WebhookProperties.md → types.WebhookProperties.md} +11 -9
- package/doc/interfaces/{X509Certificate.md → types.X509Certificate.md} +8 -6
- package/doc/modules/DrawerResourceV1GetDrawerEntries.md +78 -0
- package/doc/modules/DrawerResourceV1UpdateNotificationReadStatus.md +68 -0
- package/doc/modules/EventResourceV1GetEvents.md +83 -0
- package/doc/modules/NotificationResourceV1AppendBehaviorGroupToEventType.md +67 -0
- package/doc/modules/NotificationResourceV1CreateBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md +69 -0
- package/doc/modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md +68 -0
- package/doc/modules/NotificationResourceV1GetApplicationByNameAndBundleName.md +69 -0
- package/doc/modules/NotificationResourceV1GetApplicationsFacets.md +68 -0
- package/doc/modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md +68 -0
- package/doc/modules/NotificationResourceV1GetBundleByName.md +68 -0
- package/doc/modules/NotificationResourceV1GetBundleFacets.md +68 -0
- package/doc/modules/NotificationResourceV1GetEventTypes.md +75 -0
- package/doc/modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md +68 -0
- package/doc/modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md +70 -0
- package/doc/modules/NotificationResourceV1GetLinkedBehaviorGroups.md +73 -0
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroup.md +69 -0
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroupActions.md +69 -0
- package/doc/modules/NotificationResourceV1UpdateEventTypeBehaviors.md +69 -0
- package/doc/modules/OrgConfigResourceV1GetDailyDigestTimePreference.md +67 -0
- package/doc/modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md +68 -0
- package/doc/modules/index.md +648 -0
- package/doc/modules/types.md +74 -0
- package/doc/modules.md +28 -751
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.4.1](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.4.0...@redhat-cloud-services/notifications-client-2.4.1) (2024-05-29)
|
|
6
|
+
|
|
5
7
|
## [2.4.0](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/notifications-client-2.3.2...@redhat-cloud-services/notifications-client-2.4.0) (2024-05-20)
|
|
6
8
|
|
|
7
9
|
### Dependency Updates
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Javascript client for Notifications API
|
|
2
|
-
If you want to use [RedHatInsights/notifications-backend](https://github.com/RedHatInsights/notifications-backend) you shouldn't use get requests directly, but rather use this client to integrate with
|
|
2
|
+
If you want to use [RedHatInsights/notifications-backend](https://github.com/RedHatInsights/notifications-backend) you shouldn't use get requests directly, but rather use this client to integrate with the service.
|
|
3
3
|
|
|
4
4
|
## Install
|
|
5
5
|
NPM
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notification
|
|
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
1
|
export interface ConfigurationParameters {
|
|
13
2
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
3
|
username?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":"AAGA,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
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notification
|
|
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
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
5
|
exports.Configuration = void 0;
|
|
17
6
|
var Configuration = /** @class */ (function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;;;AAYpB;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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './base';
|
|
2
1
|
export * from './types';
|
|
3
2
|
export { default as drawerResourceV1GetDrawerEntries } from './DrawerResourceV1GetDrawerEntries';
|
|
4
3
|
export { default as drawerResourceV1UpdateNotificationReadStatus } from './DrawerResourceV1UpdateNotificationReadStatus';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAEA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAIhG,OAAO,EAAE,OAAO,IAAI,4CAA4C,EAAE,MAAM,gDAAgD,CAAA;AAIxH,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAIhF,OAAO,EAAE,OAAO,IAAI,oDAAoD,EAAE,MAAM,wDAAwD,CAAA;AAIxI,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AAIlH,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AAIlH,OAAO,EAAE,OAAO,IAAI,sDAAsD,EAAE,MAAM,0DAA0D,CAAA;AAI5I,OAAO,EAAE,OAAO,IAAI,kDAAkD,EAAE,MAAM,sDAAsD,CAAA;AAIpI,OAAO,EAAE,OAAO,IAAI,uDAAuD,EAAE,MAAM,2DAA2D,CAAA;AAI9I,OAAO,EAAE,OAAO,IAAI,2CAA2C,EAAE,MAAM,+CAA+C,CAAA;AAItH,OAAO,EAAE,OAAO,IAAI,kEAAkE,EAAE,MAAM,sEAAsE,CAAA;AAIpK,OAAO,EAAE,OAAO,IAAI,qCAAqC,EAAE,MAAM,yCAAyC,CAAA;AAI1G,OAAO,EAAE,OAAO,IAAI,qCAAqC,EAAE,MAAM,yCAAyC,CAAA;AAI1G,OAAO,EAAE,OAAO,IAAI,mCAAmC,EAAE,MAAM,uCAAuC,CAAA;AAItG,OAAO,EAAE,OAAO,IAAI,mEAAmE,EAAE,MAAM,uEAAuE,CAAA;AAItK,OAAO,EAAE,OAAO,IAAI,oEAAoE,EAAE,MAAM,wEAAwE,CAAA;AAIxK,OAAO,EAAE,OAAO,IAAI,6CAA6C,EAAE,MAAM,iDAAiD,CAAA;AAI1H,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AAIlH,OAAO,EAAE,OAAO,IAAI,gDAAgD,EAAE,MAAM,oDAAoD,CAAA;AAIhI,OAAO,EAAE,OAAO,IAAI,8CAA8C,EAAE,MAAM,kDAAkD,CAAA;AAI5H,OAAO,EAAE,OAAO,IAAI,+CAA+C,EAAE,MAAM,mDAAmD,CAAA;AAI9H,OAAO,EAAE,OAAO,IAAI,gDAAgD,EAAE,MAAM,oDAAoD,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.orgConfigResourceV1SaveDailyDigestTimePreference = exports.orgConfigResourceV1GetDailyDigestTimePreference = exports.notificationResourceV1UpdateEventTypeBehaviors = exports.notificationResourceV1UpdateBehaviorGroupActions = exports.notificationResourceV1UpdateBehaviorGroup = exports.notificationResourceV1GetLinkedBehaviorGroups = exports.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName = exports.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup = exports.notificationResourceV1GetEventTypes = exports.notificationResourceV1GetBundleFacets = exports.notificationResourceV1GetBundleByName = exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint = exports.notificationResourceV1GetApplicationsFacets = exports.notificationResourceV1GetApplicationByNameAndBundleName = exports.notificationResourceV1FindBehaviorGroupsByBundleId = exports.notificationResourceV1DeleteBehaviorGroupFromEventType = exports.notificationResourceV1DeleteBehaviorGroup = exports.notificationResourceV1CreateBehaviorGroup = exports.notificationResourceV1AppendBehaviorGroupToEventType = exports.eventResourceV1GetEvents = exports.drawerResourceV1UpdateNotificationReadStatus = exports.drawerResourceV1GetDrawerEntries = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
6
|
-
tslib_1.__exportStar(require("./base"), exports);
|
|
7
6
|
tslib_1.__exportStar(require("./types"), exports);
|
|
8
7
|
var DrawerResourceV1GetDrawerEntries_1 = require("./DrawerResourceV1GetDrawerEntries");
|
|
9
8
|
Object.defineProperty(exports, "drawerResourceV1GetDrawerEntries", { enumerable: true, get: function () { return DrawerResourceV1GetDrawerEntries_1.default; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;AAEtD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;AAEtD,kDAAuB;AAEvB,uFAAgG;AAAvF,oJAAA,OAAO,OAAoC;AAGpD,0BAA0B;AAC1B,+GAAwH;AAA/G,4KAAA,OAAO,OAAgD;AAGhE,0BAA0B;AAC1B,uEAAgF;AAAvE,oIAAA,OAAO,OAA4B;AAG5C,0BAA0B;AAC1B,+HAAwI;AAA/H,4LAAA,OAAO,OAAwD;AAGxE,0BAA0B;AAC1B,yGAAkH;AAAzG,sKAAA,OAAO,OAA6C;AAG7D,0BAA0B;AAC1B,yGAAkH;AAAzG,sKAAA,OAAO,OAA6C;AAG7D,0BAA0B;AAC1B,mIAA4I;AAAnI,gMAAA,OAAO,OAA0D;AAG1E,0BAA0B;AAC1B,2HAAoI;AAA3H,wLAAA,OAAO,OAAsD;AAGtE,0BAA0B;AAC1B,qIAA8I;AAArI,kMAAA,OAAO,OAA2D;AAG3E,0BAA0B;AAC1B,6GAAsH;AAA7G,0KAAA,OAAO,OAA+C;AAG/D,0BAA0B;AAC1B,2JAAoK;AAA3J,wNAAA,OAAO,OAAsE;AAGtF,0BAA0B;AAC1B,iGAA0G;AAAjG,8JAAA,OAAO,OAAyC;AAGzD,0BAA0B;AAC1B,iGAA0G;AAAjG,8JAAA,OAAO,OAAyC;AAGzD,0BAA0B;AAC1B,6FAAsG;AAA7F,0JAAA,OAAO,OAAuC;AAGvD,0BAA0B;AAC1B,6JAAsK;AAA7J,0NAAA,OAAO,OAAuE;AAGvF,0BAA0B;AAC1B,+JAAwK;AAA/J,4NAAA,OAAO,OAAwE;AAGxF,0BAA0B;AAC1B,iHAA0H;AAAjH,8KAAA,OAAO,OAAiD;AAGjE,0BAA0B;AAC1B,yGAAkH;AAAzG,sKAAA,OAAO,OAA6C;AAG7D,0BAA0B;AAC1B,uHAAgI;AAAvH,oLAAA,OAAO,OAAoD;AAGpE,0BAA0B;AAC1B,mHAA4H;AAAnH,gLAAA,OAAO,OAAkD;AAGlE,0BAA0B;AAC1B,qHAA8H;AAArH,kLAAA,OAAO,OAAmD;AAGnE,0BAA0B;AAC1B,uHAAgI;AAAvH,oLAAA,OAAO,OAAoD;AAGpE,0BAA0B"}
|
package/doc/README.md
CHANGED
|
@@ -1,70 +1,42 @@
|
|
|
1
|
-
@redhat-cloud-services/
|
|
1
|
+
@redhat-cloud-services/javascript-clients / [Exports](modules.md)
|
|
2
2
|
|
|
3
|
-
# Javascript
|
|
4
|
-
|
|
3
|
+
# Javascript Clients
|
|
4
|
+
Auto generated Javascript clients for swagger API
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
NPM
|
|
8
|
-
```bash
|
|
9
|
-
npm install --save @redhat-cloud-services/notifications-client
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Or Yarn
|
|
13
|
-
```bash
|
|
14
|
-
yarn add @redhat-cloud-services/notifications-client
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
### Usage
|
|
18
|
-
This client is using typescript and axios. Types are distributed with this package, so no need to define or install them separately.
|
|
6
|
+
### Overview
|
|
7
|
+
This repository is set up as a monorepo for all API clients to use one configuration and release cycle. This repo is using [NX](https://nx.dev/getting-started/intro) as its monorepo manager and [Github Actions](https://docs.github.com/en/actions) for CI/CD as well as publishing packages to NPM.
|
|
19
8
|
|
|
20
|
-
|
|
21
|
-
```JS
|
|
22
|
-
// api.js
|
|
23
|
-
import APIFactory from '@redhat-cloud-services/notifications-client/utils';
|
|
24
|
-
import createBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1CreateBehaviorGroup';
|
|
25
|
-
import updateBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1UpdateBehaviorGroup';
|
|
26
|
-
import deleteBehaviorGroup from '@redhat-cloud-services/notifications-client/NotificationResourceV1DeleteBehaviorGroup';
|
|
9
|
+
### Local development
|
|
27
10
|
|
|
28
|
-
|
|
29
|
-
const notificationsApi = APIFactory(BASE_PATH, undefined, { createBehaviorGroup, updateBehaviorGroup, deleteBehaviorGroup });
|
|
30
|
-
export notificationsApi;
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
If you want to add some interceptors you can use axios build in interceptors
|
|
34
|
-
```JS
|
|
35
|
-
// api.js
|
|
36
|
-
import axios from 'axios';
|
|
37
|
-
import { NotificationsApi } from '@redhat-cloud-services/notifications-client';
|
|
38
|
-
const instance = axios.create();
|
|
11
|
+
We are using Java to install and build this generator. Please install Java and preferably Maven as well so you don't have any issues when building this new generator.
|
|
39
12
|
|
|
40
|
-
|
|
41
|
-
instance.interceptors.request.use((request) => {
|
|
42
|
-
// some logic to do with request
|
|
43
|
-
});
|
|
13
|
+
* Once you have Java and Maven installed you can install dependencies by running `npm install`
|
|
44
14
|
|
|
45
|
-
|
|
46
|
-
instance.interceptors.response.use((response) => {
|
|
47
|
-
// some logic to do with request
|
|
48
|
-
});
|
|
15
|
+
* When you have dependencies installed you can run build anytime you change something in the generator `npm run build:generator`
|
|
49
16
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// some logic to do with error
|
|
53
|
-
});
|
|
17
|
+
### Creating a new client
|
|
18
|
+
Run `npm run create-client` and enter your new client name (e.g. entering `notifications` will generate `notifications-client`). All the necessary TS and NX config files will be created for you.
|
|
54
19
|
|
|
55
|
-
|
|
56
|
-
const notificationsApi = APIFactory(BASE_PATH, instance, { createBehaviorGroup, updateBehaviorGroup, deleteBehaviorGroup });
|
|
57
|
-
export notificationsApi;
|
|
58
|
-
```
|
|
20
|
+
**IMPORTANT! Ensure the `SPEC` URL in you `generate:prod` script in the `package.json` matches your spec correctly. Also, don't forget to update your packages's README with the correct install and usage information.**
|
|
59
21
|
|
|
60
|
-
|
|
22
|
+
### Generating and Building clients
|
|
61
23
|
|
|
62
|
-
|
|
24
|
+
From the root javascript-clients folder:
|
|
25
|
+
* To generate all clients run `npm run generate` -- The command **must** be run with git origin set to the upstream repository (**RedHatInsights/javascript-clients**) - this way the correct docs and references are generated.
|
|
26
|
+
* To build clients and generate their dist to be published run `npm run build` -- NX will only build packages when it detects that a change has been made to the client (otherwise it will reference the cache). After a client has been built, our `builder` (located in `packages/build-utils`) will move each client's `dist` into a top-level `dist` for publishing. Use `npx nx run-many --skip-nx-cache -t build --exclude=@redhat-cloud-services/CLIENTNAME-client` if you wish to build all clients regardless of whether or not a change has been made.
|
|
63
27
|
|
|
64
|
-
|
|
28
|
+
### Custom Module Federation Generator
|
|
65
29
|
|
|
66
|
-
|
|
30
|
+
As the default, we use `typescript-axios` to generate a client based on their OpenAPI spec. In addition, we have a custom generator available for use built with module federation in mind which allows for treeshaking by webpack. This will create a new folder for each endpoint allowing consumers to import only the endpoints they are going to use without the need of importing the entire API. This generator should be a replacement for the regular `typescript-axios` generator. See below for an example script to use the new generator:
|
|
67
31
|
|
|
68
|
-
|
|
32
|
+
```JSON
|
|
33
|
+
{
|
|
34
|
+
"name": "@redhat-cloud-services/some-client-name",
|
|
35
|
+
"version": "1.0.0",
|
|
36
|
+
"scripts": {
|
|
37
|
+
"generate": "TS_POST_PROCESS_FILE='../../postProcess.sh' openapi-generator-cli generate -i $SPEC --custom-generator=../../target/typescript-axios-webpack-module-federation-openapi-generator-1.0.0.jar -g typescript-axios-webpack-module-federation -o . --skip-validate-spec --enable-post-process-file"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
69
41
|
|
|
70
|
-
|
|
42
|
+
If you've previously used the `typescript-axios` generator you will also have to change the version of `generator-cli.version` in `openapitool.json` to at least `6.6.0`.
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [index](../modules/index.md) / BaseAPI
|
|
2
2
|
|
|
3
3
|
# Class: BaseAPI
|
|
4
4
|
|
|
5
|
+
[index](../modules/index.md).BaseAPI
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
BaseAPI
|
|
@@ -10,19 +12,19 @@ BaseAPI
|
|
|
10
12
|
|
|
11
13
|
### Constructors
|
|
12
14
|
|
|
13
|
-
- [constructor](BaseAPI.md#constructor)
|
|
15
|
+
- [constructor](index.BaseAPI.md#constructor)
|
|
14
16
|
|
|
15
17
|
### Properties
|
|
16
18
|
|
|
17
|
-
- [axios](BaseAPI.md#axios)
|
|
18
|
-
- [basePath](BaseAPI.md#basepath)
|
|
19
|
-
- [configuration](BaseAPI.md#configuration)
|
|
19
|
+
- [axios](index.BaseAPI.md#axios)
|
|
20
|
+
- [basePath](index.BaseAPI.md#basepath)
|
|
21
|
+
- [configuration](index.BaseAPI.md#configuration)
|
|
20
22
|
|
|
21
23
|
## Constructors
|
|
22
24
|
|
|
23
25
|
### constructor
|
|
24
26
|
|
|
25
|
-
• **new BaseAPI**(`configuration?`, `basePath?`, `axios?`): [`BaseAPI`](BaseAPI.md)
|
|
27
|
+
• **new BaseAPI**(`configuration?`, `basePath?`, `axios?`): [`BaseAPI`](index.BaseAPI.md)
|
|
26
28
|
|
|
27
29
|
#### Parameters
|
|
28
30
|
|
|
@@ -34,7 +36,7 @@ BaseAPI
|
|
|
34
36
|
|
|
35
37
|
#### Returns
|
|
36
38
|
|
|
37
|
-
[`BaseAPI`](BaseAPI.md)
|
|
39
|
+
[`BaseAPI`](index.BaseAPI.md)
|
|
38
40
|
|
|
39
41
|
#### Defined in
|
|
40
42
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [index](../modules/index.md) / RequiredError
|
|
2
2
|
|
|
3
3
|
# Class: RequiredError
|
|
4
4
|
|
|
5
|
+
[index](../modules/index.md).RequiredError
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
RequiredError
|
|
@@ -16,26 +18,26 @@ RequiredError
|
|
|
16
18
|
|
|
17
19
|
### Constructors
|
|
18
20
|
|
|
19
|
-
- [constructor](RequiredError.md#constructor)
|
|
21
|
+
- [constructor](index.RequiredError.md#constructor)
|
|
20
22
|
|
|
21
23
|
### Properties
|
|
22
24
|
|
|
23
|
-
- [field](RequiredError.md#field)
|
|
24
|
-
- [message](RequiredError.md#message)
|
|
25
|
-
- [name](RequiredError.md#name)
|
|
26
|
-
- [stack](RequiredError.md#stack)
|
|
27
|
-
- [prepareStackTrace](RequiredError.md#preparestacktrace)
|
|
28
|
-
- [stackTraceLimit](RequiredError.md#stacktracelimit)
|
|
25
|
+
- [field](index.RequiredError.md#field)
|
|
26
|
+
- [message](index.RequiredError.md#message)
|
|
27
|
+
- [name](index.RequiredError.md#name)
|
|
28
|
+
- [stack](index.RequiredError.md#stack)
|
|
29
|
+
- [prepareStackTrace](index.RequiredError.md#preparestacktrace)
|
|
30
|
+
- [stackTraceLimit](index.RequiredError.md#stacktracelimit)
|
|
29
31
|
|
|
30
32
|
### Methods
|
|
31
33
|
|
|
32
|
-
- [captureStackTrace](RequiredError.md#capturestacktrace)
|
|
34
|
+
- [captureStackTrace](index.RequiredError.md#capturestacktrace)
|
|
33
35
|
|
|
34
36
|
## Constructors
|
|
35
37
|
|
|
36
38
|
### constructor
|
|
37
39
|
|
|
38
|
-
• **new RequiredError**(`field`, `msg?`): [`RequiredError`](RequiredError.md)
|
|
40
|
+
• **new RequiredError**(`field`, `msg?`): [`RequiredError`](index.RequiredError.md)
|
|
39
41
|
|
|
40
42
|
#### Parameters
|
|
41
43
|
|
|
@@ -46,7 +48,7 @@ RequiredError
|
|
|
46
48
|
|
|
47
49
|
#### Returns
|
|
48
50
|
|
|
49
|
-
[`RequiredError`](RequiredError.md)
|
|
51
|
+
[`RequiredError`](index.RequiredError.md)
|
|
50
52
|
|
|
51
53
|
#### Overrides
|
|
52
54
|
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / EndpointStatus
|
|
2
2
|
|
|
3
3
|
# Enumeration: EndpointStatus
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).EndpointStatus
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Deleting](EndpointStatus.md#deleting)
|
|
12
|
-
- [Failed](EndpointStatus.md#failed)
|
|
13
|
-
- [New](EndpointStatus.md#new)
|
|
14
|
-
- [Provisioning](EndpointStatus.md#provisioning)
|
|
15
|
-
- [Ready](EndpointStatus.md#ready)
|
|
16
|
-
- [Unknown](EndpointStatus.md#unknown)
|
|
13
|
+
- [Deleting](types.EndpointStatus.md#deleting)
|
|
14
|
+
- [Failed](types.EndpointStatus.md#failed)
|
|
15
|
+
- [New](types.EndpointStatus.md#new)
|
|
16
|
+
- [Provisioning](types.EndpointStatus.md#provisioning)
|
|
17
|
+
- [Ready](types.EndpointStatus.md#ready)
|
|
18
|
+
- [Unknown](types.EndpointStatus.md#unknown)
|
|
17
19
|
|
|
18
20
|
## Enumeration Members
|
|
19
21
|
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / EndpointType
|
|
2
2
|
|
|
3
3
|
# Enumeration: EndpointType
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).EndpointType
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Ansible](EndpointType.md#ansible)
|
|
12
|
-
- [Camel](EndpointType.md#camel)
|
|
13
|
-
- [Drawer](EndpointType.md#drawer)
|
|
14
|
-
- [EmailSubscription](EndpointType.md#emailsubscription)
|
|
15
|
-
- [Webhook](EndpointType.md#webhook)
|
|
13
|
+
- [Ansible](types.EndpointType.md#ansible)
|
|
14
|
+
- [Camel](types.EndpointType.md#camel)
|
|
15
|
+
- [Drawer](types.EndpointType.md#drawer)
|
|
16
|
+
- [EmailSubscription](types.EndpointType.md#emailsubscription)
|
|
17
|
+
- [Webhook](types.EndpointType.md#webhook)
|
|
16
18
|
|
|
17
19
|
## Enumeration Members
|
|
18
20
|
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / Environment
|
|
2
2
|
|
|
3
3
|
# Enumeration: Environment
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).Environment
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Ephemeral](Environment.md#ephemeral)
|
|
12
|
-
- [LocalServer](Environment.md#localserver)
|
|
13
|
-
- [Prod](Environment.md#prod)
|
|
14
|
-
- [Stage](Environment.md#stage)
|
|
13
|
+
- [Ephemeral](types.Environment.md#ephemeral)
|
|
14
|
+
- [LocalServer](types.Environment.md#localserver)
|
|
15
|
+
- [Prod](types.Environment.md#prod)
|
|
16
|
+
- [Stage](types.Environment.md#stage)
|
|
15
17
|
|
|
16
18
|
## Enumeration Members
|
|
17
19
|
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / EventLogEntryActionStatus
|
|
2
2
|
|
|
3
3
|
# Enumeration: EventLogEntryActionStatus
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).EventLogEntryActionStatus
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Failed](EventLogEntryActionStatus.md#failed)
|
|
12
|
-
- [Processing](EventLogEntryActionStatus.md#processing)
|
|
13
|
-
- [Sent](EventLogEntryActionStatus.md#sent)
|
|
14
|
-
- [Success](EventLogEntryActionStatus.md#success)
|
|
15
|
-
- [Unknown](EventLogEntryActionStatus.md#unknown)
|
|
13
|
+
- [Failed](types.EventLogEntryActionStatus.md#failed)
|
|
14
|
+
- [Processing](types.EventLogEntryActionStatus.md#processing)
|
|
15
|
+
- [Sent](types.EventLogEntryActionStatus.md#sent)
|
|
16
|
+
- [Success](types.EventLogEntryActionStatus.md#success)
|
|
17
|
+
- [Unknown](types.EventLogEntryActionStatus.md#unknown)
|
|
16
18
|
|
|
17
19
|
## Enumeration Members
|
|
18
20
|
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / HttpType
|
|
2
2
|
|
|
3
3
|
# Enumeration: HttpType
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).HttpType
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Get](HttpType.md#get)
|
|
12
|
-
- [Post](HttpType.md#post)
|
|
13
|
-
- [Put](HttpType.md#put)
|
|
13
|
+
- [Get](types.HttpType.md#get)
|
|
14
|
+
- [Post](types.HttpType.md#post)
|
|
15
|
+
- [Put](types.HttpType.md#put)
|
|
14
16
|
|
|
15
17
|
## Enumeration Members
|
|
16
18
|
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / NotificationStatus
|
|
2
2
|
|
|
3
3
|
# Enumeration: NotificationStatus
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).NotificationStatus
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [FailedExternal](NotificationStatus.md#failedexternal)
|
|
12
|
-
- [FailedInternal](NotificationStatus.md#failedinternal)
|
|
13
|
-
- [Processing](NotificationStatus.md#processing)
|
|
14
|
-
- [Sent](NotificationStatus.md#sent)
|
|
15
|
-
- [Success](NotificationStatus.md#success)
|
|
13
|
+
- [FailedExternal](types.NotificationStatus.md#failedexternal)
|
|
14
|
+
- [FailedInternal](types.NotificationStatus.md#failedinternal)
|
|
15
|
+
- [Processing](types.NotificationStatus.md#processing)
|
|
16
|
+
- [Sent](types.NotificationStatus.md#sent)
|
|
17
|
+
- [Success](types.NotificationStatus.md#success)
|
|
16
18
|
|
|
17
19
|
## Enumeration Members
|
|
18
20
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / Status
|
|
2
2
|
|
|
3
3
|
# Enumeration: Status
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).Status
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Maintenance](Status.md#maintenance)
|
|
12
|
-
- [Up](Status.md#up)
|
|
13
|
+
- [Maintenance](types.Status.md#maintenance)
|
|
14
|
+
- [Up](types.Status.md#up)
|
|
13
15
|
|
|
14
16
|
## Enumeration Members
|
|
15
17
|
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / SubscriptionType
|
|
2
2
|
|
|
3
3
|
# Enumeration: SubscriptionType
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).SubscriptionType
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
## Table of contents
|
|
8
10
|
|
|
9
11
|
### Enumeration Members
|
|
10
12
|
|
|
11
|
-
- [Daily](SubscriptionType.md#daily)
|
|
12
|
-
- [Drawer](SubscriptionType.md#drawer)
|
|
13
|
-
- [Instant](SubscriptionType.md#instant)
|
|
13
|
+
- [Daily](types.SubscriptionType.md#daily)
|
|
14
|
+
- [Drawer](types.SubscriptionType.md#drawer)
|
|
15
|
+
- [Instant](types.SubscriptionType.md#instant)
|
|
14
16
|
|
|
15
17
|
## Enumeration Members
|
|
16
18
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [index](../modules/index.md) / RequestArgs
|
|
2
2
|
|
|
3
3
|
# Interface: RequestArgs
|
|
4
4
|
|
|
5
|
+
[index](../modules/index.md).RequestArgs
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
RequestArg
|
|
@@ -10,8 +12,8 @@ RequestArg
|
|
|
10
12
|
|
|
11
13
|
### Properties
|
|
12
14
|
|
|
13
|
-
- [options](RequestArgs.md#options)
|
|
14
|
-
- [url](RequestArgs.md#url)
|
|
15
|
+
- [options](index.RequestArgs.md#options)
|
|
16
|
+
- [url](index.RequestArgs.md#url)
|
|
15
17
|
|
|
16
18
|
## Properties
|
|
17
19
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / AddAccessRequest
|
|
2
2
|
|
|
3
3
|
# Interface: AddAccessRequest
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).AddAccessRequest
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
AddAccessRequest
|
|
@@ -10,8 +12,8 @@ AddAccessRequest
|
|
|
10
12
|
|
|
11
13
|
### Properties
|
|
12
14
|
|
|
13
|
-
- [application\_id](AddAccessRequest.md#application_id)
|
|
14
|
-
- [role](AddAccessRequest.md#role)
|
|
15
|
+
- [application\_id](types.AddAccessRequest.md#application_id)
|
|
16
|
+
- [role](types.AddAccessRequest.md#role)
|
|
15
17
|
|
|
16
18
|
## Properties
|
|
17
19
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
[@redhat-cloud-services/
|
|
1
|
+
[@redhat-cloud-services/javascript-clients](../README.md) / [Exports](../modules.md) / [types](../modules/types.md) / AddApplicationRequest
|
|
2
2
|
|
|
3
3
|
# Interface: AddApplicationRequest
|
|
4
4
|
|
|
5
|
+
[types](../modules/types.md).AddApplicationRequest
|
|
6
|
+
|
|
5
7
|
**`Export`**
|
|
6
8
|
|
|
7
9
|
AddApplicationRequest
|
|
@@ -10,10 +12,10 @@ AddApplicationRequest
|
|
|
10
12
|
|
|
11
13
|
### Properties
|
|
12
14
|
|
|
13
|
-
- [bundle\_id](AddApplicationRequest.md#bundle_id)
|
|
14
|
-
- [display\_name](AddApplicationRequest.md#display_name)
|
|
15
|
-
- [name](AddApplicationRequest.md#name)
|
|
16
|
-
- [owner\_role](AddApplicationRequest.md#owner_role)
|
|
15
|
+
- [bundle\_id](types.AddApplicationRequest.md#bundle_id)
|
|
16
|
+
- [display\_name](types.AddApplicationRequest.md#display_name)
|
|
17
|
+
- [name](types.AddApplicationRequest.md#name)
|
|
18
|
+
- [owner\_role](types.AddApplicationRequest.md#owner_role)
|
|
17
19
|
|
|
18
20
|
## Properties
|
|
19
21
|
|