kb-cloud-client-typescript 2.4.0-alpha.115 → 2.4.0-alpha.116

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 (87) hide show
  1. package/dist/adminapi/apis/data-replication-api.d.ts +326 -0
  2. package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/data-replication-api.js +377 -0
  4. package/dist/adminapi/apis/data-replication-api.js.map +1 -1
  5. package/dist/adminapi/models/data-channel-endpoint-create.d.ts +20 -1
  6. package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -1
  7. package/dist/adminapi/models/data-channel-list-endpoint.d.ts +25 -0
  8. package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -1
  9. package/dist/adminapi/models/data-endpoint-create.d.ts +72 -0
  10. package/dist/adminapi/models/data-endpoint-create.d.ts.map +1 -0
  11. package/dist/adminapi/models/data-endpoint-create.js +16 -0
  12. package/dist/adminapi/models/data-endpoint-create.js.map +1 -0
  13. package/dist/adminapi/models/data-endpoint-response.d.ts +43 -0
  14. package/dist/adminapi/models/data-endpoint-response.d.ts.map +1 -0
  15. package/dist/adminapi/models/data-endpoint-response.js +16 -0
  16. package/dist/adminapi/models/data-endpoint-response.js.map +1 -0
  17. package/dist/adminapi/models/data-endpoint-type-creation.d.ts +22 -0
  18. package/dist/adminapi/models/data-endpoint-type-creation.d.ts.map +1 -0
  19. package/dist/adminapi/models/data-endpoint-type-creation.js +26 -0
  20. package/dist/adminapi/models/data-endpoint-type-creation.js.map +1 -0
  21. package/dist/adminapi/models/data-replication-endpoint-type.d.ts +1 -0
  22. package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -1
  23. package/dist/adminapi/models/data-replication-endpoint-type.js +2 -1
  24. package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -1
  25. package/dist/adminapi/models/definition-endpoint.d.ts +25 -0
  26. package/dist/adminapi/models/definition-endpoint.d.ts.map +1 -0
  27. package/dist/adminapi/models/definition-endpoint.js +16 -0
  28. package/dist/adminapi/models/definition-endpoint.js.map +1 -0
  29. package/dist/adminapi/models/index.d.ts +4 -0
  30. package/dist/adminapi/models/index.d.ts.map +1 -1
  31. package/dist/adminapi/models/index.js +4 -0
  32. package/dist/adminapi/models/index.js.map +1 -1
  33. package/dist/openapi/apis/data-replication-api.d.ts +326 -0
  34. package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
  35. package/dist/openapi/apis/data-replication-api.js +377 -0
  36. package/dist/openapi/apis/data-replication-api.js.map +1 -1
  37. package/dist/openapi/models/data-channel-endpoint-create.d.ts +20 -1
  38. package/dist/openapi/models/data-channel-endpoint-create.d.ts.map +1 -1
  39. package/dist/openapi/models/data-channel-list-endpoint.d.ts +25 -0
  40. package/dist/openapi/models/data-channel-list-endpoint.d.ts.map +1 -1
  41. package/dist/openapi/models/data-endpoint-create.d.ts +72 -0
  42. package/dist/openapi/models/data-endpoint-create.d.ts.map +1 -0
  43. package/dist/openapi/models/data-endpoint-create.js +16 -0
  44. package/dist/openapi/models/data-endpoint-create.js.map +1 -0
  45. package/dist/openapi/models/data-endpoint-response.d.ts +43 -0
  46. package/dist/openapi/models/data-endpoint-response.d.ts.map +1 -0
  47. package/dist/openapi/models/data-endpoint-response.js +16 -0
  48. package/dist/openapi/models/data-endpoint-response.js.map +1 -0
  49. package/dist/openapi/models/data-endpoint-type-creation.d.ts +22 -0
  50. package/dist/openapi/models/data-endpoint-type-creation.d.ts.map +1 -0
  51. package/dist/openapi/models/data-endpoint-type-creation.js +26 -0
  52. package/dist/openapi/models/data-endpoint-type-creation.js.map +1 -0
  53. package/dist/openapi/models/data-replication-endpoint-type.d.ts +1 -0
  54. package/dist/openapi/models/data-replication-endpoint-type.d.ts.map +1 -1
  55. package/dist/openapi/models/data-replication-endpoint-type.js +2 -1
  56. package/dist/openapi/models/data-replication-endpoint-type.js.map +1 -1
  57. package/dist/openapi/models/definition-endpoint.d.ts +25 -0
  58. package/dist/openapi/models/definition-endpoint.d.ts.map +1 -0
  59. package/dist/openapi/models/definition-endpoint.js +16 -0
  60. package/dist/openapi/models/definition-endpoint.js.map +1 -0
  61. package/dist/openapi/models/index.d.ts +4 -0
  62. package/dist/openapi/models/index.d.ts.map +1 -1
  63. package/dist/openapi/models/index.js +4 -0
  64. package/dist/openapi/models/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +4 -0
  67. package/src/adminapi/apis/data-replication-api.ts +584 -0
  68. package/src/adminapi/models/data-channel-endpoint-create.ts +22 -1
  69. package/src/adminapi/models/data-channel-list-endpoint.ts +27 -0
  70. package/src/adminapi/models/data-endpoint-create.ts +83 -0
  71. package/src/adminapi/models/data-endpoint-response.ts +48 -0
  72. package/src/adminapi/models/data-endpoint-type-creation.ts +31 -0
  73. package/src/adminapi/models/data-replication-endpoint-type.ts +2 -1
  74. package/src/adminapi/models/definition-endpoint.ts +30 -0
  75. package/src/adminapi/models/index.ts +4 -0
  76. package/src/adminapi.yaml +250 -0
  77. package/src/openapi/.openapi-generator/FILES +4 -0
  78. package/src/openapi/apis/data-replication-api.ts +583 -0
  79. package/src/openapi/models/data-channel-endpoint-create.ts +22 -1
  80. package/src/openapi/models/data-channel-list-endpoint.ts +27 -0
  81. package/src/openapi/models/data-endpoint-create.ts +83 -0
  82. package/src/openapi/models/data-endpoint-response.ts +48 -0
  83. package/src/openapi/models/data-endpoint-type-creation.ts +31 -0
  84. package/src/openapi/models/data-replication-endpoint-type.ts +2 -1
  85. package/src/openapi/models/definition-endpoint.ts +30 -0
  86. package/src/openapi/models/index.ts +4 -0
  87. package/src/openapi.yaml +1491 -1242
