kb-cloud-client-typescript 2.4.0-alpha.13 → 2.4.0-alpha.15

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.
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ESSecurityRoleTemplate } from './essecurity-role-template';
13
13
  /**
14
- *
14
+ * Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
15
15
  * @export
16
16
  * @interface ESSecurityRoleMapping
17
17
  */
@@ -21,7 +21,7 @@ export interface ESSecurityRoleMapping {
21
21
  * @type {boolean}
22
22
  * @memberof ESSecurityRoleMapping
23
23
  */
24
- 'enabled'?: boolean | null;
24
+ 'enabled': boolean | null;
25
25
  /**
26
26
  *
27
27
  * @type {Array<string>}
@@ -39,7 +39,7 @@ export interface ESSecurityRoleMapping {
39
39
  * @type {{ [key: string]: any; }}
40
40
  * @memberof ESSecurityRoleMapping
41
41
  */
42
- 'rules'?: {
42
+ 'rules': {
43
43
  [key: string]: any;
44
44
  };
45
45
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"essecurity-role-mapping.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/essecurity-role-mapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC"}
1
+ {"version":3,"file":"essecurity-role-mapping.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/essecurity-role-mapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC"}
@@ -21,7 +21,7 @@ export interface ESSecurityRoleTemplate {
21
21
  * @type {{ [key: string]: any; }}
22
22
  * @memberof ESSecurityRoleTemplate
23
23
  */
24
- 'template'?: {
24
+ 'template': {
25
25
  [key: string]: any;
26
26
  };
27
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"essecurity-role-template.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/essecurity-role-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,4BAA4B,CAAC;CAC3C"}
1
+ {"version":3,"file":"essecurity-role-template.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/essecurity-role-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,4BAA4B,CAAC;CAC3C"}
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ESSecurityRoleTemplate } from './essecurity-role-template';
13
13
  /**
14
- *
14
+ * Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
15
15
  * @export
16
16
  * @interface ESSecurityRoleMapping
17
17
  */
@@ -21,7 +21,7 @@ export interface ESSecurityRoleMapping {
21
21
  * @type {boolean}
22
22
  * @memberof ESSecurityRoleMapping
23
23
  */
24
- 'enabled'?: boolean | null;
24
+ 'enabled': boolean | null;
25
25
  /**
26
26
  *
27
27
  * @type {Array<string>}
@@ -39,7 +39,7 @@ export interface ESSecurityRoleMapping {
39
39
  * @type {{ [key: string]: any; }}
40
40
  * @memberof ESSecurityRoleMapping
41
41
  */
42
- 'rules'?: {
42
+ 'rules': {
43
43
  [key: string]: any;
44
44
  };
45
45
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"essecurity-role-mapping.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/essecurity-role-mapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC"}
1
+ {"version":3,"file":"essecurity-role-mapping.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/essecurity-role-mapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC"}
@@ -21,7 +21,7 @@ export interface ESSecurityRoleTemplate {
21
21
  * @type {{ [key: string]: any; }}
22
22
  * @memberof ESSecurityRoleTemplate
23
23
  */
24
- 'template'?: {
24
+ 'template': {
25
25
  [key: string]: any;
26
26
  };
27
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"essecurity-role-template.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/essecurity-role-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,4BAA4B,CAAC;CAC3C"}
1
+ {"version":3,"file":"essecurity-role-template.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/essecurity-role-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,4BAA4B,CAAC;CAC3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.4.0-alpha.13",
3
+ "version": "2.4.0-alpha.15",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -18,7 +18,7 @@
18
18
  import type { ESSecurityRoleTemplate } from './essecurity-role-template';
19
19
 
20
20
  /**
21
- *
21
+ * Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
22
22
  * @export
23
23
  * @interface ESSecurityRoleMapping
24
24
  */
@@ -28,7 +28,7 @@ export interface ESSecurityRoleMapping {
28
28
  * @type {boolean}
29
29
  * @memberof ESSecurityRoleMapping
30
30
  */
31
- 'enabled'?: boolean | null;
31
+ 'enabled': boolean | null;
32
32
  /**
33
33
  *
34
34
  * @type {Array<string>}
@@ -46,7 +46,7 @@ export interface ESSecurityRoleMapping {
46
46
  * @type {{ [key: string]: any; }}
47
47
  * @memberof ESSecurityRoleMapping
48
48
  */
49
- 'rules'?: { [key: string]: any; };
49
+ 'rules': { [key: string]: any; };
50
50
  /**
51
51
  *
52
52
  * @type {{ [key: string]: any; }}
@@ -28,7 +28,7 @@ export interface ESSecurityRoleTemplate {
28
28
  * @type {{ [key: string]: any; }}
29
29
  * @memberof ESSecurityRoleTemplate
30
30
  */
31
- 'template'?: { [key: string]: any; };
31
+ 'template': { [key: string]: any; };
32
32
  /**
33
33
  *
34
34
  * @type {ESSecurityRoleTemplateFormat}
package/src/adminapi.yaml CHANGED
@@ -41483,8 +41483,11 @@ components:
41483
41483
  format:
41484
41484
  $ref: '#/components/schemas/ESSecurityRoleTemplateFormat'
41485
41485
  nullable: true
41486
+ required:
41487
+ - template
41486
41488
  ESSecurityRoleMapping:
41487
41489
  type: object
41490
+ description: Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
41488
41491
  properties:
41489
41492
  enabled:
41490
41493
  type: boolean
@@ -41505,6 +41508,9 @@ components:
41505
41508
  metadata:
41506
41509
  type: object
41507
41510
  additionalProperties: true
41511
+ required:
41512
+ - enabled
41513
+ - rules
41508
41514
  ESSecurityRoleMappings:
41509
41515
  type: object
41510
41516
  additionalProperties:
@@ -18,7 +18,7 @@
18
18
  import type { ESSecurityRoleTemplate } from './essecurity-role-template';
19
19
 
20
20
  /**
21
- *
21
+ * Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
22
22
  * @export
23
23
  * @interface ESSecurityRoleMapping
24
24
  */
@@ -28,7 +28,7 @@ export interface ESSecurityRoleMapping {
28
28
  * @type {boolean}
29
29
  * @memberof ESSecurityRoleMapping
30
30
  */
31
- 'enabled'?: boolean | null;
31
+ 'enabled': boolean | null;
32
32
  /**
33
33
  *
34
34
  * @type {Array<string>}
@@ -46,7 +46,7 @@ export interface ESSecurityRoleMapping {
46
46
  * @type {{ [key: string]: any; }}
47
47
  * @memberof ESSecurityRoleMapping
48
48
  */
49
- 'rules'?: { [key: string]: any; };
49
+ 'rules': { [key: string]: any; };
50
50
  /**
51
51
  *
52
52
  * @type {{ [key: string]: any; }}
@@ -28,7 +28,7 @@ export interface ESSecurityRoleTemplate {
28
28
  * @type {{ [key: string]: any; }}
29
29
  * @memberof ESSecurityRoleTemplate
30
30
  */
31
- 'template'?: { [key: string]: any; };
31
+ 'template': { [key: string]: any; };
32
32
  /**
33
33
  *
34
34
  * @type {ESSecurityRoleTemplateFormat}
package/src/openapi.yaml CHANGED
@@ -35542,8 +35542,11 @@ components:
35542
35542
  format:
35543
35543
  $ref: '#/components/schemas/ESSecurityRoleTemplateFormat'
35544
35544
  nullable: true
35545
+ required:
35546
+ - template
35545
35547
  ESSecurityRoleMapping:
35546
35548
  type: object
35549
+ description: Native Elasticsearch security role mapping. At least one of roles or role_templates must be non-empty.
35547
35550
  properties:
35548
35551
  enabled:
35549
35552
  type: boolean
@@ -35564,6 +35567,9 @@ components:
35564
35567
  metadata:
35565
35568
  type: object
35566
35569
  additionalProperties: true
35570
+ required:
35571
+ - enabled
35572
+ - rules
35567
35573
  ESSecurityRoleMappings:
35568
35574
  type: object
35569
35575
  additionalProperties: