@redhat-cloud-services/notifications-client 2.0.6 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -0
- package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +7 -52
- package/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js +48 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +1 -0
- package/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +7 -52
- package/EventResourceV1GetEvents/index.js.map +1 -0
- package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +48 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js +48 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +48 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +47 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +48 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js +49 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleByName/index.js +47 -0
- package/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleFacets/index.js +49 -0
- package/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +7 -52
- package/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js +62 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js +49 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +46 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +48 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/api.d.ts → api.d.ts} +76 -8
- package/api.d.ts.map +1 -0
- package/{dist/api.js → api.js} +156 -219
- package/api.js.map +1 -0
- package/{dist/base.d.ts → base.d.ts} +1 -0
- package/base.d.ts.map +1 -0
- package/{dist/base.js → base.js} +3 -16
- package/base.js.map +1 -0
- package/{dist/common.d.ts → common.d.ts} +1 -0
- package/common.d.ts.map +1 -0
- package/{dist/common.js → common.js} +9 -54
- package/common.js.map +1 -0
- package/{dist/configuration.d.ts → configuration.d.ts} +1 -0
- package/configuration.d.ts.map +1 -0
- package/{dist/utils/configuration.js → configuration.js} +1 -0
- package/configuration.js.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +81 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +22 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/esm/EventResourceV1GetEvents/index.d.ts +112 -0
- package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/esm/EventResourceV1GetEvents/index.js +82 -0
- package/esm/EventResourceV1GetEvents/index.js.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +22 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +21 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +27 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +63 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +54 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +51 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +15 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +21 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/api.d.ts +3364 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +2513 -0
- package/esm/api.js.map +1 -0
- package/esm/base.d.ts +55 -0
- package/esm/base.d.ts.map +1 -0
- package/esm/base.js +55 -0
- package/esm/base.js.map +1 -0
- package/esm/common.d.ts +66 -0
- package/esm/common.d.ts.map +1 -0
- package/esm/common.js +134 -0
- package/esm/common.js.map +1 -0
- package/{dist/utils → esm}/configuration.d.ts +1 -0
- package/esm/configuration.d.ts.map +1 -0
- package/esm/configuration.js +28 -0
- package/esm/configuration.js.map +1 -0
- package/esm/index.d.ts +27 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +50 -0
- package/esm/index.js.map +1 -0
- package/{dist → esm}/types/index.d.ts +76 -8
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +90 -0
- package/esm/types/index.js.map +1 -0
- package/{dist → esm}/utils/base.d.ts +2 -1
- package/esm/utils/base.d.ts.map +1 -0
- package/esm/utils/base.js +125 -0
- package/esm/utils/base.js.map +1 -0
- package/{dist → esm}/utils/common.d.ts +1 -0
- package/esm/utils/common.d.ts.map +1 -0
- package/esm/utils/common.js +123 -0
- package/esm/utils/common.js.map +1 -0
- package/esm/utils/configuration.d.ts +73 -0
- package/esm/utils/configuration.d.ts.map +1 -0
- package/esm/utils/configuration.js +28 -0
- package/esm/utils/configuration.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -0
- package/index.js +76 -0
- package/index.js.map +1 -0
- package/package.json +28 -27
- package/types/index.d.ts +1875 -0
- package/types/index.d.ts.map +1 -0
- package/{dist/types → types}/index.js +1 -0
- package/types/index.js.map +1 -0
- package/utils/base.d.ts +85 -0
- package/utils/base.d.ts.map +1 -0
- package/{dist/utils → utils}/base.js +13 -73
- package/utils/base.js.map +1 -0
- package/utils/common.d.ts +55 -0
- package/utils/common.d.ts.map +1 -0
- package/{dist/utils → utils}/common.js +9 -54
- package/utils/common.js.map +1 -0
- package/utils/configuration.d.ts +73 -0
- package/utils/configuration.d.ts.map +1 -0
- package/{dist → utils}/configuration.js +1 -0
- package/utils/configuration.js.map +1 -0
- package/LICENSE +0 -201
- package/README.md +0 -59
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -93
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -93
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +0 -93
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -93
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -92
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -93
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleByName/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -94
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -116
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -94
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -94
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -94
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -91
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -93
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -88
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -61
- package/doc/classes/BaseAPI.md +0 -125
- package/doc/classes/Configuration.md +0 -194
- package/doc/classes/RequiredError.md +0 -179
- package/doc/enums/EndpointStatus.md +0 -76
- package/doc/enums/EndpointType.md +0 -65
- package/doc/enums/Environment.md +0 -54
- package/doc/enums/EventLogEntryActionStatus.md +0 -65
- package/doc/enums/HttpType.md +0 -43
- package/doc/enums/NotificationStatus.md +0 -65
- package/doc/enums/Status.md +0 -32
- package/doc/enums/SubscriptionType.md +0 -43
- package/doc/interfaces/AddAccessRequest.md +0 -44
- package/doc/interfaces/AddApplicationRequest.md +0 -74
- package/doc/interfaces/AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/ApiConfig.md +0 -30
- package/doc/interfaces/Application.md +0 -104
- package/doc/interfaces/Application1.md +0 -44
- package/doc/interfaces/ApplicationDTO.md +0 -104
- package/doc/interfaces/ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/BasicAuthentication.md +0 -44
- package/doc/interfaces/BehaviorGroup.md +0 -149
- package/doc/interfaces/BehaviorGroupAction.md +0 -59
- package/doc/interfaces/BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/Bundle.md +0 -89
- package/doc/interfaces/BundleSettingsValue.md +0 -33
- package/doc/interfaces/CamelProperties.md +0 -123
- package/doc/interfaces/ConfigurationParameters.md +0 -89
- package/doc/interfaces/CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/CurrentStatus.md +0 -59
- package/doc/interfaces/DrawerEntryPayload.md +0 -104
- package/doc/interfaces/DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/Endpoint.md +0 -179
- package/doc/interfaces/EndpointPage.md +0 -63
- package/doc/interfaces/EndpointTestRequest.md +0 -29
- package/doc/interfaces/EventLogEntry.md +0 -119
- package/doc/interfaces/EventLogEntryAction.md +0 -125
- package/doc/interfaces/EventType.md +0 -134
- package/doc/interfaces/EventTypeBehavior.md +0 -59
- package/doc/interfaces/EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/EventTypeSettingsValue.md +0 -48
- package/doc/interfaces/Facet.md +0 -74
- package/doc/interfaces/InstantEmailTemplate.md +0 -149
- package/doc/interfaces/InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/InternalRoleAccess.md +0 -59
- package/doc/interfaces/InternalUserPermissions.md +0 -59
- package/doc/interfaces/MessageValidationResponse.md +0 -33
- package/doc/interfaces/Meta.md +0 -29
- package/doc/interfaces/NotificationHistory.md +0 -155
- package/doc/interfaces/PageBehaviorGroup.md +0 -63
- package/doc/interfaces/PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/PageEventLogEntry.md +0 -63
- package/doc/interfaces/PageEventType.md +0 -63
- package/doc/interfaces/PageNotificationHistory.md +0 -63
- package/doc/interfaces/RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/RequestArgs.md +0 -58
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/ServerInfo.md +0 -29
- package/doc/interfaces/SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/SystemSubscriptionProperties.md +0 -59
- package/doc/interfaces/Template.md +0 -104
- package/doc/interfaces/TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/WebhookProperties.md +0 -104
- package/doc/interfaces/X509Certificate.md +0 -89
- package/doc/modules.md +0 -1111
- package/openapitools.json +0 -7
- package/postProcess.sh +0 -4
- package/tsconfig-cjs.json +0 -19
- package/tsconfig-esm.json +0 -21
- package/tsconfig.json +0 -18
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.js +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.js +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.js +0 -0
- /package/{dist/utils → utils}/index.d.ts +0 -0
- /package/{dist/utils → utils}/index.js +0 -0
package/esm/api.js
ADDED
|
@@ -0,0 +1,2513 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Notifications
|
|
5
|
+
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
// Some imports not used depending on template conditions
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { BASE_PATH, BaseAPI } from './base';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @enum {string}
|
|
24
|
+
*/
|
|
25
|
+
export const EndpointStatus = {
|
|
26
|
+
Ready: 'READY',
|
|
27
|
+
Unknown: 'UNKNOWN',
|
|
28
|
+
New: 'NEW',
|
|
29
|
+
Provisioning: 'PROVISIONING',
|
|
30
|
+
Deleting: 'DELETING',
|
|
31
|
+
Failed: 'FAILED'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export const EndpointType = {
|
|
39
|
+
Webhook: 'webhook',
|
|
40
|
+
EmailSubscription: 'email_subscription',
|
|
41
|
+
Camel: 'camel',
|
|
42
|
+
Ansible: 'ansible',
|
|
43
|
+
Drawer: 'drawer'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
export const Environment = {
|
|
51
|
+
Prod: 'PROD',
|
|
52
|
+
Stage: 'STAGE',
|
|
53
|
+
Ephemeral: 'EPHEMERAL',
|
|
54
|
+
LocalServer: 'LOCAL_SERVER'
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
* @enum {string}
|
|
60
|
+
*/
|
|
61
|
+
export const EventLogEntryActionStatus = {
|
|
62
|
+
Sent: 'SENT',
|
|
63
|
+
Success: 'SUCCESS',
|
|
64
|
+
Processing: 'PROCESSING',
|
|
65
|
+
Failed: 'FAILED',
|
|
66
|
+
Unknown: 'UNKNOWN'
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @export
|
|
71
|
+
* @enum {string}
|
|
72
|
+
*/
|
|
73
|
+
export const HttpType = {
|
|
74
|
+
Get: 'GET',
|
|
75
|
+
Post: 'POST',
|
|
76
|
+
Put: 'PUT'
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @export
|
|
81
|
+
* @enum {string}
|
|
82
|
+
*/
|
|
83
|
+
export const NotificationStatus = {
|
|
84
|
+
FailedInternal: 'FAILED_INTERNAL',
|
|
85
|
+
FailedExternal: 'FAILED_EXTERNAL',
|
|
86
|
+
Processing: 'PROCESSING',
|
|
87
|
+
Sent: 'SENT',
|
|
88
|
+
Success: 'SUCCESS'
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @export
|
|
93
|
+
* @enum {string}
|
|
94
|
+
*/
|
|
95
|
+
export const Status = {
|
|
96
|
+
Up: 'UP',
|
|
97
|
+
Maintenance: 'MAINTENANCE'
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @export
|
|
102
|
+
* @enum {string}
|
|
103
|
+
*/
|
|
104
|
+
export const SubscriptionType = {
|
|
105
|
+
Instant: 'INSTANT',
|
|
106
|
+
Daily: 'DAILY',
|
|
107
|
+
Drawer: 'DRAWER'
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* DrawerResourceV1GetDrawerEntriesApi - axios parameter creator
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
113
|
+
export const DrawerResourceV1GetDrawerEntriesApiAxiosParamCreator = function (configuration) {
|
|
114
|
+
return {
|
|
115
|
+
/**
|
|
116
|
+
* 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.
|
|
117
|
+
* @summary Retrieve drawer notifications entries.
|
|
118
|
+
* @param {Set<string>} [appIds]
|
|
119
|
+
* @param {Set<string>} [bundleIds]
|
|
120
|
+
* @param {string} [endDate]
|
|
121
|
+
* @param {Set<string>} [eventTypeIds]
|
|
122
|
+
* @param {number} [limit]
|
|
123
|
+
* @param {number} [offset]
|
|
124
|
+
* @param {number} [pageNumber]
|
|
125
|
+
* @param {boolean} [readStatus]
|
|
126
|
+
* @param {string} [sortBy]
|
|
127
|
+
* @param {string} [sortBy2]
|
|
128
|
+
* @param {string} [startDate]
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
drawerResourceV1GetDrawerEntries: async (appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options = {}) => {
|
|
133
|
+
const localVarPath = `/notifications/drawer`;
|
|
134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
136
|
+
let baseOptions;
|
|
137
|
+
if (configuration) {
|
|
138
|
+
baseOptions = configuration.baseOptions;
|
|
139
|
+
}
|
|
140
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
141
|
+
const localVarHeaderParameter = {};
|
|
142
|
+
const localVarQueryParameter = {};
|
|
143
|
+
if (appIds) {
|
|
144
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
145
|
+
}
|
|
146
|
+
if (bundleIds) {
|
|
147
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
148
|
+
}
|
|
149
|
+
if (endDate !== undefined) {
|
|
150
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
151
|
+
endDate.toISOString() :
|
|
152
|
+
endDate;
|
|
153
|
+
}
|
|
154
|
+
if (eventTypeIds) {
|
|
155
|
+
localVarQueryParameter['eventTypeIds'] = Array.from(eventTypeIds);
|
|
156
|
+
}
|
|
157
|
+
if (limit !== undefined) {
|
|
158
|
+
localVarQueryParameter['limit'] = limit;
|
|
159
|
+
}
|
|
160
|
+
if (offset !== undefined) {
|
|
161
|
+
localVarQueryParameter['offset'] = offset;
|
|
162
|
+
}
|
|
163
|
+
if (pageNumber !== undefined) {
|
|
164
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
165
|
+
}
|
|
166
|
+
if (readStatus !== undefined) {
|
|
167
|
+
localVarQueryParameter['readStatus'] = readStatus;
|
|
168
|
+
}
|
|
169
|
+
if (sortBy !== undefined) {
|
|
170
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
171
|
+
}
|
|
172
|
+
if (sortBy2 !== undefined) {
|
|
173
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
174
|
+
}
|
|
175
|
+
if (startDate !== undefined) {
|
|
176
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
177
|
+
startDate.toISOString() :
|
|
178
|
+
startDate;
|
|
179
|
+
}
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
183
|
+
return {
|
|
184
|
+
url: toPathString(localVarUrlObj),
|
|
185
|
+
options: localVarRequestOptions,
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* DrawerResourceV1GetDrawerEntriesApi - functional programming interface
|
|
192
|
+
* @export
|
|
193
|
+
*/
|
|
194
|
+
export const DrawerResourceV1GetDrawerEntriesApiFp = function (configuration) {
|
|
195
|
+
const localVarAxiosParamCreator = DrawerResourceV1GetDrawerEntriesApiAxiosParamCreator(configuration);
|
|
196
|
+
return {
|
|
197
|
+
/**
|
|
198
|
+
* 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.
|
|
199
|
+
* @summary Retrieve drawer notifications entries.
|
|
200
|
+
* @param {Set<string>} [appIds]
|
|
201
|
+
* @param {Set<string>} [bundleIds]
|
|
202
|
+
* @param {string} [endDate]
|
|
203
|
+
* @param {Set<string>} [eventTypeIds]
|
|
204
|
+
* @param {number} [limit]
|
|
205
|
+
* @param {number} [offset]
|
|
206
|
+
* @param {number} [pageNumber]
|
|
207
|
+
* @param {boolean} [readStatus]
|
|
208
|
+
* @param {string} [sortBy]
|
|
209
|
+
* @param {string} [sortBy2]
|
|
210
|
+
* @param {string} [startDate]
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
async drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
|
|
215
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options);
|
|
216
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
217
|
+
},
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* DrawerResourceV1GetDrawerEntriesApi - factory interface
|
|
222
|
+
* @export
|
|
223
|
+
*/
|
|
224
|
+
export const DrawerResourceV1GetDrawerEntriesApiFactory = function (configuration, basePath, axios) {
|
|
225
|
+
const localVarFp = DrawerResourceV1GetDrawerEntriesApiFp(configuration);
|
|
226
|
+
return {
|
|
227
|
+
/**
|
|
228
|
+
* 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.
|
|
229
|
+
* @summary Retrieve drawer notifications entries.
|
|
230
|
+
* @param {Set<string>} [appIds]
|
|
231
|
+
* @param {Set<string>} [bundleIds]
|
|
232
|
+
* @param {string} [endDate]
|
|
233
|
+
* @param {Set<string>} [eventTypeIds]
|
|
234
|
+
* @param {number} [limit]
|
|
235
|
+
* @param {number} [offset]
|
|
236
|
+
* @param {number} [pageNumber]
|
|
237
|
+
* @param {boolean} [readStatus]
|
|
238
|
+
* @param {string} [sortBy]
|
|
239
|
+
* @param {string} [sortBy2]
|
|
240
|
+
* @param {string} [startDate]
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
|
|
245
|
+
return localVarFp.drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options).then((request) => request(axios, basePath));
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* DrawerResourceV1GetDrawerEntriesApi - object-oriented interface
|
|
251
|
+
* @export
|
|
252
|
+
* @class DrawerResourceV1GetDrawerEntriesApi
|
|
253
|
+
* @extends {BaseAPI}
|
|
254
|
+
*/
|
|
255
|
+
export class DrawerResourceV1GetDrawerEntriesApi extends BaseAPI {
|
|
256
|
+
/**
|
|
257
|
+
* 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.
|
|
258
|
+
* @summary Retrieve drawer notifications entries.
|
|
259
|
+
* @param {Set<string>} [appIds]
|
|
260
|
+
* @param {Set<string>} [bundleIds]
|
|
261
|
+
* @param {string} [endDate]
|
|
262
|
+
* @param {Set<string>} [eventTypeIds]
|
|
263
|
+
* @param {number} [limit]
|
|
264
|
+
* @param {number} [offset]
|
|
265
|
+
* @param {number} [pageNumber]
|
|
266
|
+
* @param {boolean} [readStatus]
|
|
267
|
+
* @param {string} [sortBy]
|
|
268
|
+
* @param {string} [sortBy2]
|
|
269
|
+
* @param {string} [startDate]
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
* @memberof DrawerResourceV1GetDrawerEntriesApi
|
|
273
|
+
*/
|
|
274
|
+
drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
|
|
275
|
+
return DrawerResourceV1GetDrawerEntriesApiFp(this.configuration).drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* DrawerResourceV1UpdateNotificationReadStatusApi - axios parameter creator
|
|
280
|
+
* @export
|
|
281
|
+
*/
|
|
282
|
+
export const DrawerResourceV1UpdateNotificationReadStatusApiAxiosParamCreator = function (configuration) {
|
|
283
|
+
return {
|
|
284
|
+
/**
|
|
285
|
+
* Update drawer notifications status.
|
|
286
|
+
* @summary Update drawer notifications status.
|
|
287
|
+
* @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
drawerResourceV1UpdateNotificationReadStatus: async (updateNotificationDrawerStatus, options = {}) => {
|
|
292
|
+
const localVarPath = `/notifications/drawer/read`;
|
|
293
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
294
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
|
+
let baseOptions;
|
|
296
|
+
if (configuration) {
|
|
297
|
+
baseOptions = configuration.baseOptions;
|
|
298
|
+
}
|
|
299
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
300
|
+
const localVarHeaderParameter = {};
|
|
301
|
+
const localVarQueryParameter = {};
|
|
302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateNotificationDrawerStatus, localVarRequestOptions, configuration);
|
|
307
|
+
return {
|
|
308
|
+
url: toPathString(localVarUrlObj),
|
|
309
|
+
options: localVarRequestOptions,
|
|
310
|
+
};
|
|
311
|
+
},
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* DrawerResourceV1UpdateNotificationReadStatusApi - functional programming interface
|
|
316
|
+
* @export
|
|
317
|
+
*/
|
|
318
|
+
export const DrawerResourceV1UpdateNotificationReadStatusApiFp = function (configuration) {
|
|
319
|
+
const localVarAxiosParamCreator = DrawerResourceV1UpdateNotificationReadStatusApiAxiosParamCreator(configuration);
|
|
320
|
+
return {
|
|
321
|
+
/**
|
|
322
|
+
* Update drawer notifications status.
|
|
323
|
+
* @summary Update drawer notifications status.
|
|
324
|
+
* @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
async drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
|
|
329
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options);
|
|
330
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
331
|
+
},
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* DrawerResourceV1UpdateNotificationReadStatusApi - factory interface
|
|
336
|
+
* @export
|
|
337
|
+
*/
|
|
338
|
+
export const DrawerResourceV1UpdateNotificationReadStatusApiFactory = function (configuration, basePath, axios) {
|
|
339
|
+
const localVarFp = DrawerResourceV1UpdateNotificationReadStatusApiFp(configuration);
|
|
340
|
+
return {
|
|
341
|
+
/**
|
|
342
|
+
* Update drawer notifications status.
|
|
343
|
+
* @summary Update drawer notifications status.
|
|
344
|
+
* @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
|
|
349
|
+
return localVarFp.drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options).then((request) => request(axios, basePath));
|
|
350
|
+
},
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* DrawerResourceV1UpdateNotificationReadStatusApi - object-oriented interface
|
|
355
|
+
* @export
|
|
356
|
+
* @class DrawerResourceV1UpdateNotificationReadStatusApi
|
|
357
|
+
* @extends {BaseAPI}
|
|
358
|
+
*/
|
|
359
|
+
export class DrawerResourceV1UpdateNotificationReadStatusApi extends BaseAPI {
|
|
360
|
+
/**
|
|
361
|
+
* Update drawer notifications status.
|
|
362
|
+
* @summary Update drawer notifications status.
|
|
363
|
+
* @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
* @memberof DrawerResourceV1UpdateNotificationReadStatusApi
|
|
367
|
+
*/
|
|
368
|
+
drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
|
|
369
|
+
return DrawerResourceV1UpdateNotificationReadStatusApiFp(this.configuration).drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options).then((request) => request(this.axios, this.basePath));
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* EventResourceV1GetEventsApi - axios parameter creator
|
|
374
|
+
* @export
|
|
375
|
+
*/
|
|
376
|
+
export const EventResourceV1GetEventsApiAxiosParamCreator = function (configuration) {
|
|
377
|
+
return {
|
|
378
|
+
/**
|
|
379
|
+
* 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.
|
|
380
|
+
* @summary Retrieve the event log entries
|
|
381
|
+
* @param {Set<string>} [appIds]
|
|
382
|
+
* @param {Set<string>} [bundleIds]
|
|
383
|
+
* @param {string} [endDate]
|
|
384
|
+
* @param {Set<string>} [endpointTypes]
|
|
385
|
+
* @param {string} [eventTypeDisplayName]
|
|
386
|
+
* @param {boolean} [includeActions]
|
|
387
|
+
* @param {boolean} [includeDetails]
|
|
388
|
+
* @param {boolean} [includePayload]
|
|
389
|
+
* @param {Set<boolean>} [invocationResults]
|
|
390
|
+
* @param {number} [limit]
|
|
391
|
+
* @param {number} [offset]
|
|
392
|
+
* @param {number} [pageNumber]
|
|
393
|
+
* @param {string} [sortBy]
|
|
394
|
+
* @param {string} [sortBy2]
|
|
395
|
+
* @param {string} [startDate]
|
|
396
|
+
* @param {Set<EventLogEntryActionStatus>} [status]
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
eventResourceV1GetEvents: async (appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options = {}) => {
|
|
401
|
+
const localVarPath = `/notifications/events`;
|
|
402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
404
|
+
let baseOptions;
|
|
405
|
+
if (configuration) {
|
|
406
|
+
baseOptions = configuration.baseOptions;
|
|
407
|
+
}
|
|
408
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
409
|
+
const localVarHeaderParameter = {};
|
|
410
|
+
const localVarQueryParameter = {};
|
|
411
|
+
if (appIds) {
|
|
412
|
+
localVarQueryParameter['appIds'] = Array.from(appIds);
|
|
413
|
+
}
|
|
414
|
+
if (bundleIds) {
|
|
415
|
+
localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
|
|
416
|
+
}
|
|
417
|
+
if (endDate !== undefined) {
|
|
418
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
419
|
+
endDate.toISOString().substring(0, 10) :
|
|
420
|
+
endDate;
|
|
421
|
+
}
|
|
422
|
+
if (endpointTypes) {
|
|
423
|
+
localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
|
|
424
|
+
}
|
|
425
|
+
if (eventTypeDisplayName !== undefined) {
|
|
426
|
+
localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
|
|
427
|
+
}
|
|
428
|
+
if (includeActions !== undefined) {
|
|
429
|
+
localVarQueryParameter['includeActions'] = includeActions;
|
|
430
|
+
}
|
|
431
|
+
if (includeDetails !== undefined) {
|
|
432
|
+
localVarQueryParameter['includeDetails'] = includeDetails;
|
|
433
|
+
}
|
|
434
|
+
if (includePayload !== undefined) {
|
|
435
|
+
localVarQueryParameter['includePayload'] = includePayload;
|
|
436
|
+
}
|
|
437
|
+
if (invocationResults) {
|
|
438
|
+
localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
|
|
439
|
+
}
|
|
440
|
+
if (limit !== undefined) {
|
|
441
|
+
localVarQueryParameter['limit'] = limit;
|
|
442
|
+
}
|
|
443
|
+
if (offset !== undefined) {
|
|
444
|
+
localVarQueryParameter['offset'] = offset;
|
|
445
|
+
}
|
|
446
|
+
if (pageNumber !== undefined) {
|
|
447
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
448
|
+
}
|
|
449
|
+
if (sortBy !== undefined) {
|
|
450
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
451
|
+
}
|
|
452
|
+
if (sortBy2 !== undefined) {
|
|
453
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
454
|
+
}
|
|
455
|
+
if (startDate !== undefined) {
|
|
456
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
457
|
+
startDate.toISOString().substring(0, 10) :
|
|
458
|
+
startDate;
|
|
459
|
+
}
|
|
460
|
+
if (status) {
|
|
461
|
+
localVarQueryParameter['status'] = Array.from(status);
|
|
462
|
+
}
|
|
463
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
464
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
465
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
466
|
+
return {
|
|
467
|
+
url: toPathString(localVarUrlObj),
|
|
468
|
+
options: localVarRequestOptions,
|
|
469
|
+
};
|
|
470
|
+
},
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* EventResourceV1GetEventsApi - functional programming interface
|
|
475
|
+
* @export
|
|
476
|
+
*/
|
|
477
|
+
export const EventResourceV1GetEventsApiFp = function (configuration) {
|
|
478
|
+
const localVarAxiosParamCreator = EventResourceV1GetEventsApiAxiosParamCreator(configuration);
|
|
479
|
+
return {
|
|
480
|
+
/**
|
|
481
|
+
* 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.
|
|
482
|
+
* @summary Retrieve the event log entries
|
|
483
|
+
* @param {Set<string>} [appIds]
|
|
484
|
+
* @param {Set<string>} [bundleIds]
|
|
485
|
+
* @param {string} [endDate]
|
|
486
|
+
* @param {Set<string>} [endpointTypes]
|
|
487
|
+
* @param {string} [eventTypeDisplayName]
|
|
488
|
+
* @param {boolean} [includeActions]
|
|
489
|
+
* @param {boolean} [includeDetails]
|
|
490
|
+
* @param {boolean} [includePayload]
|
|
491
|
+
* @param {Set<boolean>} [invocationResults]
|
|
492
|
+
* @param {number} [limit]
|
|
493
|
+
* @param {number} [offset]
|
|
494
|
+
* @param {number} [pageNumber]
|
|
495
|
+
* @param {string} [sortBy]
|
|
496
|
+
* @param {string} [sortBy2]
|
|
497
|
+
* @param {string} [startDate]
|
|
498
|
+
* @param {Set<EventLogEntryActionStatus>} [status]
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
async eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
|
|
503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options);
|
|
504
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
505
|
+
},
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* EventResourceV1GetEventsApi - factory interface
|
|
510
|
+
* @export
|
|
511
|
+
*/
|
|
512
|
+
export const EventResourceV1GetEventsApiFactory = function (configuration, basePath, axios) {
|
|
513
|
+
const localVarFp = EventResourceV1GetEventsApiFp(configuration);
|
|
514
|
+
return {
|
|
515
|
+
/**
|
|
516
|
+
* 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.
|
|
517
|
+
* @summary Retrieve the event log entries
|
|
518
|
+
* @param {Set<string>} [appIds]
|
|
519
|
+
* @param {Set<string>} [bundleIds]
|
|
520
|
+
* @param {string} [endDate]
|
|
521
|
+
* @param {Set<string>} [endpointTypes]
|
|
522
|
+
* @param {string} [eventTypeDisplayName]
|
|
523
|
+
* @param {boolean} [includeActions]
|
|
524
|
+
* @param {boolean} [includeDetails]
|
|
525
|
+
* @param {boolean} [includePayload]
|
|
526
|
+
* @param {Set<boolean>} [invocationResults]
|
|
527
|
+
* @param {number} [limit]
|
|
528
|
+
* @param {number} [offset]
|
|
529
|
+
* @param {number} [pageNumber]
|
|
530
|
+
* @param {string} [sortBy]
|
|
531
|
+
* @param {string} [sortBy2]
|
|
532
|
+
* @param {string} [startDate]
|
|
533
|
+
* @param {Set<EventLogEntryActionStatus>} [status]
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
|
|
538
|
+
return localVarFp.eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options).then((request) => request(axios, basePath));
|
|
539
|
+
},
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* EventResourceV1GetEventsApi - object-oriented interface
|
|
544
|
+
* @export
|
|
545
|
+
* @class EventResourceV1GetEventsApi
|
|
546
|
+
* @extends {BaseAPI}
|
|
547
|
+
*/
|
|
548
|
+
export class EventResourceV1GetEventsApi extends BaseAPI {
|
|
549
|
+
/**
|
|
550
|
+
* 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.
|
|
551
|
+
* @summary Retrieve the event log entries
|
|
552
|
+
* @param {Set<string>} [appIds]
|
|
553
|
+
* @param {Set<string>} [bundleIds]
|
|
554
|
+
* @param {string} [endDate]
|
|
555
|
+
* @param {Set<string>} [endpointTypes]
|
|
556
|
+
* @param {string} [eventTypeDisplayName]
|
|
557
|
+
* @param {boolean} [includeActions]
|
|
558
|
+
* @param {boolean} [includeDetails]
|
|
559
|
+
* @param {boolean} [includePayload]
|
|
560
|
+
* @param {Set<boolean>} [invocationResults]
|
|
561
|
+
* @param {number} [limit]
|
|
562
|
+
* @param {number} [offset]
|
|
563
|
+
* @param {number} [pageNumber]
|
|
564
|
+
* @param {string} [sortBy]
|
|
565
|
+
* @param {string} [sortBy2]
|
|
566
|
+
* @param {string} [startDate]
|
|
567
|
+
* @param {Set<EventLogEntryActionStatus>} [status]
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
* @memberof EventResourceV1GetEventsApi
|
|
571
|
+
*/
|
|
572
|
+
eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
|
|
573
|
+
return EventResourceV1GetEventsApiFp(this.configuration).eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* NotificationResourceV1AppendBehaviorGroupToEventTypeApi - axios parameter creator
|
|
578
|
+
* @export
|
|
579
|
+
*/
|
|
580
|
+
export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiAxiosParamCreator = function (configuration) {
|
|
581
|
+
return {
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @summary Add a behavior group to the given event type.
|
|
585
|
+
* @param {string} behaviorGroupUuid
|
|
586
|
+
* @param {string} eventTypeUuid
|
|
587
|
+
* @param {*} [options] Override http request option.
|
|
588
|
+
* @throws {RequiredError}
|
|
589
|
+
*/
|
|
590
|
+
notificationResourceV1AppendBehaviorGroupToEventType: async (behaviorGroupUuid, eventTypeUuid, options = {}) => {
|
|
591
|
+
// verify required parameter 'behaviorGroupUuid' is not null or undefined
|
|
592
|
+
assertParamExists('notificationResourceV1AppendBehaviorGroupToEventType', 'behaviorGroupUuid', behaviorGroupUuid);
|
|
593
|
+
// verify required parameter 'eventTypeUuid' is not null or undefined
|
|
594
|
+
assertParamExists('notificationResourceV1AppendBehaviorGroupToEventType', 'eventTypeUuid', eventTypeUuid);
|
|
595
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
|
|
596
|
+
.replace(`{${"behaviorGroupUuid"}}`, encodeURIComponent(String(behaviorGroupUuid)))
|
|
597
|
+
.replace(`{${"eventTypeUuid"}}`, encodeURIComponent(String(eventTypeUuid)));
|
|
598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
600
|
+
let baseOptions;
|
|
601
|
+
if (configuration) {
|
|
602
|
+
baseOptions = configuration.baseOptions;
|
|
603
|
+
}
|
|
604
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
605
|
+
const localVarHeaderParameter = {};
|
|
606
|
+
const localVarQueryParameter = {};
|
|
607
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
609
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
610
|
+
return {
|
|
611
|
+
url: toPathString(localVarUrlObj),
|
|
612
|
+
options: localVarRequestOptions,
|
|
613
|
+
};
|
|
614
|
+
},
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
/**
|
|
618
|
+
* NotificationResourceV1AppendBehaviorGroupToEventTypeApi - functional programming interface
|
|
619
|
+
* @export
|
|
620
|
+
*/
|
|
621
|
+
export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp = function (configuration) {
|
|
622
|
+
const localVarAxiosParamCreator = NotificationResourceV1AppendBehaviorGroupToEventTypeApiAxiosParamCreator(configuration);
|
|
623
|
+
return {
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @summary Add a behavior group to the given event type.
|
|
627
|
+
* @param {string} behaviorGroupUuid
|
|
628
|
+
* @param {string} eventTypeUuid
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
*/
|
|
632
|
+
async notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
|
|
633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options);
|
|
634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
635
|
+
},
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* NotificationResourceV1AppendBehaviorGroupToEventTypeApi - factory interface
|
|
640
|
+
* @export
|
|
641
|
+
*/
|
|
642
|
+
export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiFactory = function (configuration, basePath, axios) {
|
|
643
|
+
const localVarFp = NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp(configuration);
|
|
644
|
+
return {
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @summary Add a behavior group to the given event type.
|
|
648
|
+
* @param {string} behaviorGroupUuid
|
|
649
|
+
* @param {string} eventTypeUuid
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
*/
|
|
653
|
+
notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
|
|
654
|
+
return localVarFp.notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options).then((request) => request(axios, basePath));
|
|
655
|
+
},
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* NotificationResourceV1AppendBehaviorGroupToEventTypeApi - object-oriented interface
|
|
660
|
+
* @export
|
|
661
|
+
* @class NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
662
|
+
* @extends {BaseAPI}
|
|
663
|
+
*/
|
|
664
|
+
export class NotificationResourceV1AppendBehaviorGroupToEventTypeApi extends BaseAPI {
|
|
665
|
+
/**
|
|
666
|
+
*
|
|
667
|
+
* @summary Add a behavior group to the given event type.
|
|
668
|
+
* @param {string} behaviorGroupUuid
|
|
669
|
+
* @param {string} eventTypeUuid
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
* @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
|
|
673
|
+
*/
|
|
674
|
+
notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
|
|
675
|
+
return NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp(this.configuration).notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options).then((request) => request(this.axios, this.basePath));
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* NotificationResourceV1CreateBehaviorGroupApi - axios parameter creator
|
|
680
|
+
* @export
|
|
681
|
+
*/
|
|
682
|
+
export const NotificationResourceV1CreateBehaviorGroupApiAxiosParamCreator = function (configuration) {
|
|
683
|
+
return {
|
|
684
|
+
/**
|
|
685
|
+
* 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.
|
|
686
|
+
* @summary Create a behavior group
|
|
687
|
+
* @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
notificationResourceV1CreateBehaviorGroup: async (createBehaviorGroupRequest, options = {}) => {
|
|
692
|
+
// verify required parameter 'createBehaviorGroupRequest' is not null or undefined
|
|
693
|
+
assertParamExists('notificationResourceV1CreateBehaviorGroup', 'createBehaviorGroupRequest', createBehaviorGroupRequest);
|
|
694
|
+
const localVarPath = `/notifications/behaviorGroups`;
|
|
695
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
696
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
697
|
+
let baseOptions;
|
|
698
|
+
if (configuration) {
|
|
699
|
+
baseOptions = configuration.baseOptions;
|
|
700
|
+
}
|
|
701
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
702
|
+
const localVarHeaderParameter = {};
|
|
703
|
+
const localVarQueryParameter = {};
|
|
704
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
707
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
708
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBehaviorGroupRequest, localVarRequestOptions, configuration);
|
|
709
|
+
return {
|
|
710
|
+
url: toPathString(localVarUrlObj),
|
|
711
|
+
options: localVarRequestOptions,
|
|
712
|
+
};
|
|
713
|
+
},
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* NotificationResourceV1CreateBehaviorGroupApi - functional programming interface
|
|
718
|
+
* @export
|
|
719
|
+
*/
|
|
720
|
+
export const NotificationResourceV1CreateBehaviorGroupApiFp = function (configuration) {
|
|
721
|
+
const localVarAxiosParamCreator = NotificationResourceV1CreateBehaviorGroupApiAxiosParamCreator(configuration);
|
|
722
|
+
return {
|
|
723
|
+
/**
|
|
724
|
+
* 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.
|
|
725
|
+
* @summary Create a behavior group
|
|
726
|
+
* @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
async notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
|
|
731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options);
|
|
732
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
733
|
+
},
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* NotificationResourceV1CreateBehaviorGroupApi - factory interface
|
|
738
|
+
* @export
|
|
739
|
+
*/
|
|
740
|
+
export const NotificationResourceV1CreateBehaviorGroupApiFactory = function (configuration, basePath, axios) {
|
|
741
|
+
const localVarFp = NotificationResourceV1CreateBehaviorGroupApiFp(configuration);
|
|
742
|
+
return {
|
|
743
|
+
/**
|
|
744
|
+
* 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.
|
|
745
|
+
* @summary Create a behavior group
|
|
746
|
+
* @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
|
|
751
|
+
return localVarFp.notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options).then((request) => request(axios, basePath));
|
|
752
|
+
},
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* NotificationResourceV1CreateBehaviorGroupApi - object-oriented interface
|
|
757
|
+
* @export
|
|
758
|
+
* @class NotificationResourceV1CreateBehaviorGroupApi
|
|
759
|
+
* @extends {BaseAPI}
|
|
760
|
+
*/
|
|
761
|
+
export class NotificationResourceV1CreateBehaviorGroupApi extends BaseAPI {
|
|
762
|
+
/**
|
|
763
|
+
* 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.
|
|
764
|
+
* @summary Create a behavior group
|
|
765
|
+
* @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
* @memberof NotificationResourceV1CreateBehaviorGroupApi
|
|
769
|
+
*/
|
|
770
|
+
notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
|
|
771
|
+
return NotificationResourceV1CreateBehaviorGroupApiFp(this.configuration).notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* NotificationResourceV1DeleteBehaviorGroupApi - axios parameter creator
|
|
776
|
+
* @export
|
|
777
|
+
*/
|
|
778
|
+
export const NotificationResourceV1DeleteBehaviorGroupApiAxiosParamCreator = function (configuration) {
|
|
779
|
+
return {
|
|
780
|
+
/**
|
|
781
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
782
|
+
* @summary Delete a behavior group
|
|
783
|
+
* @param {string} id The UUID of the behavior group to delete
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
notificationResourceV1DeleteBehaviorGroup: async (id, options = {}) => {
|
|
788
|
+
// verify required parameter 'id' is not null or undefined
|
|
789
|
+
assertParamExists('notificationResourceV1DeleteBehaviorGroup', 'id', id);
|
|
790
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
791
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
792
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
793
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
794
|
+
let baseOptions;
|
|
795
|
+
if (configuration) {
|
|
796
|
+
baseOptions = configuration.baseOptions;
|
|
797
|
+
}
|
|
798
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
799
|
+
const localVarHeaderParameter = {};
|
|
800
|
+
const localVarQueryParameter = {};
|
|
801
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
804
|
+
return {
|
|
805
|
+
url: toPathString(localVarUrlObj),
|
|
806
|
+
options: localVarRequestOptions,
|
|
807
|
+
};
|
|
808
|
+
},
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* NotificationResourceV1DeleteBehaviorGroupApi - functional programming interface
|
|
813
|
+
* @export
|
|
814
|
+
*/
|
|
815
|
+
export const NotificationResourceV1DeleteBehaviorGroupApiFp = function (configuration) {
|
|
816
|
+
const localVarAxiosParamCreator = NotificationResourceV1DeleteBehaviorGroupApiAxiosParamCreator(configuration);
|
|
817
|
+
return {
|
|
818
|
+
/**
|
|
819
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
820
|
+
* @summary Delete a behavior group
|
|
821
|
+
* @param {string} id The UUID of the behavior group to delete
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
*/
|
|
825
|
+
async notificationResourceV1DeleteBehaviorGroup(id, options) {
|
|
826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1DeleteBehaviorGroup(id, options);
|
|
827
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
|
+
},
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* NotificationResourceV1DeleteBehaviorGroupApi - factory interface
|
|
833
|
+
* @export
|
|
834
|
+
*/
|
|
835
|
+
export const NotificationResourceV1DeleteBehaviorGroupApiFactory = function (configuration, basePath, axios) {
|
|
836
|
+
const localVarFp = NotificationResourceV1DeleteBehaviorGroupApiFp(configuration);
|
|
837
|
+
return {
|
|
838
|
+
/**
|
|
839
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
840
|
+
* @summary Delete a behavior group
|
|
841
|
+
* @param {string} id The UUID of the behavior group to delete
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
notificationResourceV1DeleteBehaviorGroup(id, options) {
|
|
846
|
+
return localVarFp.notificationResourceV1DeleteBehaviorGroup(id, options).then((request) => request(axios, basePath));
|
|
847
|
+
},
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* NotificationResourceV1DeleteBehaviorGroupApi - object-oriented interface
|
|
852
|
+
* @export
|
|
853
|
+
* @class NotificationResourceV1DeleteBehaviorGroupApi
|
|
854
|
+
* @extends {BaseAPI}
|
|
855
|
+
*/
|
|
856
|
+
export class NotificationResourceV1DeleteBehaviorGroupApi extends BaseAPI {
|
|
857
|
+
/**
|
|
858
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
859
|
+
* @summary Delete a behavior group
|
|
860
|
+
* @param {string} id The UUID of the behavior group to delete
|
|
861
|
+
* @param {*} [options] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupApi
|
|
864
|
+
*/
|
|
865
|
+
notificationResourceV1DeleteBehaviorGroup(id, options) {
|
|
866
|
+
return NotificationResourceV1DeleteBehaviorGroupApiFp(this.configuration).notificationResourceV1DeleteBehaviorGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - axios parameter creator
|
|
871
|
+
* @export
|
|
872
|
+
*/
|
|
873
|
+
export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiAxiosParamCreator = function (configuration) {
|
|
874
|
+
return {
|
|
875
|
+
/**
|
|
876
|
+
* Adds a behavior group to the specified event type.
|
|
877
|
+
* @summary Add a behavior group to an event type
|
|
878
|
+
* @param {string} behaviorGroupId
|
|
879
|
+
* @param {string} eventTypeId
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType: async (behaviorGroupId, eventTypeId, options = {}) => {
|
|
884
|
+
// verify required parameter 'behaviorGroupId' is not null or undefined
|
|
885
|
+
assertParamExists('notificationResourceV1DeleteBehaviorGroupFromEventType', 'behaviorGroupId', behaviorGroupId);
|
|
886
|
+
// verify required parameter 'eventTypeId' is not null or undefined
|
|
887
|
+
assertParamExists('notificationResourceV1DeleteBehaviorGroupFromEventType', 'eventTypeId', eventTypeId);
|
|
888
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}`
|
|
889
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)))
|
|
890
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
891
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
892
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
893
|
+
let baseOptions;
|
|
894
|
+
if (configuration) {
|
|
895
|
+
baseOptions = configuration.baseOptions;
|
|
896
|
+
}
|
|
897
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
898
|
+
const localVarHeaderParameter = {};
|
|
899
|
+
const localVarQueryParameter = {};
|
|
900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
902
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
903
|
+
return {
|
|
904
|
+
url: toPathString(localVarUrlObj),
|
|
905
|
+
options: localVarRequestOptions,
|
|
906
|
+
};
|
|
907
|
+
},
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - functional programming interface
|
|
912
|
+
* @export
|
|
913
|
+
*/
|
|
914
|
+
export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp = function (configuration) {
|
|
915
|
+
const localVarAxiosParamCreator = NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiAxiosParamCreator(configuration);
|
|
916
|
+
return {
|
|
917
|
+
/**
|
|
918
|
+
* Adds a behavior group to the specified event type.
|
|
919
|
+
* @summary Add a behavior group to an event type
|
|
920
|
+
* @param {string} behaviorGroupId
|
|
921
|
+
* @param {string} eventTypeId
|
|
922
|
+
* @param {*} [options] Override http request option.
|
|
923
|
+
* @throws {RequiredError}
|
|
924
|
+
*/
|
|
925
|
+
async notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
|
|
926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options);
|
|
927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
928
|
+
},
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
/**
|
|
932
|
+
* NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - factory interface
|
|
933
|
+
* @export
|
|
934
|
+
*/
|
|
935
|
+
export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFactory = function (configuration, basePath, axios) {
|
|
936
|
+
const localVarFp = NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp(configuration);
|
|
937
|
+
return {
|
|
938
|
+
/**
|
|
939
|
+
* Adds a behavior group to the specified event type.
|
|
940
|
+
* @summary Add a behavior group to an event type
|
|
941
|
+
* @param {string} behaviorGroupId
|
|
942
|
+
* @param {string} eventTypeId
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
*/
|
|
946
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
|
|
947
|
+
return localVarFp.notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options).then((request) => request(axios, basePath));
|
|
948
|
+
},
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - object-oriented interface
|
|
953
|
+
* @export
|
|
954
|
+
* @class NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
955
|
+
* @extends {BaseAPI}
|
|
956
|
+
*/
|
|
957
|
+
export class NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi extends BaseAPI {
|
|
958
|
+
/**
|
|
959
|
+
* Adds a behavior group to the specified event type.
|
|
960
|
+
* @summary Add a behavior group to an event type
|
|
961
|
+
* @param {string} behaviorGroupId
|
|
962
|
+
* @param {string} eventTypeId
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
966
|
+
*/
|
|
967
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
|
|
968
|
+
return NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp(this.configuration).notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* NotificationResourceV1FindBehaviorGroupsByBundleIdApi - axios parameter creator
|
|
973
|
+
* @export
|
|
974
|
+
*/
|
|
975
|
+
export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiAxiosParamCreator = function (configuration) {
|
|
976
|
+
return {
|
|
977
|
+
/**
|
|
978
|
+
* 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.
|
|
979
|
+
* @summary List behavior groups in a bundle
|
|
980
|
+
* @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
|
|
981
|
+
* @param {*} [options] Override http request option.
|
|
982
|
+
* @throws {RequiredError}
|
|
983
|
+
*/
|
|
984
|
+
notificationResourceV1FindBehaviorGroupsByBundleId: async (bundleId, options = {}) => {
|
|
985
|
+
// verify required parameter 'bundleId' is not null or undefined
|
|
986
|
+
assertParamExists('notificationResourceV1FindBehaviorGroupsByBundleId', 'bundleId', bundleId);
|
|
987
|
+
const localVarPath = `/notifications/bundles/{bundleId}/behaviorGroups`
|
|
988
|
+
.replace(`{${"bundleId"}}`, encodeURIComponent(String(bundleId)));
|
|
989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
990
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
991
|
+
let baseOptions;
|
|
992
|
+
if (configuration) {
|
|
993
|
+
baseOptions = configuration.baseOptions;
|
|
994
|
+
}
|
|
995
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
996
|
+
const localVarHeaderParameter = {};
|
|
997
|
+
const localVarQueryParameter = {};
|
|
998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1000
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1001
|
+
return {
|
|
1002
|
+
url: toPathString(localVarUrlObj),
|
|
1003
|
+
options: localVarRequestOptions,
|
|
1004
|
+
};
|
|
1005
|
+
},
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* NotificationResourceV1FindBehaviorGroupsByBundleIdApi - functional programming interface
|
|
1010
|
+
* @export
|
|
1011
|
+
*/
|
|
1012
|
+
export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp = function (configuration) {
|
|
1013
|
+
const localVarAxiosParamCreator = NotificationResourceV1FindBehaviorGroupsByBundleIdApiAxiosParamCreator(configuration);
|
|
1014
|
+
return {
|
|
1015
|
+
/**
|
|
1016
|
+
* 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.
|
|
1017
|
+
* @summary List behavior groups in a bundle
|
|
1018
|
+
* @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
|
|
1019
|
+
* @param {*} [options] Override http request option.
|
|
1020
|
+
* @throws {RequiredError}
|
|
1021
|
+
*/
|
|
1022
|
+
async notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
|
|
1023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options);
|
|
1024
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1025
|
+
},
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
/**
|
|
1029
|
+
* NotificationResourceV1FindBehaviorGroupsByBundleIdApi - factory interface
|
|
1030
|
+
* @export
|
|
1031
|
+
*/
|
|
1032
|
+
export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiFactory = function (configuration, basePath, axios) {
|
|
1033
|
+
const localVarFp = NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp(configuration);
|
|
1034
|
+
return {
|
|
1035
|
+
/**
|
|
1036
|
+
* 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.
|
|
1037
|
+
* @summary List behavior groups in a bundle
|
|
1038
|
+
* @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
|
|
1039
|
+
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @throws {RequiredError}
|
|
1041
|
+
*/
|
|
1042
|
+
notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
|
|
1043
|
+
return localVarFp.notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options).then((request) => request(axios, basePath));
|
|
1044
|
+
},
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
/**
|
|
1048
|
+
* NotificationResourceV1FindBehaviorGroupsByBundleIdApi - object-oriented interface
|
|
1049
|
+
* @export
|
|
1050
|
+
* @class NotificationResourceV1FindBehaviorGroupsByBundleIdApi
|
|
1051
|
+
* @extends {BaseAPI}
|
|
1052
|
+
*/
|
|
1053
|
+
export class NotificationResourceV1FindBehaviorGroupsByBundleIdApi extends BaseAPI {
|
|
1054
|
+
/**
|
|
1055
|
+
* 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.
|
|
1056
|
+
* @summary List behavior groups in a bundle
|
|
1057
|
+
* @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
* @memberof NotificationResourceV1FindBehaviorGroupsByBundleIdApi
|
|
1061
|
+
*/
|
|
1062
|
+
notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
|
|
1063
|
+
return NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp(this.configuration).notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options).then((request) => request(this.axios, this.basePath));
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* NotificationResourceV1GetApplicationByNameAndBundleNameApi - axios parameter creator
|
|
1068
|
+
* @export
|
|
1069
|
+
*/
|
|
1070
|
+
export const NotificationResourceV1GetApplicationByNameAndBundleNameApiAxiosParamCreator = function (configuration) {
|
|
1071
|
+
return {
|
|
1072
|
+
/**
|
|
1073
|
+
* 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.
|
|
1074
|
+
* @summary Retrieve an application by bundle and application names
|
|
1075
|
+
* @param {string} applicationName
|
|
1076
|
+
* @param {string} bundleName
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @throws {RequiredError}
|
|
1079
|
+
*/
|
|
1080
|
+
notificationResourceV1GetApplicationByNameAndBundleName: async (applicationName, bundleName, options = {}) => {
|
|
1081
|
+
// verify required parameter 'applicationName' is not null or undefined
|
|
1082
|
+
assertParamExists('notificationResourceV1GetApplicationByNameAndBundleName', 'applicationName', applicationName);
|
|
1083
|
+
// verify required parameter 'bundleName' is not null or undefined
|
|
1084
|
+
assertParamExists('notificationResourceV1GetApplicationByNameAndBundleName', 'bundleName', bundleName);
|
|
1085
|
+
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}`
|
|
1086
|
+
.replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
|
|
1087
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
|
|
1088
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1089
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1090
|
+
let baseOptions;
|
|
1091
|
+
if (configuration) {
|
|
1092
|
+
baseOptions = configuration.baseOptions;
|
|
1093
|
+
}
|
|
1094
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1095
|
+
const localVarHeaderParameter = {};
|
|
1096
|
+
const localVarQueryParameter = {};
|
|
1097
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1099
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1100
|
+
return {
|
|
1101
|
+
url: toPathString(localVarUrlObj),
|
|
1102
|
+
options: localVarRequestOptions,
|
|
1103
|
+
};
|
|
1104
|
+
},
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
/**
|
|
1108
|
+
* NotificationResourceV1GetApplicationByNameAndBundleNameApi - functional programming interface
|
|
1109
|
+
* @export
|
|
1110
|
+
*/
|
|
1111
|
+
export const NotificationResourceV1GetApplicationByNameAndBundleNameApiFp = function (configuration) {
|
|
1112
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetApplicationByNameAndBundleNameApiAxiosParamCreator(configuration);
|
|
1113
|
+
return {
|
|
1114
|
+
/**
|
|
1115
|
+
* 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.
|
|
1116
|
+
* @summary Retrieve an application by bundle and application names
|
|
1117
|
+
* @param {string} applicationName
|
|
1118
|
+
* @param {string} bundleName
|
|
1119
|
+
* @param {*} [options] Override http request option.
|
|
1120
|
+
* @throws {RequiredError}
|
|
1121
|
+
*/
|
|
1122
|
+
async notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
|
|
1123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options);
|
|
1124
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1125
|
+
},
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
/**
|
|
1129
|
+
* NotificationResourceV1GetApplicationByNameAndBundleNameApi - factory interface
|
|
1130
|
+
* @export
|
|
1131
|
+
*/
|
|
1132
|
+
export const NotificationResourceV1GetApplicationByNameAndBundleNameApiFactory = function (configuration, basePath, axios) {
|
|
1133
|
+
const localVarFp = NotificationResourceV1GetApplicationByNameAndBundleNameApiFp(configuration);
|
|
1134
|
+
return {
|
|
1135
|
+
/**
|
|
1136
|
+
* 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.
|
|
1137
|
+
* @summary Retrieve an application by bundle and application names
|
|
1138
|
+
* @param {string} applicationName
|
|
1139
|
+
* @param {string} bundleName
|
|
1140
|
+
* @param {*} [options] Override http request option.
|
|
1141
|
+
* @throws {RequiredError}
|
|
1142
|
+
*/
|
|
1143
|
+
notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
|
|
1144
|
+
return localVarFp.notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options).then((request) => request(axios, basePath));
|
|
1145
|
+
},
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* NotificationResourceV1GetApplicationByNameAndBundleNameApi - object-oriented interface
|
|
1150
|
+
* @export
|
|
1151
|
+
* @class NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
1152
|
+
* @extends {BaseAPI}
|
|
1153
|
+
*/
|
|
1154
|
+
export class NotificationResourceV1GetApplicationByNameAndBundleNameApi extends BaseAPI {
|
|
1155
|
+
/**
|
|
1156
|
+
* 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.
|
|
1157
|
+
* @summary Retrieve an application by bundle and application names
|
|
1158
|
+
* @param {string} applicationName
|
|
1159
|
+
* @param {string} bundleName
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
* @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
1163
|
+
*/
|
|
1164
|
+
notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
|
|
1165
|
+
return NotificationResourceV1GetApplicationByNameAndBundleNameApiFp(this.configuration).notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options).then((request) => request(this.axios, this.basePath));
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* NotificationResourceV1GetApplicationsFacetsApi - axios parameter creator
|
|
1170
|
+
* @export
|
|
1171
|
+
*/
|
|
1172
|
+
export const NotificationResourceV1GetApplicationsFacetsApiAxiosParamCreator = function (configuration) {
|
|
1173
|
+
return {
|
|
1174
|
+
/**
|
|
1175
|
+
* Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1176
|
+
* @summary List configured applications
|
|
1177
|
+
* @param {string} [bundleName]
|
|
1178
|
+
* @param {*} [options] Override http request option.
|
|
1179
|
+
* @throws {RequiredError}
|
|
1180
|
+
*/
|
|
1181
|
+
notificationResourceV1GetApplicationsFacets: async (bundleName, options = {}) => {
|
|
1182
|
+
const localVarPath = `/notifications/facets/applications`;
|
|
1183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1185
|
+
let baseOptions;
|
|
1186
|
+
if (configuration) {
|
|
1187
|
+
baseOptions = configuration.baseOptions;
|
|
1188
|
+
}
|
|
1189
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1190
|
+
const localVarHeaderParameter = {};
|
|
1191
|
+
const localVarQueryParameter = {};
|
|
1192
|
+
if (bundleName !== undefined) {
|
|
1193
|
+
localVarQueryParameter['bundleName'] = bundleName;
|
|
1194
|
+
}
|
|
1195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1197
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1198
|
+
return {
|
|
1199
|
+
url: toPathString(localVarUrlObj),
|
|
1200
|
+
options: localVarRequestOptions,
|
|
1201
|
+
};
|
|
1202
|
+
},
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* NotificationResourceV1GetApplicationsFacetsApi - functional programming interface
|
|
1207
|
+
* @export
|
|
1208
|
+
*/
|
|
1209
|
+
export const NotificationResourceV1GetApplicationsFacetsApiFp = function (configuration) {
|
|
1210
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetApplicationsFacetsApiAxiosParamCreator(configuration);
|
|
1211
|
+
return {
|
|
1212
|
+
/**
|
|
1213
|
+
* Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1214
|
+
* @summary List configured applications
|
|
1215
|
+
* @param {string} [bundleName]
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
*/
|
|
1219
|
+
async notificationResourceV1GetApplicationsFacets(bundleName, options) {
|
|
1220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetApplicationsFacets(bundleName, options);
|
|
1221
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1222
|
+
},
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* NotificationResourceV1GetApplicationsFacetsApi - factory interface
|
|
1227
|
+
* @export
|
|
1228
|
+
*/
|
|
1229
|
+
export const NotificationResourceV1GetApplicationsFacetsApiFactory = function (configuration, basePath, axios) {
|
|
1230
|
+
const localVarFp = NotificationResourceV1GetApplicationsFacetsApiFp(configuration);
|
|
1231
|
+
return {
|
|
1232
|
+
/**
|
|
1233
|
+
* Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1234
|
+
* @summary List configured applications
|
|
1235
|
+
* @param {string} [bundleName]
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
notificationResourceV1GetApplicationsFacets(bundleName, options) {
|
|
1240
|
+
return localVarFp.notificationResourceV1GetApplicationsFacets(bundleName, options).then((request) => request(axios, basePath));
|
|
1241
|
+
},
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* NotificationResourceV1GetApplicationsFacetsApi - object-oriented interface
|
|
1246
|
+
* @export
|
|
1247
|
+
* @class NotificationResourceV1GetApplicationsFacetsApi
|
|
1248
|
+
* @extends {BaseAPI}
|
|
1249
|
+
*/
|
|
1250
|
+
export class NotificationResourceV1GetApplicationsFacetsApi extends BaseAPI {
|
|
1251
|
+
/**
|
|
1252
|
+
* Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1253
|
+
* @summary List configured applications
|
|
1254
|
+
* @param {string} [bundleName]
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
* @memberof NotificationResourceV1GetApplicationsFacetsApi
|
|
1258
|
+
*/
|
|
1259
|
+
notificationResourceV1GetApplicationsFacets(bundleName, options) {
|
|
1260
|
+
return NotificationResourceV1GetApplicationsFacetsApiFp(this.configuration).notificationResourceV1GetApplicationsFacets(bundleName, options).then((request) => request(this.axios, this.basePath));
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - axios parameter creator
|
|
1265
|
+
* @export
|
|
1266
|
+
*/
|
|
1267
|
+
export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiAxiosParamCreator = function (configuration) {
|
|
1268
|
+
return {
|
|
1269
|
+
/**
|
|
1270
|
+
* Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
1271
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
1272
|
+
* @param {string} endpointId
|
|
1273
|
+
* @param {*} [options] Override http request option.
|
|
1274
|
+
* @throws {RequiredError}
|
|
1275
|
+
*/
|
|
1276
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: async (endpointId, options = {}) => {
|
|
1277
|
+
// verify required parameter 'endpointId' is not null or undefined
|
|
1278
|
+
assertParamExists('notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint', 'endpointId', endpointId);
|
|
1279
|
+
const localVarPath = `/notifications/behaviorGroups/affectedByRemovalOfEndpoint/{endpointId}`
|
|
1280
|
+
.replace(`{${"endpointId"}}`, encodeURIComponent(String(endpointId)));
|
|
1281
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1283
|
+
let baseOptions;
|
|
1284
|
+
if (configuration) {
|
|
1285
|
+
baseOptions = configuration.baseOptions;
|
|
1286
|
+
}
|
|
1287
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1288
|
+
const localVarHeaderParameter = {};
|
|
1289
|
+
const localVarQueryParameter = {};
|
|
1290
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1293
|
+
return {
|
|
1294
|
+
url: toPathString(localVarUrlObj),
|
|
1295
|
+
options: localVarRequestOptions,
|
|
1296
|
+
};
|
|
1297
|
+
},
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - functional programming interface
|
|
1302
|
+
* @export
|
|
1303
|
+
*/
|
|
1304
|
+
export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp = function (configuration) {
|
|
1305
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiAxiosParamCreator(configuration);
|
|
1306
|
+
return {
|
|
1307
|
+
/**
|
|
1308
|
+
* Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
1309
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
1310
|
+
* @param {string} endpointId
|
|
1311
|
+
* @param {*} [options] Override http request option.
|
|
1312
|
+
* @throws {RequiredError}
|
|
1313
|
+
*/
|
|
1314
|
+
async notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
|
|
1315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options);
|
|
1316
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1317
|
+
},
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - factory interface
|
|
1322
|
+
* @export
|
|
1323
|
+
*/
|
|
1324
|
+
export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFactory = function (configuration, basePath, axios) {
|
|
1325
|
+
const localVarFp = NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp(configuration);
|
|
1326
|
+
return {
|
|
1327
|
+
/**
|
|
1328
|
+
* Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
1329
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
1330
|
+
* @param {string} endpointId
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
*/
|
|
1334
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
|
|
1335
|
+
return localVarFp.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options).then((request) => request(axios, basePath));
|
|
1336
|
+
},
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
/**
|
|
1340
|
+
* NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - object-oriented interface
|
|
1341
|
+
* @export
|
|
1342
|
+
* @class NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
|
|
1343
|
+
* @extends {BaseAPI}
|
|
1344
|
+
*/
|
|
1345
|
+
export class NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi extends BaseAPI {
|
|
1346
|
+
/**
|
|
1347
|
+
* Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
1348
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
1349
|
+
* @param {string} endpointId
|
|
1350
|
+
* @param {*} [options] Override http request option.
|
|
1351
|
+
* @throws {RequiredError}
|
|
1352
|
+
* @memberof NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
|
|
1353
|
+
*/
|
|
1354
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
|
|
1355
|
+
return NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp(this.configuration).notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options).then((request) => request(this.axios, this.basePath));
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* NotificationResourceV1GetBundleByNameApi - axios parameter creator
|
|
1360
|
+
* @export
|
|
1361
|
+
*/
|
|
1362
|
+
export const NotificationResourceV1GetBundleByNameApiAxiosParamCreator = function (configuration) {
|
|
1363
|
+
return {
|
|
1364
|
+
/**
|
|
1365
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
1366
|
+
* @summary Retrieve a bundle by name
|
|
1367
|
+
* @param {string} bundleName
|
|
1368
|
+
* @param {*} [options] Override http request option.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
*/
|
|
1371
|
+
notificationResourceV1GetBundleByName: async (bundleName, options = {}) => {
|
|
1372
|
+
// verify required parameter 'bundleName' is not null or undefined
|
|
1373
|
+
assertParamExists('notificationResourceV1GetBundleByName', 'bundleName', bundleName);
|
|
1374
|
+
const localVarPath = `/notifications/bundles/{bundleName}`
|
|
1375
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
|
|
1376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1377
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1378
|
+
let baseOptions;
|
|
1379
|
+
if (configuration) {
|
|
1380
|
+
baseOptions = configuration.baseOptions;
|
|
1381
|
+
}
|
|
1382
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1383
|
+
const localVarHeaderParameter = {};
|
|
1384
|
+
const localVarQueryParameter = {};
|
|
1385
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1386
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1387
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1388
|
+
return {
|
|
1389
|
+
url: toPathString(localVarUrlObj),
|
|
1390
|
+
options: localVarRequestOptions,
|
|
1391
|
+
};
|
|
1392
|
+
},
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* NotificationResourceV1GetBundleByNameApi - functional programming interface
|
|
1397
|
+
* @export
|
|
1398
|
+
*/
|
|
1399
|
+
export const NotificationResourceV1GetBundleByNameApiFp = function (configuration) {
|
|
1400
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetBundleByNameApiAxiosParamCreator(configuration);
|
|
1401
|
+
return {
|
|
1402
|
+
/**
|
|
1403
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
1404
|
+
* @summary Retrieve a bundle by name
|
|
1405
|
+
* @param {string} bundleName
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
*/
|
|
1409
|
+
async notificationResourceV1GetBundleByName(bundleName, options) {
|
|
1410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBundleByName(bundleName, options);
|
|
1411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1412
|
+
},
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* NotificationResourceV1GetBundleByNameApi - factory interface
|
|
1417
|
+
* @export
|
|
1418
|
+
*/
|
|
1419
|
+
export const NotificationResourceV1GetBundleByNameApiFactory = function (configuration, basePath, axios) {
|
|
1420
|
+
const localVarFp = NotificationResourceV1GetBundleByNameApiFp(configuration);
|
|
1421
|
+
return {
|
|
1422
|
+
/**
|
|
1423
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
1424
|
+
* @summary Retrieve a bundle by name
|
|
1425
|
+
* @param {string} bundleName
|
|
1426
|
+
* @param {*} [options] Override http request option.
|
|
1427
|
+
* @throws {RequiredError}
|
|
1428
|
+
*/
|
|
1429
|
+
notificationResourceV1GetBundleByName(bundleName, options) {
|
|
1430
|
+
return localVarFp.notificationResourceV1GetBundleByName(bundleName, options).then((request) => request(axios, basePath));
|
|
1431
|
+
},
|
|
1432
|
+
};
|
|
1433
|
+
};
|
|
1434
|
+
/**
|
|
1435
|
+
* NotificationResourceV1GetBundleByNameApi - object-oriented interface
|
|
1436
|
+
* @export
|
|
1437
|
+
* @class NotificationResourceV1GetBundleByNameApi
|
|
1438
|
+
* @extends {BaseAPI}
|
|
1439
|
+
*/
|
|
1440
|
+
export class NotificationResourceV1GetBundleByNameApi extends BaseAPI {
|
|
1441
|
+
/**
|
|
1442
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
1443
|
+
* @summary Retrieve a bundle by name
|
|
1444
|
+
* @param {string} bundleName
|
|
1445
|
+
* @param {*} [options] Override http request option.
|
|
1446
|
+
* @throws {RequiredError}
|
|
1447
|
+
* @memberof NotificationResourceV1GetBundleByNameApi
|
|
1448
|
+
*/
|
|
1449
|
+
notificationResourceV1GetBundleByName(bundleName, options) {
|
|
1450
|
+
return NotificationResourceV1GetBundleByNameApiFp(this.configuration).notificationResourceV1GetBundleByName(bundleName, options).then((request) => request(this.axios, this.basePath));
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
* NotificationResourceV1GetBundleFacetsApi - axios parameter creator
|
|
1455
|
+
* @export
|
|
1456
|
+
*/
|
|
1457
|
+
export const NotificationResourceV1GetBundleFacetsApiAxiosParamCreator = function (configuration) {
|
|
1458
|
+
return {
|
|
1459
|
+
/**
|
|
1460
|
+
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1461
|
+
* @summary List configured bundles
|
|
1462
|
+
* @param {boolean} [includeApplications]
|
|
1463
|
+
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @throws {RequiredError}
|
|
1465
|
+
*/
|
|
1466
|
+
notificationResourceV1GetBundleFacets: async (includeApplications, options = {}) => {
|
|
1467
|
+
const localVarPath = `/notifications/facets/bundles`;
|
|
1468
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1469
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1470
|
+
let baseOptions;
|
|
1471
|
+
if (configuration) {
|
|
1472
|
+
baseOptions = configuration.baseOptions;
|
|
1473
|
+
}
|
|
1474
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1475
|
+
const localVarHeaderParameter = {};
|
|
1476
|
+
const localVarQueryParameter = {};
|
|
1477
|
+
if (includeApplications !== undefined) {
|
|
1478
|
+
localVarQueryParameter['includeApplications'] = includeApplications;
|
|
1479
|
+
}
|
|
1480
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1481
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1482
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1483
|
+
return {
|
|
1484
|
+
url: toPathString(localVarUrlObj),
|
|
1485
|
+
options: localVarRequestOptions,
|
|
1486
|
+
};
|
|
1487
|
+
},
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* NotificationResourceV1GetBundleFacetsApi - functional programming interface
|
|
1492
|
+
* @export
|
|
1493
|
+
*/
|
|
1494
|
+
export const NotificationResourceV1GetBundleFacetsApiFp = function (configuration) {
|
|
1495
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetBundleFacetsApiAxiosParamCreator(configuration);
|
|
1496
|
+
return {
|
|
1497
|
+
/**
|
|
1498
|
+
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1499
|
+
* @summary List configured bundles
|
|
1500
|
+
* @param {boolean} [includeApplications]
|
|
1501
|
+
* @param {*} [options] Override http request option.
|
|
1502
|
+
* @throws {RequiredError}
|
|
1503
|
+
*/
|
|
1504
|
+
async notificationResourceV1GetBundleFacets(includeApplications, options) {
|
|
1505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBundleFacets(includeApplications, options);
|
|
1506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1507
|
+
},
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
/**
|
|
1511
|
+
* NotificationResourceV1GetBundleFacetsApi - factory interface
|
|
1512
|
+
* @export
|
|
1513
|
+
*/
|
|
1514
|
+
export const NotificationResourceV1GetBundleFacetsApiFactory = function (configuration, basePath, axios) {
|
|
1515
|
+
const localVarFp = NotificationResourceV1GetBundleFacetsApiFp(configuration);
|
|
1516
|
+
return {
|
|
1517
|
+
/**
|
|
1518
|
+
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1519
|
+
* @summary List configured bundles
|
|
1520
|
+
* @param {boolean} [includeApplications]
|
|
1521
|
+
* @param {*} [options] Override http request option.
|
|
1522
|
+
* @throws {RequiredError}
|
|
1523
|
+
*/
|
|
1524
|
+
notificationResourceV1GetBundleFacets(includeApplications, options) {
|
|
1525
|
+
return localVarFp.notificationResourceV1GetBundleFacets(includeApplications, options).then((request) => request(axios, basePath));
|
|
1526
|
+
},
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
/**
|
|
1530
|
+
* NotificationResourceV1GetBundleFacetsApi - object-oriented interface
|
|
1531
|
+
* @export
|
|
1532
|
+
* @class NotificationResourceV1GetBundleFacetsApi
|
|
1533
|
+
* @extends {BaseAPI}
|
|
1534
|
+
*/
|
|
1535
|
+
export class NotificationResourceV1GetBundleFacetsApi extends BaseAPI {
|
|
1536
|
+
/**
|
|
1537
|
+
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
1538
|
+
* @summary List configured bundles
|
|
1539
|
+
* @param {boolean} [includeApplications]
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @throws {RequiredError}
|
|
1542
|
+
* @memberof NotificationResourceV1GetBundleFacetsApi
|
|
1543
|
+
*/
|
|
1544
|
+
notificationResourceV1GetBundleFacets(includeApplications, options) {
|
|
1545
|
+
return NotificationResourceV1GetBundleFacetsApiFp(this.configuration).notificationResourceV1GetBundleFacets(includeApplications, options).then((request) => request(this.axios, this.basePath));
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* NotificationResourceV1GetEventTypesApi - axios parameter creator
|
|
1550
|
+
* @export
|
|
1551
|
+
*/
|
|
1552
|
+
export const NotificationResourceV1GetEventTypesApiAxiosParamCreator = function (configuration) {
|
|
1553
|
+
return {
|
|
1554
|
+
/**
|
|
1555
|
+
* Lists all event types. You can filter the returned list by bundle or application name.
|
|
1556
|
+
* @summary List all event types
|
|
1557
|
+
* @param {Set<string>} [applicationIds]
|
|
1558
|
+
* @param {string} [bundleId]
|
|
1559
|
+
* @param {string} [eventTypeName]
|
|
1560
|
+
* @param {number} [limit]
|
|
1561
|
+
* @param {number} [offset]
|
|
1562
|
+
* @param {number} [pageNumber]
|
|
1563
|
+
* @param {string} [sortBy]
|
|
1564
|
+
* @param {string} [sortBy2]
|
|
1565
|
+
* @param {*} [options] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
*/
|
|
1568
|
+
notificationResourceV1GetEventTypes: async (applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options = {}) => {
|
|
1569
|
+
const localVarPath = `/notifications/eventTypes`;
|
|
1570
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1571
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1572
|
+
let baseOptions;
|
|
1573
|
+
if (configuration) {
|
|
1574
|
+
baseOptions = configuration.baseOptions;
|
|
1575
|
+
}
|
|
1576
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1577
|
+
const localVarHeaderParameter = {};
|
|
1578
|
+
const localVarQueryParameter = {};
|
|
1579
|
+
if (applicationIds) {
|
|
1580
|
+
localVarQueryParameter['applicationIds'] = Array.from(applicationIds);
|
|
1581
|
+
}
|
|
1582
|
+
if (bundleId !== undefined) {
|
|
1583
|
+
localVarQueryParameter['bundleId'] = bundleId;
|
|
1584
|
+
}
|
|
1585
|
+
if (eventTypeName !== undefined) {
|
|
1586
|
+
localVarQueryParameter['eventTypeName'] = eventTypeName;
|
|
1587
|
+
}
|
|
1588
|
+
if (limit !== undefined) {
|
|
1589
|
+
localVarQueryParameter['limit'] = limit;
|
|
1590
|
+
}
|
|
1591
|
+
if (offset !== undefined) {
|
|
1592
|
+
localVarQueryParameter['offset'] = offset;
|
|
1593
|
+
}
|
|
1594
|
+
if (pageNumber !== undefined) {
|
|
1595
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
1596
|
+
}
|
|
1597
|
+
if (sortBy !== undefined) {
|
|
1598
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
1599
|
+
}
|
|
1600
|
+
if (sortBy2 !== undefined) {
|
|
1601
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
1602
|
+
}
|
|
1603
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1604
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1605
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1606
|
+
return {
|
|
1607
|
+
url: toPathString(localVarUrlObj),
|
|
1608
|
+
options: localVarRequestOptions,
|
|
1609
|
+
};
|
|
1610
|
+
},
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
/**
|
|
1614
|
+
* NotificationResourceV1GetEventTypesApi - functional programming interface
|
|
1615
|
+
* @export
|
|
1616
|
+
*/
|
|
1617
|
+
export const NotificationResourceV1GetEventTypesApiFp = function (configuration) {
|
|
1618
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesApiAxiosParamCreator(configuration);
|
|
1619
|
+
return {
|
|
1620
|
+
/**
|
|
1621
|
+
* Lists all event types. You can filter the returned list by bundle or application name.
|
|
1622
|
+
* @summary List all event types
|
|
1623
|
+
* @param {Set<string>} [applicationIds]
|
|
1624
|
+
* @param {string} [bundleId]
|
|
1625
|
+
* @param {string} [eventTypeName]
|
|
1626
|
+
* @param {number} [limit]
|
|
1627
|
+
* @param {number} [offset]
|
|
1628
|
+
* @param {number} [pageNumber]
|
|
1629
|
+
* @param {string} [sortBy]
|
|
1630
|
+
* @param {string} [sortBy2]
|
|
1631
|
+
* @param {*} [options] Override http request option.
|
|
1632
|
+
* @throws {RequiredError}
|
|
1633
|
+
*/
|
|
1634
|
+
async notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
1635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options);
|
|
1636
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1637
|
+
},
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
/**
|
|
1641
|
+
* NotificationResourceV1GetEventTypesApi - factory interface
|
|
1642
|
+
* @export
|
|
1643
|
+
*/
|
|
1644
|
+
export const NotificationResourceV1GetEventTypesApiFactory = function (configuration, basePath, axios) {
|
|
1645
|
+
const localVarFp = NotificationResourceV1GetEventTypesApiFp(configuration);
|
|
1646
|
+
return {
|
|
1647
|
+
/**
|
|
1648
|
+
* Lists all event types. You can filter the returned list by bundle or application name.
|
|
1649
|
+
* @summary List all event types
|
|
1650
|
+
* @param {Set<string>} [applicationIds]
|
|
1651
|
+
* @param {string} [bundleId]
|
|
1652
|
+
* @param {string} [eventTypeName]
|
|
1653
|
+
* @param {number} [limit]
|
|
1654
|
+
* @param {number} [offset]
|
|
1655
|
+
* @param {number} [pageNumber]
|
|
1656
|
+
* @param {string} [sortBy]
|
|
1657
|
+
* @param {string} [sortBy2]
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @throws {RequiredError}
|
|
1660
|
+
*/
|
|
1661
|
+
notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
1662
|
+
return localVarFp.notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(axios, basePath));
|
|
1663
|
+
},
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
/**
|
|
1667
|
+
* NotificationResourceV1GetEventTypesApi - object-oriented interface
|
|
1668
|
+
* @export
|
|
1669
|
+
* @class NotificationResourceV1GetEventTypesApi
|
|
1670
|
+
* @extends {BaseAPI}
|
|
1671
|
+
*/
|
|
1672
|
+
export class NotificationResourceV1GetEventTypesApi extends BaseAPI {
|
|
1673
|
+
/**
|
|
1674
|
+
* Lists all event types. You can filter the returned list by bundle or application name.
|
|
1675
|
+
* @summary List all event types
|
|
1676
|
+
* @param {Set<string>} [applicationIds]
|
|
1677
|
+
* @param {string} [bundleId]
|
|
1678
|
+
* @param {string} [eventTypeName]
|
|
1679
|
+
* @param {number} [limit]
|
|
1680
|
+
* @param {number} [offset]
|
|
1681
|
+
* @param {number} [pageNumber]
|
|
1682
|
+
* @param {string} [sortBy]
|
|
1683
|
+
* @param {string} [sortBy2]
|
|
1684
|
+
* @param {*} [options] Override http request option.
|
|
1685
|
+
* @throws {RequiredError}
|
|
1686
|
+
* @memberof NotificationResourceV1GetEventTypesApi
|
|
1687
|
+
*/
|
|
1688
|
+
notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
1689
|
+
return NotificationResourceV1GetEventTypesApiFp(this.configuration).notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(this.axios, this.basePath));
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - axios parameter creator
|
|
1694
|
+
* @export
|
|
1695
|
+
*/
|
|
1696
|
+
export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiAxiosParamCreator = function (configuration) {
|
|
1697
|
+
return {
|
|
1698
|
+
/**
|
|
1699
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
1700
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
1701
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to check
|
|
1702
|
+
* @param {*} [options] Override http request option.
|
|
1703
|
+
* @throws {RequiredError}
|
|
1704
|
+
*/
|
|
1705
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: async (behaviorGroupId, options = {}) => {
|
|
1706
|
+
// verify required parameter 'behaviorGroupId' is not null or undefined
|
|
1707
|
+
assertParamExists('notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup', 'behaviorGroupId', behaviorGroupId);
|
|
1708
|
+
const localVarPath = `/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}`
|
|
1709
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
1710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1712
|
+
let baseOptions;
|
|
1713
|
+
if (configuration) {
|
|
1714
|
+
baseOptions = configuration.baseOptions;
|
|
1715
|
+
}
|
|
1716
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1717
|
+
const localVarHeaderParameter = {};
|
|
1718
|
+
const localVarQueryParameter = {};
|
|
1719
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1720
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1721
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1722
|
+
return {
|
|
1723
|
+
url: toPathString(localVarUrlObj),
|
|
1724
|
+
options: localVarRequestOptions,
|
|
1725
|
+
};
|
|
1726
|
+
},
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
/**
|
|
1730
|
+
* NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - functional programming interface
|
|
1731
|
+
* @export
|
|
1732
|
+
*/
|
|
1733
|
+
export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp = function (configuration) {
|
|
1734
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiAxiosParamCreator(configuration);
|
|
1735
|
+
return {
|
|
1736
|
+
/**
|
|
1737
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
1738
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
1739
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to check
|
|
1740
|
+
* @param {*} [options] Override http request option.
|
|
1741
|
+
* @throws {RequiredError}
|
|
1742
|
+
*/
|
|
1743
|
+
async notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
|
|
1744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options);
|
|
1745
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1746
|
+
},
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - factory interface
|
|
1751
|
+
* @export
|
|
1752
|
+
*/
|
|
1753
|
+
export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFactory = function (configuration, basePath, axios) {
|
|
1754
|
+
const localVarFp = NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp(configuration);
|
|
1755
|
+
return {
|
|
1756
|
+
/**
|
|
1757
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
1758
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
1759
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to check
|
|
1760
|
+
* @param {*} [options] Override http request option.
|
|
1761
|
+
* @throws {RequiredError}
|
|
1762
|
+
*/
|
|
1763
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
|
|
1764
|
+
return localVarFp.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options).then((request) => request(axios, basePath));
|
|
1765
|
+
},
|
|
1766
|
+
};
|
|
1767
|
+
};
|
|
1768
|
+
/**
|
|
1769
|
+
* NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - object-oriented interface
|
|
1770
|
+
* @export
|
|
1771
|
+
* @class NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
|
|
1772
|
+
* @extends {BaseAPI}
|
|
1773
|
+
*/
|
|
1774
|
+
export class NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi extends BaseAPI {
|
|
1775
|
+
/**
|
|
1776
|
+
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
1777
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
1778
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to check
|
|
1779
|
+
* @param {*} [options] Override http request option.
|
|
1780
|
+
* @throws {RequiredError}
|
|
1781
|
+
* @memberof NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
|
|
1782
|
+
*/
|
|
1783
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
|
|
1784
|
+
return NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp(this.configuration).notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - axios parameter creator
|
|
1789
|
+
* @export
|
|
1790
|
+
*/
|
|
1791
|
+
export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiAxiosParamCreator = function (configuration) {
|
|
1792
|
+
return {
|
|
1793
|
+
/**
|
|
1794
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
1795
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
1796
|
+
* @param {string} applicationName
|
|
1797
|
+
* @param {string} bundleName
|
|
1798
|
+
* @param {string} eventTypeName
|
|
1799
|
+
* @param {*} [options] Override http request option.
|
|
1800
|
+
* @throws {RequiredError}
|
|
1801
|
+
*/
|
|
1802
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: async (applicationName, bundleName, eventTypeName, options = {}) => {
|
|
1803
|
+
// verify required parameter 'applicationName' is not null or undefined
|
|
1804
|
+
assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'applicationName', applicationName);
|
|
1805
|
+
// verify required parameter 'bundleName' is not null or undefined
|
|
1806
|
+
assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'bundleName', bundleName);
|
|
1807
|
+
// verify required parameter 'eventTypeName' is not null or undefined
|
|
1808
|
+
assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'eventTypeName', eventTypeName);
|
|
1809
|
+
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}`
|
|
1810
|
+
.replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
|
|
1811
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)))
|
|
1812
|
+
.replace(`{${"eventTypeName"}}`, encodeURIComponent(String(eventTypeName)));
|
|
1813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1814
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1815
|
+
let baseOptions;
|
|
1816
|
+
if (configuration) {
|
|
1817
|
+
baseOptions = configuration.baseOptions;
|
|
1818
|
+
}
|
|
1819
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1820
|
+
const localVarHeaderParameter = {};
|
|
1821
|
+
const localVarQueryParameter = {};
|
|
1822
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1823
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1824
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1825
|
+
return {
|
|
1826
|
+
url: toPathString(localVarUrlObj),
|
|
1827
|
+
options: localVarRequestOptions,
|
|
1828
|
+
};
|
|
1829
|
+
},
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
/**
|
|
1833
|
+
* NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - functional programming interface
|
|
1834
|
+
* @export
|
|
1835
|
+
*/
|
|
1836
|
+
export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp = function (configuration) {
|
|
1837
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiAxiosParamCreator(configuration);
|
|
1838
|
+
return {
|
|
1839
|
+
/**
|
|
1840
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
1841
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
1842
|
+
* @param {string} applicationName
|
|
1843
|
+
* @param {string} bundleName
|
|
1844
|
+
* @param {string} eventTypeName
|
|
1845
|
+
* @param {*} [options] Override http request option.
|
|
1846
|
+
* @throws {RequiredError}
|
|
1847
|
+
*/
|
|
1848
|
+
async notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
|
|
1849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options);
|
|
1850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1851
|
+
},
|
|
1852
|
+
};
|
|
1853
|
+
};
|
|
1854
|
+
/**
|
|
1855
|
+
* NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - factory interface
|
|
1856
|
+
* @export
|
|
1857
|
+
*/
|
|
1858
|
+
export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFactory = function (configuration, basePath, axios) {
|
|
1859
|
+
const localVarFp = NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp(configuration);
|
|
1860
|
+
return {
|
|
1861
|
+
/**
|
|
1862
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
1863
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
1864
|
+
* @param {string} applicationName
|
|
1865
|
+
* @param {string} bundleName
|
|
1866
|
+
* @param {string} eventTypeName
|
|
1867
|
+
* @param {*} [options] Override http request option.
|
|
1868
|
+
* @throws {RequiredError}
|
|
1869
|
+
*/
|
|
1870
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
|
|
1871
|
+
return localVarFp.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options).then((request) => request(axios, basePath));
|
|
1872
|
+
},
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
/**
|
|
1876
|
+
* NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - object-oriented interface
|
|
1877
|
+
* @export
|
|
1878
|
+
* @class NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
1879
|
+
* @extends {BaseAPI}
|
|
1880
|
+
*/
|
|
1881
|
+
export class NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi extends BaseAPI {
|
|
1882
|
+
/**
|
|
1883
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
1884
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
1885
|
+
* @param {string} applicationName
|
|
1886
|
+
* @param {string} bundleName
|
|
1887
|
+
* @param {string} eventTypeName
|
|
1888
|
+
* @param {*} [options] Override http request option.
|
|
1889
|
+
* @throws {RequiredError}
|
|
1890
|
+
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
1891
|
+
*/
|
|
1892
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
|
|
1893
|
+
return NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp(this.configuration).notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options).then((request) => request(this.axios, this.basePath));
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
/**
|
|
1897
|
+
* NotificationResourceV1GetLinkedBehaviorGroupsApi - axios parameter creator
|
|
1898
|
+
* @export
|
|
1899
|
+
*/
|
|
1900
|
+
export const NotificationResourceV1GetLinkedBehaviorGroupsApiAxiosParamCreator = function (configuration) {
|
|
1901
|
+
return {
|
|
1902
|
+
/**
|
|
1903
|
+
* Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
1904
|
+
* @summary List the behavior groups linked to an event type
|
|
1905
|
+
* @param {string} eventTypeId
|
|
1906
|
+
* @param {number} [limit]
|
|
1907
|
+
* @param {number} [offset]
|
|
1908
|
+
* @param {number} [pageNumber]
|
|
1909
|
+
* @param {string} [sortBy]
|
|
1910
|
+
* @param {string} [sortBy2]
|
|
1911
|
+
* @param {*} [options] Override http request option.
|
|
1912
|
+
* @throws {RequiredError}
|
|
1913
|
+
*/
|
|
1914
|
+
notificationResourceV1GetLinkedBehaviorGroups: async (eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options = {}) => {
|
|
1915
|
+
// verify required parameter 'eventTypeId' is not null or undefined
|
|
1916
|
+
assertParamExists('notificationResourceV1GetLinkedBehaviorGroups', 'eventTypeId', eventTypeId);
|
|
1917
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
1918
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
1919
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1920
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1921
|
+
let baseOptions;
|
|
1922
|
+
if (configuration) {
|
|
1923
|
+
baseOptions = configuration.baseOptions;
|
|
1924
|
+
}
|
|
1925
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1926
|
+
const localVarHeaderParameter = {};
|
|
1927
|
+
const localVarQueryParameter = {};
|
|
1928
|
+
if (limit !== undefined) {
|
|
1929
|
+
localVarQueryParameter['limit'] = limit;
|
|
1930
|
+
}
|
|
1931
|
+
if (offset !== undefined) {
|
|
1932
|
+
localVarQueryParameter['offset'] = offset;
|
|
1933
|
+
}
|
|
1934
|
+
if (pageNumber !== undefined) {
|
|
1935
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
1936
|
+
}
|
|
1937
|
+
if (sortBy !== undefined) {
|
|
1938
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
1939
|
+
}
|
|
1940
|
+
if (sortBy2 !== undefined) {
|
|
1941
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
1942
|
+
}
|
|
1943
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1944
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1945
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1946
|
+
return {
|
|
1947
|
+
url: toPathString(localVarUrlObj),
|
|
1948
|
+
options: localVarRequestOptions,
|
|
1949
|
+
};
|
|
1950
|
+
},
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
/**
|
|
1954
|
+
* NotificationResourceV1GetLinkedBehaviorGroupsApi - functional programming interface
|
|
1955
|
+
* @export
|
|
1956
|
+
*/
|
|
1957
|
+
export const NotificationResourceV1GetLinkedBehaviorGroupsApiFp = function (configuration) {
|
|
1958
|
+
const localVarAxiosParamCreator = NotificationResourceV1GetLinkedBehaviorGroupsApiAxiosParamCreator(configuration);
|
|
1959
|
+
return {
|
|
1960
|
+
/**
|
|
1961
|
+
* Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
1962
|
+
* @summary List the behavior groups linked to an event type
|
|
1963
|
+
* @param {string} eventTypeId
|
|
1964
|
+
* @param {number} [limit]
|
|
1965
|
+
* @param {number} [offset]
|
|
1966
|
+
* @param {number} [pageNumber]
|
|
1967
|
+
* @param {string} [sortBy]
|
|
1968
|
+
* @param {string} [sortBy2]
|
|
1969
|
+
* @param {*} [options] Override http request option.
|
|
1970
|
+
* @throws {RequiredError}
|
|
1971
|
+
*/
|
|
1972
|
+
async notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
1973
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options);
|
|
1974
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1975
|
+
},
|
|
1976
|
+
};
|
|
1977
|
+
};
|
|
1978
|
+
/**
|
|
1979
|
+
* NotificationResourceV1GetLinkedBehaviorGroupsApi - factory interface
|
|
1980
|
+
* @export
|
|
1981
|
+
*/
|
|
1982
|
+
export const NotificationResourceV1GetLinkedBehaviorGroupsApiFactory = function (configuration, basePath, axios) {
|
|
1983
|
+
const localVarFp = NotificationResourceV1GetLinkedBehaviorGroupsApiFp(configuration);
|
|
1984
|
+
return {
|
|
1985
|
+
/**
|
|
1986
|
+
* Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
1987
|
+
* @summary List the behavior groups linked to an event type
|
|
1988
|
+
* @param {string} eventTypeId
|
|
1989
|
+
* @param {number} [limit]
|
|
1990
|
+
* @param {number} [offset]
|
|
1991
|
+
* @param {number} [pageNumber]
|
|
1992
|
+
* @param {string} [sortBy]
|
|
1993
|
+
* @param {string} [sortBy2]
|
|
1994
|
+
* @param {*} [options] Override http request option.
|
|
1995
|
+
* @throws {RequiredError}
|
|
1996
|
+
*/
|
|
1997
|
+
notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
1998
|
+
return localVarFp.notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(axios, basePath));
|
|
1999
|
+
},
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
/**
|
|
2003
|
+
* NotificationResourceV1GetLinkedBehaviorGroupsApi - object-oriented interface
|
|
2004
|
+
* @export
|
|
2005
|
+
* @class NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
2006
|
+
* @extends {BaseAPI}
|
|
2007
|
+
*/
|
|
2008
|
+
export class NotificationResourceV1GetLinkedBehaviorGroupsApi extends BaseAPI {
|
|
2009
|
+
/**
|
|
2010
|
+
* Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
2011
|
+
* @summary List the behavior groups linked to an event type
|
|
2012
|
+
* @param {string} eventTypeId
|
|
2013
|
+
* @param {number} [limit]
|
|
2014
|
+
* @param {number} [offset]
|
|
2015
|
+
* @param {number} [pageNumber]
|
|
2016
|
+
* @param {string} [sortBy]
|
|
2017
|
+
* @param {string} [sortBy2]
|
|
2018
|
+
* @param {*} [options] Override http request option.
|
|
2019
|
+
* @throws {RequiredError}
|
|
2020
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
2021
|
+
*/
|
|
2022
|
+
notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
|
|
2023
|
+
return NotificationResourceV1GetLinkedBehaviorGroupsApiFp(this.configuration).notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(this.axios, this.basePath));
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* NotificationResourceV1UpdateBehaviorGroupApi - axios parameter creator
|
|
2028
|
+
* @export
|
|
2029
|
+
*/
|
|
2030
|
+
export const NotificationResourceV1UpdateBehaviorGroupApiAxiosParamCreator = function (configuration) {
|
|
2031
|
+
return {
|
|
2032
|
+
/**
|
|
2033
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
2034
|
+
* @summary Update a behavior group
|
|
2035
|
+
* @param {string} id The UUID of the behavior group to update
|
|
2036
|
+
* @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
|
|
2037
|
+
* @param {*} [options] Override http request option.
|
|
2038
|
+
* @throws {RequiredError}
|
|
2039
|
+
*/
|
|
2040
|
+
notificationResourceV1UpdateBehaviorGroup: async (id, updateBehaviorGroupRequest, options = {}) => {
|
|
2041
|
+
// verify required parameter 'id' is not null or undefined
|
|
2042
|
+
assertParamExists('notificationResourceV1UpdateBehaviorGroup', 'id', id);
|
|
2043
|
+
// verify required parameter 'updateBehaviorGroupRequest' is not null or undefined
|
|
2044
|
+
assertParamExists('notificationResourceV1UpdateBehaviorGroup', 'updateBehaviorGroupRequest', updateBehaviorGroupRequest);
|
|
2045
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
2046
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2047
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2048
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2049
|
+
let baseOptions;
|
|
2050
|
+
if (configuration) {
|
|
2051
|
+
baseOptions = configuration.baseOptions;
|
|
2052
|
+
}
|
|
2053
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2054
|
+
const localVarHeaderParameter = {};
|
|
2055
|
+
const localVarQueryParameter = {};
|
|
2056
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2060
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateBehaviorGroupRequest, localVarRequestOptions, configuration);
|
|
2061
|
+
return {
|
|
2062
|
+
url: toPathString(localVarUrlObj),
|
|
2063
|
+
options: localVarRequestOptions,
|
|
2064
|
+
};
|
|
2065
|
+
},
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
/**
|
|
2069
|
+
* NotificationResourceV1UpdateBehaviorGroupApi - functional programming interface
|
|
2070
|
+
* @export
|
|
2071
|
+
*/
|
|
2072
|
+
export const NotificationResourceV1UpdateBehaviorGroupApiFp = function (configuration) {
|
|
2073
|
+
const localVarAxiosParamCreator = NotificationResourceV1UpdateBehaviorGroupApiAxiosParamCreator(configuration);
|
|
2074
|
+
return {
|
|
2075
|
+
/**
|
|
2076
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
2077
|
+
* @summary Update a behavior group
|
|
2078
|
+
* @param {string} id The UUID of the behavior group to update
|
|
2079
|
+
* @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
|
|
2080
|
+
* @param {*} [options] Override http request option.
|
|
2081
|
+
* @throws {RequiredError}
|
|
2082
|
+
*/
|
|
2083
|
+
async notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
|
|
2084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options);
|
|
2085
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2086
|
+
},
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
2089
|
+
/**
|
|
2090
|
+
* NotificationResourceV1UpdateBehaviorGroupApi - factory interface
|
|
2091
|
+
* @export
|
|
2092
|
+
*/
|
|
2093
|
+
export const NotificationResourceV1UpdateBehaviorGroupApiFactory = function (configuration, basePath, axios) {
|
|
2094
|
+
const localVarFp = NotificationResourceV1UpdateBehaviorGroupApiFp(configuration);
|
|
2095
|
+
return {
|
|
2096
|
+
/**
|
|
2097
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
2098
|
+
* @summary Update a behavior group
|
|
2099
|
+
* @param {string} id The UUID of the behavior group to update
|
|
2100
|
+
* @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
|
|
2101
|
+
* @param {*} [options] Override http request option.
|
|
2102
|
+
* @throws {RequiredError}
|
|
2103
|
+
*/
|
|
2104
|
+
notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
|
|
2105
|
+
return localVarFp.notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options).then((request) => request(axios, basePath));
|
|
2106
|
+
},
|
|
2107
|
+
};
|
|
2108
|
+
};
|
|
2109
|
+
/**
|
|
2110
|
+
* NotificationResourceV1UpdateBehaviorGroupApi - object-oriented interface
|
|
2111
|
+
* @export
|
|
2112
|
+
* @class NotificationResourceV1UpdateBehaviorGroupApi
|
|
2113
|
+
* @extends {BaseAPI}
|
|
2114
|
+
*/
|
|
2115
|
+
export class NotificationResourceV1UpdateBehaviorGroupApi extends BaseAPI {
|
|
2116
|
+
/**
|
|
2117
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
2118
|
+
* @summary Update a behavior group
|
|
2119
|
+
* @param {string} id The UUID of the behavior group to update
|
|
2120
|
+
* @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
|
|
2121
|
+
* @param {*} [options] Override http request option.
|
|
2122
|
+
* @throws {RequiredError}
|
|
2123
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
2124
|
+
*/
|
|
2125
|
+
notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
|
|
2126
|
+
return NotificationResourceV1UpdateBehaviorGroupApiFp(this.configuration).notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* NotificationResourceV1UpdateBehaviorGroupActionsApi - axios parameter creator
|
|
2131
|
+
* @export
|
|
2132
|
+
*/
|
|
2133
|
+
export const NotificationResourceV1UpdateBehaviorGroupActionsApiAxiosParamCreator = function (configuration) {
|
|
2134
|
+
return {
|
|
2135
|
+
/**
|
|
2136
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
2137
|
+
* @summary Update the list of behavior group actions
|
|
2138
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to update
|
|
2139
|
+
* @param {Array<string>} [requestBody]
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
*/
|
|
2143
|
+
notificationResourceV1UpdateBehaviorGroupActions: async (behaviorGroupId, requestBody, options = {}) => {
|
|
2144
|
+
// verify required parameter 'behaviorGroupId' is not null or undefined
|
|
2145
|
+
assertParamExists('notificationResourceV1UpdateBehaviorGroupActions', 'behaviorGroupId', behaviorGroupId);
|
|
2146
|
+
const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
|
|
2147
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
2148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2150
|
+
let baseOptions;
|
|
2151
|
+
if (configuration) {
|
|
2152
|
+
baseOptions = configuration.baseOptions;
|
|
2153
|
+
}
|
|
2154
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2155
|
+
const localVarHeaderParameter = {};
|
|
2156
|
+
const localVarQueryParameter = {};
|
|
2157
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2160
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2161
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
2162
|
+
return {
|
|
2163
|
+
url: toPathString(localVarUrlObj),
|
|
2164
|
+
options: localVarRequestOptions,
|
|
2165
|
+
};
|
|
2166
|
+
},
|
|
2167
|
+
};
|
|
2168
|
+
};
|
|
2169
|
+
/**
|
|
2170
|
+
* NotificationResourceV1UpdateBehaviorGroupActionsApi - functional programming interface
|
|
2171
|
+
* @export
|
|
2172
|
+
*/
|
|
2173
|
+
export const NotificationResourceV1UpdateBehaviorGroupActionsApiFp = function (configuration) {
|
|
2174
|
+
const localVarAxiosParamCreator = NotificationResourceV1UpdateBehaviorGroupActionsApiAxiosParamCreator(configuration);
|
|
2175
|
+
return {
|
|
2176
|
+
/**
|
|
2177
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
2178
|
+
* @summary Update the list of behavior group actions
|
|
2179
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to update
|
|
2180
|
+
* @param {Array<string>} [requestBody]
|
|
2181
|
+
* @param {*} [options] Override http request option.
|
|
2182
|
+
* @throws {RequiredError}
|
|
2183
|
+
*/
|
|
2184
|
+
async notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
|
|
2185
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options);
|
|
2186
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2187
|
+
},
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
/**
|
|
2191
|
+
* NotificationResourceV1UpdateBehaviorGroupActionsApi - factory interface
|
|
2192
|
+
* @export
|
|
2193
|
+
*/
|
|
2194
|
+
export const NotificationResourceV1UpdateBehaviorGroupActionsApiFactory = function (configuration, basePath, axios) {
|
|
2195
|
+
const localVarFp = NotificationResourceV1UpdateBehaviorGroupActionsApiFp(configuration);
|
|
2196
|
+
return {
|
|
2197
|
+
/**
|
|
2198
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
2199
|
+
* @summary Update the list of behavior group actions
|
|
2200
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to update
|
|
2201
|
+
* @param {Array<string>} [requestBody]
|
|
2202
|
+
* @param {*} [options] Override http request option.
|
|
2203
|
+
* @throws {RequiredError}
|
|
2204
|
+
*/
|
|
2205
|
+
notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
|
|
2206
|
+
return localVarFp.notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options).then((request) => request(axios, basePath));
|
|
2207
|
+
},
|
|
2208
|
+
};
|
|
2209
|
+
};
|
|
2210
|
+
/**
|
|
2211
|
+
* NotificationResourceV1UpdateBehaviorGroupActionsApi - object-oriented interface
|
|
2212
|
+
* @export
|
|
2213
|
+
* @class NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
2214
|
+
* @extends {BaseAPI}
|
|
2215
|
+
*/
|
|
2216
|
+
export class NotificationResourceV1UpdateBehaviorGroupActionsApi extends BaseAPI {
|
|
2217
|
+
/**
|
|
2218
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
2219
|
+
* @summary Update the list of behavior group actions
|
|
2220
|
+
* @param {string} behaviorGroupId The UUID of the behavior group to update
|
|
2221
|
+
* @param {Array<string>} [requestBody]
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
2225
|
+
*/
|
|
2226
|
+
notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
|
|
2227
|
+
return NotificationResourceV1UpdateBehaviorGroupActionsApiFp(this.configuration).notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* NotificationResourceV1UpdateEventTypeBehaviorsApi - axios parameter creator
|
|
2232
|
+
* @export
|
|
2233
|
+
*/
|
|
2234
|
+
export const NotificationResourceV1UpdateEventTypeBehaviorsApiAxiosParamCreator = function (configuration) {
|
|
2235
|
+
return {
|
|
2236
|
+
/**
|
|
2237
|
+
* Updates the list of behavior groups associated with an event type.
|
|
2238
|
+
* @summary Update the list of behavior groups for an event type
|
|
2239
|
+
* @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
|
|
2240
|
+
* @param {Set<string>} [requestBody]
|
|
2241
|
+
* @param {*} [options] Override http request option.
|
|
2242
|
+
* @throws {RequiredError}
|
|
2243
|
+
*/
|
|
2244
|
+
notificationResourceV1UpdateEventTypeBehaviors: async (eventTypeId, requestBody, options = {}) => {
|
|
2245
|
+
// verify required parameter 'eventTypeId' is not null or undefined
|
|
2246
|
+
assertParamExists('notificationResourceV1UpdateEventTypeBehaviors', 'eventTypeId', eventTypeId);
|
|
2247
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
2248
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
2249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2250
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2251
|
+
let baseOptions;
|
|
2252
|
+
if (configuration) {
|
|
2253
|
+
baseOptions = configuration.baseOptions;
|
|
2254
|
+
}
|
|
2255
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2256
|
+
const localVarHeaderParameter = {};
|
|
2257
|
+
const localVarQueryParameter = {};
|
|
2258
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2259
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2260
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2261
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2262
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
2263
|
+
return {
|
|
2264
|
+
url: toPathString(localVarUrlObj),
|
|
2265
|
+
options: localVarRequestOptions,
|
|
2266
|
+
};
|
|
2267
|
+
},
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
/**
|
|
2271
|
+
* NotificationResourceV1UpdateEventTypeBehaviorsApi - functional programming interface
|
|
2272
|
+
* @export
|
|
2273
|
+
*/
|
|
2274
|
+
export const NotificationResourceV1UpdateEventTypeBehaviorsApiFp = function (configuration) {
|
|
2275
|
+
const localVarAxiosParamCreator = NotificationResourceV1UpdateEventTypeBehaviorsApiAxiosParamCreator(configuration);
|
|
2276
|
+
return {
|
|
2277
|
+
/**
|
|
2278
|
+
* Updates the list of behavior groups associated with an event type.
|
|
2279
|
+
* @summary Update the list of behavior groups for an event type
|
|
2280
|
+
* @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
|
|
2281
|
+
* @param {Set<string>} [requestBody]
|
|
2282
|
+
* @param {*} [options] Override http request option.
|
|
2283
|
+
* @throws {RequiredError}
|
|
2284
|
+
*/
|
|
2285
|
+
async notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
|
|
2286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options);
|
|
2287
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2288
|
+
},
|
|
2289
|
+
};
|
|
2290
|
+
};
|
|
2291
|
+
/**
|
|
2292
|
+
* NotificationResourceV1UpdateEventTypeBehaviorsApi - factory interface
|
|
2293
|
+
* @export
|
|
2294
|
+
*/
|
|
2295
|
+
export const NotificationResourceV1UpdateEventTypeBehaviorsApiFactory = function (configuration, basePath, axios) {
|
|
2296
|
+
const localVarFp = NotificationResourceV1UpdateEventTypeBehaviorsApiFp(configuration);
|
|
2297
|
+
return {
|
|
2298
|
+
/**
|
|
2299
|
+
* Updates the list of behavior groups associated with an event type.
|
|
2300
|
+
* @summary Update the list of behavior groups for an event type
|
|
2301
|
+
* @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
|
|
2302
|
+
* @param {Set<string>} [requestBody]
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
*/
|
|
2306
|
+
notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
|
|
2307
|
+
return localVarFp.notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options).then((request) => request(axios, basePath));
|
|
2308
|
+
},
|
|
2309
|
+
};
|
|
2310
|
+
};
|
|
2311
|
+
/**
|
|
2312
|
+
* NotificationResourceV1UpdateEventTypeBehaviorsApi - object-oriented interface
|
|
2313
|
+
* @export
|
|
2314
|
+
* @class NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
2315
|
+
* @extends {BaseAPI}
|
|
2316
|
+
*/
|
|
2317
|
+
export class NotificationResourceV1UpdateEventTypeBehaviorsApi extends BaseAPI {
|
|
2318
|
+
/**
|
|
2319
|
+
* Updates the list of behavior groups associated with an event type.
|
|
2320
|
+
* @summary Update the list of behavior groups for an event type
|
|
2321
|
+
* @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
|
|
2322
|
+
* @param {Set<string>} [requestBody]
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
2326
|
+
*/
|
|
2327
|
+
notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
|
|
2328
|
+
return NotificationResourceV1UpdateEventTypeBehaviorsApiFp(this.configuration).notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* OrgConfigResourceV1GetDailyDigestTimePreferenceApi - axios parameter creator
|
|
2333
|
+
* @export
|
|
2334
|
+
*/
|
|
2335
|
+
export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiAxiosParamCreator = function (configuration) {
|
|
2336
|
+
return {
|
|
2337
|
+
/**
|
|
2338
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
2339
|
+
* @summary Retrieve the daily digest time
|
|
2340
|
+
* @param {*} [options] Override http request option.
|
|
2341
|
+
* @throws {RequiredError}
|
|
2342
|
+
*/
|
|
2343
|
+
orgConfigResourceV1GetDailyDigestTimePreference: async (options = {}) => {
|
|
2344
|
+
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
2345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2347
|
+
let baseOptions;
|
|
2348
|
+
if (configuration) {
|
|
2349
|
+
baseOptions = configuration.baseOptions;
|
|
2350
|
+
}
|
|
2351
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2352
|
+
const localVarHeaderParameter = {};
|
|
2353
|
+
const localVarQueryParameter = {};
|
|
2354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2356
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2357
|
+
return {
|
|
2358
|
+
url: toPathString(localVarUrlObj),
|
|
2359
|
+
options: localVarRequestOptions,
|
|
2360
|
+
};
|
|
2361
|
+
},
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
/**
|
|
2365
|
+
* OrgConfigResourceV1GetDailyDigestTimePreferenceApi - functional programming interface
|
|
2366
|
+
* @export
|
|
2367
|
+
*/
|
|
2368
|
+
export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp = function (configuration) {
|
|
2369
|
+
const localVarAxiosParamCreator = OrgConfigResourceV1GetDailyDigestTimePreferenceApiAxiosParamCreator(configuration);
|
|
2370
|
+
return {
|
|
2371
|
+
/**
|
|
2372
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
2373
|
+
* @summary Retrieve the daily digest time
|
|
2374
|
+
* @param {*} [options] Override http request option.
|
|
2375
|
+
* @throws {RequiredError}
|
|
2376
|
+
*/
|
|
2377
|
+
async orgConfigResourceV1GetDailyDigestTimePreference(options) {
|
|
2378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.orgConfigResourceV1GetDailyDigestTimePreference(options);
|
|
2379
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2380
|
+
},
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* OrgConfigResourceV1GetDailyDigestTimePreferenceApi - factory interface
|
|
2385
|
+
* @export
|
|
2386
|
+
*/
|
|
2387
|
+
export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiFactory = function (configuration, basePath, axios) {
|
|
2388
|
+
const localVarFp = OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp(configuration);
|
|
2389
|
+
return {
|
|
2390
|
+
/**
|
|
2391
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
2392
|
+
* @summary Retrieve the daily digest time
|
|
2393
|
+
* @param {*} [options] Override http request option.
|
|
2394
|
+
* @throws {RequiredError}
|
|
2395
|
+
*/
|
|
2396
|
+
orgConfigResourceV1GetDailyDigestTimePreference(options) {
|
|
2397
|
+
return localVarFp.orgConfigResourceV1GetDailyDigestTimePreference(options).then((request) => request(axios, basePath));
|
|
2398
|
+
},
|
|
2399
|
+
};
|
|
2400
|
+
};
|
|
2401
|
+
/**
|
|
2402
|
+
* OrgConfigResourceV1GetDailyDigestTimePreferenceApi - object-oriented interface
|
|
2403
|
+
* @export
|
|
2404
|
+
* @class OrgConfigResourceV1GetDailyDigestTimePreferenceApi
|
|
2405
|
+
* @extends {BaseAPI}
|
|
2406
|
+
*/
|
|
2407
|
+
export class OrgConfigResourceV1GetDailyDigestTimePreferenceApi extends BaseAPI {
|
|
2408
|
+
/**
|
|
2409
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
2410
|
+
* @summary Retrieve the daily digest time
|
|
2411
|
+
* @param {*} [options] Override http request option.
|
|
2412
|
+
* @throws {RequiredError}
|
|
2413
|
+
* @memberof OrgConfigResourceV1GetDailyDigestTimePreferenceApi
|
|
2414
|
+
*/
|
|
2415
|
+
orgConfigResourceV1GetDailyDigestTimePreference(options) {
|
|
2416
|
+
return OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp(this.configuration).orgConfigResourceV1GetDailyDigestTimePreference(options).then((request) => request(this.axios, this.basePath));
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
/**
|
|
2420
|
+
* OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - axios parameter creator
|
|
2421
|
+
* @export
|
|
2422
|
+
*/
|
|
2423
|
+
export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiAxiosParamCreator = function (configuration) {
|
|
2424
|
+
return {
|
|
2425
|
+
/**
|
|
2426
|
+
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
2427
|
+
* @summary Set the daily digest time
|
|
2428
|
+
* @param {string} [body]
|
|
2429
|
+
* @param {*} [options] Override http request option.
|
|
2430
|
+
* @throws {RequiredError}
|
|
2431
|
+
*/
|
|
2432
|
+
orgConfigResourceV1SaveDailyDigestTimePreference: async (body, options = {}) => {
|
|
2433
|
+
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
2434
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2435
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2436
|
+
let baseOptions;
|
|
2437
|
+
if (configuration) {
|
|
2438
|
+
baseOptions = configuration.baseOptions;
|
|
2439
|
+
}
|
|
2440
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2441
|
+
const localVarHeaderParameter = {};
|
|
2442
|
+
const localVarQueryParameter = {};
|
|
2443
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2444
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2445
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2446
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2447
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2448
|
+
return {
|
|
2449
|
+
url: toPathString(localVarUrlObj),
|
|
2450
|
+
options: localVarRequestOptions,
|
|
2451
|
+
};
|
|
2452
|
+
},
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
/**
|
|
2456
|
+
* OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - functional programming interface
|
|
2457
|
+
* @export
|
|
2458
|
+
*/
|
|
2459
|
+
export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp = function (configuration) {
|
|
2460
|
+
const localVarAxiosParamCreator = OrgConfigResourceV1SaveDailyDigestTimePreferenceApiAxiosParamCreator(configuration);
|
|
2461
|
+
return {
|
|
2462
|
+
/**
|
|
2463
|
+
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
2464
|
+
* @summary Set the daily digest time
|
|
2465
|
+
* @param {string} [body]
|
|
2466
|
+
* @param {*} [options] Override http request option.
|
|
2467
|
+
* @throws {RequiredError}
|
|
2468
|
+
*/
|
|
2469
|
+
async orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
|
|
2470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.orgConfigResourceV1SaveDailyDigestTimePreference(body, options);
|
|
2471
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2472
|
+
},
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
/**
|
|
2476
|
+
* OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - factory interface
|
|
2477
|
+
* @export
|
|
2478
|
+
*/
|
|
2479
|
+
export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFactory = function (configuration, basePath, axios) {
|
|
2480
|
+
const localVarFp = OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp(configuration);
|
|
2481
|
+
return {
|
|
2482
|
+
/**
|
|
2483
|
+
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
2484
|
+
* @summary Set the daily digest time
|
|
2485
|
+
* @param {string} [body]
|
|
2486
|
+
* @param {*} [options] Override http request option.
|
|
2487
|
+
* @throws {RequiredError}
|
|
2488
|
+
*/
|
|
2489
|
+
orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
|
|
2490
|
+
return localVarFp.orgConfigResourceV1SaveDailyDigestTimePreference(body, options).then((request) => request(axios, basePath));
|
|
2491
|
+
},
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2494
|
+
/**
|
|
2495
|
+
* OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - object-oriented interface
|
|
2496
|
+
* @export
|
|
2497
|
+
* @class OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
|
|
2498
|
+
* @extends {BaseAPI}
|
|
2499
|
+
*/
|
|
2500
|
+
export class OrgConfigResourceV1SaveDailyDigestTimePreferenceApi extends BaseAPI {
|
|
2501
|
+
/**
|
|
2502
|
+
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
2503
|
+
* @summary Set the daily digest time
|
|
2504
|
+
* @param {string} [body]
|
|
2505
|
+
* @param {*} [options] Override http request option.
|
|
2506
|
+
* @throws {RequiredError}
|
|
2507
|
+
* @memberof OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
|
|
2508
|
+
*/
|
|
2509
|
+
orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
|
|
2510
|
+
return OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp(this.configuration).orgConfigResourceV1SaveDailyDigestTimePreference(body, options).then((request) => request(this.axios, this.basePath));
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
//# sourceMappingURL=api.js.map
|