@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
|
@@ -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.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
58
|
-
* @summary List the event types affected by the removal of a behavior group
|
|
59
|
-
* @param {NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = 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, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams(config) ? config[0] : ['behaviorGroupId', '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, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}"
|
|
77
|
-
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)));
|
|
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.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
92
|
-
exports.default = exports.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
@@ -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.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName') && Object.prototype.hasOwnProperty.call(params, 'eventTypeName');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
58
|
-
* @summary Retrieve an event type by bundle, application and event type names
|
|
59
|
-
* @param {NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = 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, eventTypeName, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'eventTypeName', '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, eventTypeName = params.eventTypeName, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}"
|
|
77
|
-
.replace("{".concat("applicationName", "}"), encodeURIComponent(String(applicationName)))
|
|
78
|
-
.replace("{".concat("bundleName", "}"), encodeURIComponent(String(bundleName)))
|
|
79
|
-
.replace("{".concat("eventTypeName", "}"), encodeURIComponent(String(eventTypeName)));
|
|
80
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
81
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
82
|
-
localVarHeaderParameter = {};
|
|
83
|
-
localVarQueryParameter = {};
|
|
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.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
@@ -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.notificationResourceV1UpdateBehaviorGroupParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1UpdateBehaviorGroupObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && Object.prototype.hasOwnProperty.call(params, 'updateBehaviorGroupRequest');
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
58
|
-
* @summary Update a behavior group
|
|
59
|
-
* @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1UpdateBehaviorGroupParamCreator = 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, id, updateBehaviorGroupRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
id = params.id, updateBehaviorGroupRequest = params.updateBehaviorGroupRequest, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/behaviorGroups/{id}"
|
|
77
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'PUT' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
-
serializeData: updateBehaviorGroupRequest,
|
|
89
|
-
}];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.notificationResourceV1UpdateBehaviorGroupParamCreator = notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
@@ -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.notificationResourceV1UpdateBehaviorGroupActionsParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && true;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
58
|
-
* @summary Update the list of behavior group actions
|
|
59
|
-
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1UpdateBehaviorGroupActionsParamCreator = 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, requestBody, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'requestBody', '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, requestBody = params.requestBody, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/behaviorGroups/{behaviorGroupId}/actions"
|
|
77
|
-
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'PUT' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
-
serializeData: requestBody,
|
|
89
|
-
}];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator = notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
@@ -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.notificationResourceV1UpdateEventTypeBehaviorsParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = function (params) {
|
|
54
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Updates the list of behavior groups associated with an event type.
|
|
58
|
-
* @summary Update the list of behavior groups for an event type
|
|
59
|
-
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var notificationResourceV1UpdateEventTypeBehaviorsParamCreator = 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, eventTypeId, requestBody, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
eventTypeId = params.eventTypeId, requestBody = params.requestBody, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups"
|
|
77
|
-
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
78
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
79
|
-
localVarRequestOptions = __assign({ method: 'PUT' }, options);
|
|
80
|
-
localVarHeaderParameter = {};
|
|
81
|
-
localVarQueryParameter = {};
|
|
82
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
-
serializeData: requestBody,
|
|
89
|
-
}];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator = notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
94
|
-
exports.default = exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
@@ -1,91 +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.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = void 0;
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
var common_1 = require("../utils/common");
|
|
53
|
-
var isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = function (params) {
|
|
54
|
-
return params.length === 1;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
58
|
-
* @summary Retrieve the daily digest time
|
|
59
|
-
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = 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, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
70
|
-
return __generator(this, function (_b) {
|
|
71
|
-
params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce(function (acc, curr, index) {
|
|
72
|
-
var _a;
|
|
73
|
-
return (__assign(__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
74
|
-
}, {});
|
|
75
|
-
_a = params.options, options = _a === void 0 ? {} : _a;
|
|
76
|
-
localVarPath = "/org-config/daily-digest/time-preference";
|
|
77
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
-
localVarRequestOptions = __assign({ method: 'GET' }, options);
|
|
79
|
-
localVarHeaderParameter = {};
|
|
80
|
-
localVarQueryParameter = {};
|
|
81
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
82
|
-
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
83
|
-
return [2 /*return*/, {
|
|
84
|
-
urlObj: localVarUrlObj,
|
|
85
|
-
options: localVarRequestOptions,
|
|
86
|
-
}];
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
91
|
-
exports.default = exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|