@daocloud-proto/mcamel-mysql 0.3.1-1 → 0.3.1-4

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 (2) hide show
  1. package/mysql.pb.ts +35 -11
  2. package/package.json +1 -1
package/mysql.pb.ts CHANGED
@@ -32,10 +32,20 @@ export enum GetMysqlBackupJobListReqSortDir {
32
32
  DESC = "DESC",
33
33
  }
34
34
 
35
- export enum GetMysqlBackupListRespGetMysqlBackupItemStatusStatus {
36
- Failed = "Failed",
35
+ export enum MysqlBackupItemStatusStatus {
37
36
  Running = "Running",
38
- Complete = "Complete",
37
+ Failed = "Failed",
38
+ Succeeded = "Succeeded",
39
+ }
40
+
41
+ export enum MysqlBackupItemStatusBackupType {
42
+ Full = "Full",
43
+ Incremental = "Incremental",
44
+ }
45
+
46
+ export enum MysqlBackupItemStatusBackupMethod {
47
+ Manual = "Manual",
48
+ Auto = "Auto",
39
49
  }
40
50
 
41
51
  export enum GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpecJobType {
@@ -166,19 +176,33 @@ export type GetMysqlBackupProviderListReq = {
166
176
  workspaceId?: number
167
177
  }
168
178
 
169
- export type GetMysqlBackupListRespGetMysqlBackupItemStatus = {
170
- status?: GetMysqlBackupListRespGetMysqlBackupItemStatusStatus
171
- message?: string
179
+ export type GetMysqlBackupListResp = {
180
+ items?: MysqlBackupItem[]
181
+ pagination?: CommonCommon.Pagination
182
+ }
183
+
184
+ export type MysqlBackupItemMetadata = {
185
+ annotations?: {[key: string]: string}
186
+ creationTimestamp?: string
187
+ name?: string
188
+ namespace?: string
172
189
  }
173
190
 
174
- export type GetMysqlBackupListRespGetMysqlBackupItem = {
191
+ export type MysqlBackupItem = {
192
+ apiVersion?: string
193
+ kind?: string
194
+ metadata?: MysqlBackupItemMetadata
175
195
  spec?: CreateMysqlBackupReq
176
- status?: GetMysqlBackupListRespGetMysqlBackupItemStatus
196
+ status?: MysqlBackupItemStatus
177
197
  }
178
198
 
179
- export type GetMysqlBackupListResp = {
180
- items?: GetMysqlBackupListRespGetMysqlBackupItem[]
181
- pagination?: CommonCommon.Pagination
199
+ export type MysqlBackupItemStatus = {
200
+ status?: MysqlBackupItemStatusStatus
201
+ message?: string
202
+ backupUrl?: string
203
+ backupType?: MysqlBackupItemStatusBackupType
204
+ backupMethod?: MysqlBackupItemStatusBackupMethod
205
+ completionTimestamp?: string
182
206
  }
183
207
 
184
208
  export type GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpec = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-mysql",
3
- "version":"0.3.1-1",
3
+ "version":"0.3.1-4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {