Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rhoas/account-management-sdk

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rhoas/account-management-sdk - npm Package Compare versions

Comparing version 0.0.3-dev to 0.19.0

8

dist/generated/api/app-services-api.d.ts

@@ -195,3 +195,3 @@ /**

*/
apiAccountsMgmtV1AccessTokenPost(options?: any): Promise<import("axios").AxiosResponse<AccessTokenCfg>>;
apiAccountsMgmtV1AccessTokenPost(options?: any): Promise<import("axios").AxiosResponse<AccessTokenCfg, any>>;
/**

@@ -205,3 +205,3 @@ *

*/
apiAccountsMgmtV1CurrentAccountGet(fetchLabels?: boolean, options?: any): Promise<import("axios").AxiosResponse<Account>>;
apiAccountsMgmtV1CurrentAccountGet(fetchLabels?: boolean, options?: any): Promise<import("axios").AxiosResponse<Account, any>>;
/**

@@ -217,3 +217,3 @@ *

*/
apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId: string, search?: string, fetchRelatedResources?: boolean, options?: any): Promise<import("axios").AxiosResponse<QuotaCostList>>;
apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId: string, search?: string, fetchRelatedResources?: boolean, options?: any): Promise<import("axios").AxiosResponse<QuotaCostList, any>>;
/**

@@ -227,3 +227,3 @@ *

*/
apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview: SelfTermsReview, options?: any): Promise<import("axios").AxiosResponse<TermsReviewResponse>>;
apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview: SelfTermsReview, options?: any): Promise<import("axios").AxiosResponse<TermsReviewResponse, any>>;
}

@@ -57,8 +57,8 @@ "use strict";

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -87,11 +87,11 @@ };

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
if (fetchLabels !== undefined) {
localVarQueryParameter['fetchLabels'] = fetchLabels;
}
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -111,3 +111,3 @@ };

// verify required parameter 'orgId' is not null or undefined
common_1.assertParamExists('apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet', 'orgId', orgId);
(0, common_1.assertParamExists)('apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet', 'orgId', orgId);
const localVarPath = `/api/accounts_mgmt/v1/organizations/{orgId}/quota_cost`

@@ -126,3 +126,3 @@ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
if (search !== undefined) {

@@ -134,7 +134,7 @@ localVarQueryParameter['search'] = search;

}
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -152,3 +152,3 @@ };

// verify required parameter 'selfTermsReview' is not null or undefined
common_1.assertParamExists('apiAuthorizationsV1SelfTermsReviewPost', 'selfTermsReview', selfTermsReview);
(0, common_1.assertParamExists)('apiAuthorizationsV1SelfTermsReviewPost', 'selfTermsReview', selfTermsReview);
const localVarPath = `/api/authorizations/v1/self_terms_review`;

@@ -166,10 +166,10 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
localVarHeaderParameter['Content-Type'] = 'application/json';
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = common_1.serializeDataIfNeeded(selfTermsReview, localVarRequestOptions, configuration);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(selfTermsReview, localVarRequestOptions, configuration);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -186,3 +186,3 @@ };

const AppServicesApiFp = function (configuration) {
const localVarAxiosParamCreator = exports.AppServicesApiAxiosParamCreator(configuration);
const localVarAxiosParamCreator = (0, exports.AppServicesApiAxiosParamCreator)(configuration);
return {

@@ -198,3 +198,3 @@ /**

const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAccountsMgmtV1AccessTokenPost(options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -212,3 +212,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAccountsMgmtV1CurrentAccountGet(fetchLabels, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -228,3 +228,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId, search, fetchRelatedResources, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -242,3 +242,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -254,3 +254,3 @@ },

const AppServicesApiFactory = function (configuration, basePath, axios) {
const localVarFp = exports.AppServicesApiFp(configuration);
const localVarFp = (0, exports.AppServicesApiFp)(configuration);
return {

@@ -316,3 +316,3 @@ /**

apiAccountsMgmtV1AccessTokenPost(options) {
return exports.AppServicesApiFp(this.configuration).apiAccountsMgmtV1AccessTokenPost(options).then((request) => request(this.axios, this.basePath));
return (0, exports.AppServicesApiFp)(this.configuration).apiAccountsMgmtV1AccessTokenPost(options).then((request) => request(this.axios, this.basePath));
}

@@ -328,3 +328,3 @@ /**

apiAccountsMgmtV1CurrentAccountGet(fetchLabels, options) {
return exports.AppServicesApiFp(this.configuration).apiAccountsMgmtV1CurrentAccountGet(fetchLabels, options).then((request) => request(this.axios, this.basePath));
return (0, exports.AppServicesApiFp)(this.configuration).apiAccountsMgmtV1CurrentAccountGet(fetchLabels, options).then((request) => request(this.axios, this.basePath));
}

@@ -342,3 +342,3 @@ /**

apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId, search, fetchRelatedResources, options) {
return exports.AppServicesApiFp(this.configuration).apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId, search, fetchRelatedResources, options).then((request) => request(this.axios, this.basePath));
return (0, exports.AppServicesApiFp)(this.configuration).apiAccountsMgmtV1OrganizationsOrgIdQuotaCostGet(orgId, search, fetchRelatedResources, options).then((request) => request(this.axios, this.basePath));
}

@@ -354,5 +354,5 @@ /**

apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview, options) {
return exports.AppServicesApiFp(this.configuration).apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview, options).then((request) => request(this.axios, this.basePath));
return (0, exports.AppServicesApiFp)(this.configuration).apiAuthorizationsV1SelfTermsReviewPost(selfTermsReview, options).then((request) => request(this.axios, this.basePath));
}
}
exports.AppServicesApi = AppServicesApi;

@@ -65,2 +65,2 @@ /**

*/
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
{
"name": "@rhoas/account-management-sdk",
"version": "0.0.3-dev",
"version": "0.19.0",
"description": "RHOAS Account Management SDK",

@@ -26,8 +26,8 @@ "author": "Red Hat Developers",

"dependencies": {
"axios": "0.21.1"
"axios": "0.24.0"
},
"devDependencies": {
"@types/node": "14.17.14",
"typescript": "4.4.2"
"@types/node": "14.18.5",
"typescript": "4.5.4"
}
}
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