kb-cloud-client-typescript 2.3.0-alpha.117 → 2.3.0-alpha.118

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.
Files changed (125) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +64 -0
  2. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/diagnostics-api.js +74 -0
  4. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  5. package/dist/adminapi/models/index.d.ts +10 -0
  6. package/dist/adminapi/models/index.d.ts.map +1 -1
  7. package/dist/adminapi/models/index.js +10 -0
  8. package/dist/adminapi/models/index.js.map +1 -1
  9. package/dist/adminapi/models/postgresql-database-space.d.ts +43 -0
  10. package/dist/adminapi/models/postgresql-database-space.d.ts.map +1 -0
  11. package/dist/adminapi/models/postgresql-database-space.js +16 -0
  12. package/dist/adminapi/models/postgresql-database-space.js.map +1 -0
  13. package/dist/adminapi/models/postgresql-index-space.d.ts +103 -0
  14. package/dist/adminapi/models/postgresql-index-space.d.ts.map +1 -0
  15. package/dist/adminapi/models/postgresql-index-space.js +16 -0
  16. package/dist/adminapi/models/postgresql-index-space.js.map +1 -0
  17. package/dist/adminapi/models/postgresql-space-analysis.d.ts +88 -0
  18. package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -0
  19. package/dist/adminapi/models/postgresql-space-analysis.js +16 -0
  20. package/dist/adminapi/models/postgresql-space-analysis.js.map +1 -0
  21. package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts +43 -0
  22. package/dist/adminapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
  23. package/dist/adminapi/models/postgresql-space-cannot-prove.js +16 -0
  24. package/dist/adminapi/models/postgresql-space-cannot-prove.js.map +1 -0
  25. package/dist/adminapi/models/postgresql-space-pvc.d.ts +43 -0
  26. package/dist/adminapi/models/postgresql-space-pvc.d.ts.map +1 -0
  27. package/dist/adminapi/models/postgresql-space-pvc.js +16 -0
  28. package/dist/adminapi/models/postgresql-space-pvc.js.map +1 -0
  29. package/dist/adminapi/models/postgresql-space-risk-hint.d.ts +61 -0
  30. package/dist/adminapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
  31. package/dist/adminapi/models/postgresql-space-risk-hint.js +16 -0
  32. package/dist/adminapi/models/postgresql-space-risk-hint.js.map +1 -0
  33. package/dist/adminapi/models/postgresql-space-source.d.ts +49 -0
  34. package/dist/adminapi/models/postgresql-space-source.d.ts.map +1 -0
  35. package/dist/adminapi/models/postgresql-space-source.js +16 -0
  36. package/dist/adminapi/models/postgresql-space-source.js.map +1 -0
  37. package/dist/adminapi/models/postgresql-space-summary.d.ts +85 -0
  38. package/dist/adminapi/models/postgresql-space-summary.d.ts.map +1 -0
  39. package/dist/adminapi/models/postgresql-space-summary.js +16 -0
  40. package/dist/adminapi/models/postgresql-space-summary.js.map +1 -0
  41. package/dist/adminapi/models/postgresql-table-space.d.ts +133 -0
  42. package/dist/adminapi/models/postgresql-table-space.d.ts.map +1 -0
  43. package/dist/adminapi/models/postgresql-table-space.js +16 -0
  44. package/dist/adminapi/models/postgresql-table-space.js.map +1 -0
  45. package/dist/adminapi/models/postgresql-toast-relation-space.d.ts +67 -0
  46. package/dist/adminapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
  47. package/dist/adminapi/models/postgresql-toast-relation-space.js +16 -0
  48. package/dist/adminapi/models/postgresql-toast-relation-space.js.map +1 -0
  49. package/dist/openapi/apis/diagnostics-api.d.ts +64 -0
  50. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  51. package/dist/openapi/apis/diagnostics-api.js +74 -0
  52. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  53. package/dist/openapi/models/index.d.ts +10 -0
  54. package/dist/openapi/models/index.d.ts.map +1 -1
  55. package/dist/openapi/models/index.js +10 -0
  56. package/dist/openapi/models/index.js.map +1 -1
  57. package/dist/openapi/models/postgresql-database-space.d.ts +43 -0
  58. package/dist/openapi/models/postgresql-database-space.d.ts.map +1 -0
  59. package/dist/openapi/models/postgresql-database-space.js +16 -0
  60. package/dist/openapi/models/postgresql-database-space.js.map +1 -0
  61. package/dist/openapi/models/postgresql-index-space.d.ts +103 -0
  62. package/dist/openapi/models/postgresql-index-space.d.ts.map +1 -0
  63. package/dist/openapi/models/postgresql-index-space.js +16 -0
  64. package/dist/openapi/models/postgresql-index-space.js.map +1 -0
  65. package/dist/openapi/models/postgresql-space-analysis.d.ts +88 -0
  66. package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -0
  67. package/dist/openapi/models/postgresql-space-analysis.js +16 -0
  68. package/dist/openapi/models/postgresql-space-analysis.js.map +1 -0
  69. package/dist/openapi/models/postgresql-space-cannot-prove.d.ts +43 -0
  70. package/dist/openapi/models/postgresql-space-cannot-prove.d.ts.map +1 -0
  71. package/dist/openapi/models/postgresql-space-cannot-prove.js +16 -0
  72. package/dist/openapi/models/postgresql-space-cannot-prove.js.map +1 -0
  73. package/dist/openapi/models/postgresql-space-pvc.d.ts +43 -0
  74. package/dist/openapi/models/postgresql-space-pvc.d.ts.map +1 -0
  75. package/dist/openapi/models/postgresql-space-pvc.js +16 -0
  76. package/dist/openapi/models/postgresql-space-pvc.js.map +1 -0
  77. package/dist/openapi/models/postgresql-space-risk-hint.d.ts +61 -0
  78. package/dist/openapi/models/postgresql-space-risk-hint.d.ts.map +1 -0
  79. package/dist/openapi/models/postgresql-space-risk-hint.js +16 -0
  80. package/dist/openapi/models/postgresql-space-risk-hint.js.map +1 -0
  81. package/dist/openapi/models/postgresql-space-source.d.ts +49 -0
  82. package/dist/openapi/models/postgresql-space-source.d.ts.map +1 -0
  83. package/dist/openapi/models/postgresql-space-source.js +16 -0
  84. package/dist/openapi/models/postgresql-space-source.js.map +1 -0
  85. package/dist/openapi/models/postgresql-space-summary.d.ts +85 -0
  86. package/dist/openapi/models/postgresql-space-summary.d.ts.map +1 -0
  87. package/dist/openapi/models/postgresql-space-summary.js +16 -0
  88. package/dist/openapi/models/postgresql-space-summary.js.map +1 -0
  89. package/dist/openapi/models/postgresql-table-space.d.ts +133 -0
  90. package/dist/openapi/models/postgresql-table-space.d.ts.map +1 -0
  91. package/dist/openapi/models/postgresql-table-space.js +16 -0
  92. package/dist/openapi/models/postgresql-table-space.js.map +1 -0
  93. package/dist/openapi/models/postgresql-toast-relation-space.d.ts +67 -0
  94. package/dist/openapi/models/postgresql-toast-relation-space.d.ts.map +1 -0
  95. package/dist/openapi/models/postgresql-toast-relation-space.js +16 -0
  96. package/dist/openapi/models/postgresql-toast-relation-space.js.map +1 -0
  97. package/package.json +1 -1
  98. package/src/adminapi/.openapi-generator/FILES +10 -0
  99. package/src/adminapi/apis/diagnostics-api.ts +114 -0
  100. package/src/adminapi/models/index.ts +10 -0
  101. package/src/adminapi/models/postgresql-database-space.ts +48 -0
  102. package/src/adminapi/models/postgresql-index-space.ts +108 -0
  103. package/src/adminapi/models/postgresql-space-analysis.ts +111 -0
  104. package/src/adminapi/models/postgresql-space-cannot-prove.ts +48 -0
  105. package/src/adminapi/models/postgresql-space-pvc.ts +48 -0
  106. package/src/adminapi/models/postgresql-space-risk-hint.ts +66 -0
  107. package/src/adminapi/models/postgresql-space-source.ts +54 -0
  108. package/src/adminapi/models/postgresql-space-summary.ts +90 -0
  109. package/src/adminapi/models/postgresql-table-space.ts +138 -0
  110. package/src/adminapi/models/postgresql-toast-relation-space.ts +72 -0
  111. package/src/adminapi.yaml +329 -0
  112. package/src/openapi/.openapi-generator/FILES +10 -0
  113. package/src/openapi/apis/diagnostics-api.ts +114 -0
  114. package/src/openapi/models/index.ts +10 -0
  115. package/src/openapi/models/postgresql-database-space.ts +48 -0
  116. package/src/openapi/models/postgresql-index-space.ts +108 -0
  117. package/src/openapi/models/postgresql-space-analysis.ts +111 -0
  118. package/src/openapi/models/postgresql-space-cannot-prove.ts +48 -0
  119. package/src/openapi/models/postgresql-space-pvc.ts +48 -0
  120. package/src/openapi/models/postgresql-space-risk-hint.ts +66 -0
  121. package/src/openapi/models/postgresql-space-source.ts +54 -0
  122. package/src/openapi/models/postgresql-space-summary.ts +90 -0
  123. package/src/openapi/models/postgresql-table-space.ts +138 -0
  124. package/src/openapi/models/postgresql-toast-relation-space.ts +72 -0
  125. package/src/openapi.yaml +329 -0
@@ -0,0 +1,49 @@
1
+ /**
2
+ * KubeBlocks Cloud API
3
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostgresqlSpaceSource
16
+ */
17
+ export interface PostgresqlSpaceSource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostgresqlSpaceSource
22
+ */
23
+ 'name': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostgresqlSpaceSource
28
+ */
29
+ 'kind': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostgresqlSpaceSource
34
+ */
35
+ 'status': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostgresqlSpaceSource
40
+ */
41
+ 'collectedAt': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PostgresqlSpaceSource
46
+ */
47
+ 'message'?: string;
48
+ }
49
+ //# sourceMappingURL=postgresql-space-source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-space-source.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-space-source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud API
6
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: support@apecloud.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=postgresql-space-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-space-source.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-space-source.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * KubeBlocks Cloud API
3
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostgresqlSpaceSummary
16
+ */
17
+ export interface PostgresqlSpaceSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostgresqlSpaceSummary
22
+ */
23
+ 'databaseName'?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PostgresqlSpaceSummary
28
+ */
29
+ 'databaseSizeBytes'?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PostgresqlSpaceSummary
34
+ */
35
+ 'tableCount': number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PostgresqlSpaceSummary
40
+ */
41
+ 'indexCount': number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PostgresqlSpaceSummary
46
+ */
47
+ 'toastRelationCount': number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PostgresqlSpaceSummary
52
+ */
53
+ 'largestTableBytes'?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof PostgresqlSpaceSummary
58
+ */
59
+ 'largestIndexBytes'?: number;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof PostgresqlSpaceSummary
64
+ */
65
+ 'tableListTruncated': boolean;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof PostgresqlSpaceSummary
70
+ */
71
+ 'indexListTruncated': boolean;
72
+ /**
73
+ *
74
+ * @type {boolean}
75
+ * @memberof PostgresqlSpaceSummary
76
+ */
77
+ 'noHistoryYet': boolean;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof PostgresqlSpaceSummary
82
+ */
83
+ 'cannotProveGrowth': boolean;
84
+ }
85
+ //# sourceMappingURL=postgresql-space-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-space-summary.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-space-summary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAChC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud API
6
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: support@apecloud.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=postgresql-space-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-space-summary.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-space-summary.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,133 @@
1
+ /**
2
+ * KubeBlocks Cloud API
3
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostgresqlTableSpace
16
+ */
17
+ export interface PostgresqlTableSpace {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostgresqlTableSpace
22
+ */
23
+ 'database'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostgresqlTableSpace
28
+ */
29
+ 'schema'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostgresqlTableSpace
34
+ */
35
+ 'name'?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PostgresqlTableSpace
40
+ */
41
+ 'relationOid'?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PostgresqlTableSpace
46
+ */
47
+ 'totalBytes'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PostgresqlTableSpace
52
+ */
53
+ 'tableBytes'?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof PostgresqlTableSpace
58
+ */
59
+ 'indexBytes'?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof PostgresqlTableSpace
64
+ */
65
+ 'toastBytes'?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof PostgresqlTableSpace
70
+ */
71
+ 'toastRelationOid'?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof PostgresqlTableSpace
76
+ */
77
+ 'liveTuples'?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof PostgresqlTableSpace
82
+ */
83
+ 'deadTuples'?: number;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof PostgresqlTableSpace
88
+ */
89
+ 'seqScan'?: number;
90
+ /**
91
+ *
92
+ * @type {number}
93
+ * @memberof PostgresqlTableSpace
94
+ */
95
+ 'indexScan'?: number;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof PostgresqlTableSpace
100
+ */
101
+ 'lastVacuum'?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof PostgresqlTableSpace
106
+ */
107
+ 'lastAutoVacuum'?: string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof PostgresqlTableSpace
112
+ */
113
+ 'lastAnalyze'?: string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof PostgresqlTableSpace
118
+ */
119
+ 'lastAutoAnalyze'?: string;
120
+ /**
121
+ *
122
+ * @type {boolean}
123
+ * @memberof PostgresqlTableSpace
124
+ */
125
+ 'noHistoryYet': boolean;
126
+ /**
127
+ *
128
+ * @type {boolean}
129
+ * @memberof PostgresqlTableSpace
130
+ */
131
+ 'cannotProveGrowth': boolean;
132
+ }
133
+ //# sourceMappingURL=postgresql-table-space.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-table-space.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-table-space.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAChC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud API
6
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: support@apecloud.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=postgresql-table-space.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-table-space.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-table-space.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * KubeBlocks Cloud API
3
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: support@apecloud.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostgresqlToastRelationSpace
16
+ */
17
+ export interface PostgresqlToastRelationSpace {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostgresqlToastRelationSpace
22
+ */
23
+ 'database'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostgresqlToastRelationSpace
28
+ */
29
+ 'schema'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostgresqlToastRelationSpace
34
+ */
35
+ 'table'?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PostgresqlToastRelationSpace
40
+ */
41
+ 'tableRelationOid'?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PostgresqlToastRelationSpace
46
+ */
47
+ 'toastRelationOid'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PostgresqlToastRelationSpace
52
+ */
53
+ 'toastBytes'?: number;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof PostgresqlToastRelationSpace
58
+ */
59
+ 'noHistoryYet': boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof PostgresqlToastRelationSpace
64
+ */
65
+ 'cannotProveGrowth': boolean;
66
+ }
67
+ //# sourceMappingURL=postgresql-toast-relation-space.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-toast-relation-space.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-toast-relation-space.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;CAChC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud API
6
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: support@apecloud.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=postgresql-toast-relation-space.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-toast-relation-space.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-toast-relation-space.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.0-alpha.117",
3
+ "version": "2.3.0-alpha.118",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -718,10 +718,20 @@ models/pod-condition.ts
718
718
  models/pod-owner-reference.ts
719
719
  models/pod-resources.ts
720
720
  models/pod.ts
721
+ models/postgresql-database-space.ts
721
722
  models/postgresql-deadlock-evidence.ts
723
+ models/postgresql-index-space.ts
722
724
  models/postgresql-lock-analysis.ts
723
725
  models/postgresql-lock-row.ts
724
726
  models/postgresql-session.ts
727
+ models/postgresql-space-analysis.ts
728
+ models/postgresql-space-cannot-prove.ts
729
+ models/postgresql-space-pvc.ts
730
+ models/postgresql-space-risk-hint.ts
731
+ models/postgresql-space-source.ts
732
+ models/postgresql-space-summary.ts
733
+ models/postgresql-table-space.ts
734
+ models/postgresql-toast-relation-space.ts
725
735
  models/postgresql-wait-graph-edge-evidence.ts
726
736
  models/postgresql-wait-graph-edge.ts
727
737
  models/postgresql-wait-graph-node.ts
@@ -27,6 +27,8 @@ import type { APIErrorResponse } from '../models';
27
27
  import type { PostgresqlLockAnalysis } from '../models';
28
28
  // @ts-ignore
29
29
  import type { PostgresqlSession } from '../models';
30
+ // @ts-ignore
31
+ import type { PostgresqlSpaceAnalysis } from '../models';
30
32
  /**
31
33
  * DiagnosticsApi - axios parameter creator
32
34
  * @export
@@ -122,6 +124,51 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
122
124
 
123
125
 
124
126
 
127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
130
+
131
+ return {
132
+ url: toPathString(localVarUrlObj),
133
+ options: localVarRequestOptions,
134
+ };
135
+ },
136
+ /**
137
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, or remediation actions.
138
+ * @summary Get PostgreSQL space analysis
139
+ * @param {string} orgName Organization name
140
+ * @param {string} clusterName Cluster name
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getDiagnosticsPostgresqlSpaceAnalysis: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
145
+ // verify required parameter 'orgName' is not null or undefined
146
+ assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'orgName', orgName)
147
+ // verify required parameter 'clusterName' is not null or undefined
148
+ assertParamExists('getDiagnosticsPostgresqlSpaceAnalysis', 'clusterName', clusterName)
149
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/spaceAnalysis`
150
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
151
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
154
+ let baseOptions;
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ }
158
+
159
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
160
+ const localVarHeaderParameter = {} as any;
161
+ const localVarQueryParameter = {} as any;
162
+
163
+ // authentication BearerToken required
164
+ // http bearer authentication required
165
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
166
+
167
+ // authentication DigestAuth required
168
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
169
+
170
+
171
+
125
172
  setSearchParams(localVarUrlObj, localVarQueryParameter);
126
173
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
174
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -221,6 +268,20 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
221
268
  const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
222
269
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
223
270
  },
271
+ /**
272
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, or remediation actions.
273
+ * @summary Get PostgreSQL space analysis
274
+ * @param {string} orgName Organization name
275
+ * @param {string} clusterName Cluster name
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ async getDiagnosticsPostgresqlSpaceAnalysis(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSpaceAnalysis>> {
280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlSpaceAnalysis(orgName, clusterName, options);
281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
282
+ const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
284
+ },
224
285
  /**
225
286
  * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
226
287
  * @summary List PostgreSQL session basic diagnostics
@@ -266,6 +327,16 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
266
327
  getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis> {
267
328
  return localVarFp.getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
268
329
  },
330
+ /**
331
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, or remediation actions.
332
+ * @summary Get PostgreSQL space analysis
333
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ */
337
+ getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis> {
338
+ return localVarFp.getDiagnosticsPostgresqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
339
+ },
269
340
  /**
270
341
  * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
271
342
  * @summary List PostgreSQL session basic diagnostics
@@ -305,6 +376,16 @@ export interface DiagnosticsApiInterface {
305
376
  */
306
377
  getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
307
378
 
379
+ /**
380
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, or remediation actions.
381
+ * @summary Get PostgreSQL space analysis
382
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ * @memberof DiagnosticsApiInterface
386
+ */
387
+ getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSpaceAnalysis>;
388
+
308
389
  /**
309
390
  * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
310
391
  * @summary List PostgreSQL session basic diagnostics
@@ -373,6 +454,27 @@ export interface DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisReques
373
454
  readonly pid: number
374
455
  }
375
456
 
457
+ /**
458
+ * Request parameters for getDiagnosticsPostgresqlSpaceAnalysis operation in DiagnosticsApi.
459
+ * @export
460
+ * @interface DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest
461
+ */
462
+ export interface DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest {
463
+ /**
464
+ * Organization name
465
+ * @type {string}
466
+ * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysis
467
+ */
468
+ readonly orgName: string
469
+
470
+ /**
471
+ * Cluster name
472
+ * @type {string}
473
+ * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysis
474
+ */
475
+ readonly clusterName: string
476
+ }
477
+
376
478
  /**
377
479
  * Request parameters for listDiagnosticsPostgresqlSessions operation in DiagnosticsApi.
378
480
  * @export
@@ -432,6 +534,18 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
432
534
  return DiagnosticsApiFp(this.configuration).getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
433
535
  }
434
536
 
537
+ /**
538
+ * Get a read-only PostgreSQL space snapshot from DMS and fixed backend-owned storage metrics. The response does not expose SQL, PromQL, or remediation actions.
539
+ * @summary Get PostgreSQL space analysis
540
+ * @param {DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest} requestParameters Request parameters.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ * @memberof DiagnosticsApi
544
+ */
545
+ public getDiagnosticsPostgresqlSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSpaceAnalysisRequest, options?: RawAxiosRequestConfig) {
546
+ return DiagnosticsApiFp(this.configuration).getDiagnosticsPostgresqlSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
547
+ }
548
+
435
549
  /**
436
550
  * List PostgreSQL session basic diagnostics records. The response includes waitEventType and waitEvent so clients can identify lock-waiting sessions without loading lock rows.
437
551
  * @summary List PostgreSQL session basic diagnostics
@@ -620,10 +620,20 @@ export * from './pod';
620
620
  export * from './pod-condition';
621
621
  export * from './pod-owner-reference';
622
622
  export * from './pod-resources';
623
+ export * from './postgresql-database-space';
623
624
  export * from './postgresql-deadlock-evidence';
625
+ export * from './postgresql-index-space';
624
626
  export * from './postgresql-lock-analysis';
625
627
  export * from './postgresql-lock-row';
626
628
  export * from './postgresql-session';
629
+ export * from './postgresql-space-analysis';
630
+ export * from './postgresql-space-cannot-prove';
631
+ export * from './postgresql-space-pvc';
632
+ export * from './postgresql-space-risk-hint';
633
+ export * from './postgresql-space-source';
634
+ export * from './postgresql-space-summary';
635
+ export * from './postgresql-table-space';
636
+ export * from './postgresql-toast-relation-space';
627
637
  export * from './postgresql-wait-graph';
628
638
  export * from './postgresql-wait-graph-edge';
629
639
  export * from './postgresql-wait-graph-edge-evidence';