kb-cloud-client-typescript 2.4.0-alpha.97 → 2.4.0-alpha.99
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 +145 -2
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +163 -5
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/mongodb-api.d.ts +145 -2
- package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/mongodb-api.js +163 -5
- package/dist/adminapi/apis/mongodb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +145 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +163 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/alert-object.d.ts +13 -0
- package/dist/adminapi/models/alert-object.d.ts.map +1 -1
- package/dist/adminapi/models/engine-option-license.d.ts +6 -0
- package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/license-option.d.ts +12 -0
- package/dist/adminapi/models/license-option.d.ts.map +1 -1
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +6 -0
- package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -1
- package/dist/adminapi/models/object-type-enum.d.ts +23 -0
- package/dist/adminapi/models/object-type-enum.d.ts.map +1 -0
- package/dist/adminapi/models/object-type-enum.js +27 -0
- package/dist/adminapi/models/object-type-enum.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +145 -2
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +163 -5
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/mongodb-api.d.ts +145 -2
- package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
- package/dist/openapi/apis/mongodb-api.js +163 -5
- package/dist/openapi/apis/mongodb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +145 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +163 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/alert-object.d.ts +13 -0
- package/dist/openapi/models/alert-object.d.ts.map +1 -1
- package/dist/openapi/models/engine-option-license.d.ts +6 -0
- package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/license-option.d.ts +12 -0
- package/dist/openapi/models/license-option.d.ts.map +1 -1
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts +6 -0
- package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -1
- package/dist/openapi/models/object-type-enum.d.ts +23 -0
- package/dist/openapi/models/object-type-enum.d.ts.map +1 -0
- package/dist/openapi/models/object-type-enum.js +27 -0
- package/dist/openapi/models/object-type-enum.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/account-api.ts +256 -5
- package/src/adminapi/apis/mongodb-api.ts +256 -5
- package/src/adminapi/apis/shared-api.ts +256 -5
- package/src/adminapi/models/alert-object.ts +15 -0
- package/src/adminapi/models/engine-option-license.ts +6 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/license-option.ts +12 -0
- package/src/adminapi/models/mongo-rbaccapabilities.ts +6 -0
- package/src/adminapi/models/object-type-enum.ts +32 -0
- package/src/adminapi.yaml +151 -36
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +256 -5
- package/src/openapi/apis/mongodb-api.ts +256 -5
- package/src/openapi/apis/shared-api.ts +256 -5
- package/src/openapi/models/alert-object.ts +15 -0
- package/src/openapi/models/engine-option-license.ts +6 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/license-option.ts +12 -0
- package/src/openapi/models/mongo-rbaccapabilities.ts +6 -0
- package/src/openapi/models/object-type-enum.ts +32 -0
- package/src/openapi.yaml +151 -36
package/src/openapi.yaml
CHANGED
|
@@ -188,6 +188,12 @@ paths:
|
|
|
188
188
|
schema:
|
|
189
189
|
type: string
|
|
190
190
|
default: admin
|
|
191
|
+
- name: allDatabases
|
|
192
|
+
in: query
|
|
193
|
+
description: List accounts from all authentication databases. Overrides database; returns role memberships without effective privileges. Use the user detail endpoint for privileges. Requires viewUser and viewRole on the relevant databases.
|
|
194
|
+
schema:
|
|
195
|
+
type: boolean
|
|
196
|
+
default: false
|
|
191
197
|
responses:
|
|
192
198
|
'200':
|
|
193
199
|
description: Success
|
|
@@ -248,6 +254,89 @@ paths:
|
|
|
248
254
|
application/json:
|
|
249
255
|
schema:
|
|
250
256
|
$ref: '#/components/schemas/MongoRBACUserCreate'
|
|
257
|
+
/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/databases:
|
|
258
|
+
get:
|
|
259
|
+
summary: List MongoDB cluster databases
|
|
260
|
+
description: Lists existing database names using the cluster management connection. Does not require a personal Workbench datasource.
|
|
261
|
+
operationId: mongoListClusterDatabases
|
|
262
|
+
tags:
|
|
263
|
+
- mongodb
|
|
264
|
+
- account
|
|
265
|
+
- shared
|
|
266
|
+
parameters:
|
|
267
|
+
- name: orgName
|
|
268
|
+
in: path
|
|
269
|
+
required: true
|
|
270
|
+
schema:
|
|
271
|
+
type: string
|
|
272
|
+
- name: clusterName
|
|
273
|
+
in: path
|
|
274
|
+
required: true
|
|
275
|
+
schema:
|
|
276
|
+
type: string
|
|
277
|
+
responses:
|
|
278
|
+
'200':
|
|
279
|
+
description: Database names, sorted; an empty result is an empty array.
|
|
280
|
+
content:
|
|
281
|
+
application/json:
|
|
282
|
+
schema:
|
|
283
|
+
type: array
|
|
284
|
+
items:
|
|
285
|
+
type: string
|
|
286
|
+
'400':
|
|
287
|
+
$ref: '#/components/responses/400'
|
|
288
|
+
'401':
|
|
289
|
+
$ref: '#/components/responses/401'
|
|
290
|
+
'403':
|
|
291
|
+
$ref: '#/components/responses/403'
|
|
292
|
+
'404':
|
|
293
|
+
$ref: '#/components/responses/404'
|
|
294
|
+
'500':
|
|
295
|
+
$ref: '#/components/responses/500'
|
|
296
|
+
/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/databases/{database}/collections:
|
|
297
|
+
get:
|
|
298
|
+
summary: List MongoDB cluster database objects
|
|
299
|
+
description: Lists existing collections, views and time-series collections in a database using the cluster management connection. Returns metadata, not document contents.
|
|
300
|
+
operationId: mongoListClusterCollections
|
|
301
|
+
tags:
|
|
302
|
+
- mongodb
|
|
303
|
+
- account
|
|
304
|
+
- shared
|
|
305
|
+
parameters:
|
|
306
|
+
- name: orgName
|
|
307
|
+
in: path
|
|
308
|
+
required: true
|
|
309
|
+
schema:
|
|
310
|
+
type: string
|
|
311
|
+
- name: clusterName
|
|
312
|
+
in: path
|
|
313
|
+
required: true
|
|
314
|
+
schema:
|
|
315
|
+
type: string
|
|
316
|
+
- name: database
|
|
317
|
+
in: path
|
|
318
|
+
required: true
|
|
319
|
+
schema:
|
|
320
|
+
type: string
|
|
321
|
+
responses:
|
|
322
|
+
'200':
|
|
323
|
+
description: Database objects; an empty database returns an empty array.
|
|
324
|
+
content:
|
|
325
|
+
application/json:
|
|
326
|
+
schema:
|
|
327
|
+
type: array
|
|
328
|
+
items:
|
|
329
|
+
$ref: '#/components/schemas/MongoCollectionInfo'
|
|
330
|
+
'400':
|
|
331
|
+
$ref: '#/components/responses/400'
|
|
332
|
+
'401':
|
|
333
|
+
$ref: '#/components/responses/401'
|
|
334
|
+
'403':
|
|
335
|
+
$ref: '#/components/responses/403'
|
|
336
|
+
'404':
|
|
337
|
+
$ref: '#/components/responses/404'
|
|
338
|
+
'500':
|
|
339
|
+
$ref: '#/components/responses/500'
|
|
251
340
|
/api/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/rbac/capabilities:
|
|
252
341
|
get:
|
|
253
342
|
summary: GetRBACCapabilities
|
|
@@ -24667,6 +24756,42 @@ components:
|
|
|
24667
24756
|
type: array
|
|
24668
24757
|
items:
|
|
24669
24758
|
$ref: '#/components/schemas/MongoRBACRoleRef'
|
|
24759
|
+
MongoCollectionCapabilities:
|
|
24760
|
+
type: object
|
|
24761
|
+
properties:
|
|
24762
|
+
canReadDocuments:
|
|
24763
|
+
type: boolean
|
|
24764
|
+
x-omitempty: false
|
|
24765
|
+
canWriteDocuments:
|
|
24766
|
+
type: boolean
|
|
24767
|
+
x-omitempty: false
|
|
24768
|
+
canManageIndexes:
|
|
24769
|
+
type: boolean
|
|
24770
|
+
x-omitempty: false
|
|
24771
|
+
canSetValidation:
|
|
24772
|
+
type: boolean
|
|
24773
|
+
x-omitempty: false
|
|
24774
|
+
canDrop:
|
|
24775
|
+
type: boolean
|
|
24776
|
+
x-omitempty: false
|
|
24777
|
+
MongoCollectionInfo:
|
|
24778
|
+
type: object
|
|
24779
|
+
properties:
|
|
24780
|
+
name:
|
|
24781
|
+
type: string
|
|
24782
|
+
description: collection or view name
|
|
24783
|
+
type:
|
|
24784
|
+
type: string
|
|
24785
|
+
description: collection type (collection or view)
|
|
24786
|
+
isSystem:
|
|
24787
|
+
type: boolean
|
|
24788
|
+
description: whether this is a MongoDB system collection
|
|
24789
|
+
x-omitempty: false
|
|
24790
|
+
capabilities:
|
|
24791
|
+
$ref: '#/components/schemas/MongoCollectionCapabilities'
|
|
24792
|
+
options:
|
|
24793
|
+
type: object
|
|
24794
|
+
description: collection options, including viewOn/pipeline when type is view
|
|
24670
24795
|
MongoRBACResourceCapability:
|
|
24671
24796
|
type: object
|
|
24672
24797
|
properties:
|
|
@@ -24683,6 +24808,9 @@ components:
|
|
|
24683
24808
|
MongoRBACCapabilities:
|
|
24684
24809
|
type: object
|
|
24685
24810
|
properties:
|
|
24811
|
+
allDatabaseUsers:
|
|
24812
|
+
type: boolean
|
|
24813
|
+
description: Supports allDatabases on the account list endpoint.
|
|
24686
24814
|
engineVersion:
|
|
24687
24815
|
type: string
|
|
24688
24816
|
resources:
|
|
@@ -33943,6 +34071,12 @@ components:
|
|
|
33943
34071
|
pageResult:
|
|
33944
34072
|
$ref: '#/components/schemas/pageResult'
|
|
33945
34073
|
description: AlertRuleList is a list of alert rules
|
|
34074
|
+
objectTypeEnum:
|
|
34075
|
+
type: string
|
|
34076
|
+
enum:
|
|
34077
|
+
- cluster
|
|
34078
|
+
- channel
|
|
34079
|
+
- unknown
|
|
33946
34080
|
alertStatus:
|
|
33947
34081
|
enum:
|
|
33948
34082
|
- resolved
|
|
@@ -33961,6 +34095,12 @@ components:
|
|
|
33961
34095
|
type: string
|
|
33962
34096
|
clusterName:
|
|
33963
34097
|
type: string
|
|
34098
|
+
objectType:
|
|
34099
|
+
$ref: '#/components/schemas/objectTypeEnum'
|
|
34100
|
+
nullable: true
|
|
34101
|
+
objectID:
|
|
34102
|
+
type: string
|
|
34103
|
+
nullable: true
|
|
33964
34104
|
objectName:
|
|
33965
34105
|
type: string
|
|
33966
34106
|
engine:
|
|
@@ -35536,6 +35676,12 @@ components:
|
|
|
35536
35676
|
type: string
|
|
35537
35677
|
opsDefName:
|
|
35538
35678
|
type: string
|
|
35679
|
+
fileDigestParameter:
|
|
35680
|
+
type: string
|
|
35681
|
+
description: Optional custom Ops parameter receiving a JSON object of candidate file SHA256 digests.
|
|
35682
|
+
restartAfterUpdate:
|
|
35683
|
+
type: boolean
|
|
35684
|
+
description: Create a standard restart dependent on successful license installation.
|
|
35539
35685
|
engineOptionsMetricsQueryType:
|
|
35540
35686
|
type: string
|
|
35541
35687
|
description: |
|
|
@@ -36712,6 +36858,11 @@ components:
|
|
|
36712
36858
|
fileName:
|
|
36713
36859
|
type: string
|
|
36714
36860
|
description: the license file name
|
|
36861
|
+
allowedTypes:
|
|
36862
|
+
type: array
|
|
36863
|
+
description: Allowed engine license types. Omit to retain unrestricted license types.
|
|
36864
|
+
items:
|
|
36865
|
+
type: string
|
|
36715
36866
|
files:
|
|
36716
36867
|
type: array
|
|
36717
36868
|
description: Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
|
|
@@ -38455,42 +38606,6 @@ components:
|
|
|
38455
38606
|
isSystem:
|
|
38456
38607
|
type: boolean
|
|
38457
38608
|
x-omitempty: false
|
|
38458
|
-
MongoCollectionCapabilities:
|
|
38459
|
-
type: object
|
|
38460
|
-
properties:
|
|
38461
|
-
canReadDocuments:
|
|
38462
|
-
type: boolean
|
|
38463
|
-
x-omitempty: false
|
|
38464
|
-
canWriteDocuments:
|
|
38465
|
-
type: boolean
|
|
38466
|
-
x-omitempty: false
|
|
38467
|
-
canManageIndexes:
|
|
38468
|
-
type: boolean
|
|
38469
|
-
x-omitempty: false
|
|
38470
|
-
canSetValidation:
|
|
38471
|
-
type: boolean
|
|
38472
|
-
x-omitempty: false
|
|
38473
|
-
canDrop:
|
|
38474
|
-
type: boolean
|
|
38475
|
-
x-omitempty: false
|
|
38476
|
-
MongoCollectionInfo:
|
|
38477
|
-
type: object
|
|
38478
|
-
properties:
|
|
38479
|
-
name:
|
|
38480
|
-
type: string
|
|
38481
|
-
description: collection or view name
|
|
38482
|
-
type:
|
|
38483
|
-
type: string
|
|
38484
|
-
description: collection type (collection or view)
|
|
38485
|
-
isSystem:
|
|
38486
|
-
type: boolean
|
|
38487
|
-
description: whether this is a MongoDB system collection
|
|
38488
|
-
x-omitempty: false
|
|
38489
|
-
capabilities:
|
|
38490
|
-
$ref: '#/components/schemas/MongoCollectionCapabilities'
|
|
38491
|
-
options:
|
|
38492
|
-
type: object
|
|
38493
|
-
description: collection options, including viewOn/pipeline when type is view
|
|
38494
38609
|
MongoCollectionStats:
|
|
38495
38610
|
type: object
|
|
38496
38611
|
properties:
|