@redhat-cloud-services/notifications-client 3.1.1 → 4.0.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/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/esm/EventResourceV1GetEvents/index.d.ts +113 -0
- package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/esm/EventResourceV1GetEvents/index.js +82 -0
- package/esm/EventResourceV1GetEvents/index.js.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +23 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +57 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +53 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/api.d.ts +54 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +32 -0
- package/esm/api.js.map +1 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +24 -0
- package/esm/index.js.map +1 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +39 -0
- package/esm/types/index.js.map +1 -0
- package/esm/v2/EventResourceV2GetEvents/index.d.ts.map +1 -0
- package/esm/v2/EventResourceV2GetEvents/index.js +82 -0
- package/esm/v2/EventResourceV2GetEvents/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js +32 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +31 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.js +57 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +1 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +30 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/v2/api.d.ts.map +1 -0
- package/esm/v2/api.js +30 -0
- package/esm/v2/api.js.map +1 -0
- package/esm/v2/index.d.ts.map +1 -0
- package/esm/v2/index.js +22 -0
- package/esm/v2/index.js.map +1 -0
- package/esm/v2/types/index.d.ts.map +1 -0
- package/esm/v2/types/index.js +39 -0
- package/esm/v2/types/index.js.map +1 -0
- package/index.d.ts +24 -0
- package/package.json +1 -1
- package/types/index.d.ts +828 -0
- package/v2/EventResourceV2GetEvents/index.d.ts +113 -0
- package/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +23 -0
- package/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +22 -0
- package/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBundleByName/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBundleFacets/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetEventTypes/index.d.ts +71 -0
- package/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +53 -0
- package/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +29 -0
- package/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +16 -0
- package/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/v2/api.d.ts +50 -0
- package/v2/index.d.ts +22 -0
- package/v2/types/index.d.ts +760 -0
- package/CHANGELOG.md +0 -122
- package/LICENSE +0 -201
- package/README.md +0 -76
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -42
- package/doc/enums/types.EndpointStatus.md +0 -78
- package/doc/enums/types.EndpointStatusDTO.md +0 -78
- package/doc/enums/types.EndpointType.md +0 -67
- package/doc/enums/types.EndpointTypeDTO.md +0 -67
- package/doc/enums/types.Environment.md +0 -56
- package/doc/enums/types.EventLogEntryActionStatus.md +0 -67
- package/doc/enums/types.HttpType.md +0 -45
- package/doc/enums/types.NotificationStatus.md +0 -67
- package/doc/enums/types.Status.md +0 -34
- package/doc/enums/types.SubscriptionType.md +0 -45
- package/doc/interfaces/types.AddAccessRequest.md +0 -44
- package/doc/interfaces/types.AddApplicationRequest.md +0 -74
- package/doc/interfaces/types.AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/types.AggregationEmailTemplateSubjectTemplate.md +0 -104
- package/doc/interfaces/types.Application.md +0 -104
- package/doc/interfaces/types.Application1.md +0 -44
- package/doc/interfaces/types.ApplicationDTO.md +0 -104
- package/doc/interfaces/types.ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/types.BasicAuthenticationDTO.md +0 -44
- package/doc/interfaces/types.BehaviorGroup.md +0 -149
- package/doc/interfaces/types.BehaviorGroupAction.md +0 -59
- package/doc/interfaces/types.BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/types.Bundle.md +0 -89
- package/doc/interfaces/types.BundleSettingsValue.md +0 -33
- package/doc/interfaces/types.CamelPropertiesDTO.md +0 -93
- package/doc/interfaces/types.CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/types.CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/types.CurrentStatus.md +0 -59
- package/doc/interfaces/types.DrawerEntryPayload.md +0 -119
- package/doc/interfaces/types.DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/types.Endpoint.md +0 -179
- package/doc/interfaces/types.EndpointDTO.md +0 -179
- package/doc/interfaces/types.EndpointPage.md +0 -63
- package/doc/interfaces/types.EndpointTestRequest.md +0 -29
- package/doc/interfaces/types.EventLogEntry.md +0 -119
- package/doc/interfaces/types.EventLogEntryAction.md +0 -125
- package/doc/interfaces/types.EventType.md +0 -179
- package/doc/interfaces/types.EventTypeBehavior.md +0 -59
- package/doc/interfaces/types.EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/types.EventTypeSettingsValue.md +0 -63
- package/doc/interfaces/types.Facet.md +0 -74
- package/doc/interfaces/types.InstantEmailTemplate.md +0 -149
- package/doc/interfaces/types.InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/types.InternalRoleAccess.md +0 -59
- package/doc/interfaces/types.InternalUserPermissions.md +0 -59
- package/doc/interfaces/types.MessageValidationResponse.md +0 -33
- package/doc/interfaces/types.Meta.md +0 -29
- package/doc/interfaces/types.NotificationHistory.md +0 -155
- package/doc/interfaces/types.PageBehaviorGroup.md +0 -63
- package/doc/interfaces/types.PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/types.PageEventLogEntry.md +0 -63
- package/doc/interfaces/types.PageEventType.md +0 -63
- package/doc/interfaces/types.PageNotificationHistory.md +0 -63
- package/doc/interfaces/types.RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/types.RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/types.RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/types.ServerInfo.md +0 -29
- package/doc/interfaces/types.SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/types.SystemSubscriptionPropertiesDTO.md +0 -59
- package/doc/interfaces/types.Template.md +0 -104
- package/doc/interfaces/types.TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/types.UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/types.UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/types.UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/types.WebhookPropertiesDTO.md +0 -104
- package/doc/interfaces/types.X509Certificate.md +0 -89
- package/doc/modules/DrawerResourceV1GetDrawerEntries.md +0 -78
- package/doc/modules/DrawerResourceV1UpdateNotificationReadStatus.md +0 -68
- package/doc/modules/EventResourceV1GetEvents.md +0 -83
- package/doc/modules/NotificationResourceV1AppendBehaviorGroupToEventType.md +0 -67
- package/doc/modules/NotificationResourceV1CreateBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md +0 -69
- package/doc/modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md +0 -68
- package/doc/modules/NotificationResourceV1GetApplicationByNameAndBundleName.md +0 -69
- package/doc/modules/NotificationResourceV1GetApplicationsFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleByName.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypes.md +0 -76
- package/doc/modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md +0 -70
- package/doc/modules/NotificationResourceV1GetLinkedBehaviorGroups.md +0 -73
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroup.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroupActions.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateEventTypeBehaviors.md +0 -69
- package/doc/modules/OrgConfigResourceV1GetDailyDigestTimePreference.md +0 -67
- package/doc/modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md +0 -68
- package/doc/modules/index.md +0 -624
- package/doc/modules/types.md +0 -77
- package/doc/modules.md +0 -32
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts.map +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts.map +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts.map +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.js.map +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
- /package/{dist/api.d.ts → api.d.ts} +0 -0
- /package/{dist/api.d.ts.map → api.d.ts.map} +0 -0
- /package/{dist/api.js → api.js} +0 -0
- /package/{dist/api.js.map → api.js.map} +0 -0
- /package/{dist → esm}/index.d.ts +0 -0
- /package/{dist → esm}/types/index.d.ts +0 -0
- /package/{dist → esm}/v2/EventResourceV2GetEvents/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBundleByName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBundleFacets/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypes/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +0 -0
- /package/{dist → esm}/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +0 -0
- /package/{dist → esm}/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +0 -0
- /package/{dist → esm}/v2/api.d.ts +0 -0
- /package/{dist → esm}/v2/index.d.ts +0 -0
- /package/{dist → esm}/v2/types/index.d.ts +0 -0
- /package/{dist/index.d.ts.map → index.d.ts.map} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/index.js.map → index.js.map} +0 -0
- /package/{dist/types → types}/index.d.ts.map +0 -0
- /package/{dist/types → types}/index.js +0 -0
- /package/{dist/types → types}/index.js.map +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.js +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +0 -0
- /package/{dist/v2 → v2}/api.d.ts.map +0 -0
- /package/{dist/v2 → v2}/api.js +0 -0
- /package/{dist/v2 → v2}/api.js.map +0 -0
- /package/{dist/v2 → v2}/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/index.js +0 -0
- /package/{dist/v2 → v2}/index.js.map +0 -0
- /package/{dist/v2 → v2}/types/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/types/index.js +0 -0
- /package/{dist/v2 → v2}/types/index.js.map +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { PageDrawerEntryPayload } from '../types';
|
|
4
|
+
export type DrawerResourceV1GetDrawerEntriesParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { Set<string> }
|
|
8
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
9
|
+
*/
|
|
10
|
+
appIds?: Set<string>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Set<string> }
|
|
14
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
15
|
+
*/
|
|
16
|
+
bundleIds?: Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
21
|
+
*/
|
|
22
|
+
endDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { Set<string> }
|
|
26
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
27
|
+
*/
|
|
28
|
+
eventTypeIds?: Set<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { number }
|
|
32
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
33
|
+
*/
|
|
34
|
+
limit?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { number }
|
|
38
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
39
|
+
*/
|
|
40
|
+
offset?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type { number }
|
|
44
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
45
|
+
*/
|
|
46
|
+
pageNumber?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type { boolean }
|
|
50
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
51
|
+
*/
|
|
52
|
+
readStatus?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type { string }
|
|
56
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
57
|
+
*/
|
|
58
|
+
sortBy?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type { string }
|
|
62
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
63
|
+
*/
|
|
64
|
+
sortBy2?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type { string }
|
|
68
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
69
|
+
*/
|
|
70
|
+
startDate?: string;
|
|
71
|
+
options?: AxiosRequestConfig;
|
|
72
|
+
};
|
|
73
|
+
export type DrawerResourceV1GetDrawerEntriesReturnType = AxiosPromise<PageDrawerEntryPayload>;
|
|
74
|
+
/**
|
|
75
|
+
* Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
76
|
+
* @summary Retrieve drawer notifications entries.
|
|
77
|
+
* @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
export declare const drawerResourceV1GetDrawerEntriesParamCreator: (...config: ([DrawerResourceV1GetDrawerEntriesParams] | [Set<string>, Set<string>, string, Set<string>, number, number, number, boolean, string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
82
|
+
export default drawerResourceV1GetDrawerEntriesParamCreator;
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../DrawerResourceV1GetDrawerEntries/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,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGvD,MAAM,MAAM,sCAAsC,GAAG;IACnD;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;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,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0CAA0C,GAAG,YAAY,CAAC,sBAAsB,CAAC,CAAC;AAK9F;;;;;;EAME;AACF,eAAO,MAAM,4CAA4C,cAAqB,CAAC,CAAC,sCAAsC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmE5Q,CAAA;AAED,eAAe,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isDrawerResourceV1GetDrawerEntriesObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
8
|
+
* @summary Retrieve drawer notifications entries.
|
|
9
|
+
* @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const drawerResourceV1GetDrawerEntriesParamCreator = async (...config) => {
|
|
14
|
+
const params = isDrawerResourceV1GetDrawerEntriesObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'eventTypeIds', 'limit', 'offset', 'pageNumber', 'readStatus', 'sortBy', 'sortBy2', 'startDate', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/drawer`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
if (appIds) {
|
|
23
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
24
|
+
}
|
|
25
|
+
if (bundleIds) {
|
|
26
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
27
|
+
}
|
|
28
|
+
if (endDate !== undefined) {
|
|
29
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
30
|
+
endDate.toISOString() :
|
|
31
|
+
endDate;
|
|
32
|
+
}
|
|
33
|
+
if (eventTypeIds) {
|
|
34
|
+
localVarQueryParameter['eventTypeIds'] = Array.from(eventTypeIds);
|
|
35
|
+
}
|
|
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 (readStatus !== undefined) {
|
|
46
|
+
localVarQueryParameter['readStatus'] = readStatus;
|
|
47
|
+
}
|
|
48
|
+
if (sortBy !== undefined) {
|
|
49
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
50
|
+
}
|
|
51
|
+
if (sortBy2 !== undefined) {
|
|
52
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
53
|
+
}
|
|
54
|
+
if (startDate !== undefined) {
|
|
55
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
56
|
+
startDate.toISOString() :
|
|
57
|
+
startDate;
|
|
58
|
+
}
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
61
|
+
return {
|
|
62
|
+
urlObj: localVarUrlObj,
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default drawerResourceV1GetDrawerEntriesParamCreator;
|
|
67
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkFjU,MAAM,8CAA8C,GAAG,CAAC,MAA4D,EAAsD,EAAE;IAC1K,OA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ACjB;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4CAA4C,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 { UpdateNotificationDrawerStatus } from '../types';
|
|
4
|
+
export type DrawerResourceV1UpdateNotificationReadStatusParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { UpdateNotificationDrawerStatus }
|
|
8
|
+
* @memberof DrawerResourceV1UpdateNotificationReadStatusApi
|
|
9
|
+
*/
|
|
10
|
+
updateNotificationDrawerStatus?: UpdateNotificationDrawerStatus;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type DrawerResourceV1UpdateNotificationReadStatusReturnType = AxiosPromise<number>;
|
|
14
|
+
/**
|
|
15
|
+
* Update drawer notifications status.
|
|
16
|
+
* @summary Update drawer notifications status.
|
|
17
|
+
* @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
22
|
+
export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../DrawerResourceV1UpdateNotificationReadStatus/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,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,CAAC,EAAE,8BAA8B,CAAC;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK1F;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,cAAqB,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5N,CAAA;AAED,eAAe,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isDrawerResourceV1UpdateNotificationReadStatusObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Update drawer notifications status.
|
|
8
|
+
* @summary Update drawer notifications status.
|
|
9
|
+
* @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const drawerResourceV1UpdateNotificationReadStatusParamCreator = async (...config) => {
|
|
14
|
+
const params = isDrawerResourceV1UpdateNotificationReadStatusObjectParams(config) ? config[0] : ['updateNotificationDrawerStatus', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { updateNotificationDrawerStatus, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/drawer/read`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
serializeData: updateNotificationDrawerStatus,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,0DAA0D,GAAG,CAAC,MAAwE,EAAkE,EAAE;IAC9M,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,wDAAwD,GAAG,KAAK,EAAE,GAAG,MAAqH,EAAwB,EAAE;IAC7N,MAAM,MAAM,GAAG,0DAA0D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAuD,CAAC;IAC1Q,MAAM,EAAE,8BAA8B,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAChE,MAAM,YAAY,GAAG,4BAA4B,CAAC;IAClD,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,8BAA8B;KAChD,CAAC;AACN,CAAC,CAAA;AAED,eAAe,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { EventLogEntryActionStatus, PageEventLogEntry } from '../types';
|
|
4
|
+
export type EventResourceV1GetEventsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { Set<string> }
|
|
8
|
+
* @memberof EventResourceV1GetEventsApi
|
|
9
|
+
*/
|
|
10
|
+
appIds?: Set<string>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Set<string> }
|
|
14
|
+
* @memberof EventResourceV1GetEventsApi
|
|
15
|
+
*/
|
|
16
|
+
bundleIds?: Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof EventResourceV1GetEventsApi
|
|
21
|
+
*/
|
|
22
|
+
endDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { Set<string> }
|
|
26
|
+
* @memberof EventResourceV1GetEventsApi
|
|
27
|
+
*/
|
|
28
|
+
endpointTypes?: Set<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof EventResourceV1GetEventsApi
|
|
33
|
+
*/
|
|
34
|
+
eventTypeDisplayName?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { boolean }
|
|
38
|
+
* @memberof EventResourceV1GetEventsApi
|
|
39
|
+
*/
|
|
40
|
+
includeActions?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type { boolean }
|
|
44
|
+
* @memberof EventResourceV1GetEventsApi
|
|
45
|
+
*/
|
|
46
|
+
includeDetails?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type { boolean }
|
|
50
|
+
* @memberof EventResourceV1GetEventsApi
|
|
51
|
+
*/
|
|
52
|
+
includePayload?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type { Set<boolean> }
|
|
56
|
+
* @memberof EventResourceV1GetEventsApi
|
|
57
|
+
*/
|
|
58
|
+
invocationResults?: Set<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type { number }
|
|
62
|
+
* @memberof EventResourceV1GetEventsApi
|
|
63
|
+
*/
|
|
64
|
+
limit?: number;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type { number }
|
|
68
|
+
* @memberof EventResourceV1GetEventsApi
|
|
69
|
+
*/
|
|
70
|
+
offset?: number;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type { number }
|
|
74
|
+
* @memberof EventResourceV1GetEventsApi
|
|
75
|
+
*/
|
|
76
|
+
pageNumber?: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type { string }
|
|
80
|
+
* @memberof EventResourceV1GetEventsApi
|
|
81
|
+
*/
|
|
82
|
+
sortBy?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type { string }
|
|
86
|
+
* @memberof EventResourceV1GetEventsApi
|
|
87
|
+
*/
|
|
88
|
+
sortBy2?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type { string }
|
|
92
|
+
* @memberof EventResourceV1GetEventsApi
|
|
93
|
+
*/
|
|
94
|
+
startDate?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type { Set<EventLogEntryActionStatus> }
|
|
98
|
+
* @memberof EventResourceV1GetEventsApi
|
|
99
|
+
*/
|
|
100
|
+
status?: Set<EventLogEntryActionStatus>;
|
|
101
|
+
options?: AxiosRequestConfig;
|
|
102
|
+
};
|
|
103
|
+
export type EventResourceV1GetEventsReturnType = AxiosPromise<PageEventLogEntry>;
|
|
104
|
+
/**
|
|
105
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
106
|
+
* @summary Retrieve the event log entries
|
|
107
|
+
* @param {EventResourceV1GetEventsParams} config with all available params.
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
export declare const eventResourceV1GetEventsParamCreator: (...config: ([EventResourceV1GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
112
|
+
export default eventResourceV1GetEventsParamCreator;
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../EventResourceV1GetEvents/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,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7E,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;MAIE;IACF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,iBAAiB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC;;;;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;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAKjF;;;;;;EAME;AACF,eAAO,MAAM,oCAAoC,cAAqB,CAAC,CAAC,8BAA8B,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuFpU,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isEventResourceV1GetEventsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
8
|
+
* @summary Retrieve the event log entries
|
|
9
|
+
* @param {EventResourceV1GetEventsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const eventResourceV1GetEventsParamCreator = async (...config) => {
|
|
14
|
+
const params = isEventResourceV1GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/events`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
if (appIds) {
|
|
23
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
24
|
+
}
|
|
25
|
+
if (bundleIds) {
|
|
26
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
27
|
+
}
|
|
28
|
+
if (endDate !== undefined) {
|
|
29
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
30
|
+
endDate.toISOString().substr(0, 10) :
|
|
31
|
+
endDate;
|
|
32
|
+
}
|
|
33
|
+
if (endpointTypes) {
|
|
34
|
+
localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
|
|
35
|
+
}
|
|
36
|
+
if (eventTypeDisplayName !== undefined) {
|
|
37
|
+
localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
|
|
38
|
+
}
|
|
39
|
+
if (includeActions !== undefined) {
|
|
40
|
+
localVarQueryParameter['includeActions'] = includeActions;
|
|
41
|
+
}
|
|
42
|
+
if (includeDetails !== undefined) {
|
|
43
|
+
localVarQueryParameter['includeDetails'] = includeDetails;
|
|
44
|
+
}
|
|
45
|
+
if (includePayload !== undefined) {
|
|
46
|
+
localVarQueryParameter['includePayload'] = includePayload;
|
|
47
|
+
}
|
|
48
|
+
if (invocationResults) {
|
|
49
|
+
localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
|
|
50
|
+
}
|
|
51
|
+
if (limit !== undefined) {
|
|
52
|
+
localVarQueryParameter['limit'] = limit;
|
|
53
|
+
}
|
|
54
|
+
if (offset !== undefined) {
|
|
55
|
+
localVarQueryParameter['offset'] = offset;
|
|
56
|
+
}
|
|
57
|
+
if (pageNumber !== undefined) {
|
|
58
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
59
|
+
}
|
|
60
|
+
if (sortBy !== undefined) {
|
|
61
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
62
|
+
}
|
|
63
|
+
if (sortBy2 !== undefined) {
|
|
64
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
65
|
+
}
|
|
66
|
+
if (startDate !== undefined) {
|
|
67
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
68
|
+
startDate.toISOString().substr(0, 10) :
|
|
69
|
+
startDate;
|
|
70
|
+
}
|
|
71
|
+
if (status) {
|
|
72
|
+
localVarQueryParameter['status'] = Array.from(status);
|
|
73
|
+
}
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
76
|
+
return {
|
|
77
|
+
urlObj: localVarUrlObj,
|
|
78
|
+
options: localVarRequestOptions,
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export default eventResourceV1GetEventsParamCreator;
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0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AAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV1AppendBehaviorGroupToEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupUuid: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeUuid: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1AppendBehaviorGroupToEventTypeReturnType = AxiosPromise<void>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Add a behavior group to the given event type.
|
|
22
|
+
* @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator: (...config: ([NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,0DAA0D,GAAG;IACvE;;;;MAIE;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8DAA8D,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AAKhG;;;;;;EAME;AACF,eAAO,MAAM,gEAAgE,cAAqB,CAAC,CAAC,0DAA0D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqB5N,CAAA;AAED,eAAe,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @summary Add a behavior group to the given event type.
|
|
9
|
+
* @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { behaviorGroupUuid, eventTypeUuid, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
|
|
17
|
+
.replace(`{${"behaviorGroupUuid"}}`, encodeURIComponent(String(behaviorGroupUuid)))
|
|
18
|
+
.replace(`{${"eventTypeUuid"}}`, encodeURIComponent(String(eventTypeUuid)));
|
|
19
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
22
|
+
const localVarHeaderParameter = {};
|
|
23
|
+
const localVarQueryParameter = {};
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,kEAAkE,GAAG,CAAC,MAAgF,EAA0E,EAAE;IACtO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAClK,CAAC,CAAA;A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AA;AAED,eAAe,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { CreateBehaviorGroupRequest, CreateBehaviorGroupResponse } from '../types';
|
|
4
|
+
export type NotificationResourceV1CreateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { CreateBehaviorGroupRequest }
|
|
8
|
+
* @memberof NotificationResourceV1CreateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
createBehaviorGroupRequest: CreateBehaviorGroupRequest;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type NotificationResourceV1CreateBehaviorGroupReturnType = AxiosPromise<CreateBehaviorGroupResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
16
|
+
* @summary Create a behavior group
|
|
17
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
22
|
+
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAGxF,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,2BAA2B,CAAC,CAAC;AAK5G;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
8
|
+
* @summary Create a behavior group
|
|
9
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1CreateBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { createBehaviorGroupRequest, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
serializeData: createBehaviorGroupRequest,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAA;AAC1G,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,GAAG,MAA8G,EAAwB,EAAE;IACnN,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,4BAA4B,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAoD,CAAC;IAChQ,MAAM,EAAE,0BAA0B,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5D,MAAM,YAAY,GAAG,+BAA+B,CAAC;IACrD,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAgB,EAAE,GAAG,OAAO,EAAC,CAAC;IACvE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,0BAA0B;KAC5C,CAAC;AACN,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV1DeleteBehaviorGroupParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to delete
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupApi
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1DeleteBehaviorGroupReturnType = AxiosPromise<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
15
|
+
* @summary Delete a behavior group
|
|
16
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
21
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AAKxF;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1DeleteBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
8
|
+
* @summary Delete a behavior group
|
|
9
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { id, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
17
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'DELETE', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|