kb-cloud-client-typescript 2.3.0-alpha.112 → 2.3.0-alpha.114

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 (100) hide show
  1. package/dist/adminapi/apis/billing-api.d.ts +18 -18
  2. package/dist/adminapi/apis/billing-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/billing-api.js +13 -9
  4. package/dist/adminapi/apis/billing-api.js.map +1 -1
  5. package/dist/adminapi/apis/diagnostics-api.d.ts +143 -0
  6. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/diagnostics-api.js +158 -0
  8. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  9. package/dist/adminapi/models/index.d.ts +6 -0
  10. package/dist/adminapi/models/index.d.ts.map +1 -1
  11. package/dist/adminapi/models/index.js +6 -0
  12. package/dist/adminapi/models/index.js.map +1 -1
  13. package/dist/adminapi/models/postgresql-deadlock-evidence.d.ts +31 -0
  14. package/dist/adminapi/models/postgresql-deadlock-evidence.d.ts.map +1 -0
  15. package/dist/adminapi/models/postgresql-deadlock-evidence.js +16 -0
  16. package/dist/adminapi/models/postgresql-deadlock-evidence.js.map +1 -0
  17. package/dist/adminapi/models/postgresql-lock-analysis.d.ts +77 -0
  18. package/dist/adminapi/models/postgresql-lock-analysis.d.ts.map +1 -0
  19. package/dist/adminapi/models/postgresql-lock-analysis.js +16 -0
  20. package/dist/adminapi/models/postgresql-lock-analysis.js.map +1 -0
  21. package/dist/adminapi/models/postgresql-lock-row.d.ts +109 -0
  22. package/dist/adminapi/models/postgresql-lock-row.d.ts.map +1 -0
  23. package/dist/adminapi/models/postgresql-lock-row.js +16 -0
  24. package/dist/adminapi/models/postgresql-lock-row.js.map +1 -0
  25. package/dist/adminapi/models/postgresql-wait-chain-edge.d.ts +31 -0
  26. package/dist/adminapi/models/postgresql-wait-chain-edge.d.ts.map +1 -0
  27. package/dist/adminapi/models/postgresql-wait-chain-edge.js +16 -0
  28. package/dist/adminapi/models/postgresql-wait-chain-edge.js.map +1 -0
  29. package/dist/adminapi/models/postgresql-wait-chain-node.d.ts +38 -0
  30. package/dist/adminapi/models/postgresql-wait-chain-node.d.ts.map +1 -0
  31. package/dist/adminapi/models/postgresql-wait-chain-node.js +16 -0
  32. package/dist/adminapi/models/postgresql-wait-chain-node.js.map +1 -0
  33. package/dist/adminapi/models/postgresql-wait-chain.d.ts +33 -0
  34. package/dist/adminapi/models/postgresql-wait-chain.d.ts.map +1 -0
  35. package/dist/adminapi/models/postgresql-wait-chain.js +16 -0
  36. package/dist/adminapi/models/postgresql-wait-chain.js.map +1 -0
  37. package/dist/openapi/apis/billing-api.d.ts +18 -18
  38. package/dist/openapi/apis/billing-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/billing-api.js +13 -9
  40. package/dist/openapi/apis/billing-api.js.map +1 -1
  41. package/dist/openapi/apis/diagnostics-api.d.ts +143 -0
  42. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  43. package/dist/openapi/apis/diagnostics-api.js +158 -0
  44. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  45. package/dist/openapi/apis/inspection-api.d.ts +0 -56
  46. package/dist/openapi/apis/inspection-api.d.ts.map +1 -1
  47. package/dist/openapi/apis/inspection-api.js +0 -71
  48. package/dist/openapi/apis/inspection-api.js.map +1 -1
  49. package/dist/openapi/models/index.d.ts +6 -0
  50. package/dist/openapi/models/index.d.ts.map +1 -1
  51. package/dist/openapi/models/index.js +6 -0
  52. package/dist/openapi/models/index.js.map +1 -1
  53. package/dist/openapi/models/postgresql-deadlock-evidence.d.ts +31 -0
  54. package/dist/openapi/models/postgresql-deadlock-evidence.d.ts.map +1 -0
  55. package/dist/openapi/models/postgresql-deadlock-evidence.js +16 -0
  56. package/dist/openapi/models/postgresql-deadlock-evidence.js.map +1 -0
  57. package/dist/openapi/models/postgresql-lock-analysis.d.ts +77 -0
  58. package/dist/openapi/models/postgresql-lock-analysis.d.ts.map +1 -0
  59. package/dist/openapi/models/postgresql-lock-analysis.js +16 -0
  60. package/dist/openapi/models/postgresql-lock-analysis.js.map +1 -0
  61. package/dist/openapi/models/postgresql-lock-row.d.ts +109 -0
  62. package/dist/openapi/models/postgresql-lock-row.d.ts.map +1 -0
  63. package/dist/openapi/models/postgresql-lock-row.js +16 -0
  64. package/dist/openapi/models/postgresql-lock-row.js.map +1 -0
  65. package/dist/openapi/models/postgresql-wait-chain-edge.d.ts +31 -0
  66. package/dist/openapi/models/postgresql-wait-chain-edge.d.ts.map +1 -0
  67. package/dist/openapi/models/postgresql-wait-chain-edge.js +16 -0
  68. package/dist/openapi/models/postgresql-wait-chain-edge.js.map +1 -0
  69. package/dist/openapi/models/postgresql-wait-chain-node.d.ts +38 -0
  70. package/dist/openapi/models/postgresql-wait-chain-node.d.ts.map +1 -0
  71. package/dist/openapi/models/postgresql-wait-chain-node.js +16 -0
  72. package/dist/openapi/models/postgresql-wait-chain-node.js.map +1 -0
  73. package/dist/openapi/models/postgresql-wait-chain.d.ts +33 -0
  74. package/dist/openapi/models/postgresql-wait-chain.d.ts.map +1 -0
  75. package/dist/openapi/models/postgresql-wait-chain.js +16 -0
  76. package/dist/openapi/models/postgresql-wait-chain.js.map +1 -0
  77. package/package.json +1 -1
  78. package/src/adminapi/.openapi-generator/FILES +6 -0
  79. package/src/adminapi/apis/billing-api.ts +27 -23
  80. package/src/adminapi/apis/diagnostics-api.ts +251 -0
  81. package/src/adminapi/models/index.ts +6 -0
  82. package/src/adminapi/models/postgresql-deadlock-evidence.ts +36 -0
  83. package/src/adminapi/models/postgresql-lock-analysis.ts +90 -0
  84. package/src/adminapi/models/postgresql-lock-row.ts +114 -0
  85. package/src/adminapi/models/postgresql-wait-chain-edge.ts +36 -0
  86. package/src/adminapi/models/postgresql-wait-chain-node.ts +45 -0
  87. package/src/adminapi/models/postgresql-wait-chain.ts +42 -0
  88. package/src/adminapi.yaml +227 -0
  89. package/src/openapi/.openapi-generator/FILES +6 -0
  90. package/src/openapi/apis/billing-api.ts +27 -23
  91. package/src/openapi/apis/diagnostics-api.ts +251 -0
  92. package/src/openapi/apis/inspection-api.ts +0 -105
  93. package/src/openapi/models/index.ts +6 -0
  94. package/src/openapi/models/postgresql-deadlock-evidence.ts +36 -0
  95. package/src/openapi/models/postgresql-lock-analysis.ts +90 -0
  96. package/src/openapi/models/postgresql-lock-row.ts +114 -0
  97. package/src/openapi/models/postgresql-wait-chain-edge.ts +36 -0
  98. package/src/openapi/models/postgresql-wait-chain-node.ts +45 -0
  99. package/src/openapi/models/postgresql-wait-chain.ts +42 -0
  100. package/src/openapi.yaml +227 -27
