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

@redhat-cloud-services/config-manager-client

Package Overview
Dependencies
Maintainers
7
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redhat-cloud-services/config-manager-client - npm Package Compare versions

Comparing version 1.0.67 to 1.0.68

22

api.ts

@@ -337,6 +337,7 @@ // tslint:disable

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates: async (limit?: number, offset?: number, options: any = {}): Promise<RequestArgs> => {
getStates: async (limit?: number, offset?: number, sortBy?: 'created_at' | 'created_at:asc' | 'created_at:desc', options: any = {}): Promise<RequestArgs> => {
const localVarPath = `/states`;

@@ -360,4 +361,8 @@ const localVarUrlObj = globalImportUrl.parse(localVarPath, true);

if (sortBy !== undefined) {
localVarQueryParameter['sort_by'] = sortBy;
}
localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query};

@@ -482,7 +487,8 @@ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getStates(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateArchives>> {
const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getStates(limit, offset, options);
async getStates(limit?: number, offset?: number, sortBy?: 'created_at' | 'created_at:asc' | 'created_at:desc', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateArchives>> {
const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getStates(limit, offset, sortBy, options);
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {

@@ -560,7 +566,8 @@ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates(limit?: number, offset?: number, options?: any): AxiosPromise<StateArchives> {
return DefaultApiFp(configuration).getStates(limit, offset, options).then((request) => request(axios, basePath));
getStates(limit?: number, offset?: number, sortBy?: 'created_at' | 'created_at:asc' | 'created_at:desc', options?: any): AxiosPromise<StateArchives> {
return DefaultApiFp(configuration).getStates(limit, offset, sortBy, options).then((request) => request(axios, basePath));
},

@@ -639,2 +646,3 @@ /**

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.

@@ -644,4 +652,4 @@ * @throws {RequiredError}

*/
public getStates(limit?: number, offset?: number, options?: any) {
return DefaultApiFp(this.configuration).getStates(limit, offset, options).then((request) => request(this.axios, this.basePath));
public getStates(limit?: number, offset?: number, sortBy?: 'created_at' | 'created_at:asc' | 'created_at:desc', options?: any) {
return DefaultApiFp(this.configuration).getStates(limit, offset, sortBy, options).then((request) => request(this.axios, this.basePath));
}

@@ -648,0 +656,0 @@

@@ -216,6 +216,7 @@ /**

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates: (limit?: number, offset?: number, options?: any) => Promise<RequestArgs>;
getStates: (limit?: number, offset?: number, sortBy?: "created_at" | "created_at:asc" | "created_at:desc", options?: any) => Promise<RequestArgs>;
/**

@@ -271,6 +272,7 @@ *

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateArchives>>;
getStates(limit?: number, offset?: number, sortBy?: "created_at" | "created_at:asc" | "created_at:desc", options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateArchives>>;
/**

@@ -326,6 +328,7 @@ *

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates(limit?: number, offset?: number, options?: any): AxiosPromise<StateArchives>;
getStates(limit?: number, offset?: number, sortBy?: "created_at" | "created_at:asc" | "created_at:desc", options?: any): AxiosPromise<StateArchives>;
/**

@@ -387,2 +390,3 @@ *

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.

@@ -392,3 +396,3 @@ * @throws {RequiredError}

*/
getStates(limit?: number, offset?: number, options?: any): Promise<import("axios").AxiosResponse<StateArchives>>;
getStates(limit?: number, offset?: number, sortBy?: 'created_at' | 'created_at:asc' | 'created_at:desc', options?: any): Promise<import("axios").AxiosResponse<StateArchives>>;
/**

@@ -395,0 +399,0 @@ *

@@ -263,6 +263,7 @@ "use strict";

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates: function (limit, offset, options) {
getStates: function (limit, offset, sortBy, options) {
if (options === void 0) { options = {}; }

@@ -286,2 +287,5 @@ return __awaiter(_this, void 0, void 0, function () {

}
if (sortBy !== undefined) {
localVarQueryParameter['sort_by'] = sortBy;
}
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);

@@ -450,6 +454,7 @@ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates: function (limit, offset, options) {
getStates: function (limit, offset, sortBy, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -459,3 +464,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, exports.DefaultApiAxiosParamCreator(configuration).getStates(limit, offset, options)];
case 0: return [4 /*yield*/, exports.DefaultApiAxiosParamCreator(configuration).getStates(limit, offset, sortBy, options)];
case 1:

@@ -550,7 +555,8 @@ localVarAxiosArgs = _a.sent();

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getStates: function (limit, offset, options) {
return exports.DefaultApiFp(configuration).getStates(limit, offset, options).then(function (request) { return request(axios, basePath); });
getStates: function (limit, offset, sortBy, options) {
return exports.DefaultApiFp(configuration).getStates(limit, offset, sortBy, options).then(function (request) { return request(axios, basePath); });
},

@@ -632,2 +638,3 @@ /**

* @param {number} [offset] Indicates the starting position of the query relative to the complete set of items that match the query
* @param {'created_at' | 'created_at:asc' | 'created_at:desc'} [sortBy]
* @param {*} [options] Override http request option.

@@ -637,5 +644,5 @@ * @throws {RequiredError}

*/
DefaultApi.prototype.getStates = function (limit, offset, options) {
DefaultApi.prototype.getStates = function (limit, offset, sortBy, options) {
var _this = this;
return exports.DefaultApiFp(this.configuration).getStates(limit, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
return exports.DefaultApiFp(this.configuration).getStates(limit, offset, sortBy, options).then(function (request) { return request(_this.axios, _this.basePath); });
};

@@ -642,0 +649,0 @@ /**

@@ -92,3 +92,3 @@ [@redhat-cloud-services/config-manager-client](../README.md) › [Globals](../globals.md) › [DefaultApi](defaultapi.md)

*Defined in [packages/config-manager/api.ts:590](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L590)*
*Defined in [packages/config-manager/api.ts:597](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L597)*

@@ -115,3 +115,3 @@ **`summary`** Get the current state for requesting account

*Defined in [packages/config-manager/api.ts:602](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L602)*
*Defined in [packages/config-manager/api.ts:609](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L609)*

@@ -139,3 +139,3 @@ **`summary`** Get ansible playbook for current state configuration

*Defined in [packages/config-manager/api.ts:614](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L614)*
*Defined in [packages/config-manager/api.ts:621](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L621)*

@@ -163,3 +163,3 @@ **`summary`** Get a preview of the playbook built from the provided state map

*Defined in [packages/config-manager/api.ts:626](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L626)*
*Defined in [packages/config-manager/api.ts:633](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L633)*

@@ -185,5 +185,5 @@ **`summary`** Get single state change for requesting account

▸ **getStates**(`limit?`: number, `offset?`: number, `options?`: any): *Promise‹AxiosResponse‹[StateArchives](../interfaces/statearchives.md)››*
▸ **getStates**(`limit?`: number, `offset?`: number, `sortBy?`: "created_at" | "created_at:asc" | "created_at:desc", `options?`: any): *Promise‹AxiosResponse‹[StateArchives](../interfaces/statearchives.md)››*
*Defined in [packages/config-manager/api.ts:639](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L639)*
*Defined in [packages/config-manager/api.ts:647](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L647)*

@@ -202,2 +202,3 @@ **`summary`** Get archive of state changes for requesting account

`offset?` | number |
`sortBy?` | "created_at" &#124; "created_at:asc" &#124; "created_at:desc" |
`options?` | any |

@@ -213,3 +214,3 @@

*Defined in [packages/config-manager/api.ts:651](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L651)*
*Defined in [packages/config-manager/api.ts:659](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L659)*

@@ -216,0 +217,0 @@ **`summary`** Update and roll out configuration state for requesting account

@@ -79,3 +79,3 @@ [@redhat-cloud-services/config-manager-client](README.md) › [Globals](globals.md)

* **getStates**(`limit?`: number, `offset?`: number, `options`: any): *Promise‹[RequestArgs](interfaces/requestargs.md)›*
* **getStates**(`limit?`: number, `offset?`: number, `sortBy?`: "created_at" | "created_at:asc" | "created_at:desc", `options`: any): *Promise‹[RequestArgs](interfaces/requestargs.md)›*

@@ -90,3 +90,3 @@ * **updateStates**(`state`: [State](interfaces/state.md), `options`: any): *Promise‹[RequestArgs](interfaces/requestargs.md)›*

*Defined in [packages/config-manager/api.ts:511](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L511)*
*Defined in [packages/config-manager/api.ts:517](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L517)*

@@ -115,3 +115,3 @@ DefaultApi - factory interface

* **getStates**(`limit?`: number, `offset?`: number, `options?`: any): *AxiosPromise‹[StateArchives](interfaces/statearchives.md)›*
* **getStates**(`limit?`: number, `offset?`: number, `sortBy?`: "created_at" | "created_at:asc" | "created_at:desc", `options?`: any): *AxiosPromise‹[StateArchives](interfaces/statearchives.md)›*

@@ -126,3 +126,3 @@ * **updateStates**(`state`: [State](interfaces/state.md), `options?`: any): *AxiosPromise‹[AccountState](interfaces/accountstate.md)›*

*Defined in [packages/config-manager/api.ts:418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L418)*
*Defined in [packages/config-manager/api.ts:423](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/config-manager/api.ts#L423)*

@@ -149,3 +149,3 @@ DefaultApi - functional programming interface

* **getStates**(`limit?`: number, `offset?`: number, `options?`: any): *Promise‹function›*
* **getStates**(`limit?`: number, `offset?`: number, `sortBy?`: "created_at" | "created_at:asc" | "created_at:desc", `options?`: any): *Promise‹function›*

@@ -152,0 +152,0 @@ * **updateStates**(`state`: [State](interfaces/state.md), `options?`: any): *Promise‹function›*

{
"name": "@redhat-cloud-services/config-manager-client",
"version": "1.0.67",
"version": "1.0.68",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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