@alicloud/gpdb20160503 3.7.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 +160 -34
- package/dist/client.js +367 -34
- package/dist/client.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseRequest.d.ts +68 -111
- package/dist/models/ChatWithKnowledgeBaseRequest.js +2 -0
- package/dist/models/ChatWithKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseResponseBody.d.ts +45 -52
- package/dist/models/ChatWithKnowledgeBaseResponseBody.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseShrinkRequest.d.ts +5 -6
- package/dist/models/ChatWithKnowledgeBaseShrinkRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.d.ts +71 -87
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.js +2 -0
- package/dist/models/ChatWithKnowledgeBaseStreamRequest.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.d.ts +44 -50
- package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamShrinkRequest.d.ts +6 -6
- package/dist/models/PauseSaasServiceRequest.d.ts +26 -0
- package/dist/models/PauseSaasServiceRequest.js +60 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -0
- package/dist/models/PauseSaasServiceResponse.d.ts +19 -0
- package/dist/models/PauseSaasServiceResponse.js +69 -0
- package/dist/models/PauseSaasServiceResponse.js.map +1 -0
- package/dist/models/PauseSaasServiceResponseBody.d.ts +23 -0
- package/dist/models/PauseSaasServiceResponseBody.js +60 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -0
- package/dist/models/QueryContentAdvanceRequest.d.ts +57 -70
- package/dist/models/QueryContentAdvanceRequest.js +2 -0
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +57 -70
- package/dist/models/QueryContentRequest.js +2 -0
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +10 -11
- package/dist/models/QueryContentResponseBody.js.map +1 -1
- package/dist/models/QueryContentShrinkRequest.d.ts +52 -66
- package/dist/models/QueryContentShrinkRequest.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +62 -78
- package/dist/models/QueryKnowledgeBasesContentRequest.js +2 -0
- package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +11 -25
- package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +11 -15
- package/dist/models/QueryKnowledgeBasesContentShrinkRequest.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/ResumeSaasServiceRequest.d.ts +26 -0
- package/dist/models/ResumeSaasServiceRequest.js +60 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -0
- package/dist/models/ResumeSaasServiceResponse.d.ts +19 -0
- package/dist/models/ResumeSaasServiceResponse.js +69 -0
- package/dist/models/ResumeSaasServiceResponse.js.map +1 -0
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +23 -0
- package/dist/models/ResumeSaasServiceResponseBody.js +60 -0
- package/dist/models/ResumeSaasServiceResponseBody.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 +19 -0
- package/dist/models/model.js +56 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +406 -34
- package/src/models/ChatWithKnowledgeBaseRequest.ts +70 -111
- package/src/models/ChatWithKnowledgeBaseResponseBody.ts +45 -52
- package/src/models/ChatWithKnowledgeBaseShrinkRequest.ts +5 -6
- package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +73 -87
- package/src/models/ChatWithKnowledgeBaseStreamResponseBody.ts +44 -50
- package/src/models/ChatWithKnowledgeBaseStreamShrinkRequest.ts +6 -6
- package/src/models/PauseSaasServiceRequest.ts +41 -0
- package/src/models/PauseSaasServiceResponse.ts +40 -0
- package/src/models/PauseSaasServiceResponseBody.ts +38 -0
- package/src/models/QueryContentAdvanceRequest.ts +60 -71
- package/src/models/QueryContentRequest.ts +60 -71
- package/src/models/QueryContentResponseBody.ts +10 -11
- package/src/models/QueryContentShrinkRequest.ts +53 -67
- package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -78
- package/src/models/QueryKnowledgeBasesContentResponseBody.ts +11 -25
- package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +11 -15
- 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/ResumeSaasServiceRequest.ts +41 -0
- package/src/models/ResumeSaasServiceResponse.ts +40 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +38 -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 +19 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ResetBranchResponseBody } from "./ResetBranchResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ResetBranchResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ResetBranchResponseBody;
|
|
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: ResetBranchResponseBody,
|
|
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 ResetBranchResponseBody 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,110 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RestoreBranchRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The branch ID that uniquely identifies a Supabase branch.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* br-xxxx
|
|
14
|
+
*/
|
|
15
|
+
branchId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The client idempotency token that ensures the idempotence of retry requests.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 123e4567-e89b-12d3-a456-426614174000
|
|
22
|
+
*/
|
|
23
|
+
clientToken?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The backup branch name. If specified, automatic creation of a backup branch is performed before recovery.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* backup-main
|
|
30
|
+
*/
|
|
31
|
+
preserveUnderName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The Supabase project ID associated with the primary branch.
|
|
35
|
+
*
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* spb-xxxx
|
|
40
|
+
*/
|
|
41
|
+
projectId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region is inherited from the primary branch by default.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* cn-beijing
|
|
48
|
+
*/
|
|
49
|
+
regionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The ID of the source branch from which to recover.
|
|
53
|
+
*
|
|
54
|
+
* This parameter is required.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* br-main
|
|
58
|
+
*/
|
|
59
|
+
sourceBranchId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The LSN of the source branch to recover to.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* 0/3522648
|
|
66
|
+
*/
|
|
67
|
+
sourceBranchLsn?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The point in time of the source branch to recover to. The value must be within the recoverable time window.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* 2026-04-08T09:11:12Z
|
|
74
|
+
*/
|
|
75
|
+
sourceBranchTimestamp?: string;
|
|
76
|
+
static names(): { [key: string]: string } {
|
|
77
|
+
return {
|
|
78
|
+
branchId: 'BranchId',
|
|
79
|
+
clientToken: 'ClientToken',
|
|
80
|
+
preserveUnderName: 'PreserveUnderName',
|
|
81
|
+
projectId: 'ProjectId',
|
|
82
|
+
regionId: 'RegionId',
|
|
83
|
+
sourceBranchId: 'SourceBranchId',
|
|
84
|
+
sourceBranchLsn: 'SourceBranchLsn',
|
|
85
|
+
sourceBranchTimestamp: 'SourceBranchTimestamp',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
static types(): { [key: string]: any } {
|
|
90
|
+
return {
|
|
91
|
+
branchId: 'string',
|
|
92
|
+
clientToken: 'string',
|
|
93
|
+
preserveUnderName: 'string',
|
|
94
|
+
projectId: 'string',
|
|
95
|
+
regionId: 'string',
|
|
96
|
+
sourceBranchId: 'string',
|
|
97
|
+
sourceBranchLsn: 'string',
|
|
98
|
+
sourceBranchTimestamp: 'string',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
validate() {
|
|
103
|
+
super.validate();
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
constructor(map?: { [key: string]: any }) {
|
|
107
|
+
super(map);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RestoreBranchResponseBody } from "./RestoreBranchResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RestoreBranchResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: RestoreBranchResponseBody;
|
|
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: RestoreBranchResponseBody,
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RestoreBranchResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The branch ID that uniquely identifies a Supabase branch.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* br-xxxx
|
|
12
|
+
*/
|
|
13
|
+
branchId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ABB39CC3-4488-4857-905D-2E4A051D****
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
branchId: 'BranchId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
branchId: 'string',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ResumeSaasServiceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* agdb-xxxxx
|
|
17
|
+
*/
|
|
18
|
+
serviceId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
regionId: 'RegionId',
|
|
22
|
+
serviceId: 'ServiceId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
regionId: 'string',
|
|
29
|
+
serviceId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ResumeSaasServiceResponseBody } from "./ResumeSaasServiceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ResumeSaasServiceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ResumeSaasServiceResponseBody;
|
|
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: ResumeSaasServiceResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ResumeSaasServiceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* drama-123456
|
|
14
|
+
*/
|
|
15
|
+
serviceId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
requestId: 'RequestId',
|
|
19
|
+
serviceId: 'ServiceId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
requestId: 'string',
|
|
26
|
+
serviceId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetAsDefaultBranchRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The branch ID that uniquely identifies a Supabase branch.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* br-xxxx
|
|
14
|
+
*/
|
|
15
|
+
branchId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the Supabase project that corresponds to the primary branch.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* spb-xxxx
|
|
24
|
+
*/
|
|
25
|
+
projectId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, this parameter inherits the region of the primary branch by default.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* cn-beijing
|
|
32
|
+
*/
|
|
33
|
+
regionId?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
branchId: 'BranchId',
|
|
37
|
+
projectId: 'ProjectId',
|
|
38
|
+
regionId: 'RegionId',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
branchId: 'string',
|
|
45
|
+
projectId: 'string',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -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
|
+
|