kb-cloud-client-typescript 2.4.0-alpha.89 → 2.4.0-alpha.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/account-api.d.ts +473 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +436 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +473 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +436 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +473 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +436 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +17 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +17 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/object-privilege-capabilities.d.ts +46 -0
- package/dist/adminapi/models/object-privilege-capabilities.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-capabilities.js +16 -0
- package/dist/adminapi/models/object-privilege-capabilities.js.map +1 -0
- package/dist/adminapi/models/object-privilege-capability.d.ts +95 -0
- package/dist/adminapi/models/object-privilege-capability.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-capability.js +16 -0
- package/dist/adminapi/models/object-privilege-capability.js.map +1 -0
- package/dist/adminapi/models/object-privilege-change.d.ts +71 -0
- package/dist/adminapi/models/object-privilege-change.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-change.js +16 -0
- package/dist/adminapi/models/object-privilege-change.js.map +1 -0
- package/dist/adminapi/models/object-privilege-definition.d.ts +38 -0
- package/dist/adminapi/models/object-privilege-definition.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-definition.js +16 -0
- package/dist/adminapi/models/object-privilege-definition.js.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts +37 -0
- package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-evidence.js +16 -0
- package/dist/adminapi/models/object-privilege-evidence.js.map +1 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts +23 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.js +27 -0
- package/dist/adminapi/models/object-privilege-grant-option-scope.js.map +1 -0
- package/dist/adminapi/models/object-privilege-grant.d.ts +43 -0
- package/dist/adminapi/models/object-privilege-grant.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-grant.js +16 -0
- package/dist/adminapi/models/object-privilege-grant.js.map +1 -0
- package/dist/adminapi/models/object-privilege-object-list.d.ts +38 -0
- package/dist/adminapi/models/object-privilege-object-list.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-object-list.js +16 -0
- package/dist/adminapi/models/object-privilege-object-list.js.map +1 -0
- package/dist/adminapi/models/object-privilege-object.d.ts +32 -0
- package/dist/adminapi/models/object-privilege-object.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-object.js +16 -0
- package/dist/adminapi/models/object-privilege-object.js.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts +45 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.js +16 -0
- package/dist/adminapi/models/object-privilege-prerequisite-check.js.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts +23 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.js +27 -0
- package/dist/adminapi/models/object-privilege-prerequisite-status.js.map +1 -0
- package/dist/adminapi/models/object-privilege-qualifier.d.ts +43 -0
- package/dist/adminapi/models/object-privilege-qualifier.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-qualifier.js +16 -0
- package/dist/adminapi/models/object-privilege-qualifier.js.map +1 -0
- package/dist/adminapi/models/object-privilege-snapshot.d.ts +92 -0
- package/dist/adminapi/models/object-privilege-snapshot.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-snapshot.js +16 -0
- package/dist/adminapi/models/object-privilege-snapshot.js.map +1 -0
- package/dist/adminapi/models/object-privilege-spec.d.ts +31 -0
- package/dist/adminapi/models/object-privilege-spec.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-spec.js +16 -0
- package/dist/adminapi/models/object-privilege-spec.js.map +1 -0
- package/dist/adminapi/models/object-privilege-subject-type.d.ts +22 -0
- package/dist/adminapi/models/object-privilege-subject-type.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-subject-type.js +26 -0
- package/dist/adminapi/models/object-privilege-subject-type.js.map +1 -0
- package/dist/adminapi/models/object-privilege-subject.d.ts +40 -0
- package/dist/adminapi/models/object-privilege-subject.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-subject.js +16 -0
- package/dist/adminapi/models/object-privilege-subject.js.map +1 -0
- package/dist/adminapi/models/object-privilege-target.d.ts +55 -0
- package/dist/adminapi/models/object-privilege-target.d.ts.map +1 -0
- package/dist/adminapi/models/object-privilege-target.js +16 -0
- package/dist/adminapi/models/object-privilege-target.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +473 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +436 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +473 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +436 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +473 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +436 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +17 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +17 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/object-privilege-capabilities.d.ts +46 -0
- package/dist/openapi/models/object-privilege-capabilities.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-capabilities.js +16 -0
- package/dist/openapi/models/object-privilege-capabilities.js.map +1 -0
- package/dist/openapi/models/object-privilege-capability.d.ts +95 -0
- package/dist/openapi/models/object-privilege-capability.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-capability.js +16 -0
- package/dist/openapi/models/object-privilege-capability.js.map +1 -0
- package/dist/openapi/models/object-privilege-change.d.ts +71 -0
- package/dist/openapi/models/object-privilege-change.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-change.js +16 -0
- package/dist/openapi/models/object-privilege-change.js.map +1 -0
- package/dist/openapi/models/object-privilege-definition.d.ts +38 -0
- package/dist/openapi/models/object-privilege-definition.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-definition.js +16 -0
- package/dist/openapi/models/object-privilege-definition.js.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts +37 -0
- package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-evidence.js +16 -0
- package/dist/openapi/models/object-privilege-evidence.js.map +1 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.d.ts +23 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.js +27 -0
- package/dist/openapi/models/object-privilege-grant-option-scope.js.map +1 -0
- package/dist/openapi/models/object-privilege-grant.d.ts +43 -0
- package/dist/openapi/models/object-privilege-grant.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-grant.js +16 -0
- package/dist/openapi/models/object-privilege-grant.js.map +1 -0
- package/dist/openapi/models/object-privilege-object-list.d.ts +38 -0
- package/dist/openapi/models/object-privilege-object-list.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-object-list.js +16 -0
- package/dist/openapi/models/object-privilege-object-list.js.map +1 -0
- package/dist/openapi/models/object-privilege-object.d.ts +32 -0
- package/dist/openapi/models/object-privilege-object.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-object.js +16 -0
- package/dist/openapi/models/object-privilege-object.js.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.d.ts +45 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.js +16 -0
- package/dist/openapi/models/object-privilege-prerequisite-check.js.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.d.ts +23 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.js +27 -0
- package/dist/openapi/models/object-privilege-prerequisite-status.js.map +1 -0
- package/dist/openapi/models/object-privilege-qualifier.d.ts +43 -0
- package/dist/openapi/models/object-privilege-qualifier.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-qualifier.js +16 -0
- package/dist/openapi/models/object-privilege-qualifier.js.map +1 -0
- package/dist/openapi/models/object-privilege-snapshot.d.ts +92 -0
- package/dist/openapi/models/object-privilege-snapshot.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-snapshot.js +16 -0
- package/dist/openapi/models/object-privilege-snapshot.js.map +1 -0
- package/dist/openapi/models/object-privilege-spec.d.ts +31 -0
- package/dist/openapi/models/object-privilege-spec.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-spec.js +16 -0
- package/dist/openapi/models/object-privilege-spec.js.map +1 -0
- package/dist/openapi/models/object-privilege-subject-type.d.ts +22 -0
- package/dist/openapi/models/object-privilege-subject-type.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-subject-type.js +26 -0
- package/dist/openapi/models/object-privilege-subject-type.js.map +1 -0
- package/dist/openapi/models/object-privilege-subject.d.ts +40 -0
- package/dist/openapi/models/object-privilege-subject.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-subject.js +16 -0
- package/dist/openapi/models/object-privilege-subject.js.map +1 -0
- package/dist/openapi/models/object-privilege-target.d.ts +55 -0
- package/dist/openapi/models/object-privilege-target.d.ts.map +1 -0
- package/dist/openapi/models/object-privilege-target.js +16 -0
- package/dist/openapi/models/object-privilege-target.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +17 -0
- package/src/adminapi/apis/account-api.ts +811 -5
- package/src/adminapi/apis/rdbms-api.ts +806 -0
- package/src/adminapi/apis/shared-api.ts +806 -0
- package/src/adminapi/models/index.ts +17 -0
- package/src/adminapi/models/object-privilege-capabilities.ts +57 -0
- package/src/adminapi/models/object-privilege-capability.ts +104 -0
- package/src/adminapi/models/object-privilege-change.ts +78 -0
- package/src/adminapi/models/object-privilege-definition.ts +47 -0
- package/src/adminapi/models/object-privilege-evidence.ts +42 -0
- package/src/adminapi/models/object-privilege-grant-option-scope.ts +32 -0
- package/src/adminapi/models/object-privilege-grant.ts +48 -0
- package/src/adminapi/models/object-privilege-object-list.ts +45 -0
- package/src/adminapi/models/object-privilege-object.ts +39 -0
- package/src/adminapi/models/object-privilege-prerequisite-check.ts +56 -0
- package/src/adminapi/models/object-privilege-prerequisite-status.ts +32 -0
- package/src/adminapi/models/object-privilege-qualifier.ts +48 -0
- package/src/adminapi/models/object-privilege-snapshot.ts +105 -0
- package/src/adminapi/models/object-privilege-spec.ts +36 -0
- package/src/adminapi/models/object-privilege-subject-type.ts +31 -0
- package/src/adminapi/models/object-privilege-subject.ts +47 -0
- package/src/adminapi/models/object-privilege-target.ts +60 -0
- package/src/adminapi.yaml +675 -0
- package/src/openapi/.openapi-generator/FILES +17 -0
- package/src/openapi/apis/account-api.ts +811 -5
- package/src/openapi/apis/rdbms-api.ts +806 -0
- package/src/openapi/apis/shared-api.ts +942 -136
- package/src/openapi/models/index.ts +17 -0
- package/src/openapi/models/object-privilege-capabilities.ts +57 -0
- package/src/openapi/models/object-privilege-capability.ts +104 -0
- package/src/openapi/models/object-privilege-change.ts +78 -0
- package/src/openapi/models/object-privilege-definition.ts +47 -0
- package/src/openapi/models/object-privilege-evidence.ts +42 -0
- package/src/openapi/models/object-privilege-grant-option-scope.ts +32 -0
- package/src/openapi/models/object-privilege-grant.ts +48 -0
- package/src/openapi/models/object-privilege-object-list.ts +45 -0
- package/src/openapi/models/object-privilege-object.ts +39 -0
- package/src/openapi/models/object-privilege-prerequisite-check.ts +56 -0
- package/src/openapi/models/object-privilege-prerequisite-status.ts +32 -0
- package/src/openapi/models/object-privilege-qualifier.ts +48 -0
- package/src/openapi/models/object-privilege-snapshot.ts +105 -0
- package/src/openapi/models/object-privilege-spec.ts +36 -0
- package/src/openapi/models/object-privilege-subject-type.ts +31 -0
- package/src/openapi/models/object-privilege-subject.ts +47 -0
- package/src/openapi/models/object-privilege-target.ts +60 -0
- package/src/openapi.yaml +675 -0
|
@@ -546,6 +546,69 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
546
546
|
options: localVarRequestOptions,
|
|
547
547
|
};
|
|
548
548
|
},
|
|
549
|
+
/**
|
|
550
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
551
|
+
* @summary Grant or revoke native object and column privileges
|
|
552
|
+
* @param {string} engineName
|
|
553
|
+
* @param {string} orgName
|
|
554
|
+
* @param {string} clusterName
|
|
555
|
+
* @param {string} accountName
|
|
556
|
+
* @param {ObjectPrivilegeChange} body
|
|
557
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
558
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
559
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
560
|
+
* @param {*} [options] Override http request option.
|
|
561
|
+
* @throws {RequiredError}
|
|
562
|
+
*/
|
|
563
|
+
changeAccountObjectPrivileges: async (engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options = {}) => {
|
|
564
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
565
|
+
(0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'engineName', engineName);
|
|
566
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
567
|
+
(0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'orgName', orgName);
|
|
568
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
569
|
+
(0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'clusterName', clusterName);
|
|
570
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
571
|
+
(0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'accountName', accountName);
|
|
572
|
+
// verify required parameter 'body' is not null or undefined
|
|
573
|
+
(0, common_1.assertParamExists)('changeAccountObjectPrivileges', 'body', body);
|
|
574
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
|
|
575
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
576
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
577
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
578
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
580
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
581
|
+
let baseOptions;
|
|
582
|
+
if (configuration) {
|
|
583
|
+
baseOptions = configuration.baseOptions;
|
|
584
|
+
}
|
|
585
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
586
|
+
const localVarHeaderParameter = {};
|
|
587
|
+
const localVarQueryParameter = {};
|
|
588
|
+
// authentication BearerToken required
|
|
589
|
+
// http bearer authentication required
|
|
590
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
591
|
+
// authentication DigestAuth required
|
|
592
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
593
|
+
if (subjectType !== undefined) {
|
|
594
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
595
|
+
}
|
|
596
|
+
if (host !== undefined) {
|
|
597
|
+
localVarQueryParameter['host'] = host;
|
|
598
|
+
}
|
|
599
|
+
if (subjectQualifiers !== undefined) {
|
|
600
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
601
|
+
}
|
|
602
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
603
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
604
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
605
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
606
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
607
|
+
return {
|
|
608
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
609
|
+
options: localVarRequestOptions,
|
|
610
|
+
};
|
|
611
|
+
},
|
|
549
612
|
/**
|
|
550
613
|
*
|
|
551
614
|
* @summary Change Elasticsearch account password
|
|
@@ -4428,6 +4491,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4428
4491
|
options: localVarRequestOptions,
|
|
4429
4492
|
};
|
|
4430
4493
|
},
|
|
4494
|
+
/**
|
|
4495
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
4496
|
+
* @summary List native object privilege capabilities for the connected server
|
|
4497
|
+
* @param {string} engineName
|
|
4498
|
+
* @param {string} orgName
|
|
4499
|
+
* @param {string} clusterName
|
|
4500
|
+
* @param {string} accountName
|
|
4501
|
+
* @param {*} [options] Override http request option.
|
|
4502
|
+
* @throws {RequiredError}
|
|
4503
|
+
*/
|
|
4504
|
+
getAccountObjectPrivilegeCapabilities: async (engineName, orgName, clusterName, accountName, options = {}) => {
|
|
4505
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4506
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'engineName', engineName);
|
|
4507
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4508
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'orgName', orgName);
|
|
4509
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4510
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'clusterName', clusterName);
|
|
4511
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
4512
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivilegeCapabilities', 'accountName', accountName);
|
|
4513
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/capabilities`
|
|
4514
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4515
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4516
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4517
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
4518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4519
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4520
|
+
let baseOptions;
|
|
4521
|
+
if (configuration) {
|
|
4522
|
+
baseOptions = configuration.baseOptions;
|
|
4523
|
+
}
|
|
4524
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4525
|
+
const localVarHeaderParameter = {};
|
|
4526
|
+
const localVarQueryParameter = {};
|
|
4527
|
+
// authentication BearerToken required
|
|
4528
|
+
// http bearer authentication required
|
|
4529
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4530
|
+
// authentication DigestAuth required
|
|
4531
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4532
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4533
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4534
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4535
|
+
return {
|
|
4536
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4537
|
+
options: localVarRequestOptions,
|
|
4538
|
+
};
|
|
4539
|
+
},
|
|
4540
|
+
/**
|
|
4541
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
4542
|
+
* @summary Inspect native object and column privileges
|
|
4543
|
+
* @param {string} engineName
|
|
4544
|
+
* @param {string} orgName
|
|
4545
|
+
* @param {string} clusterName
|
|
4546
|
+
* @param {string} accountName
|
|
4547
|
+
* @param {string} objectType
|
|
4548
|
+
* @param {string} [databaseName]
|
|
4549
|
+
* @param {string} [schemaName]
|
|
4550
|
+
* @param {string} [objectName]
|
|
4551
|
+
* @param {string} [objectId]
|
|
4552
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
4553
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
4554
|
+
* @param {string} [catalogName]
|
|
4555
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
4556
|
+
* @param {*} [options] Override http request option.
|
|
4557
|
+
* @throws {RequiredError}
|
|
4558
|
+
*/
|
|
4559
|
+
getAccountObjectPrivileges: async (engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options = {}) => {
|
|
4560
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4561
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivileges', 'engineName', engineName);
|
|
4562
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4563
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivileges', 'orgName', orgName);
|
|
4564
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4565
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivileges', 'clusterName', clusterName);
|
|
4566
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
4567
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivileges', 'accountName', accountName);
|
|
4568
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
4569
|
+
(0, common_1.assertParamExists)('getAccountObjectPrivileges', 'objectType', objectType);
|
|
4570
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges`
|
|
4571
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4572
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4573
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4574
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
4575
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4576
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4577
|
+
let baseOptions;
|
|
4578
|
+
if (configuration) {
|
|
4579
|
+
baseOptions = configuration.baseOptions;
|
|
4580
|
+
}
|
|
4581
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4582
|
+
const localVarHeaderParameter = {};
|
|
4583
|
+
const localVarQueryParameter = {};
|
|
4584
|
+
// authentication BearerToken required
|
|
4585
|
+
// http bearer authentication required
|
|
4586
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4587
|
+
// authentication DigestAuth required
|
|
4588
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4589
|
+
if (objectType !== undefined) {
|
|
4590
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
4591
|
+
}
|
|
4592
|
+
if (databaseName !== undefined) {
|
|
4593
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
4594
|
+
}
|
|
4595
|
+
if (schemaName !== undefined) {
|
|
4596
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
4597
|
+
}
|
|
4598
|
+
if (objectName !== undefined) {
|
|
4599
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
4600
|
+
}
|
|
4601
|
+
if (objectId !== undefined) {
|
|
4602
|
+
localVarQueryParameter['objectId'] = objectId;
|
|
4603
|
+
}
|
|
4604
|
+
if (subjectType !== undefined) {
|
|
4605
|
+
localVarQueryParameter['subjectType'] = subjectType;
|
|
4606
|
+
}
|
|
4607
|
+
if (host !== undefined) {
|
|
4608
|
+
localVarQueryParameter['host'] = host;
|
|
4609
|
+
}
|
|
4610
|
+
if (catalogName !== undefined) {
|
|
4611
|
+
localVarQueryParameter['catalogName'] = catalogName;
|
|
4612
|
+
}
|
|
4613
|
+
if (subjectQualifiers !== undefined) {
|
|
4614
|
+
localVarQueryParameter['subjectQualifiers'] = subjectQualifiers;
|
|
4615
|
+
}
|
|
4616
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4617
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4618
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4619
|
+
return {
|
|
4620
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4621
|
+
options: localVarRequestOptions,
|
|
4622
|
+
};
|
|
4623
|
+
},
|
|
4431
4624
|
/**
|
|
4432
4625
|
*
|
|
4433
4626
|
* @summary Get alert config
|
|
@@ -7175,6 +7368,78 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7175
7368
|
options: localVarRequestOptions,
|
|
7176
7369
|
};
|
|
7177
7370
|
},
|
|
7371
|
+
/**
|
|
7372
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
7373
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
7374
|
+
* @param {string} engineName
|
|
7375
|
+
* @param {string} orgName
|
|
7376
|
+
* @param {string} clusterName
|
|
7377
|
+
* @param {string} accountName
|
|
7378
|
+
* @param {string} objectType
|
|
7379
|
+
* @param {string} [databaseName]
|
|
7380
|
+
* @param {string} [schemaName]
|
|
7381
|
+
* @param {number} [offset]
|
|
7382
|
+
* @param {number} [limit]
|
|
7383
|
+
* @param {string} [catalogName]
|
|
7384
|
+
* @param {*} [options] Override http request option.
|
|
7385
|
+
* @throws {RequiredError}
|
|
7386
|
+
*/
|
|
7387
|
+
listAccountObjectPrivilegeObjects: async (engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options = {}) => {
|
|
7388
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7389
|
+
(0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'engineName', engineName);
|
|
7390
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7391
|
+
(0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'orgName', orgName);
|
|
7392
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7393
|
+
(0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'clusterName', clusterName);
|
|
7394
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
7395
|
+
(0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'accountName', accountName);
|
|
7396
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
7397
|
+
(0, common_1.assertParamExists)('listAccountObjectPrivilegeObjects', 'objectType', objectType);
|
|
7398
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
|
|
7399
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7400
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7401
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7402
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
7403
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7404
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7405
|
+
let baseOptions;
|
|
7406
|
+
if (configuration) {
|
|
7407
|
+
baseOptions = configuration.baseOptions;
|
|
7408
|
+
}
|
|
7409
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7410
|
+
const localVarHeaderParameter = {};
|
|
7411
|
+
const localVarQueryParameter = {};
|
|
7412
|
+
// authentication BearerToken required
|
|
7413
|
+
// http bearer authentication required
|
|
7414
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7415
|
+
// authentication DigestAuth required
|
|
7416
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7417
|
+
if (objectType !== undefined) {
|
|
7418
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
7419
|
+
}
|
|
7420
|
+
if (databaseName !== undefined) {
|
|
7421
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
7422
|
+
}
|
|
7423
|
+
if (schemaName !== undefined) {
|
|
7424
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
7425
|
+
}
|
|
7426
|
+
if (offset !== undefined) {
|
|
7427
|
+
localVarQueryParameter['offset'] = offset;
|
|
7428
|
+
}
|
|
7429
|
+
if (limit !== undefined) {
|
|
7430
|
+
localVarQueryParameter['limit'] = limit;
|
|
7431
|
+
}
|
|
7432
|
+
if (catalogName !== undefined) {
|
|
7433
|
+
localVarQueryParameter['catalogName'] = catalogName;
|
|
7434
|
+
}
|
|
7435
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7436
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7437
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7438
|
+
return {
|
|
7439
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7440
|
+
options: localVarRequestOptions,
|
|
7441
|
+
};
|
|
7442
|
+
},
|
|
7178
7443
|
/**
|
|
7179
7444
|
* list accounts in cluster
|
|
7180
7445
|
* @summary List cluster accounts
|
|
@@ -14857,6 +15122,27 @@ const SharedApiFp = function (configuration) {
|
|
|
14857
15122
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.buildBackupObj']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14858
15123
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14859
15124
|
},
|
|
15125
|
+
/**
|
|
15126
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
15127
|
+
* @summary Grant or revoke native object and column privileges
|
|
15128
|
+
* @param {string} engineName
|
|
15129
|
+
* @param {string} orgName
|
|
15130
|
+
* @param {string} clusterName
|
|
15131
|
+
* @param {string} accountName
|
|
15132
|
+
* @param {ObjectPrivilegeChange} body
|
|
15133
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
15134
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
15135
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
15136
|
+
* @param {*} [options] Override http request option.
|
|
15137
|
+
* @throws {RequiredError}
|
|
15138
|
+
*/
|
|
15139
|
+
async changeAccountObjectPrivileges(engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options) {
|
|
15140
|
+
var _a, _b, _c;
|
|
15141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changeAccountObjectPrivileges(engineName, orgName, clusterName, accountName, body, subjectType, host, subjectQualifiers, options);
|
|
15142
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15143
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.changeAccountObjectPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15144
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15145
|
+
},
|
|
14860
15146
|
/**
|
|
14861
15147
|
*
|
|
14862
15148
|
* @summary Change Elasticsearch account password
|
|
@@ -16288,6 +16574,49 @@ const SharedApiFp = function (configuration) {
|
|
|
16288
16574
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.generateDemoData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16289
16575
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16290
16576
|
},
|
|
16577
|
+
/**
|
|
16578
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
16579
|
+
* @summary List native object privilege capabilities for the connected server
|
|
16580
|
+
* @param {string} engineName
|
|
16581
|
+
* @param {string} orgName
|
|
16582
|
+
* @param {string} clusterName
|
|
16583
|
+
* @param {string} accountName
|
|
16584
|
+
* @param {*} [options] Override http request option.
|
|
16585
|
+
* @throws {RequiredError}
|
|
16586
|
+
*/
|
|
16587
|
+
async getAccountObjectPrivilegeCapabilities(engineName, orgName, clusterName, accountName, options) {
|
|
16588
|
+
var _a, _b, _c;
|
|
16589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivilegeCapabilities(engineName, orgName, clusterName, accountName, options);
|
|
16590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16591
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAccountObjectPrivilegeCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16592
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16593
|
+
},
|
|
16594
|
+
/**
|
|
16595
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
16596
|
+
* @summary Inspect native object and column privileges
|
|
16597
|
+
* @param {string} engineName
|
|
16598
|
+
* @param {string} orgName
|
|
16599
|
+
* @param {string} clusterName
|
|
16600
|
+
* @param {string} accountName
|
|
16601
|
+
* @param {string} objectType
|
|
16602
|
+
* @param {string} [databaseName]
|
|
16603
|
+
* @param {string} [schemaName]
|
|
16604
|
+
* @param {string} [objectName]
|
|
16605
|
+
* @param {string} [objectId]
|
|
16606
|
+
* @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
|
|
16607
|
+
* @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
|
|
16608
|
+
* @param {string} [catalogName]
|
|
16609
|
+
* @param {string} [subjectQualifiers] JSON object of string identity qualifiers, e.g. {\"host\":\"%\"}. Allowed keys and defaults come from capabilities. Unknown keys or duplicate identity inputs are rejected.
|
|
16610
|
+
* @param {*} [options] Override http request option.
|
|
16611
|
+
* @throws {RequiredError}
|
|
16612
|
+
*/
|
|
16613
|
+
async getAccountObjectPrivileges(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options) {
|
|
16614
|
+
var _a, _b, _c;
|
|
16615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccountObjectPrivileges(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, objectName, objectId, subjectType, host, catalogName, subjectQualifiers, options);
|
|
16616
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16617
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAccountObjectPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16618
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16619
|
+
},
|
|
16291
16620
|
/**
|
|
16292
16621
|
*
|
|
16293
16622
|
* @summary Get alert config
|
|
@@ -17296,6 +17625,29 @@ const SharedApiFp = function (configuration) {
|
|
|
17296
17625
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.killSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17297
17626
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17298
17627
|
},
|
|
17628
|
+
/**
|
|
17629
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
17630
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
17631
|
+
* @param {string} engineName
|
|
17632
|
+
* @param {string} orgName
|
|
17633
|
+
* @param {string} clusterName
|
|
17634
|
+
* @param {string} accountName
|
|
17635
|
+
* @param {string} objectType
|
|
17636
|
+
* @param {string} [databaseName]
|
|
17637
|
+
* @param {string} [schemaName]
|
|
17638
|
+
* @param {number} [offset]
|
|
17639
|
+
* @param {number} [limit]
|
|
17640
|
+
* @param {string} [catalogName]
|
|
17641
|
+
* @param {*} [options] Override http request option.
|
|
17642
|
+
* @throws {RequiredError}
|
|
17643
|
+
*/
|
|
17644
|
+
async listAccountObjectPrivilegeObjects(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options) {
|
|
17645
|
+
var _a, _b, _c;
|
|
17646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountObjectPrivilegeObjects(engineName, orgName, clusterName, accountName, objectType, databaseName, schemaName, offset, limit, catalogName, options);
|
|
17647
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17648
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listAccountObjectPrivilegeObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17649
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17650
|
+
},
|
|
17299
17651
|
/**
|
|
17300
17652
|
* list accounts in cluster
|
|
17301
17653
|
* @summary List cluster accounts
|
|
@@ -20108,6 +20460,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20108
20460
|
buildBackupObj(requestParameters, options) {
|
|
20109
20461
|
return localVarFp.buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20110
20462
|
},
|
|
20463
|
+
/**
|
|
20464
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
20465
|
+
* @summary Grant or revoke native object and column privileges
|
|
20466
|
+
* @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
20467
|
+
* @param {*} [options] Override http request option.
|
|
20468
|
+
* @throws {RequiredError}
|
|
20469
|
+
*/
|
|
20470
|
+
changeAccountObjectPrivileges(requestParameters, options) {
|
|
20471
|
+
return localVarFp.changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
20472
|
+
},
|
|
20111
20473
|
/**
|
|
20112
20474
|
*
|
|
20113
20475
|
* @summary Change Elasticsearch account password
|
|
@@ -20969,6 +21331,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20969
21331
|
generateDemoData(requestParameters, options) {
|
|
20970
21332
|
return localVarFp.generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20971
21333
|
},
|
|
21334
|
+
/**
|
|
21335
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
21336
|
+
* @summary List native object privilege capabilities for the connected server
|
|
21337
|
+
* @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
|
|
21338
|
+
* @param {*} [options] Override http request option.
|
|
21339
|
+
* @throws {RequiredError}
|
|
21340
|
+
*/
|
|
21341
|
+
getAccountObjectPrivilegeCapabilities(requestParameters, options) {
|
|
21342
|
+
return localVarFp.getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
21343
|
+
},
|
|
21344
|
+
/**
|
|
21345
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
21346
|
+
* @summary Inspect native object and column privileges
|
|
21347
|
+
* @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
21348
|
+
* @param {*} [options] Override http request option.
|
|
21349
|
+
* @throws {RequiredError}
|
|
21350
|
+
*/
|
|
21351
|
+
getAccountObjectPrivileges(requestParameters, options) {
|
|
21352
|
+
return localVarFp.getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(axios, basePath));
|
|
21353
|
+
},
|
|
20972
21354
|
/**
|
|
20973
21355
|
*
|
|
20974
21356
|
* @summary Get alert config
|
|
@@ -21567,6 +21949,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21567
21949
|
killSession(requestParameters, options) {
|
|
21568
21950
|
return localVarFp.killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(axios, basePath));
|
|
21569
21951
|
},
|
|
21952
|
+
/**
|
|
21953
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
21954
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
21955
|
+
* @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
|
|
21956
|
+
* @param {*} [options] Override http request option.
|
|
21957
|
+
* @throws {RequiredError}
|
|
21958
|
+
*/
|
|
21959
|
+
listAccountObjectPrivilegeObjects(requestParameters, options) {
|
|
21960
|
+
return localVarFp.listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(axios, basePath));
|
|
21961
|
+
},
|
|
21570
21962
|
/**
|
|
21571
21963
|
* list accounts in cluster
|
|
21572
21964
|
* @summary List cluster accounts
|
|
@@ -23262,6 +23654,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23262
23654
|
buildBackupObj(requestParameters, options) {
|
|
23263
23655
|
return (0, exports.SharedApiFp)(this.configuration).buildBackupObj(requestParameters.orgName, requestParameters.environmentName, requestParameters.engineName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23264
23656
|
}
|
|
23657
|
+
/**
|
|
23658
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
23659
|
+
* @summary Grant or revoke native object and column privileges
|
|
23660
|
+
* @param {SharedApiChangeAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
23661
|
+
* @param {*} [options] Override http request option.
|
|
23662
|
+
* @throws {RequiredError}
|
|
23663
|
+
* @memberof SharedApi
|
|
23664
|
+
*/
|
|
23665
|
+
changeAccountObjectPrivileges(requestParameters, options) {
|
|
23666
|
+
return (0, exports.SharedApiFp)(this.configuration).changeAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, requestParameters.subjectType, requestParameters.host, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
23667
|
+
}
|
|
23265
23668
|
/**
|
|
23266
23669
|
*
|
|
23267
23670
|
* @summary Change Elasticsearch account password
|
|
@@ -24209,6 +24612,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24209
24612
|
generateDemoData(requestParameters, options) {
|
|
24210
24613
|
return (0, exports.SharedApiFp)(this.configuration).generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
24211
24614
|
}
|
|
24615
|
+
/**
|
|
24616
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24617
|
+
* @summary List native object privilege capabilities for the connected server
|
|
24618
|
+
* @param {SharedApiGetAccountObjectPrivilegeCapabilitiesRequest} requestParameters Request parameters.
|
|
24619
|
+
* @param {*} [options] Override http request option.
|
|
24620
|
+
* @throws {RequiredError}
|
|
24621
|
+
* @memberof SharedApi
|
|
24622
|
+
*/
|
|
24623
|
+
getAccountObjectPrivilegeCapabilities(requestParameters, options) {
|
|
24624
|
+
return (0, exports.SharedApiFp)(this.configuration).getAccountObjectPrivilegeCapabilities(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
24625
|
+
}
|
|
24626
|
+
/**
|
|
24627
|
+
* Native object GRANT/REVOKE alongside presets. Consult capabilities for engine/version-specific object types and privileges. PostgreSQL RESTRICT is the default; MySQL static GRANT OPTION is scope-wide.
|
|
24628
|
+
* @summary Inspect native object and column privileges
|
|
24629
|
+
* @param {SharedApiGetAccountObjectPrivilegesRequest} requestParameters Request parameters.
|
|
24630
|
+
* @param {*} [options] Override http request option.
|
|
24631
|
+
* @throws {RequiredError}
|
|
24632
|
+
* @memberof SharedApi
|
|
24633
|
+
*/
|
|
24634
|
+
getAccountObjectPrivileges(requestParameters, options) {
|
|
24635
|
+
return (0, exports.SharedApiFp)(this.configuration).getAccountObjectPrivileges(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.objectName, requestParameters.objectId, requestParameters.subjectType, requestParameters.host, requestParameters.catalogName, requestParameters.subjectQualifiers, options).then((request) => request(this.axios, this.basePath));
|
|
24636
|
+
}
|
|
24212
24637
|
/**
|
|
24213
24638
|
*
|
|
24214
24639
|
* @summary Get alert config
|
|
@@ -24867,6 +25292,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24867
25292
|
killSession(requestParameters, options) {
|
|
24868
25293
|
return (0, exports.SharedApiFp)(this.configuration).killSession(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.session, requestParameters.keep, options).then((request) => request(this.axios, this.basePath));
|
|
24869
25294
|
}
|
|
25295
|
+
/**
|
|
25296
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
25297
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
25298
|
+
* @param {SharedApiListAccountObjectPrivilegeObjectsRequest} requestParameters Request parameters.
|
|
25299
|
+
* @param {*} [options] Override http request option.
|
|
25300
|
+
* @throws {RequiredError}
|
|
25301
|
+
* @memberof SharedApi
|
|
25302
|
+
*/
|
|
25303
|
+
listAccountObjectPrivilegeObjects(requestParameters, options) {
|
|
25304
|
+
return (0, exports.SharedApiFp)(this.configuration).listAccountObjectPrivilegeObjects(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.objectType, requestParameters.databaseName, requestParameters.schemaName, requestParameters.offset, requestParameters.limit, requestParameters.catalogName, options).then((request) => request(this.axios, this.basePath));
|
|
25305
|
+
}
|
|
24870
25306
|
/**
|
|
24871
25307
|
* list accounts in cluster
|
|
24872
25308
|
* @summary List cluster accounts
|