@@ -0,0 +1,77 @@
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
+ import type { PostgresqlDeadlockEvidence } from './postgresql-deadlock-evidence';
13
+ import type { PostgresqlLockRow } from './postgresql-lock-row';
14
+ import type { PostgresqlSession } from './postgresql-session';
15
+ import type { PostgresqlWaitChain } from './postgresql-wait-chain';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PostgresqlLockAnalysis
20
+ */
21
+ export interface PostgresqlLockAnalysis {
22
+ /**
23
+ *
24
+ * @type {PostgresqlSession}
25
+ * @memberof PostgresqlLockAnalysis
26
+ */
27
+ 'selectedSession': PostgresqlSession;
28
+ /**
29
+ *
30
+ * @type {Array<PostgresqlSession>}
31
+ * @memberof PostgresqlLockAnalysis
32
+ */
33
+ 'blockingSessions': Array<PostgresqlSession>;
34
+ /**
35
+ *
36
+ * @type {Array<PostgresqlSession>}
37
+ * @memberof PostgresqlLockAnalysis
38
+ */
39
+ 'blockedSessions': Array<PostgresqlSession>;
40
+ /**
41
+ *
42
+ * @type {Array<PostgresqlLockRow>}
43
+ * @memberof PostgresqlLockAnalysis
44
+ */
45
+ 'lockRows': Array<PostgresqlLockRow>;
46
+ /**
47
+ *
48
+ * @type {PostgresqlWaitChain}
49
+ * @memberof PostgresqlLockAnalysis
50
+ */
51
+ 'waitChain': PostgresqlWaitChain;
52
+ /**
53
+ *
54
+ * @type {PostgresqlDeadlockEvidence}
55
+ * @memberof PostgresqlLockAnalysis
56
+ */
57
+ 'deadlock': PostgresqlDeadlockEvidence;
58
+ /**
59
+ * Whether the current snapshot cannot prove the lock relationship conclusively.
60
+ * @type {boolean}
61
+ * @memberof PostgresqlLockAnalysis
62
+ */
63
+ 'cannotProve': boolean;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof PostgresqlLockAnalysis
68
+ */
69
+ 'warnings': Array<string>;
70
+ /**
71
+ * Snapshot capture timestamp in UTC.
72
+ * @type {string}
73
+ * @memberof PostgresqlLockAnalysis
74
+ */
75
+ 'capturedAt': string;
76
+ }
77
+ //# sourceMappingURL=postgresql-lock-analysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-lock-analysis.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-analysis.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAGjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC7C;;;;OAIG;IACH,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,UAAU,EAAE,0BAA0B,CAAC;IACvC;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -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-lock-analysis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-lock-analysis.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-analysis.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,109 @@
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 PostgresqlLockRow
16
+ */
17
+ export interface PostgresqlLockRow {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof PostgresqlLockRow
22
+ */
23
+ 'pid': number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostgresqlLockRow
28
+ */
29
+ 'lockType': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostgresqlLockRow
34
+ */
35
+ 'mode': string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof PostgresqlLockRow
40
+ */
41
+ 'granted': boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PostgresqlLockRow
46
+ */
47
+ 'relationOid'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PostgresqlLockRow
52
+ */
53
+ 'relationName'?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PostgresqlLockRow
58
+ */
59
+ 'databaseName'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PostgresqlLockRow
64
+ */
65
+ 'transactionID'?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof PostgresqlLockRow
70
+ */
71
+ 'virtualTransaction'?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof PostgresqlLockRow
76
+ */
77
+ 'virtualXID'?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof PostgresqlLockRow
82
+ */
83
+ 'tuple'?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof PostgresqlLockRow
88
+ */
89
+ 'page'?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof PostgresqlLockRow
94
+ */
95
+ 'classID'?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof PostgresqlLockRow
100
+ */
101
+ 'objID'?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof PostgresqlLockRow
106
+ */
107
+ 'objSubID'?: string;
108
+ }
109
+ //# sourceMappingURL=postgresql-lock-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-lock-row.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-row.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -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-lock-row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-lock-row.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-lock-row.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,31 @@
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 PostgresqlWaitChainEdge
16
+ */
17
+ export interface PostgresqlWaitChainEdge {
18
+ /**
19
+ * PID that blocks another session.
20
+ * @type {number}
21
+ * @memberof PostgresqlWaitChainEdge
22
+ */
23
+ 'blockingPid': number;
24
+ /**
25
+ * PID that is blocked by another session.
26
+ * @type {number}
27
+ * @memberof PostgresqlWaitChainEdge
28
+ */
29
+ 'blockedPid': number;
30
+ }
31
+ //# sourceMappingURL=postgresql-wait-chain-edge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain-edge.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain-edge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -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-wait-chain-edge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain-edge.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain-edge.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,38 @@
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
+ import type { PostgresqlSession } from './postgresql-session';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PostgresqlWaitChainNode
17
+ */
18
+ export interface PostgresqlWaitChainNode {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof PostgresqlWaitChainNode
23
+ */
24
+ 'pid': number;
25
+ /**
26
+ * Role in the selected session wait graph. Known values are selected, blocking, blocked, and related.
27
+ * @type {string}
28
+ * @memberof PostgresqlWaitChainNode
29
+ */
30
+ 'role': string;
31
+ /**
32
+ *
33
+ * @type {PostgresqlSession}
34
+ * @memberof PostgresqlWaitChainNode
35
+ */
36
+ 'session'?: PostgresqlSession;
37
+ }
38
+ //# sourceMappingURL=postgresql-wait-chain-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain-node.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain-node.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;CACjC"}
@@ -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-wait-chain-node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain-node.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain-node.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,33 @@
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
+ import type { PostgresqlWaitChainEdge } from './postgresql-wait-chain-edge';
13
+ import type { PostgresqlWaitChainNode } from './postgresql-wait-chain-node';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PostgresqlWaitChain
18
+ */
19
+ export interface PostgresqlWaitChain {
20
+ /**
21
+ *
22
+ * @type {Array<PostgresqlWaitChainNode>}
23
+ * @memberof PostgresqlWaitChain
24
+ */
25
+ 'nodes': Array<PostgresqlWaitChainNode>;
26
+ /**
27
+ *
28
+ * @type {Array<PostgresqlWaitChainEdge>}
29
+ * @memberof PostgresqlWaitChain
30
+ */
31
+ 'edges': Array<PostgresqlWaitChainEdge>;
32
+ }
33
+ //# sourceMappingURL=postgresql-wait-chain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAG5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACxC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CAC3C"}
@@ -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-wait-chain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql-wait-chain.js","sourceRoot":"","sources":["../../../src/openapi/models/postgresql-wait-chain.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.112",
3
+ "version": "2.3.0-alpha.114",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -718,7 +718,13 @@ 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-deadlock-evidence.ts
722
+ models/postgresql-lock-analysis.ts
723
+ models/postgresql-lock-row.ts
721
724
  models/postgresql-session.ts
725
+ models/postgresql-wait-chain-edge.ts
726
+ models/postgresql-wait-chain-node.ts
727
+ models/postgresql-wait-chain.ts
722
728
  models/pre-check-result.ts
723
729
  models/pre-check-status.ts
724
730
  models/pre-check-task-detail.ts
@@ -40,18 +40,22 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
40
40
  /**
41
41
  *
42
42
  * @summary List bills
43
+ * @param {AggregationTimeType} aggregationTime The type of aggregation time
44
+ * @param {AggregationGroupType} aggregationGroup The type of aggregation group
43
45
  * @param {number} start The start of the time range for the query, unit is seconds.
44
46
  * @param {number} end The end of the time range for the query, unit is seconds.
45
47
  * @param {string} [billID] The ID of the bill
46
48
  * @param {string} [clusterID] The ID of the cluster
47
49
  * @param {string} [orgName] name of the organization
48
50
  * @param {string} [projectName] name of the project
49
- * @param {AggregationTimeType} [aggregationTime] The type of aggregation time
50
- * @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
51
51
  * @param {*} [options] Override http request option.
52
52
  * @throws {RequiredError}
53
53
  */
54
- listBills: async (start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, aggregationTime?: AggregationTimeType, aggregationGroup?: AggregationGroupType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ listBills: async (aggregationTime: AggregationTimeType, aggregationGroup: AggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55
+ // verify required parameter 'aggregationTime' is not null or undefined
56
+ assertParamExists('listBills', 'aggregationTime', aggregationTime)
57
+ // verify required parameter 'aggregationGroup' is not null or undefined
58
+ assertParamExists('listBills', 'aggregationGroup', aggregationGroup)
55
59
  // verify required parameter 'start' is not null or undefined
56
60
  assertParamExists('listBills', 'start', start)
57
61
  // verify required parameter 'end' is not null or undefined
@@ -182,19 +186,19 @@ export const BillingApiFp = function(configuration?: Configuration) {
182
186
  /**
183
187
  *
184
188
  * @summary List bills
189
+ * @param {AggregationTimeType} aggregationTime The type of aggregation time
190
+ * @param {AggregationGroupType} aggregationGroup The type of aggregation group
185
191
  * @param {number} start The start of the time range for the query, unit is seconds.
186
192
  * @param {number} end The end of the time range for the query, unit is seconds.
187
193
  * @param {string} [billID] The ID of the bill
188
194
  * @param {string} [clusterID] The ID of the cluster
189
195
  * @param {string} [orgName] name of the organization
190
196
  * @param {string} [projectName] name of the project
191
- * @param {AggregationTimeType} [aggregationTime] The type of aggregation time
192
- * @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
193
197
  * @param {*} [options] Override http request option.
194
198
  * @throws {RequiredError}
195
199
  */
196
- async listBills(start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, aggregationTime?: AggregationTimeType, aggregationGroup?: AggregationGroupType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillList>> {
197
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBills(start, end, billID, clusterID, orgName, projectName, aggregationTime, aggregationGroup, options);
200
+ async listBills(aggregationTime: AggregationTimeType, aggregationGroup: AggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillList>> {
201
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBills(aggregationTime, aggregationGroup, start, end, billID, clusterID, orgName, projectName, options);
198
202
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
199
203
  const localVarOperationServerBasePath = operationServerMap['BillingApi.listBills']?.[localVarOperationServerIndex]?.url;
200
204
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -231,7 +235,7 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
231
235
  * @throws {RequiredError}
232
236
  */
233
237
  listBills(requestParameters: BillingApiListBillsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillList> {
234
- return localVarFp.listBills(requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, requestParameters.aggregationTime, requestParameters.aggregationGroup, options).then((request) => request(axios, basePath));
238
+ return localVarFp.listBills(requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, options).then((request) => request(axios, basePath));
235
239
  },
236
240
  /**
237
241
  *
@@ -280,6 +284,20 @@ export interface BillingApiInterface {
280
284
  * @interface BillingApiListBillsRequest
281
285
  */
282
286
  export interface BillingApiListBillsRequest {
287
+ /**
288
+ * The type of aggregation time
289
+ * @type {AggregationTimeType}
290
+ * @memberof BillingApiListBills
291
+ */
292
+ readonly aggregationTime: AggregationTimeType
293
+
294
+ /**
295
+ * The type of aggregation group
296
+ * @type {AggregationGroupType}
297
+ * @memberof BillingApiListBills
298
+ */
299
+ readonly aggregationGroup: AggregationGroupType
300
+
283
301
  /**
284
302
  * The start of the time range for the query, unit is seconds.
285
303
  * @type {number}
@@ -321,20 +339,6 @@ export interface BillingApiListBillsRequest {
321
339
  * @memberof BillingApiListBills
322
340
  */
323
341
  readonly projectName?: string
324
-
325
- /**
326
- * The type of aggregation time
327
- * @type {AggregationTimeType}
328
- * @memberof BillingApiListBills
329
- */
330
- readonly aggregationTime?: AggregationTimeType
331
-
332
- /**
333
- * The type of aggregation group
334
- * @type {AggregationGroupType}
335
- * @memberof BillingApiListBills
336
- */
337
- readonly aggregationGroup?: AggregationGroupType
338
342
  }
339
343
 
340
344
  /**
@@ -374,7 +378,7 @@ export class BillingApi extends BaseAPI implements BillingApiInterface {
374
378
  * @memberof BillingApi
375
379
  */
376
380
  public listBills(requestParameters: BillingApiListBillsRequest, options?: RawAxiosRequestConfig) {
377
- return BillingApiFp(this.configuration).listBills(requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, requestParameters.aggregationTime, requestParameters.aggregationGroup, options).then((request) => request(this.axios, this.basePath));
381
+ return BillingApiFp(this.configuration).listBills(requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, options).then((request) => request(this.axios, this.basePath));
378
382
  }
379
383
 
380
384
  /**