@rhoas/kafka-instance-sdk
Advanced tools
Comparing version 0.12.2 to 0.12.3
@@ -65,6 +65,8 @@ /** | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls: (resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any) => Promise<RequestArgs>; | ||
getAcls: (resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any) => Promise<RequestArgs>; | ||
}; | ||
@@ -117,6 +119,8 @@ /** | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AclBindingListPage>>; | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AclBindingListPage>>; | ||
}; | ||
@@ -169,6 +173,8 @@ /** | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): AxiosPromise<AclBindingListPage>; | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): AxiosPromise<AclBindingListPage>; | ||
}; | ||
@@ -225,2 +231,4 @@ /** | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
@@ -230,3 +238,3 @@ * @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): AxiosPromise<AclBindingListPage>; | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): AxiosPromise<AclBindingListPage>; | ||
} | ||
@@ -284,2 +292,4 @@ /** | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
@@ -289,3 +299,3 @@ * @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): Promise<import("axios").AxiosResponse<AclBindingListPage>>; | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): Promise<import("axios").AxiosResponse<AclBindingListPage>>; | ||
} |
@@ -162,6 +162,8 @@ "use strict"; | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls: (resourceType, resourceName, patternType, principal, operation, permission, page, size, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
getAcls: (resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
const localVarPath = `/acls`; | ||
@@ -204,2 +206,8 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
} | ||
if (order !== undefined) { | ||
localVarQueryParameter['order'] = order; | ||
} | ||
if (orderKey !== undefined) { | ||
localVarQueryParameter['orderKey'] = orderKey; | ||
} | ||
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
@@ -277,8 +285,10 @@ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options) { | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options); | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options); | ||
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
@@ -342,7 +352,9 @@ }); | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options) { | ||
return localVarFp.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options).then((request) => request(axios, basePath)); | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options) { | ||
return localVarFp.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -407,2 +419,4 @@ }; | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
@@ -412,6 +426,6 @@ * @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options) { | ||
return exports.AclsApiFp(this.configuration).getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options).then((request) => request(this.axios, this.basePath)); | ||
getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options) { | ||
return exports.AclsApiFp(this.configuration).getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} | ||
exports.AclsApi = AclsApi; |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { AclBindingListPageAllOf } from './acl-binding-list-page-all-of'; | ||
import { AclBindingList } from './acl-binding-list'; | ||
import { ResultListPage } from './result-list-page'; | ||
@@ -20,2 +20,2 @@ /** | ||
*/ | ||
export declare type AclBindingListPage = AclBindingListPageAllOf & ResultListPage; | ||
export declare type AclBindingListPage = AclBindingList & ResultListPage; |
@@ -12,8 +12,18 @@ /** | ||
*/ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclOperation } from './acl-operation'; | ||
/** | ||
* @type AclOperationFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare type AclOperationFilter = AclFilterAny | AclOperation; | ||
export declare enum AclOperationFilter { | ||
All = "ALL", | ||
Read = "READ", | ||
Write = "WRITE", | ||
Create = "CREATE", | ||
Delete = "DELETE", | ||
Alter = "ALTER", | ||
Describe = "DESCRIBE", | ||
DescribeConfigs = "DESCRIBE_CONFIGS", | ||
AlterConfigs = "ALTER_CONFIGS", | ||
Any = "ANY" | ||
} |
@@ -16,1 +16,20 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AclOperationFilter = void 0; | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var AclOperationFilter; | ||
(function (AclOperationFilter) { | ||
AclOperationFilter["All"] = "ALL"; | ||
AclOperationFilter["Read"] = "READ"; | ||
AclOperationFilter["Write"] = "WRITE"; | ||
AclOperationFilter["Create"] = "CREATE"; | ||
AclOperationFilter["Delete"] = "DELETE"; | ||
AclOperationFilter["Alter"] = "ALTER"; | ||
AclOperationFilter["Describe"] = "DESCRIBE"; | ||
AclOperationFilter["DescribeConfigs"] = "DESCRIBE_CONFIGS"; | ||
AclOperationFilter["AlterConfigs"] = "ALTER_CONFIGS"; | ||
AclOperationFilter["Any"] = "ANY"; | ||
})(AclOperationFilter = exports.AclOperationFilter || (exports.AclOperationFilter = {})); |
@@ -12,9 +12,12 @@ /** | ||
*/ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclPatternType } from './acl-pattern-type'; | ||
import { AclPatternTypeFilterOneOf } from './acl-pattern-type-filter-one-of'; | ||
/** | ||
* @type AclPatternTypeFilter | ||
* Use value \'MATCH\' to perform pattern matching. | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare type AclPatternTypeFilter = AclFilterAny | AclPatternType | AclPatternTypeFilterOneOf; | ||
export declare enum AclPatternTypeFilter { | ||
Literal = "LITERAL", | ||
Prefixed = "PREFIXED", | ||
Any = "ANY", | ||
Match = "MATCH" | ||
} |
@@ -16,1 +16,14 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AclPatternTypeFilter = void 0; | ||
/** | ||
* Use value \'MATCH\' to perform pattern matching. | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var AclPatternTypeFilter; | ||
(function (AclPatternTypeFilter) { | ||
AclPatternTypeFilter["Literal"] = "LITERAL"; | ||
AclPatternTypeFilter["Prefixed"] = "PREFIXED"; | ||
AclPatternTypeFilter["Any"] = "ANY"; | ||
AclPatternTypeFilter["Match"] = "MATCH"; | ||
})(AclPatternTypeFilter = exports.AclPatternTypeFilter || (exports.AclPatternTypeFilter = {})); |
@@ -12,8 +12,11 @@ /** | ||
*/ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclPermissionType } from './acl-permission-type'; | ||
/** | ||
* @type AclPermissionTypeFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare type AclPermissionTypeFilter = AclFilterAny | AclPermissionType; | ||
export declare enum AclPermissionTypeFilter { | ||
Allow = "ALLOW", | ||
Deny = "DENY", | ||
Any = "ANY" | ||
} |
@@ -16,1 +16,13 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AclPermissionTypeFilter = void 0; | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var AclPermissionTypeFilter; | ||
(function (AclPermissionTypeFilter) { | ||
AclPermissionTypeFilter["Allow"] = "ALLOW"; | ||
AclPermissionTypeFilter["Deny"] = "DENY"; | ||
AclPermissionTypeFilter["Any"] = "ANY"; | ||
})(AclPermissionTypeFilter = exports.AclPermissionTypeFilter || (exports.AclPermissionTypeFilter = {})); |
@@ -12,8 +12,13 @@ /** | ||
*/ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclResourceType } from './acl-resource-type'; | ||
/** | ||
* @type AclResourceTypeFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare type AclResourceTypeFilter = AclFilterAny | AclResourceType; | ||
export declare enum AclResourceTypeFilter { | ||
Any = "ANY", | ||
Group = "GROUP", | ||
Topic = "TOPIC", | ||
Cluster = "CLUSTER", | ||
TransactionalId = "TRANSACTIONAL_ID" | ||
} |
@@ -16,1 +16,15 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AclResourceTypeFilter = void 0; | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var AclResourceTypeFilter; | ||
(function (AclResourceTypeFilter) { | ||
AclResourceTypeFilter["Any"] = "ANY"; | ||
AclResourceTypeFilter["Group"] = "GROUP"; | ||
AclResourceTypeFilter["Topic"] = "TOPIC"; | ||
AclResourceTypeFilter["Cluster"] = "CLUSTER"; | ||
AclResourceTypeFilter["TransactionalId"] = "TRANSACTIONAL_ID"; | ||
})(AclResourceTypeFilter = exports.AclResourceTypeFilter || (exports.AclResourceTypeFilter = {})); |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
import { ConsumerGroupResetOffsetResultAllOf } from './consumer-group-reset-offset-result-all-of'; | ||
import { ConsumerGroupResetOffsetResultItemList } from './consumer-group-reset-offset-result-item-list'; | ||
import { ResultListPage } from './result-list-page'; | ||
@@ -19,2 +19,2 @@ /** | ||
*/ | ||
export declare type ConsumerGroupResetOffsetResult = ConsumerGroupResetOffsetResultAllOf & ResultListPage; | ||
export declare type ConsumerGroupResetOffsetResult = ConsumerGroupResetOffsetResultItemList & ResultListPage; |
export * from './acl-binding'; | ||
export * from './acl-binding-list'; | ||
export * from './acl-binding-list-page'; | ||
export * from './acl-binding-list-page-all-of'; | ||
export * from './acl-filter-any'; | ||
export * from './acl-operation'; | ||
@@ -9,3 +8,2 @@ export * from './acl-operation-filter'; | ||
export * from './acl-pattern-type-filter'; | ||
export * from './acl-pattern-type-filter-one-of'; | ||
export * from './acl-permission-type'; | ||
@@ -21,4 +19,4 @@ export * from './acl-permission-type-filter'; | ||
export * from './consumer-group-reset-offset-result'; | ||
export * from './consumer-group-reset-offset-result-all-of'; | ||
export * from './consumer-group-reset-offset-result-item'; | ||
export * from './consumer-group-reset-offset-result-item-list'; | ||
export * from './model-error'; | ||
@@ -25,0 +23,0 @@ export * from './new-topic-input'; |
@@ -14,5 +14,4 @@ "use strict"; | ||
__exportStar(require("./acl-binding"), exports); | ||
__exportStar(require("./acl-binding-list"), exports); | ||
__exportStar(require("./acl-binding-list-page"), exports); | ||
__exportStar(require("./acl-binding-list-page-all-of"), exports); | ||
__exportStar(require("./acl-filter-any"), exports); | ||
__exportStar(require("./acl-operation"), exports); | ||
@@ -22,3 +21,2 @@ __exportStar(require("./acl-operation-filter"), exports); | ||
__exportStar(require("./acl-pattern-type-filter"), exports); | ||
__exportStar(require("./acl-pattern-type-filter-one-of"), exports); | ||
__exportStar(require("./acl-permission-type"), exports); | ||
@@ -34,4 +32,4 @@ __exportStar(require("./acl-permission-type-filter"), exports); | ||
__exportStar(require("./consumer-group-reset-offset-result"), exports); | ||
__exportStar(require("./consumer-group-reset-offset-result-all-of"), exports); | ||
__exportStar(require("./consumer-group-reset-offset-result-item"), exports); | ||
__exportStar(require("./consumer-group-reset-offset-result-item-list"), exports); | ||
__exportStar(require("./model-error"), exports); | ||
@@ -38,0 +36,0 @@ __exportStar(require("./new-topic-input"), exports); |
{ | ||
"name": "@rhoas/kafka-instance-sdk", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"description": "RHOAS Kafka Instance Adminstration SDK", | ||
@@ -30,5 +30,5 @@ "author": "Red Hat Developers", | ||
"devDependencies": { | ||
"@types/node": "14.17.9", | ||
"@types/node": "14.17.11", | ||
"typescript": "4.3.5" | ||
} | ||
} |
@@ -190,6 +190,8 @@ /* tslint:disable */ | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls: async (resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options: any = {}): Promise<RequestArgs> => { | ||
getAcls: async (resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options: any = {}): Promise<RequestArgs> => { | ||
const localVarPath = `/acls`; | ||
@@ -243,3 +245,11 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
if (order !== undefined) { | ||
localVarQueryParameter['order'] = order; | ||
} | ||
if (orderKey !== undefined) { | ||
localVarQueryParameter['orderKey'] = orderKey; | ||
} | ||
@@ -313,7 +323,9 @@ setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AclBindingListPage>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options); | ||
async getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AclBindingListPage>> { | ||
const localVarAxiosArgs = await localVarAxiosParamCreator.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options); | ||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); | ||
@@ -376,7 +388,9 @@ }, | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): AxiosPromise<AclBindingListPage> { | ||
return localVarFp.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options).then((request) => request(axios, basePath)); | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): AxiosPromise<AclBindingListPage> { | ||
return localVarFp.getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options).then((request) => request(axios, basePath)); | ||
}, | ||
@@ -437,2 +451,4 @@ }; | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
@@ -442,3 +458,3 @@ * @throws {RequiredError} | ||
*/ | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any): AxiosPromise<AclBindingListPage>; | ||
getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any): AxiosPromise<AclBindingListPage>; | ||
@@ -505,2 +521,4 @@ } | ||
* @param {number} [size] Page size for result lists | ||
* @param {'asc' | 'desc'} [order] Order of the ACL binding sorting. | ||
* @param {'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission'} [orderKey] Order key to sort the items by. | ||
* @param {*} [options] Override http request option. | ||
@@ -510,5 +528,5 @@ * @throws {RequiredError} | ||
*/ | ||
public getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, options?: any) { | ||
return AclsApiFp(this.configuration).getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, options).then((request) => request(this.axios, this.basePath)); | ||
public getAcls(resourceType?: AclResourceTypeFilter, resourceName?: string, patternType?: AclPatternTypeFilter, principal?: string, operation?: AclOperationFilter, permission?: AclPermissionTypeFilter, page?: number, size?: number, order?: 'asc' | 'desc', orderKey?: 'resourceType' | 'resourceName' | 'patternType' | 'principal' | 'operation' | 'permission', options?: any) { | ||
return AclsApiFp(this.configuration).getAcls(resourceType, resourceName, patternType, principal, operation, permission, page, size, order, orderKey, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -17,3 +17,3 @@ /* tslint:disable */ | ||
import { AclBinding } from './acl-binding'; | ||
import { AclBindingListPageAllOf } from './acl-binding-list-page-all-of'; | ||
import { AclBindingList } from './acl-binding-list'; | ||
import { ResultListPage } from './result-list-page'; | ||
@@ -26,5 +26,5 @@ | ||
*/ | ||
export type AclBindingListPage = AclBindingListPageAllOf & ResultListPage; | ||
export type AclBindingListPage = AclBindingList & ResultListPage; | ||
@@ -16,12 +16,23 @@ /* tslint:disable */ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclOperation } from './acl-operation'; | ||
/** | ||
* @type AclOperationFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export type AclOperationFilter = AclFilterAny | AclOperation; | ||
export enum AclOperationFilter { | ||
All = 'ALL', | ||
Read = 'READ', | ||
Write = 'WRITE', | ||
Create = 'CREATE', | ||
Delete = 'DELETE', | ||
Alter = 'ALTER', | ||
Describe = 'DESCRIBE', | ||
DescribeConfigs = 'DESCRIBE_CONFIGS', | ||
AlterConfigs = 'ALTER_CONFIGS', | ||
Any = 'ANY' | ||
} | ||
@@ -16,13 +16,17 @@ /* tslint:disable */ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclPatternType } from './acl-pattern-type'; | ||
import { AclPatternTypeFilterOneOf } from './acl-pattern-type-filter-one-of'; | ||
/** | ||
* @type AclPatternTypeFilter | ||
* Use value \'MATCH\' to perform pattern matching. | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export type AclPatternTypeFilter = AclFilterAny | AclPatternType | AclPatternTypeFilterOneOf; | ||
export enum AclPatternTypeFilter { | ||
Literal = 'LITERAL', | ||
Prefixed = 'PREFIXED', | ||
Any = 'ANY', | ||
Match = 'MATCH' | ||
} | ||
@@ -16,12 +16,16 @@ /* tslint:disable */ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclPermissionType } from './acl-permission-type'; | ||
/** | ||
* @type AclPermissionTypeFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export type AclPermissionTypeFilter = AclFilterAny | AclPermissionType; | ||
export enum AclPermissionTypeFilter { | ||
Allow = 'ALLOW', | ||
Deny = 'DENY', | ||
Any = 'ANY' | ||
} | ||
@@ -16,12 +16,18 @@ /* tslint:disable */ | ||
import { AclFilterAny } from './acl-filter-any'; | ||
import { AclResourceType } from './acl-resource-type'; | ||
/** | ||
* @type AclResourceTypeFilter | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export type AclResourceTypeFilter = AclFilterAny | AclResourceType; | ||
export enum AclResourceTypeFilter { | ||
Any = 'ANY', | ||
Group = 'GROUP', | ||
Topic = 'TOPIC', | ||
Cluster = 'CLUSTER', | ||
TransactionalId = 'TRANSACTIONAL_ID' | ||
} | ||
@@ -16,4 +16,4 @@ /* tslint:disable */ | ||
import { ConsumerGroupResetOffsetResultAllOf } from './consumer-group-reset-offset-result-all-of'; | ||
import { ConsumerGroupResetOffsetResultItem } from './consumer-group-reset-offset-result-item'; | ||
import { ConsumerGroupResetOffsetResultItemList } from './consumer-group-reset-offset-result-item-list'; | ||
import { ResultListPage } from './result-list-page'; | ||
@@ -25,5 +25,5 @@ | ||
*/ | ||
export type ConsumerGroupResetOffsetResult = ConsumerGroupResetOffsetResultAllOf & ResultListPage; | ||
export type ConsumerGroupResetOffsetResult = ConsumerGroupResetOffsetResultItemList & ResultListPage; | ||
export * from './acl-binding'; | ||
export * from './acl-binding-list'; | ||
export * from './acl-binding-list-page'; | ||
export * from './acl-binding-list-page-all-of'; | ||
export * from './acl-filter-any'; | ||
export * from './acl-operation'; | ||
@@ -9,3 +8,2 @@ export * from './acl-operation-filter'; | ||
export * from './acl-pattern-type-filter'; | ||
export * from './acl-pattern-type-filter-one-of'; | ||
export * from './acl-permission-type'; | ||
@@ -21,4 +19,4 @@ export * from './acl-permission-type-filter'; | ||
export * from './consumer-group-reset-offset-result'; | ||
export * from './consumer-group-reset-offset-result-all-of'; | ||
export * from './consumer-group-reset-offset-result-item'; | ||
export * from './consumer-group-reset-offset-result-item-list'; | ||
export * from './model-error'; | ||
@@ -25,0 +23,0 @@ export * from './new-topic-input'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
311566
7120
117