@alicloud/bailian20231229 2.2.0 → 2.4.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.
Files changed (49) hide show
  1. package/dist/client.d.ts +54 -0
  2. package/dist/client.js +140 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteChunkRequest.d.ts +26 -0
  5. package/dist/models/DeleteChunkRequest.js +63 -0
  6. package/dist/models/DeleteChunkRequest.js.map +1 -0
  7. package/dist/models/DeleteChunkResponse.d.ts +19 -0
  8. package/dist/models/DeleteChunkResponse.js +69 -0
  9. package/dist/models/DeleteChunkResponse.js.map +1 -0
  10. package/dist/models/DeleteChunkResponseBody.d.ts +46 -0
  11. package/dist/models/DeleteChunkResponseBody.js +68 -0
  12. package/dist/models/DeleteChunkResponseBody.js.map +1 -0
  13. package/dist/models/DeleteChunkShrinkRequest.d.ts +26 -0
  14. package/dist/models/DeleteChunkShrinkRequest.js +60 -0
  15. package/dist/models/DeleteChunkShrinkRequest.js.map +1 -0
  16. package/dist/models/GetAlipayTransferStatusRequest.d.ts +23 -0
  17. package/dist/models/GetAlipayTransferStatusRequest.js +60 -0
  18. package/dist/models/GetAlipayTransferStatusRequest.js.map +1 -0
  19. package/dist/models/GetAlipayTransferStatusResponse.d.ts +19 -0
  20. package/dist/models/GetAlipayTransferStatusResponse.js +69 -0
  21. package/dist/models/GetAlipayTransferStatusResponse.js.map +1 -0
  22. package/dist/models/GetAlipayTransferStatusResponseBody.d.ts +60 -0
  23. package/dist/models/GetAlipayTransferStatusResponseBody.js +106 -0
  24. package/dist/models/GetAlipayTransferStatusResponseBody.js.map +1 -0
  25. package/dist/models/GetAlipayUrlRequest.d.ts +15 -0
  26. package/dist/models/GetAlipayUrlRequest.js +60 -0
  27. package/dist/models/GetAlipayUrlRequest.js.map +1 -0
  28. package/dist/models/GetAlipayUrlResponse.d.ts +19 -0
  29. package/dist/models/GetAlipayUrlResponse.js +69 -0
  30. package/dist/models/GetAlipayUrlResponse.js.map +1 -0
  31. package/dist/models/GetAlipayUrlResponseBody.d.ts +37 -0
  32. package/dist/models/GetAlipayUrlResponseBody.js +84 -0
  33. package/dist/models/GetAlipayUrlResponseBody.js.map +1 -0
  34. package/dist/models/model.d.ts +12 -0
  35. package/dist/models/model.js +29 -5
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +153 -0
  39. package/src/models/DeleteChunkRequest.ts +44 -0
  40. package/src/models/DeleteChunkResponse.ts +40 -0
  41. package/src/models/DeleteChunkResponseBody.ts +69 -0
  42. package/src/models/DeleteChunkShrinkRequest.ts +41 -0
  43. package/src/models/GetAlipayTransferStatusRequest.ts +38 -0
  44. package/src/models/GetAlipayTransferStatusResponse.ts +40 -0
  45. package/src/models/GetAlipayTransferStatusResponseBody.ts +112 -0
  46. package/src/models/GetAlipayUrlRequest.ts +30 -0
  47. package/src/models/GetAlipayUrlResponse.ts +40 -0
  48. package/src/models/GetAlipayUrlResponseBody.ts +67 -0
  49. package/src/models/model.ts +12 -0
@@ -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 DeleteChunkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ chunkIds?: string[];
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 79c0alxxxx
17
+ */
18
+ pipelineId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ chunkIds: 'ChunkIds',
22
+ pipelineId: 'PipelineId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ chunkIds: { 'type': 'array', 'itemType': 'string' },
29
+ pipelineId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ if(Array.isArray(this.chunkIds)) {
35
+ $dara.Model.validateArray(this.chunkIds);
36
+ }
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteChunkResponseBody } from "./DeleteChunkResponseBody";
4
+
5
+
6
+ export class DeleteChunkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteChunkResponseBody;
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: DeleteChunkResponseBody,
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,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteChunkResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * InvalidParameter
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * true
14
+ */
15
+ data?: boolean;
16
+ /**
17
+ * @example
18
+ * Required parameter(%s) missing or invalid, please check the request parameters.
19
+ */
20
+ message?: string;
21
+ /**
22
+ * @remarks
23
+ * Id of the request
24
+ *
25
+ * @example
26
+ * 35A267BF-xxxx-54DB-8394-AA3B0742D833
27
+ */
28
+ requestId?: string;
29
+ /**
30
+ * @example
31
+ * 200
32
+ */
33
+ status?: string;
34
+ /**
35
+ * @example
36
+ * true
37
+ */
38
+ success?: boolean;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ code: 'Code',
42
+ data: 'Data',
43
+ message: 'Message',
44
+ requestId: 'RequestId',
45
+ status: 'Status',
46
+ success: 'Success',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ code: 'string',
53
+ data: 'boolean',
54
+ message: 'string',
55
+ requestId: 'string',
56
+ status: 'string',
57
+ success: 'boolean',
58
+ };
59
+ }
60
+
61
+ validate() {
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -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 DeleteChunkShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ chunkIdsShrink?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 79c0alxxxx
17
+ */
18
+ pipelineId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ chunkIdsShrink: 'ChunkIds',
22
+ pipelineId: 'PipelineId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ chunkIdsShrink: 'string',
29
+ pipelineId: '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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAlipayTransferStatusRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxx-xxxx
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * llm-cxxxxxxb8d47ks
14
+ */
15
+ workspaceId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ code: 'code',
19
+ workspaceId: 'workspace_id',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ code: 'string',
26
+ workspaceId: '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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAlipayTransferStatusResponseBody } from "./GetAlipayTransferStatusResponseBody";
4
+
5
+
6
+ export class GetAlipayTransferStatusResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAlipayTransferStatusResponseBody;
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: GetAlipayTransferStatusResponseBody,
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,112 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAlipayTransferStatusResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1348393307144609
9
+ */
10
+ accountId?: string;
11
+ alipayOrderDetail?: string;
12
+ alipayOrderId?: string;
13
+ /**
14
+ * @example
15
+ * 0
16
+ */
17
+ code?: string;
18
+ creator?: string;
19
+ /**
20
+ * @example
21
+ * 1007576424487905
22
+ */
23
+ mainAccountId?: string;
24
+ modifier?: string;
25
+ qrURL?: string;
26
+ scope?: string;
27
+ /**
28
+ * @example
29
+ * 1
30
+ */
31
+ status?: number;
32
+ title?: string;
33
+ transAmount?: string;
34
+ walletItemCode?: string;
35
+ static names(): { [key: string]: string } {
36
+ return {
37
+ accountId: 'accountId',
38
+ alipayOrderDetail: 'alipayOrderDetail',
39
+ alipayOrderId: 'alipayOrderId',
40
+ code: 'code',
41
+ creator: 'creator',
42
+ mainAccountId: 'mainAccountId',
43
+ modifier: 'modifier',
44
+ qrURL: 'qrURL',
45
+ scope: 'scope',
46
+ status: 'status',
47
+ title: 'title',
48
+ transAmount: 'transAmount',
49
+ walletItemCode: 'walletItemCode',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ accountId: 'string',
56
+ alipayOrderDetail: 'string',
57
+ alipayOrderId: 'string',
58
+ code: 'string',
59
+ creator: 'string',
60
+ mainAccountId: 'string',
61
+ modifier: 'string',
62
+ qrURL: 'string',
63
+ scope: 'string',
64
+ status: 'number',
65
+ title: 'string',
66
+ transAmount: 'string',
67
+ walletItemCode: 'string',
68
+ };
69
+ }
70
+
71
+ validate() {
72
+ super.validate();
73
+ }
74
+
75
+ constructor(map?: { [key: string]: any }) {
76
+ super(map);
77
+ }
78
+ }
79
+
80
+ export class GetAlipayTransferStatusResponseBody extends $dara.Model {
81
+ data?: GetAlipayTransferStatusResponseBodyData;
82
+ /**
83
+ * @example
84
+ * 6a71f2d9-f1c9-913b-818b-11402910xxxx
85
+ */
86
+ requestId?: string;
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ data: 'data',
90
+ requestId: 'requestId',
91
+ };
92
+ }
93
+
94
+ static types(): { [key: string]: any } {
95
+ return {
96
+ data: GetAlipayTransferStatusResponseBodyData,
97
+ requestId: 'string',
98
+ };
99
+ }
100
+
101
+ validate() {
102
+ if(this.data && typeof (this.data as any).validate === 'function') {
103
+ (this.data as any).validate();
104
+ }
105
+ super.validate();
106
+ }
107
+
108
+ constructor(map?: { [key: string]: any }) {
109
+ super(map);
110
+ }
111
+ }
112
+
@@ -0,0 +1,30 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAlipayUrlRequest extends $dara.Model {
6
+ appId?: string;
7
+ workspaceId?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ appId: 'app_id',
11
+ workspaceId: 'workspace_id',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ appId: 'string',
18
+ workspaceId: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAlipayUrlResponseBody } from "./GetAlipayUrlResponseBody";
4
+
5
+
6
+ export class GetAlipayUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAlipayUrlResponseBody;
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: GetAlipayUrlResponseBody,
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,67 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAlipayUrlResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxsdfasfw
9
+ */
10
+ code?: string;
11
+ qrUrl?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ code: 'code',
15
+ qrUrl: 'qrUrl',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ code: 'string',
22
+ qrUrl: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class GetAlipayUrlResponseBody extends $dara.Model {
36
+ data?: GetAlipayUrlResponseBodyData;
37
+ /**
38
+ * @example
39
+ * 6a71f2d9-f1c9-913b-818b-11402910xxxx
40
+ */
41
+ requestId?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ data: 'data',
45
+ requestId: 'requestId',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ data: GetAlipayUrlResponseBodyData,
52
+ requestId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ if(this.data && typeof (this.data as any).validate === 'function') {
58
+ (this.data as any).validate();
59
+ }
60
+ super.validate();
61
+ }
62
+
63
+ constructor(map?: { [key: string]: any }) {
64
+ super(map);
65
+ }
66
+ }
67
+
@@ -22,6 +22,8 @@ export { DeleteCategoryResponseBodyData } from './DeleteCategoryResponseBody';
22
22
  export { DeleteFileResponseBodyData } from './DeleteFileResponseBody';
23
23
  export { DeleteIndexDocumentResponseBodyData } from './DeleteIndexDocumentResponseBody';
24
24
  export { DescribeFileResponseBodyData } from './DescribeFileResponseBody';
25
+ export { GetAlipayTransferStatusResponseBodyData } from './GetAlipayTransferStatusResponseBody';
26
+ export { GetAlipayUrlResponseBodyData } from './GetAlipayUrlResponseBody';
25
27
  export { GetIndexJobStatusResponseBodyDataDocuments } from './GetIndexJobStatusResponseBody';
26
28
  export { GetIndexJobStatusResponseBodyData } from './GetIndexJobStatusResponseBody';
27
29
  export { GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig } from './GetPublishedAgentResponseBody';
@@ -119,6 +121,10 @@ export { DeleteAgentResponseBody } from './DeleteAgentResponseBody';
119
121
  export { DeleteAgentResponse } from './DeleteAgentResponse';
120
122
  export { DeleteCategoryResponseBody } from './DeleteCategoryResponseBody';
121
123
  export { DeleteCategoryResponse } from './DeleteCategoryResponse';
124
+ export { DeleteChunkRequest } from './DeleteChunkRequest';
125
+ export { DeleteChunkShrinkRequest } from './DeleteChunkShrinkRequest';
126
+ export { DeleteChunkResponseBody } from './DeleteChunkResponseBody';
127
+ export { DeleteChunkResponse } from './DeleteChunkResponse';
122
128
  export { DeleteFileResponseBody } from './DeleteFileResponseBody';
123
129
  export { DeleteFileResponse } from './DeleteFileResponse';
124
130
  export { DeleteIndexRequest } from './DeleteIndexRequest';
@@ -136,6 +142,12 @@ export { DeletePromptTemplateResponseBody } from './DeletePromptTemplateResponse
136
142
  export { DeletePromptTemplateResponse } from './DeletePromptTemplateResponse';
137
143
  export { DescribeFileResponseBody } from './DescribeFileResponseBody';
138
144
  export { DescribeFileResponse } from './DescribeFileResponse';
145
+ export { GetAlipayTransferStatusRequest } from './GetAlipayTransferStatusRequest';
146
+ export { GetAlipayTransferStatusResponseBody } from './GetAlipayTransferStatusResponseBody';
147
+ export { GetAlipayTransferStatusResponse } from './GetAlipayTransferStatusResponse';
148
+ export { GetAlipayUrlRequest } from './GetAlipayUrlRequest';
149
+ export { GetAlipayUrlResponseBody } from './GetAlipayUrlResponseBody';
150
+ export { GetAlipayUrlResponse } from './GetAlipayUrlResponse';
139
151
  export { GetIndexJobStatusRequest } from './GetIndexJobStatusRequest';
140
152
  export { GetIndexJobStatusResponseBody } from './GetIndexJobStatusResponseBody';
141
153
  export { GetIndexJobStatusResponse } from './GetIndexJobStatusResponse';