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

oci-budget

Package Overview
Dependencies
Maintainers
2
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-budget - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

5

lib/client.d.ts

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

protected "_waiters": BudgetWaiter;
protected "_clientConfiguration": common.ClientConfiguration;
protected _httpClient: common.HttpClient;

@@ -63,2 +64,6 @@ constructor(params: common.AuthParams);

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Creates a new Alert Rule.

@@ -65,0 +70,0 @@ *

36

lib/client.js

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

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Creates a new Alert Rule.

@@ -141,3 +147,4 @@ *

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

@@ -197,3 +204,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -254,3 +262,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -302,3 +311,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -350,3 +360,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -405,3 +416,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -468,3 +480,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -559,3 +572,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -636,3 +650,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -693,3 +708,4 @@ const sdkResponse = oci_common_2.composeResponse({

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

@@ -696,0 +712,0 @@ const sdkResponse = oci_common_2.composeResponse({

@@ -19,4 +19,4 @@ /**

export declare enum AlertType {
ACTUAL = "ACTUAL",
FORECAST = "FORECAST",
Actual = "ACTUAL",
Forecast = "FORECAST",
/**

@@ -26,3 +26,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -29,0 +29,0 @@ export declare namespace AlertType {

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

(function (AlertType) {
AlertType["ACTUAL"] = "ACTUAL";
AlertType["FORECAST"] = "FORECAST";
AlertType["Actual"] = "ACTUAL";
AlertType["Forecast"] = "FORECAST";
/**

@@ -29,3 +29,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
AlertType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
AlertType["UnknownValue"] = "UNKNOWN_VALUE";
})(AlertType = exports.AlertType || (exports.AlertType = {}));

@@ -32,0 +32,0 @@ (function (AlertType) {

@@ -17,4 +17,4 @@ /**

export declare enum LifecycleState {
ACTIVE = "ACTIVE",
INACTIVE = "INACTIVE",
Active = "ACTIVE",
Inactive = "INACTIVE",
/**

@@ -24,3 +24,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -27,0 +27,0 @@ export declare namespace LifecycleState {

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

(function (LifecycleState) {
LifecycleState["ACTIVE"] = "ACTIVE";
LifecycleState["INACTIVE"] = "INACTIVE";
LifecycleState["Active"] = "ACTIVE";
LifecycleState["Inactive"] = "INACTIVE";
/**

@@ -27,3 +27,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
LifecycleState["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
})(LifecycleState = exports.LifecycleState || (exports.LifecycleState = {}));

@@ -30,0 +30,0 @@ (function (LifecycleState) {

@@ -18,3 +18,3 @@ /**

export declare enum ResetPeriod {
MONTHLY = "MONTHLY",
Monthly = "MONTHLY",
/**

@@ -24,3 +24,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -27,0 +27,0 @@ export declare namespace ResetPeriod {

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

(function (ResetPeriod) {
ResetPeriod["MONTHLY"] = "MONTHLY";
ResetPeriod["Monthly"] = "MONTHLY";
/**

@@ -27,3 +27,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
ResetPeriod["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
ResetPeriod["UnknownValue"] = "UNKNOWN_VALUE";
})(ResetPeriod = exports.ResetPeriod || (exports.ResetPeriod = {}));

@@ -30,0 +30,0 @@ (function (ResetPeriod) {

@@ -20,4 +20,4 @@ /**

export declare enum SortBy {
TIME_CREATED = "timeCreated",
DISPLAY_NAME = "displayName"
TimeCreated = "timeCreated",
DisplayName = "displayName"
}

@@ -24,0 +24,0 @@ export declare namespace SortBy {

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

(function (SortBy) {
SortBy["TIME_CREATED"] = "timeCreated";
SortBy["DISPLAY_NAME"] = "displayName";
SortBy["TimeCreated"] = "timeCreated";
SortBy["DisplayName"] = "displayName";
})(SortBy = exports.SortBy || (exports.SortBy = {}));

@@ -27,0 +27,0 @@ (function (SortBy) {

@@ -17,4 +17,4 @@ /**

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

@@ -21,0 +21,0 @@ export declare namespace SortOrder {

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

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));

@@ -24,0 +24,0 @@ (function (SortOrder) {

@@ -17,4 +17,4 @@ /**

export declare enum TargetType {
COMPARTMENT = "COMPARTMENT",
TAG = "TAG",
Compartment = "COMPARTMENT",
Tag = "TAG",
/**

@@ -24,3 +24,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -27,0 +27,0 @@ export declare namespace TargetType {

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

(function (TargetType) {
TargetType["COMPARTMENT"] = "COMPARTMENT";
TargetType["TAG"] = "TAG";
TargetType["Compartment"] = "COMPARTMENT";
TargetType["Tag"] = "TAG";
/**

@@ -27,3 +27,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
TargetType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
TargetType["UnknownValue"] = "UNKNOWN_VALUE";
})(TargetType = exports.TargetType || (exports.TargetType = {}));

@@ -30,0 +30,0 @@ (function (TargetType) {

@@ -17,4 +17,4 @@ /**

export declare enum ThresholdType {
PERCENTAGE = "PERCENTAGE",
ABSOLUTE = "ABSOLUTE",
Percentage = "PERCENTAGE",
Absolute = "ABSOLUTE",
/**

@@ -24,3 +24,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -27,0 +27,0 @@ export declare namespace ThresholdType {

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

(function (ThresholdType) {
ThresholdType["PERCENTAGE"] = "PERCENTAGE";
ThresholdType["ABSOLUTE"] = "ABSOLUTE";
ThresholdType["Percentage"] = "PERCENTAGE";
ThresholdType["Absolute"] = "ABSOLUTE";
/**

@@ -27,3 +27,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
ThresholdType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
ThresholdType["UnknownValue"] = "UNKNOWN_VALUE";
})(ThresholdType = exports.ThresholdType || (exports.ThresholdType = {}));

@@ -30,0 +30,0 @@ (function (ThresholdType) {

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

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

@@ -17,0 +18,0 @@ * The unique Budget OCID

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

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

@@ -17,0 +18,0 @@ * Details for the new Budget.

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

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

@@ -16,0 +17,0 @@ * The unique Budget OCID

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

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

@@ -16,0 +17,0 @@ * The unique Budget OCID

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

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

@@ -16,0 +17,0 @@ * The unique Budget OCID

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

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

@@ -16,0 +17,0 @@ * The unique Budget OCID

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

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

@@ -17,0 +18,0 @@ * The unique Budget OCID

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

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

@@ -65,6 +66,6 @@ * The ID of the compartment in which to list resources.

enum TargetType {
ALL = "ALL",
COMPARTMENT = "COMPARTMENT",
TAG = "TAG"
All = "ALL",
Compartment = "COMPARTMENT",
Tag = "TAG"
}
}

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

(function (TargetType) {
TargetType["ALL"] = "ALL";
TargetType["COMPARTMENT"] = "COMPARTMENT";
TargetType["TAG"] = "TAG";
TargetType["All"] = "ALL";
TargetType["Compartment"] = "COMPARTMENT";
TargetType["Tag"] = "TAG";
})(TargetType = ListBudgetsRequest.TargetType || (ListBudgetsRequest.TargetType = {}));
})(ListBudgetsRequest = exports.ListBudgetsRequest || (exports.ListBudgetsRequest = {}));
//# sourceMappingURL=list-budgets-request.js.map

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

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

@@ -17,0 +18,0 @@ * The unique Budget OCID

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

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

@@ -17,0 +18,0 @@ * The unique Budget OCID

{
"name": "oci-budget",
"version": "1.3.0",
"version": "1.4.0",
"description": "OCI NodeJS client for Budget 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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc