@redhat-cloud-services/notifications-client 4.0.6 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/NotificationResourceV1GetSeverities/index.d.ts +16 -0
- package/dist/NotificationResourceV1GetSeverities/index.d.ts.map +1 -0
- package/dist/{v2/OrgConfigResourceV1GetDailyDigestTimePreference → NotificationResourceV1GetSeverities}/index.js +10 -10
- package/dist/NotificationResourceV1GetSeverities/index.js.map +1 -0
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -0
- package/dist/api.js.map +1 -1
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/esm/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/esm/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetSeverities/index.d.ts +16 -0
- package/dist/esm/NotificationResourceV1GetSeverities/index.d.ts.map +1 -0
- package/dist/esm/{v2/OrgConfigResourceV1GetDailyDigestTimePreference → NotificationResourceV1GetSeverities}/index.js +8 -8
- package/dist/esm/NotificationResourceV1GetSeverities/index.js.map +1 -0
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.d.ts.map +1 -1
- package/dist/esm/api.js +2 -1
- package/dist/esm/api.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +31 -0
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +18 -18
- package/dist/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +9 -4
- package/dist/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/esm/v2/api.d.ts +2 -46
- package/dist/esm/v2/api.d.ts.map +1 -1
- package/dist/esm/v2/api.js +2 -24
- package/dist/esm/v2/api.js.map +1 -1
- package/dist/esm/v2/index.d.ts +1 -23
- package/dist/esm/v2/index.d.ts.map +1 -1
- package/dist/esm/v2/index.js +1 -23
- package/dist/esm/v2/index.js.map +1 -1
- package/dist/esm/v2/types/index.d.ts +19 -384
- package/dist/esm/v2/types/index.d.ts.map +1 -1
- package/dist/esm/v2/types/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/package.json +21 -21
- package/dist/types/index.d.ts +31 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +18 -18
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +15 -10
- package/dist/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/v2/api.d.ts +2 -46
- package/dist/v2/api.d.ts.map +1 -1
- package/dist/v2/api.js +1 -23
- package/dist/v2/api.js.map +1 -1
- package/dist/v2/index.d.ts +1 -23
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/index.js +3 -47
- package/dist/v2/index.js.map +1 -1
- package/dist/v2/types/index.d.ts +19 -384
- package/dist/v2/types/index.d.ts.map +1 -1
- package/dist/v2/types/index.js.map +1 -1
- package/package.json +21 -21
- package/project.json +14 -23
- package/tsconfig.esm.json +1 -1
- package/dist/esm/jest.integration.v1.config.d.ts +0 -18
- package/dist/esm/jest.integration.v1.config.d.ts.map +0 -1
- package/dist/esm/jest.integration.v1.config.js +0 -16
- package/dist/esm/jest.integration.v1.config.js.map +0 -1
- package/dist/esm/jest.integration.v2.config.d.ts +0 -18
- package/dist/esm/jest.integration.v2.config.d.ts.map +0 -1
- package/dist/esm/jest.integration.v2.config.js +0 -16
- package/dist/esm/jest.integration.v2.config.js.map +0 -1
- package/dist/esm/tests/integration/notifications.v1.integration.test.d.ts +0 -2
- package/dist/esm/tests/integration/notifications.v1.integration.test.d.ts.map +0 -1
- package/dist/esm/tests/integration/notifications.v1.integration.test.js +0 -155
- package/dist/esm/tests/integration/notifications.v1.integration.test.js.map +0 -1
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -83
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js +0 -68
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -23
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -37
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
- package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts +0 -113
- package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts.map +0 -1
- package/dist/esm/v2/EventResourceV1GetEvents/index.js +0 -83
- package/dist/esm/v2/EventResourceV1GetEvents/index.js.map +0 -1
- package/dist/esm/v2/EventResourceV2GetEvents/index.d.ts +0 -113
- package/dist/esm/v2/EventResourceV2GetEvents/index.d.ts.map +0 -1
- package/dist/esm/v2/EventResourceV2GetEvents/index.js +0 -82
- package/dist/esm/v2/EventResourceV2GetEvents/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -37
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js +0 -37
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -36
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -37
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -36
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -29
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -37
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -36
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js +0 -36
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts +0 -71
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js +0 -62
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -36
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -35
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -52
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -51
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -29
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +0 -38
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +0 -32
- package/dist/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js +0 -32
- package/dist/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +0 -22
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +0 -31
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +0 -32
- package/dist/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +0 -31
- package/dist/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +0 -29
- package/dist/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +0 -32
- package/dist/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -31
- package/dist/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBundleByName/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBundleByName/index.js +0 -31
- package/dist/esm/v2/NotificationResourceV2GetBundleByName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBundleFacets/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetBundleFacets/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2GetBundleFacets/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypes/index.d.ts +0 -71
- package/dist/esm/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypes/index.js +0 -57
- package/dist/esm/v2/NotificationResourceV2GetEventTypes/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -23
- package/dist/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -31
- package/dist/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -35
- package/dist/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +0 -29
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +0 -28
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +0 -1
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +0 -33
- package/dist/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -16
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -22
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -37
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +0 -16
- package/dist/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +0 -30
- package/dist/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +0 -22
- package/dist/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +0 -32
- package/dist/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +0 -1
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.d.ts +0 -2
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.d.ts.map +0 -1
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js +0 -134
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js.map +0 -1
- package/dist/jest.integration.v1.config.d.ts +0 -18
- package/dist/jest.integration.v1.config.d.ts.map +0 -1
- package/dist/jest.integration.v1.config.js +0 -18
- package/dist/jest.integration.v1.config.js.map +0 -1
- package/dist/jest.integration.v2.config.d.ts +0 -18
- package/dist/jest.integration.v2.config.d.ts.map +0 -1
- package/dist/jest.integration.v2.config.js +0 -18
- package/dist/jest.integration.v2.config.js.map +0 -1
- package/dist/tests/integration/notifications.v1.integration.test.d.ts +0 -2
- package/dist/tests/integration/notifications.v1.integration.test.d.ts.map +0 -1
- package/dist/tests/integration/notifications.v1.integration.test.js +0 -365
- package/dist/tests/integration/notifications.v1.integration.test.js.map +0 -1
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -83
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js +0 -84
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -23
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -53
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
- package/dist/v2/EventResourceV1GetEvents/index.d.ts +0 -113
- package/dist/v2/EventResourceV1GetEvents/index.d.ts.map +0 -1
- package/dist/v2/EventResourceV1GetEvents/index.js +0 -99
- package/dist/v2/EventResourceV1GetEvents/index.js.map +0 -1
- package/dist/v2/EventResourceV2GetEvents/index.d.ts +0 -113
- package/dist/v2/EventResourceV2GetEvents/index.d.ts.map +0 -1
- package/dist/v2/EventResourceV2GetEvents/index.js +0 -98
- package/dist/v2/EventResourceV2GetEvents/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -53
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js +0 -53
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -52
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -53
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -52
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -29
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -53
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js +0 -54
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -52
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetBundleByName/index.js +0 -52
- package/dist/v2/NotificationResourceV1GetBundleByName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.js +0 -54
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts +0 -71
- package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypes/index.js +0 -78
- package/dist/v2/NotificationResourceV1GetEventTypes/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -52
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -35
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -54
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -52
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -67
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -29
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -54
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -54
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -54
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +0 -54
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +0 -48
- package/dist/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js +0 -48
- package/dist/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +0 -22
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +0 -47
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +0 -48
- package/dist/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +0 -47
- package/dist/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +0 -29
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +0 -48
- package/dist/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js +0 -49
- package/dist/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -47
- package/dist/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetBundleByName/index.js +0 -47
- package/dist/v2/NotificationResourceV2GetBundleByName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.js +0 -49
- package/dist/v2/NotificationResourceV2GetBundleFacets/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts +0 -71
- package/dist/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypes/index.js +0 -73
- package/dist/v2/NotificationResourceV2GetEventTypes/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -23
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -47
- package/dist/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -35
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -49
- package/dist/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +0 -29
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +0 -49
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +0 -49
- package/dist/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +0 -49
- package/dist/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +0 -28
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +0 -1
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +0 -49
- package/dist/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +0 -1
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -16
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -22
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -53
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +0 -16
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +0 -46
- package/dist/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +0 -1
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +0 -22
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +0 -48
- package/dist/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +0 -1
- package/dist/v2/tests/integration/notifications.v2.integration.test.d.ts +0 -2
- package/dist/v2/tests/integration/notifications.v2.integration.test.d.ts.map +0 -1
- package/dist/v2/tests/integration/notifications.v2.integration.test.js +0 -299
- package/dist/v2/tests/integration/notifications.v2.integration.test.js.map +0 -1
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -42
- package/doc/enums/types.EndpointStatus.md +0 -78
- package/doc/enums/types.EndpointStatusDTO.md +0 -78
- package/doc/enums/types.EndpointType.md +0 -67
- package/doc/enums/types.EndpointTypeDTO.md +0 -67
- package/doc/enums/types.Environment.md +0 -56
- package/doc/enums/types.EventLogEntryActionStatus.md +0 -67
- package/doc/enums/types.HttpType.md +0 -45
- package/doc/enums/types.NotificationStatus.md +0 -67
- package/doc/enums/types.Status.md +0 -34
- package/doc/enums/types.SubscriptionType.md +0 -45
- package/doc/interfaces/types.AddAccessRequest.md +0 -44
- package/doc/interfaces/types.AddApplicationRequest.md +0 -74
- package/doc/interfaces/types.AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/types.AggregationEmailTemplateSubjectTemplate.md +0 -104
- package/doc/interfaces/types.Application.md +0 -104
- package/doc/interfaces/types.Application1.md +0 -44
- package/doc/interfaces/types.ApplicationDTO.md +0 -104
- package/doc/interfaces/types.ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/types.BasicAuthenticationDTO.md +0 -44
- package/doc/interfaces/types.BehaviorGroup.md +0 -149
- package/doc/interfaces/types.BehaviorGroupAction.md +0 -59
- package/doc/interfaces/types.BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/types.Bundle.md +0 -89
- package/doc/interfaces/types.BundleSettingsValue.md +0 -33
- package/doc/interfaces/types.CamelPropertiesDTO.md +0 -93
- package/doc/interfaces/types.CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/types.CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/types.CurrentStatus.md +0 -59
- package/doc/interfaces/types.DrawerEntryPayload.md +0 -119
- package/doc/interfaces/types.DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/types.Endpoint.md +0 -179
- package/doc/interfaces/types.EndpointDTO.md +0 -179
- package/doc/interfaces/types.EndpointPage.md +0 -63
- package/doc/interfaces/types.EndpointTestRequest.md +0 -29
- package/doc/interfaces/types.EventLogEntry.md +0 -119
- package/doc/interfaces/types.EventLogEntryAction.md +0 -125
- package/doc/interfaces/types.EventType.md +0 -179
- package/doc/interfaces/types.EventTypeBehavior.md +0 -59
- package/doc/interfaces/types.EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/types.EventTypeSettingsValue.md +0 -63
- package/doc/interfaces/types.Facet.md +0 -74
- package/doc/interfaces/types.InstantEmailTemplate.md +0 -149
- package/doc/interfaces/types.InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/types.InternalRoleAccess.md +0 -59
- package/doc/interfaces/types.InternalUserPermissions.md +0 -59
- package/doc/interfaces/types.MessageValidationResponse.md +0 -33
- package/doc/interfaces/types.Meta.md +0 -29
- package/doc/interfaces/types.NotificationHistory.md +0 -155
- package/doc/interfaces/types.PageBehaviorGroup.md +0 -63
- package/doc/interfaces/types.PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/types.PageEventLogEntry.md +0 -63
- package/doc/interfaces/types.PageEventType.md +0 -63
- package/doc/interfaces/types.PageNotificationHistory.md +0 -63
- package/doc/interfaces/types.RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/types.RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/types.RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/types.ServerInfo.md +0 -29
- package/doc/interfaces/types.SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/types.SystemSubscriptionPropertiesDTO.md +0 -59
- package/doc/interfaces/types.Template.md +0 -104
- package/doc/interfaces/types.TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/types.UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/types.UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/types.UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/types.WebhookPropertiesDTO.md +0 -104
- package/doc/interfaces/types.X509Certificate.md +0 -89
- package/doc/modules/DrawerResourceV1GetDrawerEntries.md +0 -78
- package/doc/modules/DrawerResourceV1UpdateNotificationReadStatus.md +0 -68
- package/doc/modules/EventResourceV1GetEvents.md +0 -83
- package/doc/modules/NotificationResourceV1AppendBehaviorGroupToEventType.md +0 -67
- package/doc/modules/NotificationResourceV1CreateBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md +0 -69
- package/doc/modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md +0 -68
- package/doc/modules/NotificationResourceV1GetApplicationByNameAndBundleName.md +0 -69
- package/doc/modules/NotificationResourceV1GetApplicationsFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleByName.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypes.md +0 -76
- package/doc/modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md +0 -70
- package/doc/modules/NotificationResourceV1GetLinkedBehaviorGroups.md +0 -73
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroup.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroupActions.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateEventTypeBehaviors.md +0 -69
- package/doc/modules/OrgConfigResourceV1GetDailyDigestTimePreference.md +0 -67
- package/doc/modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md +0 -68
- package/doc/modules/index.md +0 -624
- package/doc/modules/types.md +0 -77
- package/doc/modules.md +0 -32
- package/tsconfig-cjs.json +0 -19
- package/tsconfig-esm.json +0 -21
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
var globals_1 = require("@jest/globals");
|
|
5
|
-
var api_1 = require("../../api");
|
|
6
|
-
var BASE_PATH = 'http://localhost:3001/api/notifications/v1.0';
|
|
7
|
-
var client = (0, api_1.NotificationsClient)(BASE_PATH);
|
|
8
|
-
(0, globals_1.describe)('Notifications API (v1)', function () {
|
|
9
|
-
(0, globals_1.test)('get drawer entries', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
10
|
-
var params, resp;
|
|
11
|
-
return tslib_1.__generator(this, function (_a) {
|
|
12
|
-
switch (_a.label) {
|
|
13
|
-
case 0:
|
|
14
|
-
params = {};
|
|
15
|
-
return [4 /*yield*/, client.drawerResourceV1GetDrawerEntries(params)];
|
|
16
|
-
case 1:
|
|
17
|
-
resp = _a.sent();
|
|
18
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
19
|
-
return [2 /*return*/];
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}); });
|
|
23
|
-
(0, globals_1.test)('get events', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
24
|
-
var params, resp;
|
|
25
|
-
return tslib_1.__generator(this, function (_a) {
|
|
26
|
-
switch (_a.label) {
|
|
27
|
-
case 0:
|
|
28
|
-
params = {};
|
|
29
|
-
return [4 /*yield*/, client.eventResourceV1GetEvents(params)];
|
|
30
|
-
case 1:
|
|
31
|
-
resp = _a.sent();
|
|
32
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
33
|
-
return [2 /*return*/];
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}); });
|
|
37
|
-
(0, globals_1.test)('update notification read status', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
38
|
-
var params, resp;
|
|
39
|
-
return tslib_1.__generator(this, function (_a) {
|
|
40
|
-
switch (_a.label) {
|
|
41
|
-
case 0:
|
|
42
|
-
params = {
|
|
43
|
-
updateNotificationDrawerStatus: {
|
|
44
|
-
notification_ids: ['1', '2'],
|
|
45
|
-
read_status: true,
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
return [4 /*yield*/, client.drawerResourceV1UpdateNotificationReadStatus(params)];
|
|
49
|
-
case 1:
|
|
50
|
-
resp = _a.sent();
|
|
51
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
52
|
-
return [2 /*return*/];
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}); });
|
|
56
|
-
(0, globals_1.test)('create behavior group', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
57
|
-
var createBehaviorGroupRequest, params, resp;
|
|
58
|
-
return tslib_1.__generator(this, function (_a) {
|
|
59
|
-
switch (_a.label) {
|
|
60
|
-
case 0:
|
|
61
|
-
createBehaviorGroupRequest = {
|
|
62
|
-
display_name: 'test name',
|
|
63
|
-
};
|
|
64
|
-
params = { createBehaviorGroupRequest: createBehaviorGroupRequest };
|
|
65
|
-
return [4 /*yield*/, client.notificationResourceV1CreateBehaviorGroup(params)];
|
|
66
|
-
case 1:
|
|
67
|
-
resp = _a.sent();
|
|
68
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
69
|
-
return [2 /*return*/];
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
}); });
|
|
73
|
-
(0, globals_1.test)('delete behavior group', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
74
|
-
var params, resp;
|
|
75
|
-
return tslib_1.__generator(this, function (_a) {
|
|
76
|
-
switch (_a.label) {
|
|
77
|
-
case 0:
|
|
78
|
-
params = { id: '1' };
|
|
79
|
-
return [4 /*yield*/, client.notificationResourceV1DeleteBehaviorGroup(params)];
|
|
80
|
-
case 1:
|
|
81
|
-
resp = _a.sent();
|
|
82
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
83
|
-
return [2 /*return*/];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}); });
|
|
87
|
-
(0, globals_1.test)('find behavior groups by bundle id', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
88
|
-
var params, resp;
|
|
89
|
-
return tslib_1.__generator(this, function (_a) {
|
|
90
|
-
switch (_a.label) {
|
|
91
|
-
case 0:
|
|
92
|
-
params = { bundleId: '1' };
|
|
93
|
-
return [4 /*yield*/, client.notificationResourceV1FindBehaviorGroupsByBundleId(params)];
|
|
94
|
-
case 1:
|
|
95
|
-
resp = _a.sent();
|
|
96
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
97
|
-
return [2 /*return*/];
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}); });
|
|
101
|
-
(0, globals_1.test)('update behavior group', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
102
|
-
var updateBehaviorGroupRequest, params, resp;
|
|
103
|
-
return tslib_1.__generator(this, function (_a) {
|
|
104
|
-
switch (_a.label) {
|
|
105
|
-
case 0:
|
|
106
|
-
updateBehaviorGroupRequest = {
|
|
107
|
-
display_name: 'updated name',
|
|
108
|
-
};
|
|
109
|
-
params = { id: '1', updateBehaviorGroupRequest: updateBehaviorGroupRequest };
|
|
110
|
-
return [4 /*yield*/, client.notificationResourceV1UpdateBehaviorGroup(params)];
|
|
111
|
-
case 1:
|
|
112
|
-
resp = _a.sent();
|
|
113
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
114
|
-
return [2 /*return*/];
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
}); });
|
|
118
|
-
(0, globals_1.test)('delete behavior group from event type', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
119
|
-
var params, resp;
|
|
120
|
-
return tslib_1.__generator(this, function (_a) {
|
|
121
|
-
switch (_a.label) {
|
|
122
|
-
case 0:
|
|
123
|
-
params = { behaviorGroupId: '12', eventTypeId: '13' };
|
|
124
|
-
return [4 /*yield*/, client.notificationResourceV1DeleteBehaviorGroupFromEventType(params)];
|
|
125
|
-
case 1:
|
|
126
|
-
resp = _a.sent();
|
|
127
|
-
(0, globals_1.expect)(resp.status).toBe(204);
|
|
128
|
-
return [2 /*return*/];
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
}); });
|
|
132
|
-
(0, globals_1.test)('get behavior groups affected by removal of endpoint', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
133
|
-
var params, resp;
|
|
134
|
-
return tslib_1.__generator(this, function (_a) {
|
|
135
|
-
switch (_a.label) {
|
|
136
|
-
case 0:
|
|
137
|
-
params = {
|
|
138
|
-
endpointId: '1',
|
|
139
|
-
};
|
|
140
|
-
return [4 /*yield*/, client.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(params)];
|
|
141
|
-
case 1:
|
|
142
|
-
resp = _a.sent();
|
|
143
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
144
|
-
return [2 /*return*/];
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
}); });
|
|
148
|
-
(0, globals_1.test)('update behavior group actions', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
149
|
-
var params, resp;
|
|
150
|
-
return tslib_1.__generator(this, function (_a) {
|
|
151
|
-
switch (_a.label) {
|
|
152
|
-
case 0:
|
|
153
|
-
params = {
|
|
154
|
-
behaviorGroupId: 'behaviorGroupId',
|
|
155
|
-
body: '',
|
|
156
|
-
};
|
|
157
|
-
return [4 /*yield*/, client.notificationResourceV1UpdateBehaviorGroupActions(params)];
|
|
158
|
-
case 1:
|
|
159
|
-
resp = _a.sent();
|
|
160
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
161
|
-
return [2 /*return*/];
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}); });
|
|
165
|
-
(0, globals_1.test)('append behavior group to event type', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
166
|
-
var params, resp;
|
|
167
|
-
return tslib_1.__generator(this, function (_a) {
|
|
168
|
-
switch (_a.label) {
|
|
169
|
-
case 0:
|
|
170
|
-
params = { behaviorGroupUuid: '1', eventTypeUuid: '1' };
|
|
171
|
-
return [4 /*yield*/, client.notificationResourceV1AppendBehaviorGroupToEventType(params)];
|
|
172
|
-
case 1:
|
|
173
|
-
resp = _a.sent();
|
|
174
|
-
(0, globals_1.expect)(resp.status).toBe(204);
|
|
175
|
-
return [2 /*return*/];
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
}); });
|
|
179
|
-
(0, globals_1.test)('org config - get daily digest time pref', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
180
|
-
var params, resp;
|
|
181
|
-
return tslib_1.__generator(this, function (_a) {
|
|
182
|
-
switch (_a.label) {
|
|
183
|
-
case 0:
|
|
184
|
-
params = {};
|
|
185
|
-
return [4 /*yield*/, client.orgConfigResourceV1GetDailyDigestTimePreference(params)];
|
|
186
|
-
case 1:
|
|
187
|
-
resp = _a.sent();
|
|
188
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
189
|
-
return [2 /*return*/];
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
}); });
|
|
193
|
-
(0, globals_1.test)('org config - save daily digest time pref', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
194
|
-
var params, resp;
|
|
195
|
-
return tslib_1.__generator(this, function (_a) {
|
|
196
|
-
switch (_a.label) {
|
|
197
|
-
case 0:
|
|
198
|
-
params = {
|
|
199
|
-
body: '',
|
|
200
|
-
};
|
|
201
|
-
return [4 /*yield*/, client.orgConfigResourceV1SaveDailyDigestTimePreference(params)];
|
|
202
|
-
case 1:
|
|
203
|
-
resp = _a.sent();
|
|
204
|
-
(0, globals_1.expect)(resp.status).toBe(204);
|
|
205
|
-
return [2 /*return*/];
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
}); });
|
|
209
|
-
(0, globals_1.test)('get event types', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
210
|
-
var params, resp;
|
|
211
|
-
return tslib_1.__generator(this, function (_a) {
|
|
212
|
-
switch (_a.label) {
|
|
213
|
-
case 0:
|
|
214
|
-
params = {};
|
|
215
|
-
return [4 /*yield*/, client.notificationResourceV1GetEventTypes(params)];
|
|
216
|
-
case 1:
|
|
217
|
-
resp = _a.sent();
|
|
218
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
219
|
-
return [2 /*return*/];
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
}); });
|
|
223
|
-
(0, globals_1.test)('update event types endpoints', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
224
|
-
var params, resp;
|
|
225
|
-
return tslib_1.__generator(this, function (_a) {
|
|
226
|
-
switch (_a.label) {
|
|
227
|
-
case 0:
|
|
228
|
-
params = { eventTypeId: '1', body: {} };
|
|
229
|
-
return [4 /*yield*/, client.notificationResourceV1UpdateEventTypeEndpoints(params)];
|
|
230
|
-
case 1:
|
|
231
|
-
resp = _a.sent();
|
|
232
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
233
|
-
return [2 /*return*/];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
}); });
|
|
237
|
-
(0, globals_1.test)('get event types by name and bundle and application name', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
238
|
-
var params, resp;
|
|
239
|
-
return tslib_1.__generator(this, function (_a) {
|
|
240
|
-
switch (_a.label) {
|
|
241
|
-
case 0:
|
|
242
|
-
params = {
|
|
243
|
-
applicationName: 'appName',
|
|
244
|
-
bundleName: 'bundleName',
|
|
245
|
-
eventTypeName: 'eventTypeName',
|
|
246
|
-
};
|
|
247
|
-
return [4 /*yield*/, client.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(params)];
|
|
248
|
-
case 1:
|
|
249
|
-
resp = _a.sent();
|
|
250
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
251
|
-
return [2 /*return*/];
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
}); });
|
|
255
|
-
(0, globals_1.test)('update event type behaviors', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
256
|
-
var params, resp;
|
|
257
|
-
return tslib_1.__generator(this, function (_a) {
|
|
258
|
-
switch (_a.label) {
|
|
259
|
-
case 0:
|
|
260
|
-
params = {
|
|
261
|
-
eventTypeId: 'eventTypeId',
|
|
262
|
-
body: '',
|
|
263
|
-
};
|
|
264
|
-
return [4 /*yield*/, client.notificationResourceV1UpdateEventTypeBehaviors(params)];
|
|
265
|
-
case 1:
|
|
266
|
-
resp = _a.sent();
|
|
267
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
268
|
-
return [2 /*return*/];
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
}); });
|
|
272
|
-
(0, globals_1.test)('get event types affected by removal of behavior group', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
273
|
-
var params, resp;
|
|
274
|
-
return tslib_1.__generator(this, function (_a) {
|
|
275
|
-
switch (_a.label) {
|
|
276
|
-
case 0:
|
|
277
|
-
params = {
|
|
278
|
-
behaviorGroupId: '1',
|
|
279
|
-
};
|
|
280
|
-
return [4 /*yield*/, client.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(params)];
|
|
281
|
-
case 1:
|
|
282
|
-
resp = _a.sent();
|
|
283
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
284
|
-
return [2 /*return*/];
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
}); });
|
|
288
|
-
(0, globals_1.test)('get event types by name and bundle and application name', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
289
|
-
var params, resp;
|
|
290
|
-
return tslib_1.__generator(this, function (_a) {
|
|
291
|
-
switch (_a.label) {
|
|
292
|
-
case 0:
|
|
293
|
-
params = {
|
|
294
|
-
applicationName: 'appName',
|
|
295
|
-
bundleName: 'bundleName',
|
|
296
|
-
eventTypeName: 'eventTypeName',
|
|
297
|
-
};
|
|
298
|
-
return [4 /*yield*/, client.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(params)];
|
|
299
|
-
case 1:
|
|
300
|
-
resp = _a.sent();
|
|
301
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
302
|
-
return [2 /*return*/];
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
}); });
|
|
306
|
-
(0, globals_1.test)('get application by name and bundle name', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
307
|
-
var params, resp;
|
|
308
|
-
return tslib_1.__generator(this, function (_a) {
|
|
309
|
-
switch (_a.label) {
|
|
310
|
-
case 0:
|
|
311
|
-
params = { applicationName: 'appName', bundleName: 'bundleName' };
|
|
312
|
-
return [4 /*yield*/, client.notificationResourceV1GetApplicationByNameAndBundleName(params)];
|
|
313
|
-
case 1:
|
|
314
|
-
resp = _a.sent();
|
|
315
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
316
|
-
return [2 /*return*/];
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
}); });
|
|
320
|
-
(0, globals_1.test)('get application facets', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
321
|
-
var params, resp;
|
|
322
|
-
return tslib_1.__generator(this, function (_a) {
|
|
323
|
-
switch (_a.label) {
|
|
324
|
-
case 0:
|
|
325
|
-
params = { bundleName: 'bundleName' };
|
|
326
|
-
return [4 /*yield*/, client.notificationResourceV1GetApplicationsFacets(params)];
|
|
327
|
-
case 1:
|
|
328
|
-
resp = _a.sent();
|
|
329
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
330
|
-
return [2 /*return*/];
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
}); });
|
|
334
|
-
(0, globals_1.test)('get bundle by name', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
335
|
-
var params, resp;
|
|
336
|
-
return tslib_1.__generator(this, function (_a) {
|
|
337
|
-
switch (_a.label) {
|
|
338
|
-
case 0:
|
|
339
|
-
params = {
|
|
340
|
-
bundleName: 'bundleName',
|
|
341
|
-
};
|
|
342
|
-
return [4 /*yield*/, client.notificationResourceV1GetBundleByName(params)];
|
|
343
|
-
case 1:
|
|
344
|
-
resp = _a.sent();
|
|
345
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
346
|
-
return [2 /*return*/];
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
}); });
|
|
350
|
-
(0, globals_1.test)('get bundle facets', function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
351
|
-
var params, resp;
|
|
352
|
-
return tslib_1.__generator(this, function (_a) {
|
|
353
|
-
switch (_a.label) {
|
|
354
|
-
case 0:
|
|
355
|
-
params = {};
|
|
356
|
-
return [4 /*yield*/, client.notificationResourceV1GetBundleFacets(params)];
|
|
357
|
-
case 1:
|
|
358
|
-
resp = _a.sent();
|
|
359
|
-
(0, globals_1.expect)(resp.status).toBe(200);
|
|
360
|
-
return [2 /*return*/];
|
|
361
|
-
}
|
|
362
|
-
});
|
|
363
|
-
}); });
|
|
364
|
-
});
|
|
365
|
-
//# sourceMappingURL=notifications.v1.integration.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.v1.integration.test.js","sourceRoot":"","sources":["../../../tests/integration/notifications.v1.integration.test.ts"],"names":[],"mappings":";;;AAAA,yCAAuD;AAEvD,iCAAgD;AA0BhD,IAAM,SAAS,GAAG,8CAA8C,CAAC;AACjE,IAAM,MAAM,GAAG,IAAA,yBAAmB,EAAC,SAAS,CAAC,CAAC;AAE9C,IAAA,kBAAQ,EAAC,wBAAwB,EAAE;IACjC,IAAA,cAAI,EAAC,oBAAoB,EAAE;;;;;oBACnB,MAAM,GAA2C,EAAE,CAAC;oBAC7C,qBAAM,MAAM,CAAC,gCAAgC,CAAC,MAAM,CAAC,EAAA;;oBAA5D,IAAI,GAAG,SAAqD;oBAClE,IAAA,gBAAM,EAAC,IAAI,CAAC,MAAM,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AAC,wBAAwB,EAAE;;;;;oBACvB,MAAM,GAAsD,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;oBAClF,qBAAM,MAAM,CAAC,2CAA2C,CAAC,MAAM,CAAC,EAAA;;oBAAvE,IAAI,GAAG,SAAgE;oBAC7E,IAAA,gBAAM,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;;;;SAC/B,CAAC,CAAC;IAEH,IAAA,cAAI,EAAC,oBAAoB,EAAE;;;;;oBACnB,MAAM,GAAgD;wBAC1D,UAAU,EAAE,YAAY;qBACzB,CAAC;oBACW,qBAAM,MAAM,CAAC,qCAAqC,CAAC,MAAM,CAAC,EAAA;;oBAAjE,IAAI,GAAG,SAA0D;oBACvE,IAAA,gBAAM,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;;;;SAC/B,CAAC,CAAC;IAEH,IAAA,cAAI,EAAC,mBAAmB,EAAE;;;;;oBAClB,MAAM,GAAgD,EAAE,CAAC;oBAClD,qBAAM,MAAM,CAAC,qCAAqC,CAAC,MAAM,CAAC,EAAA;;oBAAjE,IAAI,GAAG,SAA0D;oBACvE,IAAA,gBAAM,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;;;;SAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
-
import type { PageDrawerEntryPayload } from '../types';
|
|
4
|
-
export type DrawerResourceV1GetDrawerEntriesParams = {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @type { any }
|
|
8
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
9
|
-
*/
|
|
10
|
-
appIds?: any;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @type { any }
|
|
14
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
15
|
-
*/
|
|
16
|
-
bundleIds?: any;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type { any }
|
|
20
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
21
|
-
*/
|
|
22
|
-
endDate?: any;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type { any }
|
|
26
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
27
|
-
*/
|
|
28
|
-
eventTypeIds?: any;
|
|
29
|
-
/**
|
|
30
|
-
* Number of items per page, if not specified 20 is used
|
|
31
|
-
* @type { any }
|
|
32
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
33
|
-
*/
|
|
34
|
-
limit?: any;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type { any }
|
|
38
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
39
|
-
*/
|
|
40
|
-
offset?: any;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type { any }
|
|
44
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
45
|
-
*/
|
|
46
|
-
pageNumber?: any;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type { any }
|
|
50
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
51
|
-
*/
|
|
52
|
-
readStatus?: any;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type { any }
|
|
56
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
57
|
-
*/
|
|
58
|
-
sortBy?: any;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type { any }
|
|
62
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
63
|
-
*/
|
|
64
|
-
sortBy2?: any;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type { any }
|
|
68
|
-
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
69
|
-
*/
|
|
70
|
-
startDate?: any;
|
|
71
|
-
options?: AxiosRequestConfig;
|
|
72
|
-
};
|
|
73
|
-
export type DrawerResourceV1GetDrawerEntriesReturnType = PageDrawerEntryPayload;
|
|
74
|
-
/**
|
|
75
|
-
* Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
76
|
-
* @summary Retrieve drawer notifications entries.
|
|
77
|
-
* @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
|
|
78
|
-
* @param {*} [options] Override http request option.
|
|
79
|
-
* @throws {RequiredError}
|
|
80
|
-
*/
|
|
81
|
-
export declare const drawerResourceV1GetDrawerEntriesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([DrawerResourceV1GetDrawerEntriesParams] | [any, any, any, any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<PageDrawerEntryPayload, any, {}>>;
|
|
82
|
-
export default drawerResourceV1GetDrawerEntriesParamCreator;
|
|
83
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGvD,MAAM,MAAM,sCAAsC,GAAG;IACnD;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB;;;;MAIE;IACF,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,OAAO,CAAC,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0CAA0C,GAAG,sBAAsB,CAAC;AAShF;;;;;;EAME;AACF,eAAO,MAAM,4CAA4C,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,sCAAsC,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,4EAiE1O,CAAA;AAED,eAAe,4CAA4C,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.drawerResourceV1GetDrawerEntriesParamCreator = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
-
var isDrawerResourceV1GetDrawerEntriesObjectParams = function (params) {
|
|
8
|
-
var l = params.length === 1;
|
|
9
|
-
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
-
return true;
|
|
11
|
-
}
|
|
12
|
-
return false;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
16
|
-
* @summary Retrieve drawer notifications entries.
|
|
17
|
-
* @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
|
|
18
|
-
* @param {*} [options] Override http request option.
|
|
19
|
-
* @throws {RequiredError}
|
|
20
|
-
*/
|
|
21
|
-
var drawerResourceV1GetDrawerEntriesParamCreator = function (sendRequest) {
|
|
22
|
-
var config = [];
|
|
23
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
-
config[_i - 1] = arguments[_i];
|
|
25
|
-
}
|
|
26
|
-
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
-
var params, appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
-
return tslib_1.__generator(this, function (_b) {
|
|
29
|
-
params = isDrawerResourceV1GetDrawerEntriesObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'eventTypeIds', 'limit', 'offset', 'pageNumber', 'readStatus', 'sortBy', 'sortBy2', 'startDate', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
-
var _a;
|
|
31
|
-
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
-
}, {});
|
|
33
|
-
appIds = params.appIds, bundleIds = params.bundleIds, endDate = params.endDate, eventTypeIds = params.eventTypeIds, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, readStatus = params.readStatus, sortBy = params.sortBy, sortBy2 = params.sortBy2, startDate = params.startDate, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
-
localVarPath = "/notifications/drawer";
|
|
35
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
|
-
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
37
|
-
localVarHeaderParameter = {};
|
|
38
|
-
localVarQueryParameter = {};
|
|
39
|
-
if (appIds !== undefined) {
|
|
40
|
-
localVarQueryParameter['appIds'] = appIds;
|
|
41
|
-
}
|
|
42
|
-
if (bundleIds !== undefined) {
|
|
43
|
-
localVarQueryParameter['bundleIds'] = bundleIds;
|
|
44
|
-
}
|
|
45
|
-
if (endDate !== undefined) {
|
|
46
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
47
|
-
}
|
|
48
|
-
if (eventTypeIds !== undefined) {
|
|
49
|
-
localVarQueryParameter['eventTypeIds'] = eventTypeIds;
|
|
50
|
-
}
|
|
51
|
-
if (limit !== undefined) {
|
|
52
|
-
localVarQueryParameter['limit'] = limit;
|
|
53
|
-
}
|
|
54
|
-
if (offset !== undefined) {
|
|
55
|
-
localVarQueryParameter['offset'] = offset;
|
|
56
|
-
}
|
|
57
|
-
if (pageNumber !== undefined) {
|
|
58
|
-
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
59
|
-
}
|
|
60
|
-
if (readStatus !== undefined) {
|
|
61
|
-
localVarQueryParameter['readStatus'] = readStatus;
|
|
62
|
-
}
|
|
63
|
-
if (sortBy !== undefined) {
|
|
64
|
-
localVarQueryParameter['sortBy'] = sortBy;
|
|
65
|
-
}
|
|
66
|
-
if (sortBy2 !== undefined) {
|
|
67
|
-
localVarQueryParameter['sort_by'] = sortBy2;
|
|
68
|
-
}
|
|
69
|
-
if (startDate !== undefined) {
|
|
70
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
71
|
-
}
|
|
72
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
73
|
-
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
74
|
-
args = {
|
|
75
|
-
urlObj: localVarUrlObj,
|
|
76
|
-
options: localVarRequestOptions,
|
|
77
|
-
};
|
|
78
|
-
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
exports.drawerResourceV1GetDrawerEntriesParamCreator = drawerResourceV1GetDrawerEntriesParamCreator;
|
|
83
|
-
exports.default = exports.drawerResourceV1GetDrawerEntriesParamCreator;
|
|
84
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkFjU,IAAM,8CAA8C,GAAG,UAAC,MAA4D;IAClH,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,4CAA4C,GAAG,UAAO,WAAmC;IAAE,gBAAmI;SAAnI,UAAmI,EAAnI,qBAAmI,EAAnI,IAAmI;QAAnI,+BAAmI;;;;;YACjO,MAAM,GAAG,8CAA8C,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,QAA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|
|
2
|
-
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
-
import type { UpdateNotificationDrawerStatus } from '../types';
|
|
4
|
-
export type DrawerResourceV1UpdateNotificationReadStatusParams = {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @type { UpdateNotificationDrawerStatus }
|
|
8
|
-
* @memberof DrawerResourceV1UpdateNotificationReadStatusApi
|
|
9
|
-
*/
|
|
10
|
-
updateNotificationDrawerStatus: UpdateNotificationDrawerStatus;
|
|
11
|
-
options?: AxiosRequestConfig;
|
|
12
|
-
};
|
|
13
|
-
export type DrawerResourceV1UpdateNotificationReadStatusReturnType = any;
|
|
14
|
-
/**
|
|
15
|
-
* Update drawer notifications status.
|
|
16
|
-
* @summary Update drawer notifications status.
|
|
17
|
-
* @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
|
|
18
|
-
* @param {*} [options] Override http request option.
|
|
19
|
-
* @throws {RequiredError}
|
|
20
|
-
*/
|
|
21
|
-
export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
22
|
-
export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,GAAG,CAAC;AASzE;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,yDAwB3O,CAAA;AAED,eAAe,wDAAwD,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.drawerResourceV1UpdateNotificationReadStatusParamCreator = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
-
var isDrawerResourceV1UpdateNotificationReadStatusObjectParams = function (params) {
|
|
8
|
-
var l = params.length === 1;
|
|
9
|
-
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
-
return true && Object.prototype.hasOwnProperty.call(params[0], 'updateNotificationDrawerStatus');
|
|
11
|
-
}
|
|
12
|
-
return false;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Update drawer notifications status.
|
|
16
|
-
* @summary Update drawer notifications status.
|
|
17
|
-
* @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
|
|
18
|
-
* @param {*} [options] Override http request option.
|
|
19
|
-
* @throws {RequiredError}
|
|
20
|
-
*/
|
|
21
|
-
var drawerResourceV1UpdateNotificationReadStatusParamCreator = function (sendRequest) {
|
|
22
|
-
var config = [];
|
|
23
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
-
config[_i - 1] = arguments[_i];
|
|
25
|
-
}
|
|
26
|
-
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
-
var params, updateNotificationDrawerStatus, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
-
return tslib_1.__generator(this, function (_b) {
|
|
29
|
-
params = isDrawerResourceV1UpdateNotificationReadStatusObjectParams(config) ? config[0] : ['updateNotificationDrawerStatus', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
-
var _a;
|
|
31
|
-
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
-
}, {});
|
|
33
|
-
updateNotificationDrawerStatus = params.updateNotificationDrawerStatus, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
-
localVarPath = "/notifications/drawer/read";
|
|
35
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
|
-
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
37
|
-
localVarHeaderParameter = {};
|
|
38
|
-
localVarQueryParameter = {};
|
|
39
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41
|
-
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
42
|
-
args = {
|
|
43
|
-
urlObj: localVarUrlObj,
|
|
44
|
-
options: localVarRequestOptions,
|
|
45
|
-
serializeData: updateNotificationDrawerStatus,
|
|
46
|
-
};
|
|
47
|
-
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
exports.drawerResourceV1UpdateNotificationReadStatusParamCreator = drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
52
|
-
exports.default = exports.drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
53
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{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