@redhat-cloud-services/notifications-client 2.0.6 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -0
- package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +7 -52
- package/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js +48 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +1 -0
- package/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +7 -52
- package/EventResourceV1GetEvents/index.js.map +1 -0
- package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +48 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js +48 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +48 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +47 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +48 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js +49 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleByName/index.js +47 -0
- package/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleFacets/index.js +49 -0
- package/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +7 -52
- package/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js +62 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js +49 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +46 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +48 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/api.d.ts → api.d.ts} +76 -8
- package/api.d.ts.map +1 -0
- package/{dist/api.js → api.js} +156 -219
- package/api.js.map +1 -0
- package/{dist/base.d.ts → base.d.ts} +1 -0
- package/base.d.ts.map +1 -0
- package/{dist/base.js → base.js} +3 -16
- package/base.js.map +1 -0
- package/{dist/common.d.ts → common.d.ts} +1 -0
- package/common.d.ts.map +1 -0
- package/{dist/common.js → common.js} +9 -54
- package/common.js.map +1 -0
- package/{dist/configuration.d.ts → configuration.d.ts} +1 -0
- package/configuration.d.ts.map +1 -0
- package/{dist/utils/configuration.js → configuration.js} +1 -0
- package/configuration.js.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +81 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +22 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/esm/EventResourceV1GetEvents/index.d.ts +112 -0
- package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/esm/EventResourceV1GetEvents/index.js +82 -0
- package/esm/EventResourceV1GetEvents/index.js.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +22 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +21 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +27 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +63 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +54 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +51 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +15 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +21 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/api.d.ts +3364 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +2513 -0
- package/esm/api.js.map +1 -0
- package/esm/base.d.ts +55 -0
- package/esm/base.d.ts.map +1 -0
- package/esm/base.js +55 -0
- package/esm/base.js.map +1 -0
- package/esm/common.d.ts +66 -0
- package/esm/common.d.ts.map +1 -0
- package/esm/common.js +134 -0
- package/esm/common.js.map +1 -0
- package/{dist/utils → esm}/configuration.d.ts +1 -0
- package/esm/configuration.d.ts.map +1 -0
- package/esm/configuration.js +28 -0
- package/esm/configuration.js.map +1 -0
- package/esm/index.d.ts +27 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +50 -0
- package/esm/index.js.map +1 -0
- package/{dist → esm}/types/index.d.ts +76 -8
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +90 -0
- package/esm/types/index.js.map +1 -0
- package/{dist → esm}/utils/base.d.ts +2 -1
- package/esm/utils/base.d.ts.map +1 -0
- package/esm/utils/base.js +125 -0
- package/esm/utils/base.js.map +1 -0
- package/{dist → esm}/utils/common.d.ts +1 -0
- package/esm/utils/common.d.ts.map +1 -0
- package/esm/utils/common.js +123 -0
- package/esm/utils/common.js.map +1 -0
- package/esm/utils/configuration.d.ts +73 -0
- package/esm/utils/configuration.d.ts.map +1 -0
- package/esm/utils/configuration.js +28 -0
- package/esm/utils/configuration.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -0
- package/index.js +76 -0
- package/index.js.map +1 -0
- package/package.json +28 -27
- package/types/index.d.ts +1875 -0
- package/types/index.d.ts.map +1 -0
- package/{dist/types → types}/index.js +1 -0
- package/types/index.js.map +1 -0
- package/utils/base.d.ts +85 -0
- package/utils/base.d.ts.map +1 -0
- package/{dist/utils → utils}/base.js +13 -73
- package/utils/base.js.map +1 -0
- package/utils/common.d.ts +55 -0
- package/utils/common.d.ts.map +1 -0
- package/{dist/utils → utils}/common.js +9 -54
- package/utils/common.js.map +1 -0
- package/utils/configuration.d.ts +73 -0
- package/utils/configuration.d.ts.map +1 -0
- package/{dist → utils}/configuration.js +1 -0
- package/utils/configuration.js.map +1 -0
- package/LICENSE +0 -201
- package/README.md +0 -59
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -93
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -93
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +0 -93
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -93
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -92
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -93
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleByName/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -94
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -116
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -94
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -94
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -94
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -91
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -93
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -88
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -61
- package/doc/classes/BaseAPI.md +0 -125
- package/doc/classes/Configuration.md +0 -194
- package/doc/classes/RequiredError.md +0 -179
- package/doc/enums/EndpointStatus.md +0 -76
- package/doc/enums/EndpointType.md +0 -65
- package/doc/enums/Environment.md +0 -54
- package/doc/enums/EventLogEntryActionStatus.md +0 -65
- package/doc/enums/HttpType.md +0 -43
- package/doc/enums/NotificationStatus.md +0 -65
- package/doc/enums/Status.md +0 -32
- package/doc/enums/SubscriptionType.md +0 -43
- package/doc/interfaces/AddAccessRequest.md +0 -44
- package/doc/interfaces/AddApplicationRequest.md +0 -74
- package/doc/interfaces/AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/ApiConfig.md +0 -30
- package/doc/interfaces/Application.md +0 -104
- package/doc/interfaces/Application1.md +0 -44
- package/doc/interfaces/ApplicationDTO.md +0 -104
- package/doc/interfaces/ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/BasicAuthentication.md +0 -44
- package/doc/interfaces/BehaviorGroup.md +0 -149
- package/doc/interfaces/BehaviorGroupAction.md +0 -59
- package/doc/interfaces/BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/Bundle.md +0 -89
- package/doc/interfaces/BundleSettingsValue.md +0 -33
- package/doc/interfaces/CamelProperties.md +0 -123
- package/doc/interfaces/ConfigurationParameters.md +0 -89
- package/doc/interfaces/CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/CurrentStatus.md +0 -59
- package/doc/interfaces/DrawerEntryPayload.md +0 -104
- package/doc/interfaces/DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/Endpoint.md +0 -179
- package/doc/interfaces/EndpointPage.md +0 -63
- package/doc/interfaces/EndpointTestRequest.md +0 -29
- package/doc/interfaces/EventLogEntry.md +0 -119
- package/doc/interfaces/EventLogEntryAction.md +0 -125
- package/doc/interfaces/EventType.md +0 -134
- package/doc/interfaces/EventTypeBehavior.md +0 -59
- package/doc/interfaces/EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/EventTypeSettingsValue.md +0 -48
- package/doc/interfaces/Facet.md +0 -74
- package/doc/interfaces/InstantEmailTemplate.md +0 -149
- package/doc/interfaces/InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/InternalRoleAccess.md +0 -59
- package/doc/interfaces/InternalUserPermissions.md +0 -59
- package/doc/interfaces/MessageValidationResponse.md +0 -33
- package/doc/interfaces/Meta.md +0 -29
- package/doc/interfaces/NotificationHistory.md +0 -155
- package/doc/interfaces/PageBehaviorGroup.md +0 -63
- package/doc/interfaces/PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/PageEventLogEntry.md +0 -63
- package/doc/interfaces/PageEventType.md +0 -63
- package/doc/interfaces/PageNotificationHistory.md +0 -63
- package/doc/interfaces/RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/RequestArgs.md +0 -58
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/ServerInfo.md +0 -29
- package/doc/interfaces/SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/SystemSubscriptionProperties.md +0 -59
- package/doc/interfaces/Template.md +0 -104
- package/doc/interfaces/TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/WebhookProperties.md +0 -104
- package/doc/interfaces/X509Certificate.md +0 -89
- package/doc/modules.md +0 -1111
- package/openapitools.json +0 -7
- package/postProcess.sh +0 -4
- package/tsconfig-cjs.json +0 -19
- package/tsconfig-esm.json +0 -21
- package/tsconfig.json +0 -18
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetPreferences → UserConfigResourceV1GetPreferences}/index.js +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1GetSettingsSchema → UserConfigResourceV1GetSettingsSchema}/index.js +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.d.ts +0 -0
- /package/{dist/UserConfigResourceV1SaveSettings → UserConfigResourceV1SaveSettings}/index.js +0 -0
- /package/{dist/utils → utils}/index.d.ts +0 -0
- /package/{dist/utils → utils}/index.js +0 -0
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params, 'eventTypeId');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Adds a behavior group to the specified event type.
|
|
58
|
-
* @summary Add a behavior group to an event type
|
|
59
|
-
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, behaviorGroupId, eventTypeId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams(config) ? config[0] : ['behaviorGroupId', 'eventTypeId', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
behaviorGroupId = params.behaviorGroupId, eventTypeId = params.eventTypeId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}"
|
|
77
|
-
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)))
|
|
78
|
-
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
79
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80
|
-
localVarRequestOptions = __assign({ method: 'DELETE' }, options);
|
|
81
|
-
localVarHeaderParameter = {};
|
|
82
|
-
localVarQueryParameter = {};
|
|
83
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
84
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
85
|
-
return [2 /*return*/, {
|
|
86
|
-
urlObj: localVarUrlObj,
|
|
87
|
-
options: localVarRequestOptions,
|
|
88
|
-
}];
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
93
|
-
exports.default = exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleId');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 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.
|
|
58
|
-
* @summary List behavior groups in a bundle
|
|
59
|
-
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, bundleId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams(config) ? config[0] : ['bundleId', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
bundleId = params.bundleId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/bundles/{bundleId}/behaviorGroups"
|
|
77
|
-
.replace("{".concat("bundleId", "}"), encodeURIComponent(String(bundleId)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
84
|
-
return [2 /*return*/, {
|
|
85
|
-
urlObj: localVarUrlObj,
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
}];
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
};
|
|
91
|
-
exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
92
|
-
exports.default = exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 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.
|
|
58
|
-
* @summary Retrieve an application by bundle and application names
|
|
59
|
-
* @param {NotificationResourceV1GetApplicationByNameAndBundleNameParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, applicationName, bundleName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
applicationName = params.applicationName, bundleName = params.bundleName, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/bundles/{bundleName}/applications/{applicationName}"
|
|
77
|
-
.replace("{".concat("applicationName", "}"), encodeURIComponent(String(applicationName)))
|
|
78
|
-
.replace("{".concat("bundleName", "}"), encodeURIComponent(String(bundleName)));
|
|
79
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
81
|
-
localVarHeaderParameter = {};
|
|
82
|
-
localVarQueryParameter = {};
|
|
83
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
84
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
85
|
-
return [2 /*return*/, {
|
|
86
|
-
urlObj: localVarUrlObj,
|
|
87
|
-
options: localVarRequestOptions,
|
|
88
|
-
}];
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
exports.notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
93
|
-
exports.default = exports.notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1GetApplicationsFacetsParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetApplicationsFacetsObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && true;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 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.
|
|
58
|
-
* @summary List configured applications
|
|
59
|
-
* @param {NotificationResourceV1GetApplicationsFacetsParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetApplicationsFacetsParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, bundleName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetApplicationsFacetsObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
bundleName = params.bundleName, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/facets/applications";
|
|
77
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
79
|
-
localVarHeaderParameter = {};
|
|
80
|
-
localVarQueryParameter = {};
|
|
81
|
-
if (bundleName !== undefined) {
|
|
82
|
-
localVarQueryParameter['bundleName'] = bundleName;
|
|
83
|
-
}
|
|
84
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
85
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
86
|
-
return [2 /*return*/, {
|
|
87
|
-
urlObj: localVarUrlObj,
|
|
88
|
-
options: localVarRequestOptions,
|
|
89
|
-
}];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.notificationResourceV1GetApplicationsFacetsParamCreator = notificationResourceV1GetApplicationsFacetsParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1GetApplicationsFacetsParamCreator;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'endpointId');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 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.
|
|
58
|
-
* @summary List the behavior groups affected by the removal of an endpoint
|
|
59
|
-
* @param {NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, endpointId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams(config) ? config[0] : ['endpointId', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
endpointId = params.endpointId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/behaviorGroups/affectedByRemovalOfEndpoint/{endpointId}"
|
|
77
|
-
.replace("{".concat("endpointId", "}"), encodeURIComponent(String(endpointId)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
84
|
-
return [2 /*return*/, {
|
|
85
|
-
urlObj: localVarUrlObj,
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
}];
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
};
|
|
91
|
-
exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
|
|
92
|
-
exports.default = exports.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1GetBundleByNameParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetBundleByNameObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleName');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves the details of a bundle by searching by its name.
|
|
58
|
-
* @summary Retrieve a bundle by name
|
|
59
|
-
* @param {NotificationResourceV1GetBundleByNameParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetBundleByNameParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, bundleName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetBundleByNameObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
bundleName = params.bundleName, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/bundles/{bundleName}"
|
|
77
|
-
.replace("{".concat("bundleName", "}"), encodeURIComponent(String(bundleName)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
84
|
-
return [2 /*return*/, {
|
|
85
|
-
urlObj: localVarUrlObj,
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
}];
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
};
|
|
91
|
-
exports.notificationResourceV1GetBundleByNameParamCreator = notificationResourceV1GetBundleByNameParamCreator;
|
|
92
|
-
exports.default = exports.notificationResourceV1GetBundleByNameParamCreator;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (_) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.notificationResourceV1GetBundleFacetsParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetBundleFacetsObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && true;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* 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.
|
|
58
|
-
* @summary List configured bundles
|
|
59
|
-
* @param {NotificationResourceV1GetBundleFacetsParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetBundleFacetsParamCreator = function () {
|
|
64
|
-
var config = [];
|
|
65
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
|
-
config[_i] = arguments[_i];
|
|
67
|
-
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var params, includeApplications, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetBundleFacetsObjectParams(config) ? config[0] : ['includeApplications', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
includeApplications = params.includeApplications, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/facets/bundles";
|
|
77
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
79
|
-
localVarHeaderParameter = {};
|
|
80
|
-
localVarQueryParameter = {};
|
|
81
|
-
if (includeApplications !== undefined) {
|
|
82
|
-
localVarQueryParameter['includeApplications'] = includeApplications;
|
|
83
|
-
}
|
|
84
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
85
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
86
|
-
return [2 /*return*/, {
|
|
87
|
-
urlObj: localVarUrlObj,
|
|
88
|
-
options: localVarRequestOptions,
|
|
89
|
-
}];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.notificationResourceV1GetBundleFacetsParamCreator = notificationResourceV1GetBundleFacetsParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1GetBundleFacetsParamCreator;
|