@redhat-cloud-services/notifications-client 2.0.6 → 2.2.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/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -0
- package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +7 -52
- package/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js +48 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +1 -0
- package/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +7 -52
- package/EventResourceV1GetEvents/index.js.map +1 -0
- package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +48 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js +48 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +48 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +47 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +48 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js +49 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleByName/index.js +47 -0
- package/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleFacets/index.js +49 -0
- package/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +7 -52
- package/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js +62 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js +49 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +46 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +48 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/api.d.ts → api.d.ts} +76 -8
- package/api.d.ts.map +1 -0
- package/{dist/api.js → api.js} +156 -219
- package/api.js.map +1 -0
- package/{dist/base.d.ts → base.d.ts} +1 -0
- package/base.d.ts.map +1 -0
- package/{dist/base.js → base.js} +3 -16
- package/base.js.map +1 -0
- package/{dist/common.d.ts → common.d.ts} +1 -0
- package/common.d.ts.map +1 -0
- package/{dist/common.js → common.js} +9 -54
- package/common.js.map +1 -0
- package/{dist/configuration.d.ts → configuration.d.ts} +1 -0
- package/configuration.d.ts.map +1 -0
- package/{dist/utils/configuration.js → configuration.js} +1 -0
- package/configuration.js.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +81 -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 +22 -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 +112 -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 +27 -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 +22 -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 +21 -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 +27 -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 +21 -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 +27 -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 +21 -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 +21 -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 +21 -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 +21 -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 +63 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +54 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +21 -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 +33 -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 +51 -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 +28 -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 +27 -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 +27 -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/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +15 -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 +21 -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 +3364 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +2513 -0
- package/esm/api.js.map +1 -0
- package/esm/base.d.ts +55 -0
- package/esm/base.d.ts.map +1 -0
- package/esm/base.js +55 -0
- package/esm/base.js.map +1 -0
- package/esm/common.d.ts +66 -0
- package/esm/common.d.ts.map +1 -0
- package/esm/common.js +134 -0
- package/esm/common.js.map +1 -0
- package/{dist/utils → esm}/configuration.d.ts +1 -0
- package/esm/configuration.d.ts.map +1 -0
- package/esm/configuration.js +28 -0
- package/esm/configuration.js.map +1 -0
- package/esm/index.d.ts +27 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +50 -0
- package/esm/index.js.map +1 -0
- package/{dist → esm}/types/index.d.ts +76 -8
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +90 -0
- package/esm/types/index.js.map +1 -0
- package/{dist → esm}/utils/base.d.ts +2 -1
- package/esm/utils/base.d.ts.map +1 -0
- package/esm/utils/base.js +125 -0
- package/esm/utils/base.js.map +1 -0
- package/{dist → esm}/utils/common.d.ts +1 -0
- package/esm/utils/common.d.ts.map +1 -0
- package/esm/utils/common.js +123 -0
- package/esm/utils/common.js.map +1 -0
- package/esm/utils/configuration.d.ts +73 -0
- package/esm/utils/configuration.d.ts.map +1 -0
- package/esm/utils/configuration.js +28 -0
- package/esm/utils/configuration.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -0
- package/index.js +76 -0
- package/index.js.map +1 -0
- package/package.json +28 -27
- package/types/index.d.ts +1875 -0
- package/types/index.d.ts.map +1 -0
- package/{dist/types → types}/index.js +1 -0
- package/types/index.js.map +1 -0
- package/utils/base.d.ts +85 -0
- package/utils/base.d.ts.map +1 -0
- package/{dist/utils → utils}/base.js +13 -73
- package/utils/base.js.map +1 -0
- package/utils/common.d.ts +55 -0
- package/utils/common.d.ts.map +1 -0
- package/{dist/utils → utils}/common.js +9 -54
- package/utils/common.js.map +1 -0
- package/utils/configuration.d.ts +73 -0
- package/utils/configuration.d.ts.map +1 -0
- package/{dist → utils}/configuration.js +1 -0
- package/utils/configuration.js.map +1 -0
- package/LICENSE +0 -201
- package/README.md +0 -59
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -93
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -93
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +0 -93
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -93
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -92
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -93
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleByName/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -94
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -116
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -94
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -94
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -94
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -91
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -93
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -88
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -61
- package/doc/classes/BaseAPI.md +0 -125
- package/doc/classes/Configuration.md +0 -194
- package/doc/classes/RequiredError.md +0 -179
- package/doc/enums/EndpointStatus.md +0 -76
- package/doc/enums/EndpointType.md +0 -65
- package/doc/enums/Environment.md +0 -54
- package/doc/enums/EventLogEntryActionStatus.md +0 -65
- package/doc/enums/HttpType.md +0 -43
- package/doc/enums/NotificationStatus.md +0 -65
- package/doc/enums/Status.md +0 -32
- package/doc/enums/SubscriptionType.md +0 -43
- package/doc/interfaces/AddAccessRequest.md +0 -44
- package/doc/interfaces/AddApplicationRequest.md +0 -74
- package/doc/interfaces/AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/ApiConfig.md +0 -30
- package/doc/interfaces/Application.md +0 -104
- package/doc/interfaces/Application1.md +0 -44
- package/doc/interfaces/ApplicationDTO.md +0 -104
- package/doc/interfaces/ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/BasicAuthentication.md +0 -44
- package/doc/interfaces/BehaviorGroup.md +0 -149
- package/doc/interfaces/BehaviorGroupAction.md +0 -59
- package/doc/interfaces/BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/Bundle.md +0 -89
- package/doc/interfaces/BundleSettingsValue.md +0 -33
- package/doc/interfaces/CamelProperties.md +0 -123
- package/doc/interfaces/ConfigurationParameters.md +0 -89
- package/doc/interfaces/CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/CurrentStatus.md +0 -59
- package/doc/interfaces/DrawerEntryPayload.md +0 -104
- package/doc/interfaces/DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/Endpoint.md +0 -179
- package/doc/interfaces/EndpointPage.md +0 -63
- package/doc/interfaces/EndpointTestRequest.md +0 -29
- package/doc/interfaces/EventLogEntry.md +0 -119
- package/doc/interfaces/EventLogEntryAction.md +0 -125
- package/doc/interfaces/EventType.md +0 -134
- package/doc/interfaces/EventTypeBehavior.md +0 -59
- package/doc/interfaces/EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/EventTypeSettingsValue.md +0 -48
- package/doc/interfaces/Facet.md +0 -74
- package/doc/interfaces/InstantEmailTemplate.md +0 -149
- package/doc/interfaces/InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/InternalRoleAccess.md +0 -59
- package/doc/interfaces/InternalUserPermissions.md +0 -59
- package/doc/interfaces/MessageValidationResponse.md +0 -33
- package/doc/interfaces/Meta.md +0 -29
- package/doc/interfaces/NotificationHistory.md +0 -155
- package/doc/interfaces/PageBehaviorGroup.md +0 -63
- package/doc/interfaces/PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/PageEventLogEntry.md +0 -63
- package/doc/interfaces/PageEventType.md +0 -63
- package/doc/interfaces/PageNotificationHistory.md +0 -63
- package/doc/interfaces/RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/RequestArgs.md +0 -58
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/ServerInfo.md +0 -29
- package/doc/interfaces/SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/SystemSubscriptionProperties.md +0 -59
- package/doc/interfaces/Template.md +0 -104
- package/doc/interfaces/TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/WebhookProperties.md +0 -104
- package/doc/interfaces/X509Certificate.md +0 -89
- package/doc/modules.md +0 -1111
- package/openapitools.json +0 -7
- package/postProcess.sh +0 -4
- package/tsconfig-cjs.json +0 -19
- package/tsconfig-esm.json +0 -21
- package/tsconfig.json +0 -18
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.js +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.js +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.js +0 -0
- /package/{dist/utils → utils}/index.d.ts +0 -0
- /package/{dist/utils → utils}/index.js +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = function (params) {
|
|
54
|
-
return params.length === 1;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
58
|
-
* @summary Retrieve the daily digest time
|
|
59
|
-
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
_a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/org-config/daily-digest/time-preference";
|
|
77
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
79
|
-
localVarHeaderParameter = {};
|
|
80
|
-
localVarQueryParameter = {};
|
|
81
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
82
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
83
|
-
return [2 /*return*/, {
|
|
84
|
-
urlObj: localVarUrlObj,
|
|
85
|
-
options: localVarRequestOptions,
|
|
86
|
-
}];
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
91
|
-
exports.default = exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && true;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
58
|
-
* @summary Set the daily digest time
|
|
59
|
-
* @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/org-config/daily-digest/time-preference";
|
|
77
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'PUT' }, options);
|
|
79
|
-
localVarHeaderParameter = {};
|
|
80
|
-
localVarQueryParameter = {};
|
|
81
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
84
|
-
return [2 /*return*/, {
|
|
85
|
-
urlObj: localVarUrlObj,
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
serializeData: body,
|
|
88
|
-
}];
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
exports.orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
|
93
|
-
exports.default = exports.orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
package/dist/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from './utils/base';
|
|
2
|
-
export * from './utils/common';
|
|
3
|
-
export * from './utils/configuration';
|
|
4
|
-
export * from './types';
|
|
5
|
-
export { default as drawerResourceV1GetDrawerEntriesParamCreator } from './DrawerResourceV1GetDrawerEntries';
|
|
6
|
-
export { default as drawerResourceV1UpdateNotificationReadStatusParamCreator } from './DrawerResourceV1UpdateNotificationReadStatus';
|
|
7
|
-
export { default as eventResourceV1GetEventsParamCreator } from './EventResourceV1GetEvents';
|
|
8
|
-
export { default as notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator } from './NotificationResourceV1AppendBehaviorGroupToEventType';
|
|
9
|
-
export { default as notificationResourceV1CreateBehaviorGroupParamCreator } from './NotificationResourceV1CreateBehaviorGroup';
|
|
10
|
-
export { default as notificationResourceV1DeleteBehaviorGroupParamCreator } from './NotificationResourceV1DeleteBehaviorGroup';
|
|
11
|
-
export { default as notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator } from './NotificationResourceV1DeleteBehaviorGroupFromEventType';
|
|
12
|
-
export { default as notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator } from './NotificationResourceV1FindBehaviorGroupsByBundleId';
|
|
13
|
-
export { default as notificationResourceV1GetApplicationByNameAndBundleNameParamCreator } from './NotificationResourceV1GetApplicationByNameAndBundleName';
|
|
14
|
-
export { default as notificationResourceV1GetApplicationsFacetsParamCreator } from './NotificationResourceV1GetApplicationsFacets';
|
|
15
|
-
export { default as notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator } from './NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint';
|
|
16
|
-
export { default as notificationResourceV1GetBundleByNameParamCreator } from './NotificationResourceV1GetBundleByName';
|
|
17
|
-
export { default as notificationResourceV1GetBundleFacetsParamCreator } from './NotificationResourceV1GetBundleFacets';
|
|
18
|
-
export { default as notificationResourceV1GetEventTypesParamCreator } from './NotificationResourceV1GetEventTypes';
|
|
19
|
-
export { default as notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator } from './NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup';
|
|
20
|
-
export { default as notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator } from './NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName';
|
|
21
|
-
export { default as notificationResourceV1GetLinkedBehaviorGroupsParamCreator } from './NotificationResourceV1GetLinkedBehaviorGroups';
|
|
22
|
-
export { default as notificationResourceV1UpdateBehaviorGroupParamCreator } from './NotificationResourceV1UpdateBehaviorGroup';
|
|
23
|
-
export { default as notificationResourceV1UpdateBehaviorGroupActionsParamCreator } from './NotificationResourceV1UpdateBehaviorGroupActions';
|
|
24
|
-
export { default as notificationResourceV1UpdateEventTypeBehaviorsParamCreator } from './NotificationResourceV1UpdateEventTypeBehaviors';
|
|
25
|
-
export { default as orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator } from './OrgConfigResourceV1GetDailyDigestTimePreference';
|
|
26
|
-
export { default as orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator } from './OrgConfigResourceV1SaveDailyDigestTimePreference';
|
package/dist/index.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This is a sample supporting file mustache template.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator = exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator = exports.notificationResourceV1UpdateBehaviorGroupParamCreator = exports.notificationResourceV1GetLinkedBehaviorGroupsParamCreator = exports.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = exports.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = exports.notificationResourceV1GetEventTypesParamCreator = exports.notificationResourceV1GetBundleFacetsParamCreator = exports.notificationResourceV1GetBundleByNameParamCreator = exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = exports.notificationResourceV1GetApplicationsFacetsParamCreator = exports.notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = exports.notificationResourceV1DeleteBehaviorGroupParamCreator = exports.notificationResourceV1CreateBehaviorGroupParamCreator = exports.notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = exports.eventResourceV1GetEventsParamCreator = exports.drawerResourceV1UpdateNotificationReadStatusParamCreator = exports.drawerResourceV1GetDrawerEntriesParamCreator = void 0;
|
|
19
|
-
__exportStar(require("./utils/base"), exports);
|
|
20
|
-
__exportStar(require("./utils/common"), exports);
|
|
21
|
-
__exportStar(require("./utils/configuration"), exports);
|
|
22
|
-
__exportStar(require("./types"), exports);
|
|
23
|
-
var DrawerResourceV1GetDrawerEntries_1 = require("./DrawerResourceV1GetDrawerEntries");
|
|
24
|
-
Object.defineProperty(exports, "drawerResourceV1GetDrawerEntriesParamCreator", { enumerable: true, get: function () { return DrawerResourceV1GetDrawerEntries_1.default; } });
|
|
25
|
-
// end of operations block
|
|
26
|
-
var DrawerResourceV1UpdateNotificationReadStatus_1 = require("./DrawerResourceV1UpdateNotificationReadStatus");
|
|
27
|
-
Object.defineProperty(exports, "drawerResourceV1UpdateNotificationReadStatusParamCreator", { enumerable: true, get: function () { return DrawerResourceV1UpdateNotificationReadStatus_1.default; } });
|
|
28
|
-
// end of operations block
|
|
29
|
-
var EventResourceV1GetEvents_1 = require("./EventResourceV1GetEvents");
|
|
30
|
-
Object.defineProperty(exports, "eventResourceV1GetEventsParamCreator", { enumerable: true, get: function () { return EventResourceV1GetEvents_1.default; } });
|
|
31
|
-
// end of operations block
|
|
32
|
-
var NotificationResourceV1AppendBehaviorGroupToEventType_1 = require("./NotificationResourceV1AppendBehaviorGroupToEventType");
|
|
33
|
-
Object.defineProperty(exports, "notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator", { enumerable: true, get: function () { return NotificationResourceV1AppendBehaviorGroupToEventType_1.default; } });
|
|
34
|
-
// end of operations block
|
|
35
|
-
var NotificationResourceV1CreateBehaviorGroup_1 = require("./NotificationResourceV1CreateBehaviorGroup");
|
|
36
|
-
Object.defineProperty(exports, "notificationResourceV1CreateBehaviorGroupParamCreator", { enumerable: true, get: function () { return NotificationResourceV1CreateBehaviorGroup_1.default; } });
|
|
37
|
-
// end of operations block
|
|
38
|
-
var NotificationResourceV1DeleteBehaviorGroup_1 = require("./NotificationResourceV1DeleteBehaviorGroup");
|
|
39
|
-
Object.defineProperty(exports, "notificationResourceV1DeleteBehaviorGroupParamCreator", { enumerable: true, get: function () { return NotificationResourceV1DeleteBehaviorGroup_1.default; } });
|
|
40
|
-
// end of operations block
|
|
41
|
-
var NotificationResourceV1DeleteBehaviorGroupFromEventType_1 = require("./NotificationResourceV1DeleteBehaviorGroupFromEventType");
|
|
42
|
-
Object.defineProperty(exports, "notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator", { enumerable: true, get: function () { return NotificationResourceV1DeleteBehaviorGroupFromEventType_1.default; } });
|
|
43
|
-
// end of operations block
|
|
44
|
-
var NotificationResourceV1FindBehaviorGroupsByBundleId_1 = require("./NotificationResourceV1FindBehaviorGroupsByBundleId");
|
|
45
|
-
Object.defineProperty(exports, "notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator", { enumerable: true, get: function () { return NotificationResourceV1FindBehaviorGroupsByBundleId_1.default; } });
|
|
46
|
-
// end of operations block
|
|
47
|
-
var NotificationResourceV1GetApplicationByNameAndBundleName_1 = require("./NotificationResourceV1GetApplicationByNameAndBundleName");
|
|
48
|
-
Object.defineProperty(exports, "notificationResourceV1GetApplicationByNameAndBundleNameParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetApplicationByNameAndBundleName_1.default; } });
|
|
49
|
-
// end of operations block
|
|
50
|
-
var NotificationResourceV1GetApplicationsFacets_1 = require("./NotificationResourceV1GetApplicationsFacets");
|
|
51
|
-
Object.defineProperty(exports, "notificationResourceV1GetApplicationsFacetsParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetApplicationsFacets_1.default; } });
|
|
52
|
-
// end of operations block
|
|
53
|
-
var NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint_1 = require("./NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint");
|
|
54
|
-
Object.defineProperty(exports, "notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint_1.default; } });
|
|
55
|
-
// end of operations block
|
|
56
|
-
var NotificationResourceV1GetBundleByName_1 = require("./NotificationResourceV1GetBundleByName");
|
|
57
|
-
Object.defineProperty(exports, "notificationResourceV1GetBundleByNameParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetBundleByName_1.default; } });
|
|
58
|
-
// end of operations block
|
|
59
|
-
var NotificationResourceV1GetBundleFacets_1 = require("./NotificationResourceV1GetBundleFacets");
|
|
60
|
-
Object.defineProperty(exports, "notificationResourceV1GetBundleFacetsParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetBundleFacets_1.default; } });
|
|
61
|
-
// end of operations block
|
|
62
|
-
var NotificationResourceV1GetEventTypes_1 = require("./NotificationResourceV1GetEventTypes");
|
|
63
|
-
Object.defineProperty(exports, "notificationResourceV1GetEventTypesParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypes_1.default; } });
|
|
64
|
-
// end of operations block
|
|
65
|
-
var NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup_1 = require("./NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup");
|
|
66
|
-
Object.defineProperty(exports, "notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup_1.default; } });
|
|
67
|
-
// end of operations block
|
|
68
|
-
var NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName_1 = require("./NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName");
|
|
69
|
-
Object.defineProperty(exports, "notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName_1.default; } });
|
|
70
|
-
// end of operations block
|
|
71
|
-
var NotificationResourceV1GetLinkedBehaviorGroups_1 = require("./NotificationResourceV1GetLinkedBehaviorGroups");
|
|
72
|
-
Object.defineProperty(exports, "notificationResourceV1GetLinkedBehaviorGroupsParamCreator", { enumerable: true, get: function () { return NotificationResourceV1GetLinkedBehaviorGroups_1.default; } });
|
|
73
|
-
// end of operations block
|
|
74
|
-
var NotificationResourceV1UpdateBehaviorGroup_1 = require("./NotificationResourceV1UpdateBehaviorGroup");
|
|
75
|
-
Object.defineProperty(exports, "notificationResourceV1UpdateBehaviorGroupParamCreator", { enumerable: true, get: function () { return NotificationResourceV1UpdateBehaviorGroup_1.default; } });
|
|
76
|
-
// end of operations block
|
|
77
|
-
var NotificationResourceV1UpdateBehaviorGroupActions_1 = require("./NotificationResourceV1UpdateBehaviorGroupActions");
|
|
78
|
-
Object.defineProperty(exports, "notificationResourceV1UpdateBehaviorGroupActionsParamCreator", { enumerable: true, get: function () { return NotificationResourceV1UpdateBehaviorGroupActions_1.default; } });
|
|
79
|
-
// end of operations block
|
|
80
|
-
var NotificationResourceV1UpdateEventTypeBehaviors_1 = require("./NotificationResourceV1UpdateEventTypeBehaviors");
|
|
81
|
-
Object.defineProperty(exports, "notificationResourceV1UpdateEventTypeBehaviorsParamCreator", { enumerable: true, get: function () { return NotificationResourceV1UpdateEventTypeBehaviors_1.default; } });
|
|
82
|
-
// end of operations block
|
|
83
|
-
var OrgConfigResourceV1GetDailyDigestTimePreference_1 = require("./OrgConfigResourceV1GetDailyDigestTimePreference");
|
|
84
|
-
Object.defineProperty(exports, "orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator", { enumerable: true, get: function () { return OrgConfigResourceV1GetDailyDigestTimePreference_1.default; } });
|
|
85
|
-
// end of operations block
|
|
86
|
-
var OrgConfigResourceV1SaveDailyDigestTimePreference_1 = require("./OrgConfigResourceV1SaveDailyDigestTimePreference");
|
|
87
|
-
Object.defineProperty(exports, "orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator", { enumerable: true, get: function () { return OrgConfigResourceV1SaveDailyDigestTimePreference_1.default; } });
|
|
88
|
-
// end of operations block
|
package/doc/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
package/doc/README.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
@redhat-cloud-services/notifications-client / [Exports](modules.md)
|
|
2
|
-
|
|
3
|
-
# Javascript client for Notifications API
|
|
4
|
-
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 this service.
|
|
5
|
-
|
|
6
|
-
## Install
|
|
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.
|
|
19
|
-
|
|
20
|
-
To correctly bootstrap this API you should use this config (no need to define it multiple times, just one config and reimport it anywhere you want to use it).
|
|
21
|
-
```JS
|
|
22
|
-
// api.js
|
|
23
|
-
import axios from 'axios';
|
|
24
|
-
import { NotificationsApi } from '@redhat-cloud-services/notifications-client';
|
|
25
|
-
const instance = axios.create();
|
|
26
|
-
|
|
27
|
-
// BASE_PATH should be set in your constants file
|
|
28
|
-
const notificationsApi = new NotificationsApi(undefined, BASE_PATH, instance);
|
|
29
|
-
export notificationsApi;
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
If you want to add some interceptors you can use axios build in interceptors
|
|
33
|
-
```JS
|
|
34
|
-
// api.js
|
|
35
|
-
import axios from 'axios';
|
|
36
|
-
import { NotificationsApi } from '@redhat-cloud-services/notifications-client';
|
|
37
|
-
const instance = axios.create();
|
|
38
|
-
|
|
39
|
-
// Request interceptor
|
|
40
|
-
instance.interceptors.request.use((request) => {
|
|
41
|
-
// some logic to do with request
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
// Response interceptor
|
|
45
|
-
instance.interceptors.response.use((response) => {
|
|
46
|
-
// some logic to do with request
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
// Error interceptor
|
|
50
|
-
instance.interceptors.response.use(null, (error) => {
|
|
51
|
-
// some logic to do with error
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
// BASE_PATH should be set in your constants file
|
|
55
|
-
const notificationsApi = new NotificationsApi(undefined, BASE_PATH, instance);
|
|
56
|
-
export notificationsApi;
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## API documentation
|
|
60
|
-
|
|
61
|
-
* [README](doc/README.md)
|
package/doc/classes/BaseAPI.md
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
[@redhat-cloud-services/notifications-client](../README.md) / [Exports](../modules.md) / BaseAPI
|
|
2
|
-
|
|
3
|
-
# Class: BaseAPI
|
|
4
|
-
|
|
5
|
-
Base API to store config, basepath and axios instance.
|
|
6
|
-
|
|
7
|
-
**`Export`**
|
|
8
|
-
|
|
9
|
-
## Table of contents
|
|
10
|
-
|
|
11
|
-
### Constructors
|
|
12
|
-
|
|
13
|
-
- [constructor](BaseAPI.md#constructor)
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [axios](BaseAPI.md#axios)
|
|
18
|
-
- [basePath](BaseAPI.md#basepath)
|
|
19
|
-
- [configuration](BaseAPI.md#configuration)
|
|
20
|
-
|
|
21
|
-
### Methods
|
|
22
|
-
|
|
23
|
-
- [authConfig](BaseAPI.md#authconfig)
|
|
24
|
-
- [sendRequest](BaseAPI.md#sendrequest)
|
|
25
|
-
|
|
26
|
-
## Constructors
|
|
27
|
-
|
|
28
|
-
### constructor
|
|
29
|
-
|
|
30
|
-
• **new BaseAPI**(`basePath?`, `config?`)
|
|
31
|
-
|
|
32
|
-
Constructor to create baseAPI.
|
|
33
|
-
|
|
34
|
-
#### Parameters
|
|
35
|
-
|
|
36
|
-
| Name | Type | Default value | Description |
|
|
37
|
-
| :------ | :------ | :------ | :------ |
|
|
38
|
-
| `basePath` | `string` | `BASE_PATH` | basePath of api requests. |
|
|
39
|
-
| `config` | [`ApiConfig`](../interfaces/ApiConfig.md) | `undefined` | to be passed down to axios. |
|
|
40
|
-
|
|
41
|
-
#### Defined in
|
|
42
|
-
|
|
43
|
-
[packages/notifications/utils/base.ts:70](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L70)
|
|
44
|
-
|
|
45
|
-
## Properties
|
|
46
|
-
|
|
47
|
-
### axios
|
|
48
|
-
|
|
49
|
-
• `Protected` **axios**: `AxiosInstance`
|
|
50
|
-
|
|
51
|
-
#### Defined in
|
|
52
|
-
|
|
53
|
-
[packages/notifications/utils/base.ts:64](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L64)
|
|
54
|
-
|
|
55
|
-
___
|
|
56
|
-
|
|
57
|
-
### basePath
|
|
58
|
-
|
|
59
|
-
• `Protected` **basePath**: `string` = `BASE_PATH`
|
|
60
|
-
|
|
61
|
-
#### Defined in
|
|
62
|
-
|
|
63
|
-
[packages/notifications/utils/base.ts:70](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L70)
|
|
64
|
-
|
|
65
|
-
___
|
|
66
|
-
|
|
67
|
-
### configuration
|
|
68
|
-
|
|
69
|
-
• `Protected` **configuration**: [`Configuration`](Configuration.md)
|
|
70
|
-
|
|
71
|
-
#### Defined in
|
|
72
|
-
|
|
73
|
-
[packages/notifications/utils/base.ts:63](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L63)
|
|
74
|
-
|
|
75
|
-
## Methods
|
|
76
|
-
|
|
77
|
-
### authConfig
|
|
78
|
-
|
|
79
|
-
▸ `Private` **authConfig**(`__namedParameters`): `Promise`<`void`\>
|
|
80
|
-
|
|
81
|
-
#### Parameters
|
|
82
|
-
|
|
83
|
-
| Name | Type |
|
|
84
|
-
| :------ | :------ |
|
|
85
|
-
| `__namedParameters` | `Omit`<[`RequestArgs`](../interfaces/RequestArgs.md), ``"authType"`` \| ``"authKey"``\> & { `authKey?`: `string` \| [`string`, `string`[]] ; `authType`: [`AuthTypeEnum`](../modules.md#authtypeenum-1) } |
|
|
86
|
-
|
|
87
|
-
#### Returns
|
|
88
|
-
|
|
89
|
-
`Promise`<`void`\>
|
|
90
|
-
|
|
91
|
-
#### Defined in
|
|
92
|
-
|
|
93
|
-
[packages/notifications/utils/base.ts:83](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L83)
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
### sendRequest
|
|
98
|
-
|
|
99
|
-
▸ **sendRequest**<`T`\>(`request`, `axios?`, `basePath?`): `Promise`<`AxiosResponse`<`T`, `any`\>\>
|
|
100
|
-
|
|
101
|
-
Send axios request
|
|
102
|
-
|
|
103
|
-
#### Type parameters
|
|
104
|
-
|
|
105
|
-
| Name |
|
|
106
|
-
| :------ |
|
|
107
|
-
| `T` |
|
|
108
|
-
|
|
109
|
-
#### Parameters
|
|
110
|
-
|
|
111
|
-
| Name | Type | Description |
|
|
112
|
-
| :------ | :------ | :------ |
|
|
113
|
-
| `request` | `Promise`<[`RequestArgs`](../interfaces/RequestArgs.md)\> | to be send trough axios. |
|
|
114
|
-
| `axios?` | `AxiosInstance` | optional axios instance. |
|
|
115
|
-
| `basePath?` | `string` | - |
|
|
116
|
-
|
|
117
|
-
#### Returns
|
|
118
|
-
|
|
119
|
-
`Promise`<`AxiosResponse`<`T`, `any`\>\>
|
|
120
|
-
|
|
121
|
-
promisable axios response.
|
|
122
|
-
|
|
123
|
-
#### Defined in
|
|
124
|
-
|
|
125
|
-
[packages/notifications/utils/base.ts:111](https://github.com/mkholjuraev/javascript-clients/blob/master/packages/notifications/utils/base.ts#L111)
|