@@ -21,14 +21,23 @@ import type { CustomEndpointCreate } from './custom-endpoint-create';
21
21
  import type { DataReplicationEndpointType } from './data-replication-endpoint-type';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
+ import type { DefinitionEndpoint } from './definition-endpoint';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
24
27
  import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
25
28
 
26
29
  /**
27
- *
30
+ * Use endpointType custom or kubeblocks with the corresponding inline connection configuration, or endpointType definition with definition.endpointID to reuse an existing data endpoint. Inline connection configuration is not used for endpointType definition.
28
31
  * @export
29
32
  * @interface DataChannelEndpointCreate
30
33
  */
31
34
  export interface DataChannelEndpointCreate {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof DataChannelEndpointCreate
39
+ */
40
+ 'name'?: string | null;
32
41
  /**
33
42
  *
34
43
  * @type {string}
@@ -59,6 +68,18 @@ export interface DataChannelEndpointCreate {
59
68
  * @memberof DataChannelEndpointCreate
60
69
  */
61
70
  'kubeblocks'?: KubeblocksEndpoint;
71
+ /**
72
+ *
73
+ * @type {DefinitionEndpoint}
74
+ * @memberof DataChannelEndpointCreate
75
+ */
76
+ 'definition'?: DefinitionEndpoint;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof DataChannelEndpointCreate
81
+ */
82
+ 'description'?: string | null;
62
83
  /**
63
84
  *
64
85
  * @type {{ [key: string]: string; }}
@@ -21,6 +21,9 @@ import type { CustomEndpoint } from './custom-endpoint';
21
21
  import type { DataReplicationEndpointType } from './data-replication-endpoint-type';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
+ import type { DefinitionEndpoint } from './definition-endpoint';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
24
27
  import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
25
28
 
26
29
  /**
@@ -29,6 +32,18 @@ import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
29
32
  * @interface DataChannelListEndpoint
30
33
  */
31
34
  export interface DataChannelListEndpoint {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof DataChannelListEndpoint
39
+ */
40
+ 'id'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof DataChannelListEndpoint
45
+ */
46
+ 'name'?: string | null;
32
47
  /**
33
48
  *
34
49
  * @type {string}
@@ -53,6 +68,18 @@ export interface DataChannelListEndpoint {
53
68
  * @memberof DataChannelListEndpoint
54
69
  */
55
70
  'kubeblocks'?: KubeblocksEndpoint;
71
+ /**
72
+ *
73
+ * @type {DefinitionEndpoint}
74
+ * @memberof DataChannelListEndpoint
75
+ */
76
+ 'definition'?: DefinitionEndpoint;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof DataChannelListEndpoint
81
+ */
82
+ 'description'?: string | null;
56
83
  /**
57
84
  *
58
85
  * @type {{ [key: string]: string; }}
@@ -0,0 +1,83 @@
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 { CustomEndpointCreate } from './custom-endpoint-create';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { DataEndpointTypeCreation } from './data-endpoint-type-creation';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
25
+
26
+ /**
27
+ * Connection configuration for an independently managed data endpoint.
28
+ * @export
29
+ * @interface DataEndpointCreate
30
+ */
31
+ export interface DataEndpointCreate {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof DataEndpointCreate
36
+ */
37
+ 'name'?: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof DataEndpointCreate
42
+ */
43
+ 'engineName'?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof DataEndpointCreate
48
+ */
49
+ 'definitionName'?: string;
50
+ /**
51
+ *
52
+ * @type {DataEndpointTypeCreation}
53
+ * @memberof DataEndpointCreate
54
+ */
55
+ 'endpointType'?: DataEndpointTypeCreation;
56
+ /**
57
+ *
58
+ * @type {CustomEndpointCreate}
59
+ * @memberof DataEndpointCreate
60
+ */
61
+ 'custom'?: CustomEndpointCreate;
62
+ /**
63
+ *
64
+ * @type {KubeblocksEndpoint}
65
+ * @memberof DataEndpointCreate
66
+ */
67
+ 'kubeblocks'?: KubeblocksEndpoint;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof DataEndpointCreate
72
+ */
73
+ 'description'?: string | null;
74
+ /**
75
+ *
76
+ * @type {{ [key: string]: string; }}
77
+ * @memberof DataEndpointCreate
78
+ */
79
+ 'extraCfgs'?: { [key: string]: string; } | null;
80
+ }
81
+
82
+
83
+
@@ -0,0 +1,48 @@
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 DataEndpointResponse
21
+ */
22
+ export interface DataEndpointResponse {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof DataEndpointResponse
27
+ */
28
+ 'endpointID'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof DataEndpointResponse
33
+ */
34
+ 'endpointName'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof DataEndpointResponse
39
+ */
40
+ 'createdAt'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof DataEndpointResponse
45
+ */
46
+ 'updatedAt'?: string | null;
47
+ }
48
+
@@ -0,0 +1,31 @@
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
+ * @enum {string}
21
+ */
22
+
23
+ export const DataEndpointTypeCreation = {
24
+ custom: 'custom',
25
+ kubeblocks: 'kubeblocks'
26
+ } as const;
27
+
28
+ export type DataEndpointTypeCreation = typeof DataEndpointTypeCreation[keyof typeof DataEndpointTypeCreation];
29
+
30
+
31
+
@@ -22,7 +22,8 @@
22
22
 
23
23
  export const DataReplicationEndpointType = {
24
24
  custom: 'custom',
25
- kubeblocks: 'kubeblocks'
25
+ kubeblocks: 'kubeblocks',
26
+ definition: 'definition'
26
27
  } as const;
27
28
 
28
29
  export type DataReplicationEndpointType = typeof DataReplicationEndpointType[keyof typeof DataReplicationEndpointType];
@@ -0,0 +1,30 @@
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
+ * Reference to an existing data endpoint in the same organization.
19
+ * @export
20
+ * @interface DefinitionEndpoint
21
+ */
22
+ export interface DefinitionEndpoint {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof DefinitionEndpoint
27
+ */
28
+ 'endpointID': string;
29
+ }
30
+
@@ -283,6 +283,9 @@ export * from './data-check-summary';
283
283
  export * from './data-check-table-summary';
284
284
  export * from './data-check-type';
285
285
  export * from './data-disk';
286
+ export * from './data-endpoint-create';
287
+ export * from './data-endpoint-response';
288
+ export * from './data-endpoint-type-creation';
286
289
  export * from './data-import200-response';
287
290
  export * from './data-replication-channel-container';
288
291
  export * from './data-replication-create';
@@ -299,6 +302,7 @@ export * from './database-option-availbale-update-options-inner';
299
302
  export * from './database-option-pattern-description';
300
303
  export * from './datasource';
301
304
  export * from './db-tderequest';
305
+ export * from './definition-endpoint';
302
306
  export * from './delete-bench-option';
303
307
  export * from './disaster-recovery-cluster-item';
304
308
  export * from './disaster-recovery-cluster-list';