@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,112 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '../utils/base';
|
|
3
|
+
import type { EventLogEntryActionStatus } from '../types';
|
|
4
|
+
export declare type EventResourceV1GetEventsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { Set<string> }
|
|
8
|
+
* @memberof EventResourceV1GetEventsApi
|
|
9
|
+
*/
|
|
10
|
+
appIds?: Set<string>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Set<string> }
|
|
14
|
+
* @memberof EventResourceV1GetEventsApi
|
|
15
|
+
*/
|
|
16
|
+
bundleIds?: Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof EventResourceV1GetEventsApi
|
|
21
|
+
*/
|
|
22
|
+
endDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { Set<string> }
|
|
26
|
+
* @memberof EventResourceV1GetEventsApi
|
|
27
|
+
*/
|
|
28
|
+
endpointTypes?: Set<string>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof EventResourceV1GetEventsApi
|
|
33
|
+
*/
|
|
34
|
+
eventTypeDisplayName?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { boolean }
|
|
38
|
+
* @memberof EventResourceV1GetEventsApi
|
|
39
|
+
*/
|
|
40
|
+
includeActions?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type { boolean }
|
|
44
|
+
* @memberof EventResourceV1GetEventsApi
|
|
45
|
+
*/
|
|
46
|
+
includeDetails?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type { boolean }
|
|
50
|
+
* @memberof EventResourceV1GetEventsApi
|
|
51
|
+
*/
|
|
52
|
+
includePayload?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type { Set<boolean> }
|
|
56
|
+
* @memberof EventResourceV1GetEventsApi
|
|
57
|
+
*/
|
|
58
|
+
invocationResults?: Set<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type { number }
|
|
62
|
+
* @memberof EventResourceV1GetEventsApi
|
|
63
|
+
*/
|
|
64
|
+
limit?: number;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type { number }
|
|
68
|
+
* @memberof EventResourceV1GetEventsApi
|
|
69
|
+
*/
|
|
70
|
+
offset?: number;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type { number }
|
|
74
|
+
* @memberof EventResourceV1GetEventsApi
|
|
75
|
+
*/
|
|
76
|
+
pageNumber?: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type { string }
|
|
80
|
+
* @memberof EventResourceV1GetEventsApi
|
|
81
|
+
*/
|
|
82
|
+
sortBy?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type { string }
|
|
86
|
+
* @memberof EventResourceV1GetEventsApi
|
|
87
|
+
*/
|
|
88
|
+
sortBy2?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type { string }
|
|
92
|
+
* @memberof EventResourceV1GetEventsApi
|
|
93
|
+
*/
|
|
94
|
+
startDate?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type { Set<EventLogEntryActionStatus> }
|
|
98
|
+
* @memberof EventResourceV1GetEventsApi
|
|
99
|
+
*/
|
|
100
|
+
status?: Set<EventLogEntryActionStatus>;
|
|
101
|
+
options?: AxiosRequestConfig;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
105
|
+
* @summary Retrieve the event log entries
|
|
106
|
+
* @param {EventResourceV1GetEventsParams} config with all available params.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
export declare const eventResourceV1GetEventsParamCreator: (...config: ([EventResourceV1GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
111
|
+
export default eventResourceV1GetEventsParamCreator;
|
|
112
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../EventResourceV1GetEvents/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAG7E,oBAAY,8BAA8B,GAAG;IAC3C;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;MAIE;IACF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;MAIE;IACF,iBAAiB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,oCAAoC,cAAqB,CAAC,CAAC,8BAA8B,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuFpU,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isEventResourceV1GetEventsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
8
|
+
* @summary Retrieve the event log entries
|
|
9
|
+
* @param {EventResourceV1GetEventsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const eventResourceV1GetEventsParamCreator = async (...config) => {
|
|
14
|
+
const params = isEventResourceV1GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/events`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
if (appIds) {
|
|
23
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
24
|
+
}
|
|
25
|
+
if (bundleIds) {
|
|
26
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
27
|
+
}
|
|
28
|
+
if (endDate !== undefined) {
|
|
29
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
30
|
+
endDate.toISOString().substr(0, 10) :
|
|
31
|
+
endDate;
|
|
32
|
+
}
|
|
33
|
+
if (endpointTypes) {
|
|
34
|
+
localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
|
|
35
|
+
}
|
|
36
|
+
if (eventTypeDisplayName !== undefined) {
|
|
37
|
+
localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
|
|
38
|
+
}
|
|
39
|
+
if (includeActions !== undefined) {
|
|
40
|
+
localVarQueryParameter['includeActions'] = includeActions;
|
|
41
|
+
}
|
|
42
|
+
if (includeDetails !== undefined) {
|
|
43
|
+
localVarQueryParameter['includeDetails'] = includeDetails;
|
|
44
|
+
}
|
|
45
|
+
if (includePayload !== undefined) {
|
|
46
|
+
localVarQueryParameter['includePayload'] = includePayload;
|
|
47
|
+
}
|
|
48
|
+
if (invocationResults) {
|
|
49
|
+
localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
|
|
50
|
+
}
|
|
51
|
+
if (limit !== undefined) {
|
|
52
|
+
localVarQueryParameter['limit'] = limit;
|
|
53
|
+
}
|
|
54
|
+
if (offset !== undefined) {
|
|
55
|
+
localVarQueryParameter['offset'] = offset;
|
|
56
|
+
}
|
|
57
|
+
if (pageNumber !== undefined) {
|
|
58
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
59
|
+
}
|
|
60
|
+
if (sortBy !== undefined) {
|
|
61
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
62
|
+
}
|
|
63
|
+
if (sortBy2 !== undefined) {
|
|
64
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
65
|
+
}
|
|
66
|
+
if (startDate !== undefined) {
|
|
67
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
68
|
+
startDate.toISOString().substr(0, 10) :
|
|
69
|
+
startDate;
|
|
70
|
+
}
|
|
71
|
+
if (status) {
|
|
72
|
+
localVarQueryParameter['status'] = Array.from(status);
|
|
73
|
+
}
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
76
|
+
return {
|
|
77
|
+
urlObj: localVarUrlObj,
|
|
78
|
+
options: localVarRequestOptions,
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export default eventResourceV1G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AO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '../utils/base';
|
|
3
|
+
export declare type NotificationResourceV1AppendBehaviorGroupToEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupUuid: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeUuid: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @summary Add a behavior group to the given event type.
|
|
21
|
+
* @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator: (...config: ([NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,0DAA0D,GAAG;IACvE;;;;MAIE;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,gEAAgE,cAAqB,CAAC,CAAC,0DAA0D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqB5N,CAAA;AAED,eAAe,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @summary Add a behavior group to the given event type.
|
|
9
|
+
* @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { behaviorGroupUuid, eventTypeUuid, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
|
|
17
|
+
.replace(`{${"behaviorGroupUuid"}}`, encodeURIComponent(String(behaviorGroupUuid)))
|
|
18
|
+
.replace(`{${"eventTypeUuid"}}`, encodeURIComponent(String(eventTypeUuid)));
|
|
19
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
22
|
+
const localVarHeaderParameter = {};
|
|
23
|
+
const localVarQueryParameter = {};
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,kEAAkE,GAAG,CAAC,MAAgF,EAA0E,EAAE;IACtO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAClK,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,gEAAgE,GAAG,KAAK,EAAE,GAAG,MAA6G,EAAwB,EAAE;IAC7N,MAAM,MAAM,GAAG,kEAAkE,CAAC,MAAM,CAAC,CAAC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reateBehaviorGroupRequest } from '../types';
|
|
4
|
+
export declare type NotificationResourceV1CreateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { CreateBehaviorGroupRequest }
|
|
8
|
+
* @memberof NotificationResourceV1CreateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
createBehaviorGroupRequest: CreateBehaviorGroupRequest;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
15
|
+
* @summary Create a behavior group
|
|
16
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
21
|
+
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,0BAA0B,EAA+B,MAAM,UAAU,CAAC;AAGxF,oBAAY,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
8
|
+
* @summary Create a behavior group
|
|
9
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1CreateBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { createBehaviorGroupRequest, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
serializeData: createBehaviorGroupRequest,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAA;AAC1G,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,GAAG,MAA8G,EAAwB,EAAE;IACnN,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,4BAA4B,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAoD,CAAC;IAChQ,MAAM,EAAE,0BAA0B,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5D,MAAM,YAAY,GAAG,+BAA+B,CAAC;IACrD,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAgB,EAAE,GAAG,OAAO,EAAC,CAAC;IACvE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,0BAA0B;KAC5C,CAAC;AACN,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '../utils/base';
|
|
3
|
+
export declare type NotificationResourceV1DeleteBehaviorGroupParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to delete
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupApi
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
14
|
+
* @summary Delete a behavior group
|
|
15
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
16
|
+
* @param {*} [options] Override http request option.
|
|
17
|
+
* @throws {RequiredError}
|
|
18
|
+
*/
|
|
19
|
+
export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
20
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1DeleteBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
8
|
+
* @summary Delete a behavior group
|
|
9
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { id, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
17
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'DELETE', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClF,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,GAAG,MAA0F,EAAwB,EAAE;IAC/L,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAoD,CAAC;IACxO,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACpC,MAAM,YAAY,GAAG,oCAAoC;SACpD,OAAO,CAAC,IAAI,IAAI,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1D,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '../utils/base';
|
|
3
|
+
export declare type NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeId: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Adds a behavior group to the specified event type.
|
|
20
|
+
* @summary Add a behavior group to an event type
|
|
21
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,cAAqB,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqBhO,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params, 'eventTypeId');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Adds a behavior group to the specified event type.
|
|
8
|
+
* @summary Add a behavior group to an event type
|
|
9
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams(config) ? config[0] : ['behaviorGroupId', 'eventTypeId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { behaviorGroupId, eventTypeId, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}`
|
|
17
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)))
|
|
18
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
19
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21
|
+
const localVarRequestOptions = { method: 'DELETE', ...options };
|
|
22
|
+
const localVarHeaderParameter = {};
|
|
23
|
+
const localVarQueryParameter = {};
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,oEAAoE,GAAG,CAAC,MAAkF,EAA4E,EAAE;IAC5O,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;AAC9J,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,kEAAkE,GAAG,KAAK,EAAE,GAAG,MAA+G,EAAwB,EAAE;IACjO,MAAM,MAAM,GAAG,oEAAoE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAiE,CAAC;IAC9R,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC9D,MAAM,YAAY,GAAG,0EAA0E;SAC1F,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;SAC9E,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '../utils/base';
|
|
3
|
+
export declare type NotificationResourceV1FindBehaviorGroupsByBundleIdParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the bundle to retrieve the behavior groups for.
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1FindBehaviorGroupsByBundleIdApi
|
|
8
|
+
*/
|
|
9
|
+
bundleId: string;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
|
|
14
|
+
* @summary List behavior groups in a bundle
|
|
15
|
+
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
16
|
+
* @param {*} [options] Override http request option.
|
|
17
|
+
* @throws {RequiredError}
|
|
18
|
+
*/
|
|
19
|
+
export declare const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator: (...config: ([NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
20
|
+
export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,wDAAwD,GAAG;IACrE;;;;MAIE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,8DAA8D,cAAqB,CAAC,CAAC,wDAAwD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoBhN,CAAA;AAED,eAAe,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleId');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
|
|
8
|
+
* @summary List behavior groups in a bundle
|
|
9
|
+
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams(config) ? config[0] : ['bundleId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { bundleId, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/bundles/{bundleId}/behaviorGroups`
|
|
17
|
+
.replace(`{${"bundleId"}}`, encodeURIComponent(String(bundleId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,gEAAgE,GAAG,CAAC,MAA8E,EAAwE,EAAE;IAChO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AACxF,CAAC,CA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'../utils/base';
|
|
3
|
+
export declare type NotificationResourceV1GetApplicationByNameAndBundleNameParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
8
|
+
*/
|
|
9
|
+
applicationName: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { string }
|
|
13
|
+
* @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
14
|
+
*/
|
|
15
|
+
bundleName: string;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
|
|
20
|
+
* @summary Retrieve an application by bundle and application names
|
|
21
|
+
* @param {NotificationResourceV1GetApplicationByNameAndBundleNameParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator: (...config: ([NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,6DAA6D,GAAG;IAC1E;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,mEAAmE,cAAqB,CAAC,CAAC,6DAA6D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqBlO,CAAA;AAED,eAAe,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
+
const isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
|
|
8
|
+
* @summary Retrieve an application by bundle and application names
|
|
9
|
+
* @param {NotificationResourceV1GetApplicationByNameAndBundleNameParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { applicationName, bundleName, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}`
|
|
17
|
+
.replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
|
|
18
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
|
|
19
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
22
|
+
const localVarHeaderParameter = {};
|
|
23
|
+
const localVarQueryParameter = {};
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,qEAAqE,GAAG,CAAC,MAAmF,EAA6E,EAAE;IAC/O,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAC7J,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,mEAAmE,GAAG,KAAK,EAAE,GAAG,MAAgH,EAAwB,EAAE;IACnO,MAAM,MAAM,GAAG,qEAAqE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EA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