New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

oci-announcementsservice

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-announcementsservice - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

@@ -22,2 +22,3 @@ /**

protected "_defaultHeaders": any;
protected "_clientConfiguration": common.ClientConfiguration;
protected _httpClient: common.HttpClient;

@@ -47,2 +48,6 @@ constructor(params: common.AuthParams);

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Gets the details of a specific announcement.

@@ -49,0 +54,0 @@ *

@@ -89,2 +89,8 @@ "use strict";

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Gets the details of a specific announcement.

@@ -116,3 +122,4 @@ *

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getAnnouncementRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -167,3 +174,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getAnnouncementUserStatusRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -227,3 +235,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listAnnouncementsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -285,3 +294,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateAnnouncementUserStatusRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -288,0 +298,0 @@ const sdkResponse = oci_common_1.composeResponse({

@@ -91,22 +91,22 @@ /**

enum AnnouncementType {
ACTIONRECOMMENDED = "ACTION_RECOMMENDED",
ACTIONREQUIRED = "ACTION_REQUIRED",
EMERGENCYCHANGE = "EMERGENCY_CHANGE",
EMERGENCYMAINTENANCE = "EMERGENCY_MAINTENANCE",
EMERGENCYMAINTENANCECOMPLETE = "EMERGENCY_MAINTENANCE_COMPLETE",
EMERGENCYMAINTENANCEEXTENDED = "EMERGENCY_MAINTENANCE_EXTENDED",
EMERGENCYMAINTENANCERESCHEDULED = "EMERGENCY_MAINTENANCE_RESCHEDULED",
INFORMATION = "INFORMATION",
PLANNEDCHANGE = "PLANNED_CHANGE",
PLANNEDCHANGECOMPLETE = "PLANNED_CHANGE_COMPLETE",
PLANNEDCHANGEEXTENDED = "PLANNED_CHANGE_EXTENDED",
PLANNEDCHANGERESCHEDULED = "PLANNED_CHANGE_RESCHEDULED",
PRODUCTIONEVENTNOTIFICATION = "PRODUCTION_EVENT_NOTIFICATION",
SCHEDULEDMAINTENANCE = "SCHEDULED_MAINTENANCE"
ActionRecommended = "ACTION_RECOMMENDED",
ActionRequired = "ACTION_REQUIRED",
EmergencyChange = "EMERGENCY_CHANGE",
EmergencyMaintenance = "EMERGENCY_MAINTENANCE",
EmergencyMaintenanceComplete = "EMERGENCY_MAINTENANCE_COMPLETE",
EmergencyMaintenanceExtended = "EMERGENCY_MAINTENANCE_EXTENDED",
EmergencyMaintenanceRescheduled = "EMERGENCY_MAINTENANCE_RESCHEDULED",
Information = "INFORMATION",
PlannedChange = "PLANNED_CHANGE",
PlannedChangeComplete = "PLANNED_CHANGE_COMPLETE",
PlannedChangeExtended = "PLANNED_CHANGE_EXTENDED",
PlannedChangeRescheduled = "PLANNED_CHANGE_RESCHEDULED",
ProductionEventNotification = "PRODUCTION_EVENT_NOTIFICATION",
ScheduledMaintenance = "SCHEDULED_MAINTENANCE"
}
enum LifecycleState {
ACTIVE = "ACTIVE",
INACTIVE = "INACTIVE"
Active = "ACTIVE",
Inactive = "INACTIVE"
}
function getJsonObj(obj: BaseAnnouncement): object;
}

@@ -27,21 +27,21 @@ "use strict";

(function (AnnouncementType) {
AnnouncementType["ACTIONRECOMMENDED"] = "ACTION_RECOMMENDED";
AnnouncementType["ACTIONREQUIRED"] = "ACTION_REQUIRED";
AnnouncementType["EMERGENCYCHANGE"] = "EMERGENCY_CHANGE";
AnnouncementType["EMERGENCYMAINTENANCE"] = "EMERGENCY_MAINTENANCE";
AnnouncementType["EMERGENCYMAINTENANCECOMPLETE"] = "EMERGENCY_MAINTENANCE_COMPLETE";
AnnouncementType["EMERGENCYMAINTENANCEEXTENDED"] = "EMERGENCY_MAINTENANCE_EXTENDED";
AnnouncementType["EMERGENCYMAINTENANCERESCHEDULED"] = "EMERGENCY_MAINTENANCE_RESCHEDULED";
AnnouncementType["INFORMATION"] = "INFORMATION";
AnnouncementType["PLANNEDCHANGE"] = "PLANNED_CHANGE";
AnnouncementType["PLANNEDCHANGECOMPLETE"] = "PLANNED_CHANGE_COMPLETE";
AnnouncementType["PLANNEDCHANGEEXTENDED"] = "PLANNED_CHANGE_EXTENDED";
AnnouncementType["PLANNEDCHANGERESCHEDULED"] = "PLANNED_CHANGE_RESCHEDULED";
AnnouncementType["PRODUCTIONEVENTNOTIFICATION"] = "PRODUCTION_EVENT_NOTIFICATION";
AnnouncementType["SCHEDULEDMAINTENANCE"] = "SCHEDULED_MAINTENANCE";
AnnouncementType["ActionRecommended"] = "ACTION_RECOMMENDED";
AnnouncementType["ActionRequired"] = "ACTION_REQUIRED";
AnnouncementType["EmergencyChange"] = "EMERGENCY_CHANGE";
AnnouncementType["EmergencyMaintenance"] = "EMERGENCY_MAINTENANCE";
AnnouncementType["EmergencyMaintenanceComplete"] = "EMERGENCY_MAINTENANCE_COMPLETE";
AnnouncementType["EmergencyMaintenanceExtended"] = "EMERGENCY_MAINTENANCE_EXTENDED";
AnnouncementType["EmergencyMaintenanceRescheduled"] = "EMERGENCY_MAINTENANCE_RESCHEDULED";
AnnouncementType["Information"] = "INFORMATION";
AnnouncementType["PlannedChange"] = "PLANNED_CHANGE";
AnnouncementType["PlannedChangeComplete"] = "PLANNED_CHANGE_COMPLETE";
AnnouncementType["PlannedChangeExtended"] = "PLANNED_CHANGE_EXTENDED";
AnnouncementType["PlannedChangeRescheduled"] = "PLANNED_CHANGE_RESCHEDULED";
AnnouncementType["ProductionEventNotification"] = "PRODUCTION_EVENT_NOTIFICATION";
AnnouncementType["ScheduledMaintenance"] = "SCHEDULED_MAINTENANCE";
})(AnnouncementType = BaseAnnouncement.AnnouncementType || (BaseAnnouncement.AnnouncementType = {}));
let LifecycleState;
(function (LifecycleState) {
LifecycleState["ACTIVE"] = "ACTIVE";
LifecycleState["INACTIVE"] = "INACTIVE";
LifecycleState["Active"] = "ACTIVE";
LifecycleState["Inactive"] = "INACTIVE";
})(LifecycleState = BaseAnnouncement.LifecycleState || (BaseAnnouncement.LifecycleState = {}));

@@ -48,0 +48,0 @@ function getJsonObj(obj) {

@@ -13,3 +13,4 @@ /**

*/
export interface GetAnnouncementRequest {
import common = require("oci-common");
export interface GetAnnouncementRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The OCID of the announcement.

@@ -13,3 +13,4 @@ /**

*/
export interface GetAnnouncementUserStatusRequest {
import common = require("oci-common");
export interface GetAnnouncementUserStatusRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The OCID of the announcement.

@@ -13,3 +13,4 @@ /**

*/
export interface ListAnnouncementsRequest {
import common = require("oci-common");
export interface ListAnnouncementsRequest extends common.BaseRequest {
/**

@@ -68,4 +69,4 @@ * The OCID of the compartment. Because announcements are specific to a tenancy, this is the

enum LifecycleState {
ACTIVE = "ACTIVE",
INACTIVE = "INACTIVE"
Active = "ACTIVE",
Inactive = "INACTIVE"
}

@@ -81,5 +82,5 @@ enum SortBy {

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}
}

@@ -19,4 +19,4 @@ "use strict";

(function (LifecycleState) {
LifecycleState["ACTIVE"] = "ACTIVE";
LifecycleState["INACTIVE"] = "INACTIVE";
LifecycleState["Active"] = "ACTIVE";
LifecycleState["Inactive"] = "INACTIVE";
})(LifecycleState = ListAnnouncementsRequest.LifecycleState || (ListAnnouncementsRequest.LifecycleState = {}));

@@ -34,6 +34,6 @@ let SortBy;

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListAnnouncementsRequest.SortOrder || (ListAnnouncementsRequest.SortOrder = {}));
})(ListAnnouncementsRequest = exports.ListAnnouncementsRequest || (exports.ListAnnouncementsRequest = {}));
//# sourceMappingURL=list-announcements-request.js.map

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface UpdateAnnouncementUserStatusRequest {
import common = require("oci-common");
export interface UpdateAnnouncementUserStatusRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * The OCID of the announcement.

{
"name": "oci-announcementsservice",
"version": "1.3.0",
"version": "1.4.0",
"description": "OCI NodeJS client for Announcement Service",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "1.3.0",
"oci-workrequests": "1.3.0"
"oci-common": "1.4.0",
"oci-workrequests": "1.4.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet