kb-cloud-client-typescript 2.4.0-alpha.134 → 2.4.0-alpha.136

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 (90) hide show
  1. package/dist/adminapi/apis/backup-api.d.ts +3 -3
  2. package/dist/adminapi/apis/backup-api.js +2 -2
  3. package/dist/adminapi/apis/shared-api.d.ts +3 -3
  4. package/dist/adminapi/apis/shared-api.js +2 -2
  5. package/dist/adminapi/apis/task-api.d.ts +137 -0
  6. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/task-api.js +153 -0
  8. package/dist/adminapi/apis/task-api.js.map +1 -1
  9. package/dist/adminapi/models/environment-delete.d.ts +6 -0
  10. package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
  11. package/dist/adminapi/models/index.d.ts +8 -0
  12. package/dist/adminapi/models/index.d.ts.map +1 -1
  13. package/dist/adminapi/models/index.js +8 -0
  14. package/dist/adminapi/models/index.js.map +1 -1
  15. package/dist/adminapi/models/scheduled-task-detail.d.ts +18 -0
  16. package/dist/adminapi/models/scheduled-task-detail.d.ts.map +1 -0
  17. package/dist/adminapi/models/scheduled-task-detail.js +16 -0
  18. package/dist/adminapi/models/scheduled-task-detail.js.map +1 -0
  19. package/dist/adminapi/models/scheduled-task-enable-status.d.ts +23 -0
  20. package/dist/adminapi/models/scheduled-task-enable-status.d.ts.map +1 -0
  21. package/dist/adminapi/models/scheduled-task-enable-status.js +27 -0
  22. package/dist/adminapi/models/scheduled-task-enable-status.js.map +1 -0
  23. package/dist/adminapi/models/scheduled-task-last-execution-status.d.ts +26 -0
  24. package/dist/adminapi/models/scheduled-task-last-execution-status.d.ts.map +1 -0
  25. package/dist/adminapi/models/scheduled-task-last-execution-status.js +30 -0
  26. package/dist/adminapi/models/scheduled-task-last-execution-status.js.map +1 -0
  27. package/dist/adminapi/models/scheduled-task-list.d.ts +33 -0
  28. package/dist/adminapi/models/scheduled-task-list.d.ts.map +1 -0
  29. package/dist/adminapi/models/scheduled-task-list.js +16 -0
  30. package/dist/adminapi/models/scheduled-task-list.js.map +1 -0
  31. package/dist/adminapi/models/scheduled-task-provider.d.ts +21 -0
  32. package/dist/adminapi/models/scheduled-task-provider.d.ts.map +1 -0
  33. package/dist/adminapi/models/scheduled-task-provider.js +25 -0
  34. package/dist/adminapi/models/scheduled-task-provider.js.map +1 -0
  35. package/dist/adminapi/models/scheduled-task-status.d.ts +24 -0
  36. package/dist/adminapi/models/scheduled-task-status.d.ts.map +1 -0
  37. package/dist/adminapi/models/scheduled-task-status.js +28 -0
  38. package/dist/adminapi/models/scheduled-task-status.js.map +1 -0
  39. package/dist/adminapi/models/scheduled-task-summary.d.ts +89 -0
  40. package/dist/adminapi/models/scheduled-task-summary.d.ts.map +1 -0
  41. package/dist/adminapi/models/scheduled-task-summary.js +16 -0
  42. package/dist/adminapi/models/scheduled-task-summary.js.map +1 -0
  43. package/dist/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
  44. package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  45. package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
  46. package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
  47. package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
  48. package/dist/adminapi/models/selected-object-option.d.ts +7 -0
  49. package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
  50. package/dist/openapi/apis/backup-api.d.ts +3 -3
  51. package/dist/openapi/apis/backup-api.js +2 -2
  52. package/dist/openapi/apis/shared-api.d.ts +3 -3
  53. package/dist/openapi/apis/shared-api.js +2 -2
  54. package/dist/openapi/models/index.d.ts +1 -0
  55. package/dist/openapi/models/index.d.ts.map +1 -1
  56. package/dist/openapi/models/index.js +1 -0
  57. package/dist/openapi/models/index.js.map +1 -1
  58. package/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
  59. package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
  60. package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
  61. package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
  62. package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
  63. package/dist/openapi/models/selected-object-option.d.ts +7 -0
  64. package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +8 -0
  67. package/src/adminapi/apis/backup-api.ts +3 -3
  68. package/src/adminapi/apis/shared-api.ts +3 -3
  69. package/src/adminapi/apis/task-api.ts +246 -0
  70. package/src/adminapi/models/environment-delete.ts +6 -0
  71. package/src/adminapi/models/index.ts +8 -0
  72. package/src/adminapi/models/scheduled-task-detail.ts +38 -0
  73. package/src/adminapi/models/scheduled-task-enable-status.ts +32 -0
  74. package/src/adminapi/models/scheduled-task-last-execution-status.ts +35 -0
  75. package/src/adminapi/models/scheduled-task-list.ts +42 -0
  76. package/src/adminapi/models/scheduled-task-provider.ts +30 -0
  77. package/src/adminapi/models/scheduled-task-status.ts +33 -0
  78. package/src/adminapi/models/scheduled-task-summary.ts +104 -0
  79. package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
  80. package/src/adminapi/models/selected-object-option-tree.ts +1 -1
  81. package/src/adminapi/models/selected-object-option.ts +11 -0
  82. package/src/adminapi.yaml +203 -2
  83. package/src/openapi/.openapi-generator/FILES +1 -0
  84. package/src/openapi/apis/backup-api.ts +3 -3
  85. package/src/openapi/apis/shared-api.ts +3 -3
  86. package/src/openapi/models/index.ts +1 -0
  87. package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
  88. package/src/openapi/models/selected-object-option-tree.ts +1 -1
  89. package/src/openapi/models/selected-object-option.ts +11 -0
  90. package/src/openapi.yaml +11 -2
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
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 { PaginationResult } from './pagination-result';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { ScheduledTaskSummary } from './scheduled-task-summary';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface ScheduledTaskList
27
+ */
28
+ export interface ScheduledTaskList {
29
+ /**
30
+ *
31
+ * @type {Array<ScheduledTaskSummary>}
32
+ * @memberof ScheduledTaskList
33
+ */
34
+ 'items': Array<ScheduledTaskSummary>;
35
+ /**
36
+ *
37
+ * @type {PaginationResult}
38
+ * @memberof ScheduledTaskList
39
+ */
40
+ 'pagination': PaginationResult;
41
+ }
42
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * Scheduler provider
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const ScheduledTaskProvider = {
24
+ taskflow: 'taskflow'
25
+ } as const;
26
+
27
+ export type ScheduledTaskProvider = typeof ScheduledTaskProvider[keyof typeof ScheduledTaskProvider];
28
+
29
+
30
+
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * Current normalized status of the scheduled task
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const ScheduledTaskStatus = {
24
+ active: 'active',
25
+ disabled: 'disabled',
26
+ error: 'error',
27
+ unknown: 'unknown'
28
+ } as const;
29
+
30
+ export type ScheduledTaskStatus = typeof ScheduledTaskStatus[keyof typeof ScheduledTaskStatus];
31
+
32
+
33
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
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 { ScheduledTaskEnableStatus } from './scheduled-task-enable-status';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { ScheduledTaskLastExecutionStatus } from './scheduled-task-last-execution-status';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { ScheduledTaskProvider } from './scheduled-task-provider';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { ScheduledTaskStatus } from './scheduled-task-status';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface ScheduledTaskSummary
33
+ */
34
+ export interface ScheduledTaskSummary {
35
+ /**
36
+ * ID of the scheduled task
37
+ * @type {string}
38
+ * @memberof ScheduledTaskSummary
39
+ */
40
+ 'scheduledTaskId': string;
41
+ /**
42
+ * Stable name of the scheduled task
43
+ * @type {string}
44
+ * @memberof ScheduledTaskSummary
45
+ */
46
+ 'name': string;
47
+ /**
48
+ *
49
+ * @type {ScheduledTaskProvider}
50
+ * @memberof ScheduledTaskSummary
51
+ */
52
+ 'provider'?: ScheduledTaskProvider;
53
+ /**
54
+ * Cron expression used to schedule the task
55
+ * @type {string}
56
+ * @memberof ScheduledTaskSummary
57
+ */
58
+ 'cronExpression'?: string | null;
59
+ /**
60
+ *
61
+ * @type {ScheduledTaskLastExecutionStatus}
62
+ * @memberof ScheduledTaskSummary
63
+ */
64
+ 'lastExecutionStatus'?: ScheduledTaskLastExecutionStatus;
65
+ /**
66
+ *
67
+ * @type {ScheduledTaskEnableStatus}
68
+ * @memberof ScheduledTaskSummary
69
+ */
70
+ 'enabled'?: ScheduledTaskEnableStatus;
71
+ /**
72
+ * Scope affected by the task, such as platform, organization, environment, or cluster
73
+ * @type {string}
74
+ * @memberof ScheduledTaskSummary
75
+ */
76
+ 'scope'?: string;
77
+ /**
78
+ *
79
+ * @type {ScheduledTaskStatus}
80
+ * @memberof ScheduledTaskSummary
81
+ */
82
+ 'status': ScheduledTaskStatus;
83
+ /**
84
+ * Most recent execution start time as a Unix timestamp in seconds
85
+ * @type {string}
86
+ * @memberof ScheduledTaskSummary
87
+ */
88
+ 'lastRunAt'?: string | null;
89
+ /**
90
+ * Next scheduled execution time as a Unix timestamp in seconds
91
+ * @type {string}
92
+ * @memberof ScheduledTaskSummary
93
+ */
94
+ 'nextRunAt'?: string | null;
95
+ /**
96
+ * Creation time of the scheduled task record
97
+ * @type {string}
98
+ * @memberof ScheduledTaskSummary
99
+ */
100
+ 'createdAt': string;
101
+ }
102
+
103
+
104
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
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
+ * Strategy for converting the selected tree to parameters. levelMapping maps every configured level and applies skipWhenParentLevelsSelectedAll. wholeObject merges duplicate branches and maps only whole selected nodes (selectedAll or leaves), omitting covered descendants. Defaults to levelMapping when omitted.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const SelectedObjectConversionStrategy = {
24
+ levelMapping: 'levelMapping',
25
+ wholeObject: 'wholeObject'
26
+ } as const;
27
+
28
+ export type SelectedObjectConversionStrategy = typeof SelectedObjectConversionStrategy[keyof typeof SelectedObjectConversionStrategy];
29
+
30
+
31
+
@@ -30,7 +30,7 @@ export interface SelectedObjectOptionTree {
30
30
  */
31
31
  'switchWithDatabase'?: boolean;
32
32
  /**
33
- * The SQL query to retrieve the object tree
33
+ * The engine-native query returning the columns used to build the object tree.
34
34
  * @type {string}
35
35
  * @memberof SelectedObjectOptionTree
36
36
  */
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SelectedObjectConversionStrategy } from './selected-object-conversion-strategy';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { SelectedObjectOptionConvertToParametersInner } from './selected-object-option-convert-to-parameters-inner';
@@ -26,6 +29,12 @@ import type { SelectedObjectOptionTree } from './selected-object-option-tree';
26
29
  * @interface SelectedObjectOption
27
30
  */
28
31
  export interface SelectedObjectOption {
32
+ /**
33
+ *
34
+ * @type {SelectedObjectConversionStrategy}
35
+ * @memberof SelectedObjectOption
36
+ */
37
+ 'conversionStrategy'?: SelectedObjectConversionStrategy;
29
38
  /**
30
39
  *
31
40
  * @type {SelectedObjectOptionTree}
@@ -40,3 +49,5 @@ export interface SelectedObjectOption {
40
49
  'convertToParameters'?: Array<SelectedObjectOptionConvertToParametersInner>;
41
50
  }
42
51
 
52
+
53
+
package/src/adminapi.yaml CHANGED
@@ -14336,7 +14336,7 @@ paths:
14336
14336
  type: string
14337
14337
  - name: database
14338
14338
  in: query
14339
- description: database name
14339
+ description: Database name for engines configured to switch the object tree by database.
14340
14340
  schema:
14341
14341
  type: string
14342
14342
  responses:
@@ -19759,6 +19759,88 @@ paths:
19759
19759
  $ref: '#/components/responses/404'
19760
19760
  '500':
19761
19761
  $ref: '#/components/responses/500'
19762
+ /admin/v1/scheduled-tasks:
19763
+ get:
19764
+ tags:
19765
+ - task
19766
+ summary: List scheduled tasks
19767
+ description: List scheduled tasks
19768
+ operationId: listScheduledTasks
19769
+ parameters:
19770
+ - name: provider
19771
+ in: query
19772
+ description: Filter by scheduler provider
19773
+ schema:
19774
+ type: string
19775
+ - name: status
19776
+ in: query
19777
+ description: Filter by scheduled task status
19778
+ schema:
19779
+ $ref: '#/components/schemas/scheduledTaskStatus'
19780
+ - name: pageNumber
19781
+ in: query
19782
+ description: Page number, starting from 1
19783
+ schema:
19784
+ type: integer
19785
+ format: int64
19786
+ minimum: 1
19787
+ default: 1
19788
+ - name: pageSize
19789
+ in: query
19790
+ description: Number of items per page
19791
+ schema:
19792
+ type: integer
19793
+ format: int64
19794
+ minimum: 1
19795
+ default: 10
19796
+ responses:
19797
+ '200':
19798
+ description: Scheduled task list
19799
+ content:
19800
+ application/json:
19801
+ schema:
19802
+ $ref: '#/components/schemas/scheduledTaskList'
19803
+ '400':
19804
+ $ref: '#/components/responses/400'
19805
+ '401':
19806
+ $ref: '#/components/responses/401'
19807
+ '403':
19808
+ $ref: '#/components/responses/403'
19809
+ '500':
19810
+ $ref: '#/components/responses/500'
19811
+ '501':
19812
+ $ref: '#/components/responses/501'
19813
+ /admin/v1/scheduled-tasks/{scheduledTaskId}:
19814
+ get:
19815
+ tags:
19816
+ - task
19817
+ summary: Get scheduled task
19818
+ description: Get scheduled task details
19819
+ operationId: getScheduledTask
19820
+ parameters:
19821
+ - name: scheduledTaskId
19822
+ in: path
19823
+ required: true
19824
+ description: ID of the scheduled task
19825
+ schema:
19826
+ type: string
19827
+ responses:
19828
+ '200':
19829
+ description: Scheduled task details
19830
+ content:
19831
+ application/json:
19832
+ schema:
19833
+ $ref: '#/components/schemas/scheduledTaskDetail'
19834
+ '400':
19835
+ $ref: '#/components/responses/400'
19836
+ '401':
19837
+ $ref: '#/components/responses/401'
19838
+ '403':
19839
+ $ref: '#/components/responses/403'
19840
+ '404':
19841
+ $ref: '#/components/responses/404'
19842
+ '500':
19843
+ $ref: '#/components/responses/500'
19762
19844
  /admin/v1/organizations/{orgName}/cluster/{clusterName}/available-relations:
19763
19845
  get:
19764
19846
  tags:
@@ -40645,6 +40727,9 @@ components:
40645
40727
  victoriaMetrics:
40646
40728
  description: reserve vm cluster when delete environment
40647
40729
  $ref: '#/components/schemas/cloudResourceCleanPolicy'
40730
+ victoriaLogs:
40731
+ description: Cleanup policy for the VictoriaLogs cluster when deleting the environment. If omitted, uses the minio policy.
40732
+ $ref: '#/components/schemas/cloudResourceCleanPolicy'
40648
40733
  environmentUpdate:
40649
40734
  type: object
40650
40735
  description: Environment info
@@ -44345,9 +44430,18 @@ components:
44345
44430
  type: string
44346
44431
  description:
44347
44432
  $ref: '#/components/schemas/localizedDescription'
44433
+ selectedObjectConversionStrategy:
44434
+ type: string
44435
+ enum:
44436
+ - levelMapping
44437
+ - wholeObject
44438
+ default: levelMapping
44439
+ description: Strategy for converting the selected tree to parameters. levelMapping maps every configured level and applies skipWhenParentLevelsSelectedAll. wholeObject merges duplicate branches and maps only whole selected nodes (selectedAll or leaves), omitting covered descendants. Defaults to levelMapping when omitted.
44348
44440
  selectedObjectOption:
44349
44441
  type: object
44350
44442
  properties:
44443
+ conversionStrategy:
44444
+ $ref: '#/components/schemas/selectedObjectConversionStrategy'
44351
44445
  tree:
44352
44446
  type: object
44353
44447
  required:
@@ -44359,7 +44453,7 @@ components:
44359
44453
  description: if set to true, the tree will switch when database is switched. This is used for database-level backup, and the root level of the tree is database. If not set or set to false, the tree will not switch when database is switched, and the root level of the tree is instance.
44360
44454
  sql:
44361
44455
  type: string
44362
- description: The SQL query to retrieve the object tree
44456
+ description: The engine-native query returning the columns used to build the object tree.
44363
44457
  levelOrder:
44364
44458
  type: array
44365
44459
  description: The order of object types in the hierarchy
@@ -48393,6 +48487,113 @@ components:
48393
48487
  $ref: '#/components/schemas/taskSchedule'
48394
48488
  description: Scheduled execution configuration
48395
48489
  x-nullable: true
48490
+ scheduledTaskStatus:
48491
+ type: string
48492
+ enum:
48493
+ - active
48494
+ - disabled
48495
+ - error
48496
+ - unknown
48497
+ description: Current normalized status of the scheduled task
48498
+ scheduledTaskProvider:
48499
+ type: string
48500
+ enum:
48501
+ - taskflow
48502
+ description: Scheduler provider
48503
+ scheduledTaskLastExecutionStatus:
48504
+ type: string
48505
+ enum:
48506
+ - success
48507
+ - failed
48508
+ - running
48509
+ - pending
48510
+ - cancelled
48511
+ - unknown
48512
+ description: Most recently observable execution status
48513
+ scheduledTaskEnableStatus:
48514
+ type: string
48515
+ enum:
48516
+ - immutable
48517
+ - disabled
48518
+ - enabled
48519
+ description: Whether the schedule is immutable, disabled, or enabled
48520
+ scheduledTaskSummary:
48521
+ type: object
48522
+ required:
48523
+ - scheduledTaskId
48524
+ - name
48525
+ - status
48526
+ - createdAt
48527
+ properties:
48528
+ scheduledTaskId:
48529
+ type: string
48530
+ description: ID of the scheduled task
48531
+ name:
48532
+ type: string
48533
+ description: Stable name of the scheduled task
48534
+ provider:
48535
+ $ref: '#/components/schemas/scheduledTaskProvider'
48536
+ cronExpression:
48537
+ type: string
48538
+ description: Cron expression used to schedule the task
48539
+ x-nullable: true
48540
+ lastExecutionStatus:
48541
+ $ref: '#/components/schemas/scheduledTaskLastExecutionStatus'
48542
+ enabled:
48543
+ $ref: '#/components/schemas/scheduledTaskEnableStatus'
48544
+ scope:
48545
+ type: string
48546
+ description: Scope affected by the task, such as platform, organization, environment, or cluster
48547
+ status:
48548
+ $ref: '#/components/schemas/scheduledTaskStatus'
48549
+ lastRunAt:
48550
+ type: string
48551
+ description: Most recent execution start time as a Unix timestamp in seconds
48552
+ example: '1793763705'
48553
+ x-nullable: true
48554
+ nextRunAt:
48555
+ type: string
48556
+ description: Next scheduled execution time as a Unix timestamp in seconds
48557
+ example: '1793763705'
48558
+ x-nullable: true
48559
+ createdAt:
48560
+ type: string
48561
+ format: date-time
48562
+ description: Creation time of the scheduled task record
48563
+ scheduledTaskList:
48564
+ type: object
48565
+ required:
48566
+ - items
48567
+ - pagination
48568
+ properties:
48569
+ items:
48570
+ type: array
48571
+ items:
48572
+ $ref: '#/components/schemas/scheduledTaskSummary'
48573
+ pagination:
48574
+ $ref: '#/components/schemas/paginationResult'
48575
+ scheduledTaskDetail:
48576
+ allOf:
48577
+ - $ref: '#/components/schemas/scheduledTaskSummary'
48578
+ - type: object
48579
+ properties:
48580
+ providerTaskId:
48581
+ type: string
48582
+ description: Current runtime task ID within the scheduler provider
48583
+ x-nullable: true
48584
+ message:
48585
+ type: string
48586
+ description: Current task status or error message
48587
+ x-nullable: true
48588
+ providerDetails:
48589
+ type: object
48590
+ description: Provider-specific, non-sensitive task details
48591
+ additionalProperties: true
48592
+ lastObservedAt:
48593
+ type: string
48594
+ format: date-time
48595
+ description: Last time the provider state was observed
48596
+ x-nullable: true
48396
48597
  availableClusterList:
48397
48598
  type: array
48398
48599
  items:
@@ -1052,6 +1052,7 @@ models/role.ts
1052
1052
  models/scheduler-option.ts
1053
1053
  models/scheduling-policy-type.ts
1054
1054
  models/select-module-mode.ts
1055
+ models/selected-object-conversion-strategy.ts
1055
1056
  models/selected-object-option-convert-to-parameters-inner.ts
1056
1057
  models/selected-object-option-tree-level-order-inner.ts
1057
1058
  models/selected-object-option-tree.ts
@@ -802,7 +802,7 @@ export const BackupApiAxiosParamCreator = function (configuration?: Configuratio
802
802
  * @summary List objects tree for selective backup
803
803
  * @param {string} orgName name of the org
804
804
  * @param {string} clusterName name of the cluster
805
- * @param {string} [database] database name
805
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
806
806
  * @param {*} [options] Override http request option.
807
807
  * @throws {RequiredError}
808
808
  */
@@ -1238,7 +1238,7 @@ export const BackupApiFp = function(configuration?: Configuration) {
1238
1238
  * @summary List objects tree for selective backup
1239
1239
  * @param {string} orgName name of the org
1240
1240
  * @param {string} clusterName name of the cluster
1241
- * @param {string} [database] database name
1241
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
1242
1242
  * @param {*} [options] Override http request option.
1243
1243
  * @throws {RequiredError}
1244
1244
  */
@@ -2131,7 +2131,7 @@ export interface BackupApiListObjectsTreeForSelectiveBackupRequest {
2131
2131
  readonly clusterName: string
2132
2132
 
2133
2133
  /**
2134
- * database name
2134
+ * Database name for engines configured to switch the object tree by database.
2135
2135
  * @type {string}
2136
2136
  * @memberof BackupApiListObjectsTreeForSelectiveBackup
2137
2137
  */
@@ -12071,7 +12071,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
12071
12071
  * @summary List objects tree for selective backup
12072
12072
  * @param {string} orgName name of the org
12073
12073
  * @param {string} clusterName name of the cluster
12074
- * @param {string} [database] database name
12074
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
12075
12075
  * @param {*} [options] Override http request option.
12076
12076
  * @throws {RequiredError}
12077
12077
  */
@@ -23679,7 +23679,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
23679
23679
  * @summary List objects tree for selective backup
23680
23680
  * @param {string} orgName name of the org
23681
23681
  * @param {string} clusterName name of the cluster
23682
- * @param {string} [database] database name
23682
+ * @param {string} [database] Database name for engines configured to switch the object tree by database.
23683
23683
  * @param {*} [options] Override http request option.
23684
23684
  * @throws {RequiredError}
23685
23685
  */
@@ -40388,7 +40388,7 @@ export interface SharedApiListObjectsTreeForSelectiveBackupRequest {
40388
40388
  readonly clusterName: string
40389
40389
 
40390
40390
  /**
40391
- * database name
40391
+ * Database name for engines configured to switch the object tree by database.
40392
40392
  * @type {string}
40393
40393
  * @memberof SharedApiListObjectsTreeForSelectiveBackup
40394
40394
  */
@@ -955,6 +955,7 @@ export * from './role-update';
955
955
  export * from './scheduler-option';
956
956
  export * from './scheduling-policy-type';
957
957
  export * from './select-module-mode';
958
+ export * from './selected-object-conversion-strategy';
958
959
  export * from './selected-object-option';
959
960
  export * from './selected-object-option-convert-to-parameters-inner';
960
961
  export * from './selected-object-option-tree';
@@ -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
+ * Strategy for converting the selected tree to parameters. levelMapping maps every configured level and applies skipWhenParentLevelsSelectedAll. wholeObject merges duplicate branches and maps only whole selected nodes (selectedAll or leaves), omitting covered descendants. Defaults to levelMapping when omitted.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const SelectedObjectConversionStrategy = {
24
+ levelMapping: 'levelMapping',
25
+ wholeObject: 'wholeObject'
26
+ } as const;
27
+
28
+ export type SelectedObjectConversionStrategy = typeof SelectedObjectConversionStrategy[keyof typeof SelectedObjectConversionStrategy];
29
+
30
+
31
+
@@ -30,7 +30,7 @@ export interface SelectedObjectOptionTree {
30
30
  */
31
31
  'switchWithDatabase'?: boolean;
32
32
  /**
33
- * The SQL query to retrieve the object tree
33
+ * The engine-native query returning the columns used to build the object tree.
34
34
  * @type {string}
35
35
  * @memberof SelectedObjectOptionTree
36
36
  */
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SelectedObjectConversionStrategy } from './selected-object-conversion-strategy';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { SelectedObjectOptionConvertToParametersInner } from './selected-object-option-convert-to-parameters-inner';
@@ -26,6 +29,12 @@ import type { SelectedObjectOptionTree } from './selected-object-option-tree';
26
29
  * @interface SelectedObjectOption
27
30
  */
28
31
  export interface SelectedObjectOption {
32
+ /**
33
+ *
34
+ * @type {SelectedObjectConversionStrategy}
35
+ * @memberof SelectedObjectOption
36
+ */
37
+ 'conversionStrategy'?: SelectedObjectConversionStrategy;
29
38
  /**
30
39
  *
31
40
  * @type {SelectedObjectOptionTree}
@@ -40,3 +49,5 @@ export interface SelectedObjectOption {
40
49
  'convertToParameters'?: Array<SelectedObjectOptionConvertToParametersInner>;
41
50
  }
42
51
 
52
+
53
+