kb-cloud-client-typescript 2.3.78 → 2.3.79

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.
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
15
+ * Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
@@ -51,6 +51,12 @@ export interface ParametersValueValue {
51
51
  * @memberof ParametersValueValue
52
52
  */
53
53
  'type'?: ParametersValueValueTypeEnum;
54
+ /**
55
+ * The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
56
+ * @type {string}
57
+ * @memberof ParametersValueValue
58
+ */
59
+ 'dateFormat'?: string;
54
60
  /**
55
61
  *
56
62
  * @type {number}
@@ -67,6 +73,7 @@ export interface ParametersValueValue {
67
73
  export declare const ParametersValueValueTypeEnum: {
68
74
  readonly enum: "enum";
69
75
  readonly number: "number";
76
+ readonly date: "date";
70
77
  };
71
78
  export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
72
79
  //# sourceMappingURL=parameters-value-value.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters-value-value.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/parameters-value-value.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"parameters-value-value.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/parameters-value-value.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ParametersValueValueTypeEnum = void 0;
17
17
  exports.ParametersValueValueTypeEnum = {
18
18
  enum: 'enum',
19
- number: 'number'
19
+ number: 'number',
20
+ date: 'date'
20
21
  };
21
22
  //# sourceMappingURL=parameters-value-value.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters-value-value.js","sourceRoot":"","sources":["../../../src/adminapi/models/parameters-value-value.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsDU,QAAA,4BAA4B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACV,CAAC"}
1
+ {"version":3,"file":"parameters-value-value.js","sourceRoot":"","sources":["../../../src/adminapi/models/parameters-value-value.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4DU,QAAA,4BAA4B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
15
+ * Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
@@ -51,6 +51,12 @@ export interface ParametersValueValue {
51
51
  * @memberof ParametersValueValue
52
52
  */
53
53
  'type'?: ParametersValueValueTypeEnum;
54
+ /**
55
+ * The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
56
+ * @type {string}
57
+ * @memberof ParametersValueValue
58
+ */
59
+ 'dateFormat'?: string;
54
60
  /**
55
61
  *
56
62
  * @type {number}
@@ -67,6 +73,7 @@ export interface ParametersValueValue {
67
73
  export declare const ParametersValueValueTypeEnum: {
68
74
  readonly enum: "enum";
69
75
  readonly number: "number";
76
+ readonly date: "date";
70
77
  };
71
78
  export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
72
79
  //# sourceMappingURL=parameters-value-value.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters-value-value.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/parameters-value-value.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"parameters-value-value.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/parameters-value-value.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ParametersValueValueTypeEnum = void 0;
17
17
  exports.ParametersValueValueTypeEnum = {
18
18
  enum: 'enum',
19
- number: 'number'
19
+ number: 'number',
20
+ date: 'date'
20
21
  };
21
22
  //# sourceMappingURL=parameters-value-value.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters-value-value.js","sourceRoot":"","sources":["../../../src/openapi/models/parameters-value-value.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsDU,QAAA,4BAA4B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACV,CAAC"}
1
+ {"version":3,"file":"parameters-value-value.js","sourceRoot":"","sources":["../../../src/openapi/models/parameters-value-value.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4DU,QAAA,4BAA4B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.78",
3
+ "version": "2.3.79",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
24
+ * Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
@@ -50,6 +50,12 @@ export interface ParametersValueValue {
50
50
  * @memberof ParametersValueValue
51
51
  */
52
52
  'type'?: ParametersValueValueTypeEnum;
53
+ /**
54
+ * The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
55
+ * @type {string}
56
+ * @memberof ParametersValueValue
57
+ */
58
+ 'dateFormat'?: string;
53
59
  /**
54
60
  *
55
61
  * @type {number}
@@ -66,7 +72,8 @@ export interface ParametersValueValue {
66
72
 
67
73
  export const ParametersValueValueTypeEnum = {
68
74
  enum: 'enum',
69
- number: 'number'
75
+ number: 'number',
76
+ date: 'date'
70
77
  } as const;
71
78
 
72
79
  export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
package/src/adminapi.yaml CHANGED
@@ -37146,7 +37146,7 @@ components:
37146
37146
  minLength: 1
37147
37147
  maxLength: 32
37148
37148
  opsUpgrade:
37149
- description: Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
37149
+ description: Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
37150
37150
  properties:
37151
37151
  version:
37152
37152
  type: string
@@ -42104,6 +42104,10 @@ components:
42104
42104
  enum:
42105
42105
  - enum
42106
42106
  - number
42107
+ - date
42108
+ dateFormat:
42109
+ type: string
42110
+ description: The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
42107
42111
  min:
42108
42112
  type: number
42109
42113
  max:
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
24
+ * Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
@@ -50,6 +50,12 @@ export interface ParametersValueValue {
50
50
  * @memberof ParametersValueValue
51
51
  */
52
52
  'type'?: ParametersValueValueTypeEnum;
53
+ /**
54
+ * The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
55
+ * @type {string}
56
+ * @memberof ParametersValueValue
57
+ */
58
+ 'dateFormat'?: string;
53
59
  /**
54
60
  *
55
61
  * @type {number}
@@ -66,7 +72,8 @@ export interface ParametersValueValue {
66
72
 
67
73
  export const ParametersValueValueTypeEnum = {
68
74
  enum: 'enum',
69
- number: 'number'
75
+ number: 'number',
76
+ date: 'date'
70
77
  } as const;
71
78
 
72
79
  export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
package/src/openapi.yaml CHANGED
@@ -29105,7 +29105,7 @@ components:
29105
29105
  minLength: 1
29106
29106
  maxLength: 32
29107
29107
  opsUpgrade:
29108
- description: Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
29108
+ description: Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
29109
29109
  properties:
29110
29110
  version:
29111
29111
  type: string
@@ -35280,6 +35280,10 @@ components:
35280
35280
  enum:
35281
35281
  - enum
35282
35282
  - number
35283
+ - date
35284
+ dateFormat:
35285
+ type: string
35286
+ description: The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
35283
35287
  min:
35284
35288
  type: number
35285
35289
  max: