@redhat-cloud-services/notifications-client 2.0.6 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -0
- package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +7 -52
- package/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js +48 -0
- package/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +1 -0
- package/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +7 -52
- package/EventResourceV1GetEvents/index.js.map +1 -0
- package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +48 -0
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js +48 -0
- package/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +48 -0
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +47 -0
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +48 -0
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js +49 -0
- package/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleByName/index.js +47 -0
- package/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +1 -0
- package/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/NotificationResourceV1GetBundleFacets/index.js +49 -0
- package/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +7 -52
- package/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -0
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js +7 -52
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js +49 -0
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js +49 -0
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +46 -0
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +48 -0
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/{dist/api.d.ts → api.d.ts} +1 -0
- package/api.d.ts.map +1 -0
- package/{dist/api.js → api.js} +156 -216
- package/api.js.map +1 -0
- package/{dist/base.d.ts → base.d.ts} +1 -0
- package/base.d.ts.map +1 -0
- package/{dist/base.js → base.js} +3 -16
- package/base.js.map +1 -0
- package/{dist/common.d.ts → common.d.ts} +1 -0
- package/common.d.ts.map +1 -0
- package/{dist/common.js → common.js} +9 -54
- package/common.js.map +1 -0
- package/{dist/configuration.d.ts → configuration.d.ts} +1 -0
- package/configuration.d.ts.map +1 -0
- package/{dist/utils/configuration.js → configuration.js} +1 -0
- package/configuration.js.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +81 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +22 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/esm/EventResourceV1GetEvents/index.d.ts +112 -0
- package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/esm/EventResourceV1GetEvents/index.js +82 -0
- package/esm/EventResourceV1GetEvents/index.js.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +22 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +27 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +21 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +27 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +63 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +54 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +21 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +51 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +55 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +27 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +15 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +21 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/api.d.ts +3297 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +2516 -0
- package/esm/api.js.map +1 -0
- package/esm/base.d.ts +55 -0
- package/esm/base.d.ts.map +1 -0
- package/esm/base.js +55 -0
- package/esm/base.js.map +1 -0
- package/esm/common.d.ts +66 -0
- package/esm/common.d.ts.map +1 -0
- package/esm/common.js +134 -0
- package/esm/common.js.map +1 -0
- package/{dist/utils → esm}/configuration.d.ts +1 -0
- package/esm/configuration.d.ts.map +1 -0
- package/esm/configuration.js +28 -0
- package/esm/configuration.js.map +1 -0
- package/esm/index.d.ts +27 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +50 -0
- package/esm/index.js.map +1 -0
- package/{dist → esm}/types/index.d.ts +1 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +90 -0
- package/esm/types/index.js.map +1 -0
- package/{dist → esm}/utils/base.d.ts +2 -1
- package/esm/utils/base.d.ts.map +1 -0
- package/esm/utils/base.js +125 -0
- package/esm/utils/base.js.map +1 -0
- package/{dist → esm}/utils/common.d.ts +1 -0
- package/esm/utils/common.d.ts.map +1 -0
- package/esm/utils/common.js +123 -0
- package/esm/utils/common.js.map +1 -0
- package/esm/utils/configuration.d.ts +73 -0
- package/esm/utils/configuration.d.ts.map +1 -0
- package/esm/utils/configuration.js +28 -0
- package/esm/utils/configuration.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -0
- package/index.js +76 -0
- package/index.js.map +1 -0
- package/package.json +28 -27
- package/types/index.d.ts +1808 -0
- package/types/index.d.ts.map +1 -0
- package/{dist/types → types}/index.js +1 -0
- package/types/index.js.map +1 -0
- package/utils/base.d.ts +85 -0
- package/utils/base.d.ts.map +1 -0
- package/{dist/utils → utils}/base.js +13 -73
- package/utils/base.js.map +1 -0
- package/utils/common.d.ts +55 -0
- package/utils/common.d.ts.map +1 -0
- package/{dist/utils → utils}/common.js +9 -54
- package/utils/common.js.map +1 -0
- package/utils/configuration.d.ts +73 -0
- package/utils/configuration.d.ts.map +1 -0
- package/{dist → utils}/configuration.js +1 -0
- package/utils/configuration.js.map +1 -0
- package/LICENSE +0 -201
- package/README.md +0 -59
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -93
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -93
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +0 -93
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -93
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -92
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -93
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleByName/index.js +0 -92
- package/dist/NotificationResourceV1GetBundleFacets/index.js +0 -94
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -92
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -94
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -94
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -94
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -94
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -91
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -93
- package/dist/UserConfigResourceV1GetPreferences/index.d.ts +0 -25
- package/dist/UserConfigResourceV1GetPreferences/index.js +0 -92
- package/dist/UserConfigResourceV1GetSettingsSchema/index.d.ts +0 -19
- package/dist/UserConfigResourceV1GetSettingsSchema/index.js +0 -93
- package/dist/UserConfigResourceV1SaveSettings/index.d.ts +0 -20
- package/dist/UserConfigResourceV1SaveSettings/index.js +0 -92
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -88
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.js +0 -19
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -61
- package/doc/classes/BaseAPI.md +0 -125
- package/doc/classes/Configuration.md +0 -194
- package/doc/classes/RequiredError.md +0 -179
- package/doc/enums/EndpointStatus.md +0 -76
- package/doc/enums/EndpointType.md +0 -65
- package/doc/enums/Environment.md +0 -54
- package/doc/enums/EventLogEntryActionStatus.md +0 -65
- package/doc/enums/HttpType.md +0 -43
- package/doc/enums/NotificationStatus.md +0 -65
- package/doc/enums/Status.md +0 -32
- package/doc/enums/SubscriptionType.md +0 -43
- package/doc/interfaces/AddAccessRequest.md +0 -44
- package/doc/interfaces/AddApplicationRequest.md +0 -74
- package/doc/interfaces/AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/ApiConfig.md +0 -30
- package/doc/interfaces/Application.md +0 -104
- package/doc/interfaces/Application1.md +0 -44
- package/doc/interfaces/ApplicationDTO.md +0 -104
- package/doc/interfaces/ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/BasicAuthentication.md +0 -44
- package/doc/interfaces/BehaviorGroup.md +0 -149
- package/doc/interfaces/BehaviorGroupAction.md +0 -59
- package/doc/interfaces/BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/Bundle.md +0 -89
- package/doc/interfaces/BundleSettingsValue.md +0 -33
- package/doc/interfaces/CamelProperties.md +0 -123
- package/doc/interfaces/ConfigurationParameters.md +0 -89
- package/doc/interfaces/CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/CurrentStatus.md +0 -59
- package/doc/interfaces/DrawerEntryPayload.md +0 -104
- package/doc/interfaces/DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/Endpoint.md +0 -179
- package/doc/interfaces/EndpointPage.md +0 -63
- package/doc/interfaces/EndpointTestRequest.md +0 -29
- package/doc/interfaces/EventLogEntry.md +0 -119
- package/doc/interfaces/EventLogEntryAction.md +0 -125
- package/doc/interfaces/EventType.md +0 -134
- package/doc/interfaces/EventTypeBehavior.md +0 -59
- package/doc/interfaces/EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/EventTypeSettingsValue.md +0 -48
- package/doc/interfaces/Facet.md +0 -74
- package/doc/interfaces/InstantEmailTemplate.md +0 -149
- package/doc/interfaces/InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/InternalRoleAccess.md +0 -59
- package/doc/interfaces/InternalUserPermissions.md +0 -59
- package/doc/interfaces/MessageValidationResponse.md +0 -33
- package/doc/interfaces/Meta.md +0 -29
- package/doc/interfaces/NotificationHistory.md +0 -155
- package/doc/interfaces/PageBehaviorGroup.md +0 -63
- package/doc/interfaces/PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/PageEventLogEntry.md +0 -63
- package/doc/interfaces/PageEventType.md +0 -63
- package/doc/interfaces/PageNotificationHistory.md +0 -63
- package/doc/interfaces/RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/RequestArgs.md +0 -58
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/ServerInfo.md +0 -29
- package/doc/interfaces/SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/SystemSubscriptionProperties.md +0 -59
- package/doc/interfaces/Template.md +0 -104
- package/doc/interfaces/TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/WebhookProperties.md +0 -104
- package/doc/interfaces/X509Certificate.md +0 -89
- package/doc/modules.md +0 -1111
- package/openapitools.json +0 -7
- package/postProcess.sh +0 -4
- package/tsconfig-cjs.json +0 -19
- package/tsconfig-esm.json +0 -21
- package/tsconfig.json +0 -18
package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts
RENAMED
|
@@ -78,3 +78,4 @@ export declare type DrawerResourceV1GetDrawerEntriesParams = {
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const drawerResourceV1GetDrawerEntriesParamCreator: (...config: ([DrawerResourceV1GetDrawerEntriesParams] | [Set<string>, Set<string>, string, Set<string>, number, number, number, boolean, string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
80
80
|
export default drawerResourceV1GetDrawerEntriesParamCreator;
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,sCAAsC,GAAG;IACnD;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4CAA4C,cAAqB,CAAC,CAAC,sCAAsC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmE5Q,CAAA;AAED,eAAe,4CAA4C,CAAC"}
|
|
@@ -1,53 +1,7 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
3
|
exports.drawerResourceV1GetDrawerEntriesParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
51
5
|
// @ts-ignore
|
|
52
6
|
var common_1 = require("../utils/common");
|
|
53
7
|
var isDrawerResourceV1GetDrawerEntriesObjectParams = function (params) {
|
|
@@ -65,17 +19,17 @@ var drawerResourceV1GetDrawerEntriesParamCreator = function () {
|
|
|
65
19
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
20
|
config[_i] = arguments[_i];
|
|
67
21
|
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
69
23
|
var params, appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
71
25
|
params = isDrawerResourceV1GetDrawerEntriesObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'eventTypeIds', 'limit', 'offset', 'pageNumber', 'readStatus', 'sortBy', 'sortBy2', 'startDate', 'options'].reduce(function (acc, curr, index) {
|
|
72
26
|
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
28
|
}, {});
|
|
75
29
|
appIds = params.appIds, bundleIds = params.bundleIds, endDate = params.endDate, eventTypeIds = params.eventTypeIds, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, readStatus = params.readStatus, sortBy = params.sortBy, sortBy2 = params.sortBy2, startDate = params.startDate, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
30
|
localVarPath = "/notifications/drawer";
|
|
77
31
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
79
33
|
localVarHeaderParameter = {};
|
|
80
34
|
localVarQueryParameter = {};
|
|
81
35
|
if (appIds) {
|
|
@@ -116,7 +70,7 @@ var drawerResourceV1GetDrawerEntriesParamCreator = function () {
|
|
|
116
70
|
startDate;
|
|
117
71
|
}
|
|
118
72
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
119
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
73
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
120
74
|
return [2 /*return*/, {
|
|
121
75
|
urlObj: localVarUrlObj,
|
|
122
76
|
options: localVarRequestOptions,
|
|
@@ -126,3 +80,4 @@ var drawerResourceV1GetDrawerEntriesParamCreator = function () {
|
|
|
126
80
|
};
|
|
127
81
|
exports.drawerResourceV1GetDrawerEntriesParamCreator = drawerResourceV1GetDrawerEntriesParamCreator;
|
|
128
82
|
exports.default = exports.drawerResourceV1GetDrawerEntriesParamCreator;
|
|
83
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,0CAAmO;AAgFnO,IAAM,8CAA8C,GAAG,UAAC,MAA4D;IAClH,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpH,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,4CAA4C,GAAG;IAAO,gBAAoL;SAApL,UAAoL,EAApL,qBAAoL,EAApL,IAAoL;QAApL,2BAAoL;;;;;YAC7O,MAAM,GAAG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C;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAnEY,QAAA,4CAA4C,gDAmExD;AAED,kBAAe,oDAA4C,CAAC"}
|
|
@@ -19,3 +19,4 @@ export declare type DrawerResourceV1UpdateNotificationReadStatusParams = {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
21
21
|
export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,oBAAY,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,CAAC,EAAE,8BAA8B,CAAC;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,cAAqB,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5N,CAAA;AAED,eAAe,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.drawerResourceV1UpdateNotificationReadStatusParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isDrawerResourceV1UpdateNotificationReadStatusObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Update drawer notifications status.
|
|
12
|
+
* @summary Update drawer notifications status.
|
|
13
|
+
* @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var drawerResourceV1UpdateNotificationReadStatusParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, updateNotificationDrawerStatus, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isDrawerResourceV1UpdateNotificationReadStatusObjectParams(config) ? config[0] : ['updateNotificationDrawerStatus', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
updateNotificationDrawerStatus = params.updateNotificationDrawerStatus, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/drawer/read";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
serializeData: updateNotificationDrawerStatus,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.drawerResourceV1UpdateNotificationReadStatusParamCreator = drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
47
|
+
exports.default = exports.drawerResourceV1UpdateNotificationReadStatusParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,0CAAmO;AAoBnO,IAAM,0DAA0D,GAAG,UAAC,MAAwE;IAC1I,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,wDAAwD,GAAG;IAAO,gBAAwH;SAAxH,UAAwH,EAAxH,qBAAwH,EAAxH,IAAwH;QAAxH,2BAAwH;;;;;YAC7L,MAAM,GAAG,0DAA0D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAuD,CAAC;YAClQ,8BAA8B,GAAmB,MAAM,+BAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC1D,YAAY,GAAG,4BAA4B,CAAC;YAE5C,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;oBAC/B,aAAa,EAAE,8BAA8B;iBAChD,EAAC;;;CACL,CAAA;AAtBY,QAAA,wDAAwD,4DAsBpE;AAED,kBAAe,gEAAwD,CAAC"}
|
|
@@ -109,3 +109,4 @@ export declare type EventResourceV1GetEventsParams = {
|
|
|
109
109
|
*/
|
|
110
110
|
export declare const eventResourceV1GetEventsParamCreator: (...config: ([EventResourceV1GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
111
111
|
export default eventResourceV1GetEventsParamCreator;
|
|
112
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../EventResourceV1GetEvents/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MA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AAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuFpU,CAAA;AAED,eAAe,oCAAoC,CAAC"}
|
|
@@ -1,53 +1,7 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
3
|
exports.eventResourceV1GetEventsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
51
5
|
// @ts-ignore
|
|
52
6
|
var common_1 = require("../utils/common");
|
|
53
7
|
var isEventResourceV1GetEventsObjectParams = function (params) {
|
|
@@ -65,17 +19,17 @@ var eventResourceV1GetEventsParamCreator = function () {
|
|
|
65
19
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
66
20
|
config[_i] = arguments[_i];
|
|
67
21
|
}
|
|
68
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
69
23
|
var params, appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
71
25
|
params = isEventResourceV1GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce(function (acc, curr, index) {
|
|
72
26
|
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
28
|
}, {});
|
|
75
29
|
appIds = params.appIds, bundleIds = params.bundleIds, endDate = params.endDate, endpointTypes = params.endpointTypes, eventTypeDisplayName = params.eventTypeDisplayName, includeActions = params.includeActions, includeDetails = params.includeDetails, includePayload = params.includePayload, invocationResults = params.invocationResults, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, sortBy = params.sortBy, sortBy2 = params.sortBy2, startDate = params.startDate, status = params.status, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
30
|
localVarPath = "/notifications/events";
|
|
77
31
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
79
33
|
localVarHeaderParameter = {};
|
|
80
34
|
localVarQueryParameter = {};
|
|
81
35
|
if (appIds) {
|
|
@@ -131,7 +85,7 @@ var eventResourceV1GetEventsParamCreator = function () {
|
|
|
131
85
|
localVarQueryParameter['status'] = Array.from(status);
|
|
132
86
|
}
|
|
133
87
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
134
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
88
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
135
89
|
return [2 /*return*/, {
|
|
136
90
|
urlObj: localVarUrlObj,
|
|
137
91
|
options: localVarRequestOptions,
|
|
@@ -141,3 +95,4 @@ var eventResourceV1GetEventsParamCreator = function () {
|
|
|
141
95
|
};
|
|
142
96
|
exports.eventResourceV1GetEventsParamCreator = eventResourceV1GetEventsParamCreator;
|
|
143
97
|
exports.default = exports.eventResourceV1GetEventsParamCreator;
|
|
98
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../EventResourceV1GetEvents/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,0CAAmO;AA8GnO,IAAM,sCAAsC,GAAG,UAAC,MAAoD;IAClG,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AAC5J,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,oCAAoC,GAAG;IAAO,gBAAoP;SAApP,UAAoP,EAApP,qBAAoP,EAApP,IAAoP;QAApP,2BAAoP;;;;;YACrS,MAAM,GAAG,sCAA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C3C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,UAAU,KAAK,SAAS,EAAE;gBAC1B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;aACrD;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,OAAO,KAAK,SAAS,EAAE;gBACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;aAC/C;YAED,IAAI,SAAS,KAAK,SAAS,EAAE;gBACzB,sBAAsB,CAAC,WAAW,CAAC,GAAG,CAAC,SAAgB,YAAY,IAAI,CAAC,CAAC,CAAC;oBACrE,SAAiB,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC,EAAC,EAAE,CAAC,CAAC,CAAC;oBAC/C,SAAS,CAAC;aACjB;YAED,IAAI,MAAM,EAAE;gBACR,sBAAsB,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACzD;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAvFY,QAAA,oCAAoC,wCAuFhD;AAED,kBAAe,4CAAoC,CAAC"}
|
|
@@ -24,3 +24,4 @@ export declare type NotificationResourceV1AppendBehaviorGroupToEventTypeParams =
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator: (...config: ([NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
26
|
export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,0DAA0D,GAAG;IACvE;;;;MAIE;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,gEAAgE,cAAqB,CAAC,CAAC,0DAA0D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqB5N,CAAA;AAED,eAAe,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @summary Add a behavior group to the given event type.
|
|
13
|
+
* @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, behaviorGroupUuid, eventTypeUuid, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
behaviorGroupUuid = params.behaviorGroupUuid, eventTypeUuid = params.eventTypeUuid, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}"
|
|
31
|
+
.replace("{".concat("behaviorGroupUuid", "}"), encodeURIComponent(String(behaviorGroupUuid)))
|
|
32
|
+
.replace("{".concat("eventTypeUuid", "}"), encodeURIComponent(String(eventTypeUuid)));
|
|
33
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
35
|
+
localVarHeaderParameter = {};
|
|
36
|
+
localVarQueryParameter = {};
|
|
37
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
39
|
+
return [2 /*return*/, {
|
|
40
|
+
urlObj: localVarUrlObj,
|
|
41
|
+
options: localVarRequestOptions,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
47
|
+
exports.default = exports.notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,0CAAmO;AA0BnO,IAAM,kEAAkE,GAAG,UAAC,MAAgF;IAC1J,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAClK,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,gEAAgE,GAAG;IAAO,gBAAgH;SAAhH,UAAgH,EAAhH,qBAAgH,EAAhH,IAAgH;QAAhH,2BAAgH;;;;;YAC7L,MAAM,GAAG,kEAAkE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,EAAE,eAAe,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA+D,CAAC;YACtR,iBAAiB,GAAkC,MAAM,kBAAxC,EAAE,aAAa,GAAmB,MAAM,cAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC5D,YAAY,GAAG,8EAA8E;iBAC9F,OAAO,CAAC,WAAI,mBAAmB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;iBAClF,OAAO,CAAC,WAAI,eAAe,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YAE1E,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AArBY,QAAA,gEAAgE,oEAqB5E;AAED,kBAAe,wEAAgE,CAAC"}
|
|
@@ -19,3 +19,4 @@ export declare type NotificationResourceV1CreateBehaviorGroupParams = {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
21
21
|
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,0BAA0B,EAA+B,MAAM,UAAU,CAAC;AAGxF,oBAAY,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1CreateBehaviorGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isNotificationResourceV1CreateBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary Create a behavior group
|
|
13
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV1CreateBehaviorGroupParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, createBehaviorGroupRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
createBehaviorGroupRequest = params.createBehaviorGroupRequest, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/behaviorGroups";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
serializeData: createBehaviorGroupRequest,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.notificationResourceV1CreateBehaviorGroupParamCreator = notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
47
|
+
exports.default = exports.notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResour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,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;oBAC/B,aAAa,EAAE,0BAA0B;iBAC5C,EAAC;;;CACL,CAAA;AAtBY,QAAA,qDAAqD,yDAsBjE;AAED,kBAAe,6DAAqD,CAAC"}
|
|
@@ -18,3 +18,4 @@ export declare type NotificationResourceV1DeleteBehaviorGroupParams = {
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
20
20
|
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1DeleteBehaviorGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isNotificationResourceV1DeleteBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
12
|
+
* @summary Delete a behavior group
|
|
13
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV1DeleteBehaviorGroupParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, id, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV1DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
id = params.id, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/behaviorGroups/{id}"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
}];
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
exports.notificationResourceV1DeleteBehaviorGroupParamCreator = notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
46
|
+
exports.default = exports.notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,0CAAmO;AAoBnO,IAAM,uDAAuD,GAAG,UAAC,MAAqE;IACpI,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClF,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,qDAAqD,GAAG;IAAO,gBAA6F;SAA7F,UAA6F,EAA7F,qBAA6F,EAA7F,IAA6F;QAA7F,2BAA6F;;;;;YAC/J,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAoD,CAAC;YAChO,EAAE,GAAmB,MAAM,GAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC9B,YAAY,GAAG,oCAAoC;iBACpD,OAAO,CAAC,WAAI,IAAI,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,QAAkB,IAAK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AApBY,QAAA,qDAAqD,yDAoBjE;AAED,kBAAe,6DAAqD,CAAC"}
|
|
@@ -24,3 +24,4 @@ export declare type NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
26
|
export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,cAAqB,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqBhO,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params, 'eventTypeId');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Adds a behavior group to the specified event type.
|
|
12
|
+
* @summary Add a behavior group to an event type
|
|
13
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, behaviorGroupId, eventTypeId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams(config) ? config[0] : ['behaviorGroupId', 'eventTypeId', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
behaviorGroupId = params.behaviorGroupId, eventTypeId = params.eventTypeId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}"
|
|
31
|
+
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)))
|
|
32
|
+
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
33
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
|
|
35
|
+
localVarHeaderParameter = {};
|
|
36
|
+
localVarQueryParameter = {};
|
|
37
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
39
|
+
return [2 /*return*/, {
|
|
40
|
+
urlObj: localVarUrlObj,
|
|
41
|
+
options: localVarRequestOptions,
|
|
42
|
+
}];
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
47
|
+
exports.default = exports.notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResourceV1DeleteBehaviorGroupF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AK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AArBY,QAAA,kEAAkE,sEAqB9E;AAED,kBAAe,0EAAkE,CAAC"}
|
|
@@ -18,3 +18,4 @@ export declare type NotificationResourceV1FindBehaviorGroupsByBundleIdParams = {
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator: (...config: ([NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
20
20
|
export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,wDAAwD,GAAG;IACrE;;;;MAIE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,8DAA8D,cAAqB,CAAC,CAAC,wDAAwD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoBhN,CAAA;AAED,eAAe,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("../utils/common");
|
|
7
|
+
var isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleId');
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary List behavior groups in a bundle
|
|
13
|
+
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, bundleId, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams(config) ? config[0] : ['bundleId', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
bundleId = params.bundleId, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/notifications/bundles/{bundleId}/behaviorGroups"
|
|
31
|
+
.replace("{".concat("bundleId", "}"), encodeURIComponent(String(bundleId)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
+
return [2 /*return*/, {
|
|
39
|
+
urlObj: localVarUrlObj,
|
|
40
|
+
options: localVarRequestOptions,
|
|
41
|
+
}];
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
46
|
+
exports.default = exports.notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|