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
@@ -32,8 +32,6 @@ import type { AggregateTaskType } from '../models';
32
32
  // @ts-ignore
33
33
  import type { AutoInspection } from '../models';
34
34
  // @ts-ignore
35
- import type { AutoInspectionResourceType } from '../models';
36
- // @ts-ignore
37
35
  import type { InspectionScript } from '../models';
38
36
  // @ts-ignore
39
37
  import type { InspectionTask } from '../models';
@@ -426,50 +424,6 @@ export const InspectionApiAxiosParamCreator = function (configuration?: Configur
426
424
 
427
425
 
428
426
 
429
- setSearchParams(localVarUrlObj, localVarQueryParameter);
430
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
432
-
433
- return {
434
- url: toPathString(localVarUrlObj),
435
- options: localVarRequestOptions,
436
- };
437
- },
438
- /**
439
- *
440
- * @summary list auto inspections
441
- * @param {AutoInspectionResourceType} resourceType type of the auto inspection
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- */
445
- listAutoInspections: async (resourceType: AutoInspectionResourceType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
446
- // verify required parameter 'resourceType' is not null or undefined
447
- assertParamExists('listAutoInspections', 'resourceType', resourceType)
448
- const localVarPath = `/api/v1/autoInspections`;
449
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
450
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
451
- let baseOptions;
452
- if (configuration) {
453
- baseOptions = configuration.baseOptions;
454
- }
455
-
456
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
457
- const localVarHeaderParameter = {} as any;
458
- const localVarQueryParameter = {} as any;
459
-
460
- // authentication BearerToken required
461
- // http bearer authentication required
462
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
463
-
464
- // authentication DigestAuth required
465
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
466
-
467
- if (resourceType !== undefined) {
468
- localVarQueryParameter['resourceType'] = resourceType;
469
- }
470
-
471
-
472
-
473
427
  setSearchParams(localVarUrlObj, localVarQueryParameter);
474
428
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
475
429
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -804,19 +758,6 @@ export const InspectionApiFp = function(configuration?: Configuration) {
804
758
  const localVarOperationServerBasePath = operationServerMap['InspectionApi.getInspectionTaskByOrg']?.[localVarOperationServerIndex]?.url;
805
759
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
806
760
  },
807
- /**
808
- *
809
- * @summary list auto inspections
810
- * @param {AutoInspectionResourceType} resourceType type of the auto inspection
811
- * @param {*} [options] Override http request option.
812
- * @throws {RequiredError}
813
- */
814
- async listAutoInspections(resourceType: AutoInspectionResourceType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutoInspection>>> {
815
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAutoInspections(resourceType, options);
816
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
817
- const localVarOperationServerBasePath = operationServerMap['InspectionApi.listAutoInspections']?.[localVarOperationServerIndex]?.url;
818
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
819
- },
820
761
  /**
821
762
  *
822
763
  * @summary list inspection scripts
@@ -965,16 +906,6 @@ export const InspectionApiFactory = function (configuration?: Configuration, bas
965
906
  getInspectionTaskByOrg(requestParameters: InspectionApiGetInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<InspectionTask> {
966
907
  return localVarFp.getInspectionTaskByOrg(requestParameters.orgName, requestParameters.taskId, requestParameters.format, options).then((request) => request(axios, basePath));
967
908
  },
968
- /**
969
- *
970
- * @summary list auto inspections
971
- * @param {InspectionApiListAutoInspectionsRequest} requestParameters Request parameters.
972
- * @param {*} [options] Override http request option.
973
- * @throws {RequiredError}
974
- */
975
- listAutoInspections(requestParameters: InspectionApiListAutoInspectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoInspection>> {
976
- return localVarFp.listAutoInspections(requestParameters.resourceType, options).then((request) => request(axios, basePath));
977
- },
978
909
  /**
979
910
  *
980
911
  * @summary list inspection scripts
@@ -1104,16 +1035,6 @@ export interface InspectionApiInterface {
1104
1035
  */
1105
1036
  getInspectionTaskByOrg(requestParameters: InspectionApiGetInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<InspectionTask>;
1106
1037
 
1107
- /**
1108
- *
1109
- * @summary list auto inspections
1110
- * @param {InspectionApiListAutoInspectionsRequest} requestParameters Request parameters.
1111
- * @param {*} [options] Override http request option.
1112
- * @throws {RequiredError}
1113
- * @memberof InspectionApiInterface
1114
- */
1115
- listAutoInspections(requestParameters: InspectionApiListAutoInspectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutoInspection>>;
1116
-
1117
1038
  /**
1118
1039
  *
1119
1040
  * @summary list inspection scripts
@@ -1338,20 +1259,6 @@ export interface InspectionApiGetInspectionTaskByOrgRequest {
1338
1259
  readonly format?: InspectionTaskFormat
1339
1260
  }
1340
1261
 
1341
- /**
1342
- * Request parameters for listAutoInspections operation in InspectionApi.
1343
- * @export
1344
- * @interface InspectionApiListAutoInspectionsRequest
1345
- */
1346
- export interface InspectionApiListAutoInspectionsRequest {
1347
- /**
1348
- * type of the auto inspection
1349
- * @type {AutoInspectionResourceType}
1350
- * @memberof InspectionApiListAutoInspections
1351
- */
1352
- readonly resourceType: AutoInspectionResourceType
1353
- }
1354
-
1355
1262
  /**
1356
1263
  * Request parameters for listInspectionScripts operation in InspectionApi.
1357
1264
  * @export
@@ -1553,18 +1460,6 @@ export class InspectionApi extends BaseAPI implements InspectionApiInterface {
1553
1460
  return InspectionApiFp(this.configuration).getInspectionTaskByOrg(requestParameters.orgName, requestParameters.taskId, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
1554
1461
  }
1555
1462
 
1556
- /**
1557
- *
1558
- * @summary list auto inspections
1559
- * @param {InspectionApiListAutoInspectionsRequest} requestParameters Request parameters.
1560
- * @param {*} [options] Override http request option.
1561
- * @throws {RequiredError}
1562
- * @memberof InspectionApi
1563
- */
1564
- public listAutoInspections(requestParameters: InspectionApiListAutoInspectionsRequest, options?: RawAxiosRequestConfig) {
1565
- return InspectionApiFp(this.configuration).listAutoInspections(requestParameters.resourceType, options).then((request) => request(this.axios, this.basePath));
1566
- }
1567
-
1568
1463
  /**
1569
1464
  *
1570
1465
  * @summary list inspection scripts
@@ -563,7 +563,13 @@ export * from './phone-verification-request';
563
563
  export * from './platform-parameter';
564
564
  export * from './platform-parameter-constraints';
565
565
  export * from './platform-parameter-list';
566
+ export * from './postgresql-deadlock-evidence';
567
+ export * from './postgresql-lock-analysis';
568
+ export * from './postgresql-lock-row';
566
569
  export * from './postgresql-session';
570
+ export * from './postgresql-wait-chain';
571
+ export * from './postgresql-wait-chain-edge';
572
+ export * from './postgresql-wait-chain-node';
567
573
  export * from './pre-check-create';
568
574
  export * from './pre-check-result';
569
575
  export * from './pre-check-status';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PostgresqlDeadlockEvidence
21
+ */
22
+ export interface PostgresqlDeadlockEvidence {
23
+ /**
24
+ *
25
+ * @type {boolean}
26
+ * @memberof PostgresqlDeadlockEvidence
27
+ */
28
+ 'detected': boolean;
29
+ /**
30
+ *
31
+ * @type {Array<number>}
32
+ * @memberof PostgresqlDeadlockEvidence
33
+ */
34
+ 'cyclePids': Array<number>;
35
+ }
36
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { PostgresqlDeadlockEvidence } from './postgresql-deadlock-evidence';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { PostgresqlLockRow } from './postgresql-lock-row';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { PostgresqlSession } from './postgresql-session';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { PostgresqlWaitChain } from './postgresql-wait-chain';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PostgresqlLockAnalysis
33
+ */
34
+ export interface PostgresqlLockAnalysis {
35
+ /**
36
+ *
37
+ * @type {PostgresqlSession}
38
+ * @memberof PostgresqlLockAnalysis
39
+ */
40
+ 'selectedSession': PostgresqlSession;
41
+ /**
42
+ *
43
+ * @type {Array<PostgresqlSession>}
44
+ * @memberof PostgresqlLockAnalysis
45
+ */
46
+ 'blockingSessions': Array<PostgresqlSession>;
47
+ /**
48
+ *
49
+ * @type {Array<PostgresqlSession>}
50
+ * @memberof PostgresqlLockAnalysis
51
+ */
52
+ 'blockedSessions': Array<PostgresqlSession>;
53
+ /**
54
+ *
55
+ * @type {Array<PostgresqlLockRow>}
56
+ * @memberof PostgresqlLockAnalysis
57
+ */
58
+ 'lockRows': Array<PostgresqlLockRow>;
59
+ /**
60
+ *
61
+ * @type {PostgresqlWaitChain}
62
+ * @memberof PostgresqlLockAnalysis
63
+ */
64
+ 'waitChain': PostgresqlWaitChain;
65
+ /**
66
+ *
67
+ * @type {PostgresqlDeadlockEvidence}
68
+ * @memberof PostgresqlLockAnalysis
69
+ */
70
+ 'deadlock': PostgresqlDeadlockEvidence;
71
+ /**
72
+ * Whether the current snapshot cannot prove the lock relationship conclusively.
73
+ * @type {boolean}
74
+ * @memberof PostgresqlLockAnalysis
75
+ */
76
+ 'cannotProve': boolean;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof PostgresqlLockAnalysis
81
+ */
82
+ 'warnings': Array<string>;
83
+ /**
84
+ * Snapshot capture timestamp in UTC.
85
+ * @type {string}
86
+ * @memberof PostgresqlLockAnalysis
87
+ */
88
+ 'capturedAt': string;
89
+ }
90
+
@@ -0,0 +1,114 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PostgresqlLockRow
21
+ */
22
+ export interface PostgresqlLockRow {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof PostgresqlLockRow
27
+ */
28
+ 'pid': number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PostgresqlLockRow
33
+ */
34
+ 'lockType': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PostgresqlLockRow
39
+ */
40
+ 'mode': string;
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof PostgresqlLockRow
45
+ */
46
+ 'granted': boolean;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PostgresqlLockRow
51
+ */
52
+ 'relationOid'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof PostgresqlLockRow
57
+ */
58
+ 'relationName'?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof PostgresqlLockRow
63
+ */
64
+ 'databaseName'?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof PostgresqlLockRow
69
+ */
70
+ 'transactionID'?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof PostgresqlLockRow
75
+ */
76
+ 'virtualTransaction'?: string;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof PostgresqlLockRow
81
+ */
82
+ 'virtualXID'?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof PostgresqlLockRow
87
+ */
88
+ 'tuple'?: string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof PostgresqlLockRow
93
+ */
94
+ 'page'?: string;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof PostgresqlLockRow
99
+ */
100
+ 'classID'?: string;
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof PostgresqlLockRow
105
+ */
106
+ 'objID'?: string;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof PostgresqlLockRow
111
+ */
112
+ 'objSubID'?: string;
113
+ }
114
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PostgresqlWaitChainEdge
21
+ */
22
+ export interface PostgresqlWaitChainEdge {
23
+ /**
24
+ * PID that blocks another session.
25
+ * @type {number}
26
+ * @memberof PostgresqlWaitChainEdge
27
+ */
28
+ 'blockingPid': number;
29
+ /**
30
+ * PID that is blocked by another session.
31
+ * @type {number}
32
+ * @memberof PostgresqlWaitChainEdge
33
+ */
34
+ 'blockedPid': number;
35
+ }
36
+
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { PostgresqlSession } from './postgresql-session';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface PostgresqlWaitChainNode
24
+ */
25
+ export interface PostgresqlWaitChainNode {
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof PostgresqlWaitChainNode
30
+ */
31
+ 'pid': number;
32
+ /**
33
+ * Role in the selected session wait graph. Known values are selected, blocking, blocked, and related.
34
+ * @type {string}
35
+ * @memberof PostgresqlWaitChainNode
36
+ */
37
+ 'role': string;
38
+ /**
39
+ *
40
+ * @type {PostgresqlSession}
41
+ * @memberof PostgresqlWaitChainNode
42
+ */
43
+ 'session'?: PostgresqlSession;
44
+ }
45
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { PostgresqlWaitChainEdge } from './postgresql-wait-chain-edge';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { PostgresqlWaitChainNode } from './postgresql-wait-chain-node';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface PostgresqlWaitChain
27
+ */
28
+ export interface PostgresqlWaitChain {
29
+ /**
30
+ *
31
+ * @type {Array<PostgresqlWaitChainNode>}
32
+ * @memberof PostgresqlWaitChain
33
+ */
34
+ 'nodes': Array<PostgresqlWaitChainNode>;
35
+ /**
36
+ *
37
+ * @type {Array<PostgresqlWaitChainEdge>}
38
+ * @memberof PostgresqlWaitChain
39
+ */
40
+ 'edges': Array<PostgresqlWaitChainEdge>;
41
+ }
42
+