@redhat-cloud-services/notifications-client 2.0.6 → 2.2.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/{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/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js +7 -52
- 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} +1 -0
- package/api.d.ts.map +1 -0
- package/{dist/api.js → api.js} +156 -216
- 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 +55 -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 +3297 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +2516 -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 +1 -0
- 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 +1808 -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/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/UserConfigResourceV1GetPreferences/index.d.ts +0 -25
- package/dist/UserConfigResourceV1GetPreferences/index.js +0 -92
- package/dist/UserConfigResourceV1GetSettingsSchema/index.d.ts +0 -19
- package/dist/UserConfigResourceV1GetSettingsSchema/index.js +0 -93
- package/dist/UserConfigResourceV1SaveSettings/index.d.ts +0 -20
- package/dist/UserConfigResourceV1SaveSettings/index.js +0 -92
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -88
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.js +0 -19
- 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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export const EndpointStatus = {
|
|
7
|
+
Ready: 'READY',
|
|
8
|
+
Unknown: 'UNKNOWN',
|
|
9
|
+
New: 'NEW',
|
|
10
|
+
Provisioning: 'PROVISIONING',
|
|
11
|
+
Deleting: 'DELETING',
|
|
12
|
+
Failed: 'FAILED'
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const EndpointType = {
|
|
20
|
+
Webhook: 'webhook',
|
|
21
|
+
EmailSubscription: 'email_subscription',
|
|
22
|
+
Camel: 'camel',
|
|
23
|
+
Ansible: 'ansible',
|
|
24
|
+
Drawer: 'drawer'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @enum {string}
|
|
30
|
+
*/
|
|
31
|
+
export const Environment = {
|
|
32
|
+
Prod: 'PROD',
|
|
33
|
+
Stage: 'STAGE',
|
|
34
|
+
Ephemeral: 'EPHEMERAL',
|
|
35
|
+
LocalServer: 'LOCAL_SERVER'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export const EventLogEntryActionStatus = {
|
|
43
|
+
Sent: 'SENT',
|
|
44
|
+
Success: 'SUCCESS',
|
|
45
|
+
Processing: 'PROCESSING',
|
|
46
|
+
Failed: 'FAILED',
|
|
47
|
+
Unknown: 'UNKNOWN'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @export
|
|
52
|
+
* @enum {string}
|
|
53
|
+
*/
|
|
54
|
+
export const HttpType = {
|
|
55
|
+
Get: 'GET',
|
|
56
|
+
Post: 'POST',
|
|
57
|
+
Put: 'PUT'
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @enum {string}
|
|
63
|
+
*/
|
|
64
|
+
export const NotificationStatus = {
|
|
65
|
+
FailedInternal: 'FAILED_INTERNAL',
|
|
66
|
+
FailedExternal: 'FAILED_EXTERNAL',
|
|
67
|
+
Processing: 'PROCESSING',
|
|
68
|
+
Sent: 'SENT',
|
|
69
|
+
Success: 'SUCCESS'
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @export
|
|
74
|
+
* @enum {string}
|
|
75
|
+
*/
|
|
76
|
+
export const Status = {
|
|
77
|
+
Up: 'UP',
|
|
78
|
+
Maintenance: 'MAINTENANCE'
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @export
|
|
83
|
+
* @enum {string}
|
|
84
|
+
*/
|
|
85
|
+
export const SubscriptionType = {
|
|
86
|
+
Instant: 'INSTANT',
|
|
87
|
+
Daily: 'DAILY',
|
|
88
|
+
Drawer: 'DRAWER'
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/index.ts"],"names":[],"mappings":"AA+tBA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACV,CAAC;AAkBX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,iBAAiB,EAAE,oBAAoB;IACvC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACV,CAAC;AAKX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,cAAc;CACrB,CAAC;AA0GX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC;AA0JX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACJ,CAAC;AAuOX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,cAAc,EAAE,iBAAiB;IACjC,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACZ,CAAC;AAuNX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,aAAa;CACpB,CAAC;AAKX;;;;GAIG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
@@ -70,7 +70,7 @@ export declare class BaseAPI {
|
|
|
70
70
|
* @param actions object with actions to send with axios.
|
|
71
71
|
* @returns created base API.
|
|
72
72
|
*/
|
|
73
|
-
export declare const APIFactory: <T extends Record<string, ActionType>>(basePath: string, config: ApiConfig, actions: T) => BaseAPI & T;
|
|
73
|
+
export declare const APIFactory: <T extends Record<string, ActionType>>(basePath: string | undefined, config: ApiConfig | undefined, actions: T) => BaseAPI & T;
|
|
74
74
|
export default APIFactory;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
@@ -82,3 +82,4 @@ export declare class RequiredError extends Error {
|
|
|
82
82
|
field: string;
|
|
83
83
|
constructor(field: string, msg?: string);
|
|
84
84
|
}
|
|
85
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../utils/base.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAgB,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAK5F,eAAO,MAAM,SAAS,QAA2E,CAAC;AAElG;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,QAAQ,EAAE,YAAY,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAE,MAAM,EAAE,MAAM,EAAE,CAAE,CAAC;KACzC,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,oBAAY,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,oBAAY,UAAU,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAElE;;;;GAIG;AACH,qBAAa,OAAO;IAQJ,SAAS,CAAC,QAAQ,EAAE,MAAM;IAPtC,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACnD,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC;IACjC;;;;OAIG;gBACqB,QAAQ,GAAE,MAAkB,EAAE,MAAM,GAAE,SAAkC;YAahF,UAAU;IAsBzB;;;;;MAKE;IACY,WAAW,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAwBlI;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,gIAWtB,CAAA;AAED,eAAe,UAAU,CAAC;AAE1B;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACjB,KAAK,EAAE,MAAM;gBAAb,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAIjD"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import { serializeDataIfNeeded, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, toPathString } from './common';
|
|
5
|
+
import globalAxios from 'axios';
|
|
6
|
+
export const BASE_PATH = "https://console.redhat.com//api/notifications/v1.0".replace(/\/+$/, "");
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
*/
|
|
11
|
+
export const COLLECTION_FORMATS = {
|
|
12
|
+
csv: ",",
|
|
13
|
+
ssv: " ",
|
|
14
|
+
tsv: "\t",
|
|
15
|
+
pipes: "|",
|
|
16
|
+
};
|
|
17
|
+
export const AuthTypeEnum = {
|
|
18
|
+
Basic: 'basic',
|
|
19
|
+
Bearer: 'bearer',
|
|
20
|
+
Oauth: 'oath',
|
|
21
|
+
InHeader: 'inHeader',
|
|
22
|
+
InQuery: 'inQuery'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Base API to store config, basepath and axios instance.
|
|
26
|
+
* @export
|
|
27
|
+
* @class BaseAPI
|
|
28
|
+
*/
|
|
29
|
+
export class BaseAPI {
|
|
30
|
+
/**
|
|
31
|
+
* Constructor to create baseAPI.
|
|
32
|
+
* @param { string } basePath basePath of api requests.
|
|
33
|
+
* @param { { axios: AxiosInstance, configuration: Configuration } } config to be passed down to axios.
|
|
34
|
+
*/
|
|
35
|
+
constructor(basePath = BASE_PATH, config = { axios: globalAxios }) {
|
|
36
|
+
this.basePath = basePath;
|
|
37
|
+
this.axios = config.axios;
|
|
38
|
+
if (config.configuration) {
|
|
39
|
+
this.configuration = config.configuration;
|
|
40
|
+
this.basePath = config.configuration.basePath || this.basePath;
|
|
41
|
+
}
|
|
42
|
+
// Object.entries(actions).forEach((entry: [string, ActionType]) => {
|
|
43
|
+
// Object.assign(this, {
|
|
44
|
+
// [entry[0]]: entry[1]
|
|
45
|
+
// })
|
|
46
|
+
// })
|
|
47
|
+
}
|
|
48
|
+
async authConfig({ authType, urlObj, options, authKey }) {
|
|
49
|
+
if (authType === AuthTypeEnum.InQuery && typeof authKey === 'string') {
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
await setApiKeyToObject(localVarQueryParameter, authKey, this.configuration);
|
|
52
|
+
setSearchParams(urlObj, localVarQueryParameter);
|
|
53
|
+
}
|
|
54
|
+
else if (authType === AuthTypeEnum.InHeader && typeof authKey === 'string') {
|
|
55
|
+
const localVarHeaderParameter = {};
|
|
56
|
+
await setApiKeyToObject(localVarHeaderParameter, authKey, this.configuration);
|
|
57
|
+
options.headers = { ...options.headers, ...localVarHeaderParameter };
|
|
58
|
+
}
|
|
59
|
+
else if (authType === AuthTypeEnum.Basic) {
|
|
60
|
+
setBasicAuthToObject(options, this.configuration);
|
|
61
|
+
}
|
|
62
|
+
else if (authType === AuthTypeEnum.Bearer) {
|
|
63
|
+
const localVarHeaderParameter = {};
|
|
64
|
+
await setBearerAuthToObject(localVarHeaderParameter, this.configuration);
|
|
65
|
+
options.headers = { ...options.headers, ...localVarHeaderParameter };
|
|
66
|
+
}
|
|
67
|
+
else if (authType === AuthTypeEnum.Oauth) {
|
|
68
|
+
const localVarHeaderParameter = {};
|
|
69
|
+
await setOAuthToObject(localVarHeaderParameter, authKey[0], authKey[1], this.configuration);
|
|
70
|
+
options.headers = { ...options.headers, ...localVarHeaderParameter };
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Send axios request
|
|
75
|
+
* @param {Promise<RequestArgs>} request to be send trough axios.
|
|
76
|
+
* @param {AxiosInstance} axios optional axios instance.
|
|
77
|
+
* @returns {Promise<AxiosResponse<T>>} promisable axios response.
|
|
78
|
+
*/
|
|
79
|
+
async sendRequest(request, axios, basePath) {
|
|
80
|
+
const { auth, urlObj, options, serializeData } = await request;
|
|
81
|
+
auth?.forEach(async ({ authType, authKey }) => {
|
|
82
|
+
await this.authConfig({ authType, urlObj, options, authKey });
|
|
83
|
+
});
|
|
84
|
+
if (serializeData) {
|
|
85
|
+
options.data = serializeDataIfNeeded(serializeData, options, this.configuration);
|
|
86
|
+
}
|
|
87
|
+
const axiosRequestArgs = { ...options, url: (this.basePath || basePath) + toPathString(urlObj) };
|
|
88
|
+
return (axios || this.axios).request(axiosRequestArgs);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* Factory for creating API with option to add enpoints to the API.
|
|
95
|
+
* @param basePath basePath of api requests.
|
|
96
|
+
* @param { { axios: AxiosInstance, configuration: Configuration } } config to be passed down to axios.
|
|
97
|
+
* @param actions object with actions to send with axios.
|
|
98
|
+
* @returns created base API.
|
|
99
|
+
*/
|
|
100
|
+
export const APIFactory = (basePath = BASE_PATH, config = { axios: globalAxios }, actions) => {
|
|
101
|
+
const api = new BaseAPI(basePath, config);
|
|
102
|
+
for (const key of Object.keys(actions)) {
|
|
103
|
+
const method = actions[key];
|
|
104
|
+
Object.assign(api, { [key]: (...args) => {
|
|
105
|
+
const request = method(...args);
|
|
106
|
+
return api.sendRequest(request);
|
|
107
|
+
} });
|
|
108
|
+
}
|
|
109
|
+
return api;
|
|
110
|
+
};
|
|
111
|
+
export default APIFactory;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @export
|
|
115
|
+
* @class RequiredError
|
|
116
|
+
* @extends {Error}
|
|
117
|
+
*/
|
|
118
|
+
export class RequiredError extends Error {
|
|
119
|
+
constructor(field, msg) {
|
|
120
|
+
super(msg);
|
|
121
|
+
this.field = field;
|
|
122
|
+
this.name = "RequiredError";
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../utils/base.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AAMpB,aAAa;AACb,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAClK,OAAO,WAAW,MAAM,OAAO,CAAC;AAEhC,MAAM,CAAC,MAAM,SAAS,GAAG,oDAAoD,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAElG;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAsBF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX;;;;GAIG;AACH,MAAM,OAAO,OAAO;IAGlB;;;;OAIG;IACD,YAAsB,WAAmB,SAAS,EAAE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C,KAAK,CAAC,CAAC,OAAO,CAAI,gBAAgB,CAAC,CAAC;IAC5D,CAAC;CAaJ;AAAA,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAuC,WAAmB,SAAS,EAAE,SAAoB,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,OAAU,EAAE,EAAE;IACvJ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC1C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;QACtC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QAC5B,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAe,EAAE,EAAE;gBACjD,MAAM,OAAO,GAAyB,MAAM,CAAC,GAAG,IAAW,CAAC,CAAC;gBAC7D,OAAO,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC,EAAE,CAAC,CAAC;KACN;IAED,OAAO,GAAkB,CAAC;AAC5B,CAAC,CAAA;AAED,eAAe,UAAU,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,OAAO,aAAc,SAAQ,KAAK;IACpC,YAAmB,KAAa,EAAE,GAAY;QAC1C,KAAK,CAAC,GAAG,CAAC,CAAC;QADI,UAAK,GAAL,KAAK,CAAQ;QAE5B,IAAI,CAAC,IAAI,GAAG,eAAe,CAAA;IAC/B,CAAC;CACJ"}
|
|
@@ -52,3 +52,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
52
52
|
* @export
|
|
53
53
|
*/
|
|
54
54
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
55
|
+
//# sourceMappingURL=common.d.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/* eslint-disable */
|
|
3
|
+
import { RequiredError } from "./base";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
*/
|
|
8
|
+
export const DUMMY_BASE_URL = 'https://example.com';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
* @export
|
|
13
|
+
*/
|
|
14
|
+
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
15
|
+
if (paramValue === null || paramValue === undefined) {
|
|
16
|
+
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
24
|
+
if (configuration && configuration.apiKey) {
|
|
25
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
26
|
+
? await configuration.apiKey(keyParamName)
|
|
27
|
+
: await configuration.apiKey;
|
|
28
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const setBasicAuthToObject = function (object, configuration) {
|
|
36
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
37
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export const setBearerAuthToObject = async function (object, configuration) {
|
|
45
|
+
if (configuration && configuration.accessToken) {
|
|
46
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
47
|
+
? await configuration.accessToken()
|
|
48
|
+
: await configuration.accessToken;
|
|
49
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
57
|
+
if (configuration && configuration.accessToken) {
|
|
58
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
59
|
+
? await configuration.accessToken(name, scopes)
|
|
60
|
+
: await configuration.accessToken;
|
|
61
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
65
|
+
if (parameter == null)
|
|
66
|
+
return;
|
|
67
|
+
if (typeof parameter === "object") {
|
|
68
|
+
if (Array.isArray(parameter)) {
|
|
69
|
+
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
if (urlSearchParams.has(key)) {
|
|
77
|
+
urlSearchParams.append(key, parameter);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
urlSearchParams.set(key, parameter);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export const setSearchParams = function (url, ...objects) {
|
|
89
|
+
const searchParams = new URLSearchParams(url.search);
|
|
90
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
91
|
+
url.search = searchParams.toString();
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
98
|
+
const nonString = typeof value !== 'string';
|
|
99
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
100
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
101
|
+
: nonString;
|
|
102
|
+
return needsSerialization
|
|
103
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
104
|
+
: (value || "");
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export const toPathString = function (url) {
|
|
111
|
+
return url.pathname + url.search + url.hash;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
118
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
119
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + toPathString(axiosArgs.urlObj) };
|
|
120
|
+
return axios.request(axiosRequestArgs);
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../utils/common.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AAKpB,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,aAAa,CAAC,SAAS,EAAE,sBAAsB,SAAS,uCAAuC,YAAY,GAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAi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CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface ConfigurationParameters {
|
|
2
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
3
|
+
username?: string;
|
|
4
|
+
password?: string;
|
|
5
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
6
|
+
basePath?: string;
|
|
7
|
+
baseOptions?: any;
|
|
8
|
+
formDataCtor?: new () => any;
|
|
9
|
+
}
|
|
10
|
+
export declare class Configuration {
|
|
11
|
+
/**
|
|
12
|
+
* parameter for apiKey security
|
|
13
|
+
* @param name security name
|
|
14
|
+
* @memberof Configuration
|
|
15
|
+
*/
|
|
16
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
17
|
+
/**
|
|
18
|
+
* parameter for basic security
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Configuration
|
|
22
|
+
*/
|
|
23
|
+
username?: string;
|
|
24
|
+
/**
|
|
25
|
+
* parameter for basic security
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Configuration
|
|
29
|
+
*/
|
|
30
|
+
password?: string;
|
|
31
|
+
/**
|
|
32
|
+
* parameter for oauth2 security
|
|
33
|
+
* @param name security name
|
|
34
|
+
* @param scopes oauth2 scope
|
|
35
|
+
* @memberof Configuration
|
|
36
|
+
*/
|
|
37
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
38
|
+
/**
|
|
39
|
+
* override base path
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Configuration
|
|
43
|
+
*/
|
|
44
|
+
basePath?: string;
|
|
45
|
+
/**
|
|
46
|
+
* base options for axios calls
|
|
47
|
+
*
|
|
48
|
+
* @type {any}
|
|
49
|
+
* @memberof Configuration
|
|
50
|
+
*/
|
|
51
|
+
baseOptions?: any;
|
|
52
|
+
/**
|
|
53
|
+
* The FormData constructor that will be used to create multipart form data
|
|
54
|
+
* requests. You can inject this here so that execution environments that
|
|
55
|
+
* do not support the FormData class can still run the generated client.
|
|
56
|
+
*
|
|
57
|
+
* @type {new () => FormData}
|
|
58
|
+
*/
|
|
59
|
+
formDataCtor?: new () => any;
|
|
60
|
+
constructor(param?: ConfigurationParameters);
|
|
61
|
+
/**
|
|
62
|
+
* Check if the given MIME is a JSON MIME.
|
|
63
|
+
* JSON MIME examples:
|
|
64
|
+
* application/json
|
|
65
|
+
* application/json; charset=UTF8
|
|
66
|
+
* APPLICATION/JSON
|
|
67
|
+
* application/vnd.company+json
|
|
68
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
69
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
70
|
+
*/
|
|
71
|
+
isJsonMime(mime: string): boolean;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../utils/configuration.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACrG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EA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Key = param.apiKey;
|
|
6
|
+
this.username = param.username;
|
|
7
|
+
this.password = param.password;
|
|
8
|
+
this.accessToken = param.accessToken;
|
|
9
|
+
this.basePath = param.basePath;
|
|
10
|
+
this.baseOptions = param.baseOptions;
|
|
11
|
+
this.formDataCtor = param.formDataCtor;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Check if the given MIME is a JSON MIME.
|
|
15
|
+
* JSON MIME examples:
|
|
16
|
+
* application/json
|
|
17
|
+
* application/json; charset=UTF8
|
|
18
|
+
* APPLICATION/JSON
|
|
19
|
+
* application/vnd.company+json
|
|
20
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
21
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
22
|
+
*/
|
|
23
|
+
isJsonMime(mime) {
|
|
24
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
25
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../utils/configuration.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AAYpB,MAAM,OAAO,aAAa;IAmDtB,YAAY,QAAiC,EAAE;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAY;QAC1B,MAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;CACJ"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './utils/base';
|
|
2
|
+
export * from './utils/common';
|
|
3
|
+
export * from './utils/configuration';
|
|
4
|
+
export * from './types';
|
|
5
|
+
export { default as drawerResourceV1GetDrawerEntries } from './DrawerResourceV1GetDrawerEntries';
|
|
6
|
+
export { default as drawerResourceV1UpdateNotificationReadStatus } from './DrawerResourceV1UpdateNotificationReadStatus';
|
|
7
|
+
export { default as eventResourceV1GetEvents } from './EventResourceV1GetEvents';
|
|
8
|
+
export { default as notificationResourceV1AppendBehaviorGroupToEventType } from './NotificationResourceV1AppendBehaviorGroupToEventType';
|
|
9
|
+
export { default as notificationResourceV1CreateBehaviorGroup } from './NotificationResourceV1CreateBehaviorGroup';
|
|
10
|
+
export { default as notificationResourceV1DeleteBehaviorGroup } from './NotificationResourceV1DeleteBehaviorGroup';
|
|
11
|
+
export { default as notificationResourceV1DeleteBehaviorGroupFromEventType } from './NotificationResourceV1DeleteBehaviorGroupFromEventType';
|
|
12
|
+
export { default as notificationResourceV1FindBehaviorGroupsByBundleId } from './NotificationResourceV1FindBehaviorGroupsByBundleId';
|
|
13
|
+
export { default as notificationResourceV1GetApplicationByNameAndBundleName } from './NotificationResourceV1GetApplicationByNameAndBundleName';
|
|
14
|
+
export { default as notificationResourceV1GetApplicationsFacets } from './NotificationResourceV1GetApplicationsFacets';
|
|
15
|
+
export { default as notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint } from './NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint';
|
|
16
|
+
export { default as notificationResourceV1GetBundleByName } from './NotificationResourceV1GetBundleByName';
|
|
17
|
+
export { default as notificationResourceV1GetBundleFacets } from './NotificationResourceV1GetBundleFacets';
|
|
18
|
+
export { default as notificationResourceV1GetEventTypes } from './NotificationResourceV1GetEventTypes';
|
|
19
|
+
export { default as notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup } from './NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup';
|
|
20
|
+
export { default as notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName } from './NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName';
|
|
21
|
+
export { default as notificationResourceV1GetLinkedBehaviorGroups } from './NotificationResourceV1GetLinkedBehaviorGroups';
|
|
22
|
+
export { default as notificationResourceV1UpdateBehaviorGroup } from './NotificationResourceV1UpdateBehaviorGroup';
|
|
23
|
+
export { default as notificationResourceV1UpdateBehaviorGroupActions } from './NotificationResourceV1UpdateBehaviorGroupActions';
|
|
24
|
+
export { default as notificationResourceV1UpdateEventTypeBehaviors } from './NotificationResourceV1UpdateEventTypeBehaviors';
|
|
25
|
+
export { default as orgConfigResourceV1GetDailyDigestTimePreference } from './OrgConfigResourceV1GetDailyDigestTimePreference';
|
|
26
|
+
export { default as orgConfigResourceV1SaveDailyDigestTimePreference } from './OrgConfigResourceV1SaveDailyDigestTimePreference';
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gCAAgC,E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OAAO,IAAI,8CAA8C,EAAE,MAAM,kDAAkD,CAAA;AAI5H,OAAO,EAAE,OAAO,IAAI,+CAA+C,EAAE,MAAM,mDAAmD,CAAA;AAI9H,OAAO,EAAE,OAAO,IAAI,gDAAgD,EAAE,MAAM,oDAAoD,CAAA"}
|
package/index.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This is a sample supporting file mustache template.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.orgConfigResourceV1SaveDailyDigestTimePreference = exports.orgConfigResourceV1GetDailyDigestTimePreference = exports.notificationResourceV1UpdateEventTypeBehaviors = exports.notificationResourceV1UpdateBehaviorGroupActions = exports.notificationResourceV1UpdateBehaviorGroup = exports.notificationResourceV1GetLinkedBehaviorGroups = exports.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName = exports.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup = exports.notificationResourceV1GetEventTypes = exports.notificationResourceV1GetBundleFacets = exports.notificationResourceV1GetBundleByName = exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint = exports.notificationResourceV1GetApplicationsFacets = exports.notificationResourceV1GetApplicationByNameAndBundleName = exports.notificationResourceV1FindBehaviorGroupsByBundleId = exports.notificationResourceV1DeleteBehaviorGroupFromEventType = exports.notificationResourceV1DeleteBehaviorGroup = exports.notificationResourceV1CreateBehaviorGroup = exports.notificationResourceV1AppendBehaviorGroupToEventType = exports.eventResourceV1GetEvents = exports.drawerResourceV1UpdateNotificationReadStatus = exports.drawerResourceV1GetDrawerEntries = void 0;
|
|
5
|
+
var tslib_1 = require("tslib");
|
|
6
|
+
tslib_1.__exportStar(require("./utils/base"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./utils/common"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./utils/configuration"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
10
|
+
var DrawerResourceV1GetDrawerEntries_1 = require("./DrawerResourceV1GetDrawerEntries");
|
|
11
|
+
Object.defineProperty(exports, "drawerResourceV1GetDrawerEntries", { enumerable: true, get: function () { return DrawerResourceV1GetDrawerEntries_1.default; } });
|
|
12
|
+
// end of operations block
|
|
13
|
+
var DrawerResourceV1UpdateNotificationReadStatus_1 = require("./DrawerResourceV1UpdateNotificationReadStatus");
|
|
14
|
+
Object.defineProperty(exports, "drawerResourceV1UpdateNotificationReadStatus", { enumerable: true, get: function () { return DrawerResourceV1UpdateNotificationReadStatus_1.default; } });
|
|
15
|
+
// end of operations block
|
|
16
|
+
var EventResourceV1GetEvents_1 = require("./EventResourceV1GetEvents");
|
|
17
|
+
Object.defineProperty(exports, "eventResourceV1GetEvents", { enumerable: true, get: function () { return EventResourceV1GetEvents_1.default; } });
|
|
18
|
+
// end of operations block
|
|
19
|
+
var NotificationResourceV1AppendBehaviorGroupToEventType_1 = require("./NotificationResourceV1AppendBehaviorGroupToEventType");
|
|
20
|
+
Object.defineProperty(exports, "notificationResourceV1AppendBehaviorGroupToEventType", { enumerable: true, get: function () { return NotificationResourceV1AppendBehaviorGroupToEventType_1.default; } });
|
|
21
|
+
// end of operations block
|
|
22
|
+
var NotificationResourceV1CreateBehaviorGroup_1 = require("./NotificationResourceV1CreateBehaviorGroup");
|
|
23
|
+
Object.defineProperty(exports, "notificationResourceV1CreateBehaviorGroup", { enumerable: true, get: function () { return NotificationResourceV1CreateBehaviorGroup_1.default; } });
|
|
24
|
+
// end of operations block
|
|
25
|
+
var NotificationResourceV1DeleteBehaviorGroup_1 = require("./NotificationResourceV1DeleteBehaviorGroup");
|
|
26
|
+
Object.defineProperty(exports, "notificationResourceV1DeleteBehaviorGroup", { enumerable: true, get: function () { return NotificationResourceV1DeleteBehaviorGroup_1.default; } });
|
|
27
|
+
// end of operations block
|
|
28
|
+
var NotificationResourceV1DeleteBehaviorGroupFromEventType_1 = require("./NotificationResourceV1DeleteBehaviorGroupFromEventType");
|
|
29
|
+
Object.defineProperty(exports, "notificationResourceV1DeleteBehaviorGroupFromEventType", { enumerable: true, get: function () { return NotificationResourceV1DeleteBehaviorGroupFromEventType_1.default; } });
|
|
30
|
+
// end of operations block
|
|
31
|
+
var NotificationResourceV1FindBehaviorGroupsByBundleId_1 = require("./NotificationResourceV1FindBehaviorGroupsByBundleId");
|
|
32
|
+
Object.defineProperty(exports, "notificationResourceV1FindBehaviorGroupsByBundleId", { enumerable: true, get: function () { return NotificationResourceV1FindBehaviorGroupsByBundleId_1.default; } });
|
|
33
|
+
// end of operations block
|
|
34
|
+
var NotificationResourceV1GetApplicationByNameAndBundleName_1 = require("./NotificationResourceV1GetApplicationByNameAndBundleName");
|
|
35
|
+
Object.defineProperty(exports, "notificationResourceV1GetApplicationByNameAndBundleName", { enumerable: true, get: function () { return NotificationResourceV1GetApplicationByNameAndBundleName_1.default; } });
|
|
36
|
+
// end of operations block
|
|
37
|
+
var NotificationResourceV1GetApplicationsFacets_1 = require("./NotificationResourceV1GetApplicationsFacets");
|
|
38
|
+
Object.defineProperty(exports, "notificationResourceV1GetApplicationsFacets", { enumerable: true, get: function () { return NotificationResourceV1GetApplicationsFacets_1.default; } });
|
|
39
|
+
// end of operations block
|
|
40
|
+
var NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint_1 = require("./NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint");
|
|
41
|
+
Object.defineProperty(exports, "notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint", { enumerable: true, get: function () { return NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint_1.default; } });
|
|
42
|
+
// end of operations block
|
|
43
|
+
var NotificationResourceV1GetBundleByName_1 = require("./NotificationResourceV1GetBundleByName");
|
|
44
|
+
Object.defineProperty(exports, "notificationResourceV1GetBundleByName", { enumerable: true, get: function () { return NotificationResourceV1GetBundleByName_1.default; } });
|
|
45
|
+
// end of operations block
|
|
46
|
+
var NotificationResourceV1GetBundleFacets_1 = require("./NotificationResourceV1GetBundleFacets");
|
|
47
|
+
Object.defineProperty(exports, "notificationResourceV1GetBundleFacets", { enumerable: true, get: function () { return NotificationResourceV1GetBundleFacets_1.default; } });
|
|
48
|
+
// end of operations block
|
|
49
|
+
var NotificationResourceV1GetEventTypes_1 = require("./NotificationResourceV1GetEventTypes");
|
|
50
|
+
Object.defineProperty(exports, "notificationResourceV1GetEventTypes", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypes_1.default; } });
|
|
51
|
+
// end of operations block
|
|
52
|
+
var NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup_1 = require("./NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup");
|
|
53
|
+
Object.defineProperty(exports, "notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup_1.default; } });
|
|
54
|
+
// end of operations block
|
|
55
|
+
var NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName_1 = require("./NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName");
|
|
56
|
+
Object.defineProperty(exports, "notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName", { enumerable: true, get: function () { return NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName_1.default; } });
|
|
57
|
+
// end of operations block
|
|
58
|
+
var NotificationResourceV1GetLinkedBehaviorGroups_1 = require("./NotificationResourceV1GetLinkedBehaviorGroups");
|
|
59
|
+
Object.defineProperty(exports, "notificationResourceV1GetLinkedBehaviorGroups", { enumerable: true, get: function () { return NotificationResourceV1GetLinkedBehaviorGroups_1.default; } });
|
|
60
|
+
// end of operations block
|
|
61
|
+
var NotificationResourceV1UpdateBehaviorGroup_1 = require("./NotificationResourceV1UpdateBehaviorGroup");
|
|
62
|
+
Object.defineProperty(exports, "notificationResourceV1UpdateBehaviorGroup", { enumerable: true, get: function () { return NotificationResourceV1UpdateBehaviorGroup_1.default; } });
|
|
63
|
+
// end of operations block
|
|
64
|
+
var NotificationResourceV1UpdateBehaviorGroupActions_1 = require("./NotificationResourceV1UpdateBehaviorGroupActions");
|
|
65
|
+
Object.defineProperty(exports, "notificationResourceV1UpdateBehaviorGroupActions", { enumerable: true, get: function () { return NotificationResourceV1UpdateBehaviorGroupActions_1.default; } });
|
|
66
|
+
// end of operations block
|
|
67
|
+
var NotificationResourceV1UpdateEventTypeBehaviors_1 = require("./NotificationResourceV1UpdateEventTypeBehaviors");
|
|
68
|
+
Object.defineProperty(exports, "notificationResourceV1UpdateEventTypeBehaviors", { enumerable: true, get: function () { return NotificationResourceV1UpdateEventTypeBehaviors_1.default; } });
|
|
69
|
+
// end of operations block
|
|
70
|
+
var OrgConfigResourceV1GetDailyDigestTimePreference_1 = require("./OrgConfigResourceV1GetDailyDigestTimePreference");
|
|
71
|
+
Object.defineProperty(exports, "orgConfigResourceV1GetDailyDigestTimePreference", { enumerable: true, get: function () { return OrgConfigResourceV1GetDailyDigestTimePreference_1.default; } });
|
|
72
|
+
// end of operations block
|
|
73
|
+
var OrgConfigResourceV1SaveDailyDigestTimePreference_1 = require("./OrgConfigResourceV1SaveDailyDigestTimePreference");
|
|
74
|
+
Object.defineProperty(exports, "orgConfigResourceV1SaveDailyDigestTimePreference", { enumerable: true, get: function () { return OrgConfigResourceV1SaveDailyDigestTimePreference_1.default; } });
|
|
75
|
+
// end of operations block
|
|
76
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;AAEtD,uDAA6B;AAC7B,yDAA+B;AAC/B,gEAAsC;AACtC,kDAAuB;AAEvB,uFAAgG;AAAvF,oJAAA,OAAO,OAAoC;AAGpD,0BAA0B;AAC1B,+GAAwH;AAA/G,4KAAA,OAAO,OAAgD;AAGhE,0BAA0B;AAC1B,uEAAgF;AAAvE,oIAAA,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