@alicloud/gpdb20160503 3.8.0 → 3.9.0
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.
- package/dist/client.d.ts +84 -0
- package/dist/client.js +237 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ResetBranchRequest.d.ts +41 -0
- package/dist/models/ResetBranchRequest.js +62 -0
- package/dist/models/ResetBranchRequest.js.map +1 -0
- package/dist/models/ResetBranchResponse.d.ts +19 -0
- package/dist/models/ResetBranchResponse.js +69 -0
- package/dist/models/ResetBranchResponse.js.map +1 -0
- package/dist/models/ResetBranchResponseBody.d.ts +21 -0
- package/dist/models/ResetBranchResponseBody.js +58 -0
- package/dist/models/ResetBranchResponseBody.js.map +1 -0
- package/dist/models/RestoreBranchRequest.d.ts +83 -0
- package/dist/models/RestoreBranchRequest.js +72 -0
- package/dist/models/RestoreBranchRequest.js.map +1 -0
- package/dist/models/RestoreBranchResponse.d.ts +19 -0
- package/dist/models/RestoreBranchResponse.js +69 -0
- package/dist/models/RestoreBranchResponse.js.map +1 -0
- package/dist/models/RestoreBranchResponseBody.d.ts +29 -0
- package/dist/models/RestoreBranchResponseBody.js +60 -0
- package/dist/models/RestoreBranchResponseBody.js.map +1 -0
- package/dist/models/SetAsDefaultBranchRequest.d.ts +41 -0
- package/dist/models/SetAsDefaultBranchRequest.js +62 -0
- package/dist/models/SetAsDefaultBranchRequest.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponse.d.ts +19 -0
- package/dist/models/SetAsDefaultBranchResponse.js +69 -0
- package/dist/models/SetAsDefaultBranchResponse.js.map +1 -0
- package/dist/models/SetAsDefaultBranchResponseBody.d.ts +21 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js +58 -0
- package/dist/models/SetAsDefaultBranchResponseBody.js.map +1 -0
- package/dist/models/UpdateBranchRequest.d.ts +126 -0
- package/dist/models/UpdateBranchRequest.js +98 -0
- package/dist/models/UpdateBranchRequest.js.map +1 -0
- package/dist/models/UpdateBranchResponse.d.ts +19 -0
- package/dist/models/UpdateBranchResponse.js +69 -0
- package/dist/models/UpdateBranchResponse.js.map +1 -0
- package/dist/models/UpdateBranchResponseBody.d.ts +21 -0
- package/dist/models/UpdateBranchResponseBody.js +58 -0
- package/dist/models/UpdateBranchResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +44 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +268 -0
- package/src/models/ResetBranchRequest.ts +58 -0
- package/src/models/ResetBranchResponse.ts +40 -0
- package/src/models/ResetBranchResponseBody.ts +34 -0
- package/src/models/RestoreBranchRequest.ts +110 -0
- package/src/models/RestoreBranchResponse.ts +40 -0
- package/src/models/RestoreBranchResponseBody.ts +44 -0
- package/src/models/SetAsDefaultBranchRequest.ts +58 -0
- package/src/models/SetAsDefaultBranchResponse.ts +40 -0
- package/src/models/SetAsDefaultBranchResponseBody.ts +34 -0
- package/src/models/UpdateBranchRequest.ts +170 -0
- package/src/models/UpdateBranchResponse.ts +40 -0
- package/src/models/UpdateBranchResponseBody.ts +34 -0
- package/src/models/model.ts +13 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SetAsDefaultBranchResponseBody } from "./SetAsDefaultBranchResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SetAsDefaultBranchResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SetAsDefaultBranchResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: SetAsDefaultBranchResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetAsDefaultBranchResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ABB39CC3-4488-4857-905D-2E4A051D****
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateBranchRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* env
|
|
12
|
+
*/
|
|
13
|
+
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* dev
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
key: 'Key',
|
|
25
|
+
value: 'Value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
key: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class UpdateBranchRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The branch ID that uniquely identifies a Supabase branch.
|
|
49
|
+
*
|
|
50
|
+
* This parameter is required.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* br-xxxx
|
|
54
|
+
*/
|
|
55
|
+
branchId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The branch name.
|
|
59
|
+
*
|
|
60
|
+
* This parameter is required.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* dev
|
|
64
|
+
*/
|
|
65
|
+
branchName?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* Specifies whether to clear the branch expiration time.
|
|
69
|
+
*
|
|
70
|
+
* Valid values:
|
|
71
|
+
* - true: Clears ExpiresAt.
|
|
72
|
+
* - false: Does not clear ExpiresAt.
|
|
73
|
+
*
|
|
74
|
+
* If this parameter is not specified, the existing expiration time remains unchanged.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* false
|
|
78
|
+
*/
|
|
79
|
+
clearExpiresAt?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The branch description.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* test branch
|
|
86
|
+
*/
|
|
87
|
+
description?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The time when the branch automatically expires and is deleted. The value is in ISO 8601 UTC format.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* 2026-10-08T09:11:12Z
|
|
94
|
+
*/
|
|
95
|
+
expiresAt?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The Supabase project ID that corresponds to the primary branch.
|
|
99
|
+
*
|
|
100
|
+
* This parameter is required.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* spb-xxxx
|
|
104
|
+
*/
|
|
105
|
+
projectId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* Specifies whether to enable branch protection.
|
|
109
|
+
*
|
|
110
|
+
* Valid values:
|
|
111
|
+
* - true: Branch protection is enabled.
|
|
112
|
+
* - false: Branch protection is disabled. This is the default value.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* false
|
|
116
|
+
*/
|
|
117
|
+
protected?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region of the primary branch is inherited by default.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* cn-beijing
|
|
124
|
+
*/
|
|
125
|
+
regionId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The list of branch tags.
|
|
129
|
+
*/
|
|
130
|
+
tag?: UpdateBranchRequestTag[];
|
|
131
|
+
static names(): { [key: string]: string } {
|
|
132
|
+
return {
|
|
133
|
+
branchId: 'BranchId',
|
|
134
|
+
branchName: 'BranchName',
|
|
135
|
+
clearExpiresAt: 'ClearExpiresAt',
|
|
136
|
+
description: 'Description',
|
|
137
|
+
expiresAt: 'ExpiresAt',
|
|
138
|
+
projectId: 'ProjectId',
|
|
139
|
+
protected: 'Protected',
|
|
140
|
+
regionId: 'RegionId',
|
|
141
|
+
tag: 'Tag',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
static types(): { [key: string]: any } {
|
|
146
|
+
return {
|
|
147
|
+
branchId: 'string',
|
|
148
|
+
branchName: 'string',
|
|
149
|
+
clearExpiresAt: 'boolean',
|
|
150
|
+
description: 'string',
|
|
151
|
+
expiresAt: 'string',
|
|
152
|
+
projectId: 'string',
|
|
153
|
+
protected: 'boolean',
|
|
154
|
+
regionId: 'string',
|
|
155
|
+
tag: { 'type': 'array', 'itemType': UpdateBranchRequestTag },
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
validate() {
|
|
160
|
+
if(Array.isArray(this.tag)) {
|
|
161
|
+
$dara.Model.validateArray(this.tag);
|
|
162
|
+
}
|
|
163
|
+
super.validate();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateBranchResponseBody } from "./UpdateBranchResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateBranchResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateBranchResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateBranchResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateBranchResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ABB39CC3-4488-4857-905D-2E4A051D****
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -262,6 +262,7 @@ export { TagSupabaseProjectRequestTag } from './TagSupabaseProjectRequest';
|
|
|
262
262
|
export { TextEmbeddingResponseBodyResultsResultsEmbedding } from './TextEmbeddingResponseBody';
|
|
263
263
|
export { TextEmbeddingResponseBodyResultsResults } from './TextEmbeddingResponseBody';
|
|
264
264
|
export { TextEmbeddingResponseBodyResults } from './TextEmbeddingResponseBody';
|
|
265
|
+
export { UpdateBranchRequestTag } from './UpdateBranchRequest';
|
|
265
266
|
export { UpsertChunksRequestTextChunks } from './UpsertChunksRequest';
|
|
266
267
|
export { UpsertCollectionDataRequestRowsSparseVector } from './UpsertCollectionDataRequest';
|
|
267
268
|
export { UpsertCollectionDataRequestRows } from './UpsertCollectionDataRequest';
|
|
@@ -1019,6 +1020,9 @@ export { RerankResponse } from './RerankResponse';
|
|
|
1019
1020
|
export { ResetAccountPasswordRequest } from './ResetAccountPasswordRequest';
|
|
1020
1021
|
export { ResetAccountPasswordResponseBody } from './ResetAccountPasswordResponseBody';
|
|
1021
1022
|
export { ResetAccountPasswordResponse } from './ResetAccountPasswordResponse';
|
|
1023
|
+
export { ResetBranchRequest } from './ResetBranchRequest';
|
|
1024
|
+
export { ResetBranchResponseBody } from './ResetBranchResponseBody';
|
|
1025
|
+
export { ResetBranchResponse } from './ResetBranchResponse';
|
|
1022
1026
|
export { ResetIMVMonitorDataRequest } from './ResetImvmonitorDataRequest';
|
|
1023
1027
|
export { ResetIMVMonitorDataResponseBody } from './ResetImvmonitorDataResponseBody';
|
|
1024
1028
|
export { ResetIMVMonitorDataResponse } from './ResetImvmonitorDataResponse';
|
|
@@ -1031,6 +1035,9 @@ export { RestartDBInstanceResponse } from './RestartDbinstanceResponse';
|
|
|
1031
1035
|
export { RestartSupabaseProjectRequest } from './RestartSupabaseProjectRequest';
|
|
1032
1036
|
export { RestartSupabaseProjectResponseBody } from './RestartSupabaseProjectResponseBody';
|
|
1033
1037
|
export { RestartSupabaseProjectResponse } from './RestartSupabaseProjectResponse';
|
|
1038
|
+
export { RestoreBranchRequest } from './RestoreBranchRequest';
|
|
1039
|
+
export { RestoreBranchResponseBody } from './RestoreBranchResponseBody';
|
|
1040
|
+
export { RestoreBranchResponse } from './RestoreBranchResponse';
|
|
1034
1041
|
export { RestoreSnapshotRequest } from './RestoreSnapshotRequest';
|
|
1035
1042
|
export { RestoreSnapshotResponseBody } from './RestoreSnapshotResponseBody';
|
|
1036
1043
|
export { RestoreSnapshotResponse } from './RestoreSnapshotResponse';
|
|
@@ -1046,6 +1053,9 @@ export { ResumeSaasServiceResponse } from './ResumeSaasServiceResponse';
|
|
|
1046
1053
|
export { ResumeSupabaseProjectRequest } from './ResumeSupabaseProjectRequest';
|
|
1047
1054
|
export { ResumeSupabaseProjectResponseBody } from './ResumeSupabaseProjectResponseBody';
|
|
1048
1055
|
export { ResumeSupabaseProjectResponse } from './ResumeSupabaseProjectResponse';
|
|
1056
|
+
export { SetAsDefaultBranchRequest } from './SetAsDefaultBranchRequest';
|
|
1057
|
+
export { SetAsDefaultBranchResponseBody } from './SetAsDefaultBranchResponseBody';
|
|
1058
|
+
export { SetAsDefaultBranchResponse } from './SetAsDefaultBranchResponse';
|
|
1049
1059
|
export { SetDBInstancePlanStatusRequest } from './SetDbinstancePlanStatusRequest';
|
|
1050
1060
|
export { SetDBInstancePlanStatusResponseBody } from './SetDbinstancePlanStatusResponseBody';
|
|
1051
1061
|
export { SetDBInstancePlanStatusResponse } from './SetDbinstancePlanStatusResponse';
|
|
@@ -1079,6 +1089,9 @@ export { UntagResourcesResponse } from './UntagResourcesResponse';
|
|
|
1079
1089
|
export { UntagSupabaseProjectRequest } from './UntagSupabaseProjectRequest';
|
|
1080
1090
|
export { UntagSupabaseProjectResponseBody } from './UntagSupabaseProjectResponseBody';
|
|
1081
1091
|
export { UntagSupabaseProjectResponse } from './UntagSupabaseProjectResponse';
|
|
1092
|
+
export { UpdateBranchRequest } from './UpdateBranchRequest';
|
|
1093
|
+
export { UpdateBranchResponseBody } from './UpdateBranchResponseBody';
|
|
1094
|
+
export { UpdateBranchResponse } from './UpdateBranchResponse';
|
|
1082
1095
|
export { UpdateCollectionDataMetadataRequest } from './UpdateCollectionDataMetadataRequest';
|
|
1083
1096
|
export { UpdateCollectionDataMetadataShrinkRequest } from './UpdateCollectionDataMetadataShrinkRequest';
|
|
1084
1097
|
export { UpdateCollectionDataMetadataResponseBody } from './UpdateCollectionDataMetadataResponseBody';
|