@redhat-cloud-services/notifications-client 2.2.4 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/LICENSE +201 -0
- package/README.md +69 -0
- package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/{esm → dist}/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts +1 -1
- package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/{esm → dist}/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/{esm → dist}/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/{esm → dist}/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/{esm → dist}/NotificationResourceV1GetEventTypes/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/{esm → dist}/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/{esm → dist}/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/{esm → dist}/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/{api.d.ts → dist/api.d.ts} +8 -8
- package/dist/api.d.ts.map +1 -0
- package/{types → dist/types}/index.d.ts +8 -8
- package/dist/types/index.d.ts.map +1 -0
- package/{esm → dist}/utils/base.d.ts +2 -2
- package/dist/utils/base.d.ts.map +1 -0
- package/doc/.nojekyll +1 -0
- package/doc/README.md +69 -0
- package/doc/classes/BaseAPI.md +125 -0
- package/doc/classes/Configuration.md +194 -0
- package/doc/classes/RequiredError.md +179 -0
- package/doc/enums/EndpointStatus.md +76 -0
- package/doc/enums/EndpointType.md +65 -0
- package/doc/enums/Environment.md +54 -0
- package/doc/enums/EventLogEntryActionStatus.md +65 -0
- package/doc/enums/HttpType.md +43 -0
- package/doc/enums/NotificationStatus.md +65 -0
- package/doc/enums/Status.md +32 -0
- package/doc/enums/SubscriptionType.md +43 -0
- package/doc/interfaces/AddAccessRequest.md +44 -0
- package/doc/interfaces/AddApplicationRequest.md +74 -0
- package/doc/interfaces/AggregationEmailTemplate.md +164 -0
- package/doc/interfaces/AggregationEmailTemplateSubjectTemplate.md +104 -0
- package/doc/interfaces/ApiConfig.md +30 -0
- package/doc/interfaces/Application.md +104 -0
- package/doc/interfaces/Application1.md +44 -0
- package/doc/interfaces/ApplicationDTO.md +104 -0
- package/doc/interfaces/ApplicationSettingsValue.md +33 -0
- package/doc/interfaces/BasicAuthentication.md +44 -0
- package/doc/interfaces/BehaviorGroup.md +149 -0
- package/doc/interfaces/BehaviorGroupAction.md +59 -0
- package/doc/interfaces/BehaviorGroupActionId.md +44 -0
- package/doc/interfaces/Bundle.md +89 -0
- package/doc/interfaces/BundleSettingsValue.md +33 -0
- package/doc/interfaces/CamelProperties.md +123 -0
- package/doc/interfaces/ConfigurationParameters.md +89 -0
- package/doc/interfaces/CreateBehaviorGroupRequest.md +104 -0
- package/doc/interfaces/CreateBehaviorGroupResponse.md +104 -0
- package/doc/interfaces/CurrentStatus.md +59 -0
- package/doc/interfaces/DrawerEntryPayload.md +119 -0
- package/doc/interfaces/DuplicateNameMigrationReport.md +44 -0
- package/doc/interfaces/Endpoint.md +179 -0
- package/doc/interfaces/EndpointPage.md +63 -0
- package/doc/interfaces/EndpointTestRequest.md +29 -0
- package/doc/interfaces/EventLogEntry.md +119 -0
- package/doc/interfaces/EventLogEntryAction.md +125 -0
- package/doc/interfaces/EventType.md +164 -0
- package/doc/interfaces/EventTypeBehavior.md +59 -0
- package/doc/interfaces/EventTypeBehaviorId.md +44 -0
- package/doc/interfaces/EventTypeSettingsValue.md +63 -0
- package/doc/interfaces/Facet.md +74 -0
- package/doc/interfaces/InstantEmailTemplate.md +149 -0
- package/doc/interfaces/InternalApplicationUserPermission.md +59 -0
- package/doc/interfaces/InternalRoleAccess.md +59 -0
- package/doc/interfaces/InternalUserPermissions.md +59 -0
- package/doc/interfaces/MessageValidationResponse.md +33 -0
- package/doc/interfaces/Meta.md +29 -0
- package/doc/interfaces/NotificationHistory.md +155 -0
- package/doc/interfaces/PageBehaviorGroup.md +63 -0
- package/doc/interfaces/PageDrawerEntryPayload.md +63 -0
- package/doc/interfaces/PageEventLogEntry.md +63 -0
- package/doc/interfaces/PageEventType.md +63 -0
- package/doc/interfaces/PageNotificationHistory.md +63 -0
- package/doc/interfaces/RenderEmailTemplateRequest.md +44 -0
- package/doc/interfaces/RequestArgs.md +58 -0
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +44 -0
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +44 -0
- package/doc/interfaces/ServerInfo.md +29 -0
- package/doc/interfaces/SettingsValuesByEventType.md +33 -0
- package/doc/interfaces/SystemSubscriptionProperties.md +59 -0
- package/doc/interfaces/Template.md +104 -0
- package/doc/interfaces/TriggerDailyDigestRequest.md +89 -0
- package/doc/interfaces/UpdateApplicationRequest.md +59 -0
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +74 -0
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +44 -0
- package/doc/interfaces/WebhookProperties.md +104 -0
- package/doc/interfaces/X509Certificate.md +89 -0
- package/doc/modules.md +1112 -0
- package/package.json +4 -5
- package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -22
- package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
- package/EventResourceV1GetEvents/index.d.ts.map +0 -1
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -27
- package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
- package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -21
- package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -21
- package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
- package/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
- package/NotificationResourceV1GetEventTypes/index.d.ts +0 -63
- package/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
- package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -28
- package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -15
- package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -21
- package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/api.d.ts.map +0 -1
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -81
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +0 -67
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -32
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
- package/esm/EventResourceV1GetEvents/index.d.ts +0 -112
- package/esm/EventResourceV1GetEvents/index.d.ts.map +0 -1
- package/esm/EventResourceV1GetEvents/index.js +0 -82
- package/esm/EventResourceV1GetEvents/index.js.map +0 -1
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -32
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -22
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +0 -32
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -21
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -31
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -27
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -32
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -31
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -27
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -32
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +0 -33
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -31
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBundleByName/index.js +0 -31
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBundleFacets/index.js +0 -33
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypes/index.js +0 -54
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -31
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -33
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -33
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -51
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -46
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -33
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -27
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -33
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -27
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -33
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -30
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -32
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
- package/esm/api.d.ts +0 -3364
- package/esm/api.d.ts.map +0 -1
- package/esm/api.js +0 -2513
- package/esm/api.js.map +0 -1
- package/esm/base.d.ts +0 -55
- package/esm/base.d.ts.map +0 -1
- package/esm/base.js +0 -55
- package/esm/base.js.map +0 -1
- package/esm/common.d.ts +0 -66
- package/esm/common.d.ts.map +0 -1
- package/esm/common.js +0 -134
- package/esm/common.js.map +0 -1
- package/esm/configuration.d.ts.map +0 -1
- package/esm/configuration.js +0 -28
- package/esm/configuration.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -50
- package/esm/index.js.map +0 -1
- package/esm/types/index.d.ts +0 -1875
- package/esm/types/index.d.ts.map +0 -1
- package/esm/types/index.js +0 -90
- package/esm/types/index.js.map +0 -1
- package/esm/utils/base.d.ts.map +0 -1
- package/esm/utils/base.js +0 -125
- package/esm/utils/base.js.map +0 -1
- package/esm/utils/common.d.ts.map +0 -1
- package/esm/utils/common.js +0 -123
- package/esm/utils/common.js.map +0 -1
- package/esm/utils/configuration.d.ts +0 -73
- package/esm/utils/configuration.d.ts.map +0 -1
- package/esm/utils/configuration.js +0 -28
- package/esm/utils/configuration.js.map +0 -1
- package/index.d.ts +0 -27
- package/types/index.d.ts.map +0 -1
- package/utils/base.d.ts +0 -85
- package/utils/base.d.ts.map +0 -1
- package/utils/common.d.ts +0 -55
- package/utils/configuration.d.ts +0 -73
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js +0 -0
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js.map +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
- /package/{api.js → dist/api.js} +0 -0
- /package/{api.js.map → dist/api.js.map} +0 -0
- /package/{base.d.ts → dist/base.d.ts} +0 -0
- /package/{base.d.ts.map → dist/base.d.ts.map} +0 -0
- /package/{base.js → dist/base.js} +0 -0
- /package/{base.js.map → dist/base.js.map} +0 -0
- /package/{common.d.ts → dist/common.d.ts} +0 -0
- /package/{common.d.ts.map → dist/common.d.ts.map} +0 -0
- /package/{common.js → dist/common.js} +0 -0
- /package/{common.js.map → dist/common.js.map} +0 -0
- /package/{configuration.d.ts → dist/configuration.d.ts} +0 -0
- /package/{configuration.d.ts.map → dist/configuration.d.ts.map} +0 -0
- /package/{configuration.js → dist/configuration.js} +0 -0
- /package/{configuration.js.map → dist/configuration.js.map} +0 -0
- /package/{esm → dist}/index.d.ts +0 -0
- /package/{index.d.ts.map → dist/index.d.ts.map} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{index.js.map → dist/index.js.map} +0 -0
- /package/{types → dist/types}/index.js +0 -0
- /package/{types → dist/types}/index.js.map +0 -0
- /package/{utils → dist/utils}/base.js +0 -0
- /package/{utils → dist/utils}/base.js.map +0 -0
- /package/{esm → dist}/utils/common.d.ts +0 -0
- /package/{utils → dist/utils}/common.d.ts.map +0 -0
- /package/{utils → dist/utils}/common.js +0 -0
- /package/{utils → dist/utils}/common.js.map +0 -0
- /package/{esm → dist/utils}/configuration.d.ts +0 -0
- /package/{utils → dist/utils}/configuration.d.ts.map +0 -0
- /package/{utils → dist/utils}/configuration.js +0 -0
- /package/{utils → dist/utils}/configuration.js.map +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
-
const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params) => {
|
|
4
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && true;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
8
|
-
* @summary Update the list of behavior group actions
|
|
9
|
-
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
10
|
-
* @param {*} [options] Override http request option.
|
|
11
|
-
* @throws {RequiredError}
|
|
12
|
-
*/
|
|
13
|
-
export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (...config) => {
|
|
14
|
-
const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
-
const { behaviorGroupId, requestBody, options = {} } = params;
|
|
16
|
-
const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
|
|
17
|
-
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
18
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
-
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
-
const localVarHeaderParameter = {};
|
|
22
|
-
const localVarQueryParameter = {};
|
|
23
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
return {
|
|
27
|
-
urlObj: localVarUrlObj,
|
|
28
|
-
options: localVarRequestOptions,
|
|
29
|
-
serializeData: requestBody,
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,IAAI,CAAA;AACvG,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,GAAG,MAAgH,EAAwB,EAAE;IAC5N,MAAM,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA2D,CAAC;IAClR,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC9D,MAAM,YAAY,GAAG,yDAAyD;SACzE,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACpF,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type { RequestArgs } from '../utils/base';
|
|
3
|
-
export declare type NotificationResourceV1UpdateEventTypeBehaviorsParams = {
|
|
4
|
-
/**
|
|
5
|
-
* UUID of the eventType to associate with the behavior group(s)
|
|
6
|
-
* @type { string }
|
|
7
|
-
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
8
|
-
*/
|
|
9
|
-
eventTypeId: string;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @type { Set<string> }
|
|
13
|
-
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
14
|
-
*/
|
|
15
|
-
requestBody?: Set<string>;
|
|
16
|
-
options?: AxiosRequestConfig;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Updates the list of behavior groups associated with an event type.
|
|
20
|
-
* @summary Update the list of behavior groups for an event type
|
|
21
|
-
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
22
|
-
* @param {*} [options] Override http request option.
|
|
23
|
-
* @throws {RequiredError}
|
|
24
|
-
*/
|
|
25
|
-
export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [string, Set<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
-
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/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,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,cAAqB,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBrN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
-
const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
|
|
4
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Updates the list of behavior groups associated with an event type.
|
|
8
|
-
* @summary Update the list of behavior groups for an event type
|
|
9
|
-
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
10
|
-
* @param {*} [options] Override http request option.
|
|
11
|
-
* @throws {RequiredError}
|
|
12
|
-
*/
|
|
13
|
-
export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (...config) => {
|
|
14
|
-
const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
-
const { eventTypeId, requestBody, options = {} } = params;
|
|
16
|
-
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
17
|
-
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
-
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
-
const localVarHeaderParameter = {};
|
|
22
|
-
const localVarQueryParameter = {};
|
|
23
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
return {
|
|
27
|
-
urlObj: localVarUrlObj,
|
|
28
|
-
options: localVarRequestOptions,
|
|
29
|
-
serializeData: requestBody,
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,4DAA4D,GAAG,CAAC,MAA0E,EAAoE,EAAE;IACpN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,CAAA;AACnG,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,0DAA0D,GAAG,KAAK,EAAE,GAAG,MAA4G,EAAwB,EAAE;IACtN,MAAM,MAAM,GAAG,4DAA4D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAyD,CAAC;IAC1Q,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC1D,MAAM,YAAY,GAAG,wDAAwD;SACxE,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/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,qDAAqD,GAAG;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,2DAA2D,cAAqB,CAAC,CAAC,qDAAqD,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmBlM,CAAA;AAED,eAAe,2DAA2D,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
-
const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) => {
|
|
4
|
-
return params.length === 1;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
8
|
-
* @summary Retrieve the daily digest time
|
|
9
|
-
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
10
|
-
* @param {*} [options] Override http request option.
|
|
11
|
-
* @throws {RequiredError}
|
|
12
|
-
*/
|
|
13
|
-
export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (...config) => {
|
|
14
|
-
const params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
-
const { options = {} } = params;
|
|
16
|
-
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
17
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
-
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
|
-
const localVarHeaderParameter = {};
|
|
21
|
-
const localVarQueryParameter = {};
|
|
22
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
24
|
-
return {
|
|
25
|
-
urlObj: localVarUrlObj,
|
|
26
|
-
options: localVarRequestOptions,
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAcnO,MAAM,6DAA6D,GAAG,CAAC,MAA2E,EAAqE,EAAE;IACvN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;AAC5B,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,2DAA2D,GAAG,KAAK,EAAE,GAAG,MAAwF,EAAwB,EAAE;IACnM,MAAM,MAAM,GAAG,6DAA6D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA0D,CAAC;IAC9O,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAChC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,2DAA2D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/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,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5M,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
|
|
3
|
-
const isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = (params) => {
|
|
4
|
-
return params.length === 1 && true;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
8
|
-
* @summary Set the daily digest time
|
|
9
|
-
* @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
|
|
10
|
-
* @param {*} [options] Override http request option.
|
|
11
|
-
* @throws {RequiredError}
|
|
12
|
-
*/
|
|
13
|
-
export const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = async (...config) => {
|
|
14
|
-
const params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
-
const { body, options = {} } = params;
|
|
16
|
-
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
17
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
-
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
20
|
-
const localVarHeaderParameter = {};
|
|
21
|
-
const localVarQueryParameter = {};
|
|
22
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
-
return {
|
|
26
|
-
urlObj: localVarUrlObj,
|
|
27
|
-
options: localVarRequestOptions,
|
|
28
|
-
serializeData: body,
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,GAAG,MAAiG,EAAwB,EAAE;IAC7M,MAAM,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA2D,CAAC;IACxP,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACtC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,IAAI;KACtB,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|