@alicloud/websitebuild20250429 2.22.2 → 2.23.1

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 (47) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +54 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppInstanceProfile.d.ts +1 -0
  5. package/dist/models/AppInstanceProfile.js +2 -0
  6. package/dist/models/AppInstanceProfile.js.map +1 -1
  7. package/dist/models/AppOperationAddress.d.ts +9 -0
  8. package/dist/models/AppOperationAddress.js +21 -0
  9. package/dist/models/AppOperationAddress.js.map +1 -1
  10. package/dist/models/CreateAppAssistantAgentRequest.d.ts +4 -0
  11. package/dist/models/CreateAppAssistantAgentRequest.js.map +1 -1
  12. package/dist/models/CreateAppAssistantAgentResponseBody.d.ts +8 -0
  13. package/dist/models/CreateAppAssistantAgentResponseBody.js.map +1 -1
  14. package/dist/models/CreateAppInstanceRequest.d.ts +32 -0
  15. package/dist/models/CreateAppInstanceRequest.js +8 -0
  16. package/dist/models/CreateAppInstanceRequest.js.map +1 -1
  17. package/dist/models/CreateAppInstanceShrinkRequest.d.ts +24 -0
  18. package/dist/models/CreateAppInstanceShrinkRequest.js +8 -0
  19. package/dist/models/CreateAppInstanceShrinkRequest.js.map +1 -1
  20. package/dist/models/GetAistaffPreviewUrlRequest.d.ts +23 -0
  21. package/dist/models/GetAistaffPreviewUrlRequest.js +60 -0
  22. package/dist/models/GetAistaffPreviewUrlRequest.js.map +1 -0
  23. package/dist/models/GetAistaffPreviewUrlResponse.d.ts +19 -0
  24. package/dist/models/GetAistaffPreviewUrlResponse.js +69 -0
  25. package/dist/models/GetAistaffPreviewUrlResponse.js.map +1 -0
  26. package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +74 -0
  27. package/dist/models/GetAistaffPreviewUrlResponseBody.js +106 -0
  28. package/dist/models/GetAistaffPreviewUrlResponseBody.js.map +1 -0
  29. package/dist/models/ListAppInstancesResponseBody.d.ts +8 -0
  30. package/dist/models/ListAppInstancesResponseBody.js +2 -0
  31. package/dist/models/ListAppInstancesResponseBody.js.map +1 -1
  32. package/dist/models/model.d.ts +4 -0
  33. package/dist/models/model.js +16 -8
  34. package/dist/models/model.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/client.ts +62 -0
  37. package/src/models/AppInstanceProfile.ts +3 -0
  38. package/src/models/AppOperationAddress.ts +30 -0
  39. package/src/models/CreateAppAssistantAgentRequest.ts +4 -0
  40. package/src/models/CreateAppAssistantAgentResponseBody.ts +8 -0
  41. package/src/models/CreateAppInstanceRequest.ts +40 -0
  42. package/src/models/CreateAppInstanceShrinkRequest.ts +32 -0
  43. package/src/models/GetAistaffPreviewUrlRequest.ts +38 -0
  44. package/src/models/GetAistaffPreviewUrlResponse.ts +40 -0
  45. package/src/models/GetAistaffPreviewUrlResponseBody.ts +124 -0
  46. package/src/models/ListAppInstancesResponseBody.ts +10 -0
  47. package/src/models/model.ts +4 -0
@@ -3,7 +3,15 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateAppInstanceRequestTags extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Group
9
+ */
6
10
  tagKey?: string;
11
+ /**
12
+ * @example
13
+ * ufo
14
+ */
7
15
  tagValue?: string;
8
16
  static names(): { [key: string]: string } {
9
17
  return {
@@ -53,6 +61,11 @@ export class CreateAppInstanceRequest extends $dara.Model {
53
61
  * 210713a117660695309606626a
54
62
  */
55
63
  clientToken?: string;
64
+ /**
65
+ * @example
66
+ * OPEN_SUBSCRIPTION
67
+ */
68
+ createAction?: string;
56
69
  /**
57
70
  * @remarks
58
71
  * Deployment area
@@ -61,6 +74,11 @@ export class CreateAppInstanceRequest extends $dara.Model {
61
74
  * ChineseMainland
62
75
  */
63
76
  deployArea?: string;
77
+ /**
78
+ * @example
79
+ * go-to-the-docks-for-french-fries
80
+ */
81
+ description?: string;
64
82
  /**
65
83
  * @remarks
66
84
  * Required. The number of subscription periods
@@ -77,6 +95,11 @@ export class CreateAppInstanceRequest extends $dara.Model {
77
95
  * {}
78
96
  */
79
97
  extend?: string;
98
+ /**
99
+ * @example
100
+ * docs
101
+ */
102
+ name?: string;
80
103
  /**
81
104
  * @remarks
82
105
  * Payment type
@@ -101,6 +124,10 @@ export class CreateAppInstanceRequest extends $dara.Model {
101
124
  * 1
102
125
  */
103
126
  quantity?: number;
127
+ /**
128
+ * @example
129
+ * rg-aek2smovqqpvuly
130
+ */
104
131
  resourceGroupId?: string;
105
132
  /**
106
133
  * @remarks
@@ -111,20 +138,29 @@ export class CreateAppInstanceRequest extends $dara.Model {
111
138
  */
112
139
  siteVersion?: string;
113
140
  tags?: CreateAppInstanceRequestTags[];
141
+ /**
142
+ * @example
143
+ * 2023-09-01
144
+ */
145
+ version?: string;
114
146
  static names(): { [key: string]: string } {
115
147
  return {
116
148
  applicationType: 'ApplicationType',
117
149
  autoRenew: 'AutoRenew',
118
150
  clientToken: 'ClientToken',
151
+ createAction: 'CreateAction',
119
152
  deployArea: 'DeployArea',
153
+ description: 'Description',
120
154
  duration: 'Duration',
121
155
  extend: 'Extend',
156
+ name: 'Name',
122
157
  paymentType: 'PaymentType',
123
158
  pricingCycle: 'PricingCycle',
124
159
  quantity: 'Quantity',
125
160
  resourceGroupId: 'ResourceGroupId',
126
161
  siteVersion: 'SiteVersion',
127
162
  tags: 'Tags',
163
+ version: 'Version',
128
164
  };
129
165
  }
130
166
 
@@ -133,15 +169,19 @@ export class CreateAppInstanceRequest extends $dara.Model {
133
169
  applicationType: 'string',
134
170
  autoRenew: 'boolean',
135
171
  clientToken: 'string',
172
+ createAction: 'string',
136
173
  deployArea: 'string',
174
+ description: 'string',
137
175
  duration: 'number',
138
176
  extend: 'string',
177
+ name: 'string',
139
178
  paymentType: 'string',
140
179
  pricingCycle: 'string',
141
180
  quantity: 'number',
142
181
  resourceGroupId: 'string',
143
182
  siteVersion: 'string',
144
183
  tags: { 'type': 'array', 'itemType': CreateAppInstanceRequestTags },
184
+ version: 'string',
145
185
  };
146
186
  }
147
187
 
@@ -27,6 +27,11 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
27
27
  * 210713a117660695309606626a
28
28
  */
29
29
  clientToken?: string;
30
+ /**
31
+ * @example
32
+ * OPEN_SUBSCRIPTION
33
+ */
34
+ createAction?: string;
30
35
  /**
31
36
  * @remarks
32
37
  * Deployment area
@@ -35,6 +40,11 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
35
40
  * ChineseMainland
36
41
  */
37
42
  deployArea?: string;
43
+ /**
44
+ * @example
45
+ * go-to-the-docks-for-french-fries
46
+ */
47
+ description?: string;
38
48
  /**
39
49
  * @remarks
40
50
  * Required. The number of subscription periods
@@ -51,6 +61,11 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
51
61
  * {}
52
62
  */
53
63
  extend?: string;
64
+ /**
65
+ * @example
66
+ * docs
67
+ */
68
+ name?: string;
54
69
  /**
55
70
  * @remarks
56
71
  * Payment type
@@ -75,6 +90,10 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
75
90
  * 1
76
91
  */
77
92
  quantity?: number;
93
+ /**
94
+ * @example
95
+ * rg-aek2smovqqpvuly
96
+ */
78
97
  resourceGroupId?: string;
79
98
  /**
80
99
  * @remarks
@@ -85,20 +104,29 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
85
104
  */
86
105
  siteVersion?: string;
87
106
  tagsShrink?: string;
107
+ /**
108
+ * @example
109
+ * 2023-09-01
110
+ */
111
+ version?: string;
88
112
  static names(): { [key: string]: string } {
89
113
  return {
90
114
  applicationType: 'ApplicationType',
91
115
  autoRenew: 'AutoRenew',
92
116
  clientToken: 'ClientToken',
117
+ createAction: 'CreateAction',
93
118
  deployArea: 'DeployArea',
119
+ description: 'Description',
94
120
  duration: 'Duration',
95
121
  extend: 'Extend',
122
+ name: 'Name',
96
123
  paymentType: 'PaymentType',
97
124
  pricingCycle: 'PricingCycle',
98
125
  quantity: 'Quantity',
99
126
  resourceGroupId: 'ResourceGroupId',
100
127
  siteVersion: 'SiteVersion',
101
128
  tagsShrink: 'Tags',
129
+ version: 'Version',
102
130
  };
103
131
  }
104
132
 
@@ -107,15 +135,19 @@ export class CreateAppInstanceShrinkRequest extends $dara.Model {
107
135
  applicationType: 'string',
108
136
  autoRenew: 'boolean',
109
137
  clientToken: 'string',
138
+ createAction: 'string',
110
139
  deployArea: 'string',
140
+ description: 'string',
111
141
  duration: 'number',
112
142
  extend: 'string',
143
+ name: 'string',
113
144
  paymentType: 'string',
114
145
  pricingCycle: 'string',
115
146
  quantity: 'number',
116
147
  resourceGroupId: 'string',
117
148
  siteVersion: 'string',
118
149
  tagsShrink: 'string',
150
+ version: 'string',
119
151
  };
120
152
  }
121
153
 
@@ -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 GetAIStaffPreviewUrlRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 81bc5a34-1d8d-4ef7-a208-7401c51b054b
9
+ */
10
+ conversationId?: string;
11
+ /**
12
+ * @example
13
+ * true
14
+ */
15
+ restart?: boolean;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ conversationId: 'ConversationId',
19
+ restart: 'Restart',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ conversationId: 'string',
26
+ restart: 'boolean',
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 { GetAIStaffPreviewUrlResponseBody } from "./GetAistaffPreviewUrlResponseBody";
4
+
5
+
6
+ export class GetAIStaffPreviewUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAIStaffPreviewUrlResponseBody;
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: GetAIStaffPreviewUrlResponseBody,
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,124 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAIStaffPreviewUrlResponseBodyModule extends $dara.Model {
6
+ urlMap?: { [key: string]: string };
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ urlMap: 'UrlMap',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ urlMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ if(this.urlMap) {
21
+ $dara.Model.validateMap(this.urlMap);
22
+ }
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class GetAIStaffPreviewUrlResponseBody extends $dara.Model {
32
+ /**
33
+ * @example
34
+ * {}
35
+ */
36
+ accessDeniedDetail?: string;
37
+ /**
38
+ * @example
39
+ * False
40
+ */
41
+ allowRetry?: boolean;
42
+ /**
43
+ * @example
44
+ * dewuApp
45
+ */
46
+ appName?: string;
47
+ /**
48
+ * @example
49
+ * ERROR-oo1
50
+ */
51
+ dynamicCode?: string;
52
+ /**
53
+ * @example
54
+ * https://check-result-file-sh.oss-cn-shanghai.aliyuncs.com/u6qw3gxzu3b7sbj/u6qw3gxzu3b7sbj.diff.zip?Expires=1740975709&OSSAccessKeyId=LTAI5tKUErVCETM4ev9SELNb&Signature=FP7dDnkrLlOZHmRRORVqbLOtv9c%3D
55
+ */
56
+ dynamicMessage?: string;
57
+ errorArgs?: any[];
58
+ module?: GetAIStaffPreviewUrlResponseBodyModule;
59
+ /**
60
+ * @remarks
61
+ * Id of the request
62
+ *
63
+ * @example
64
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
65
+ */
66
+ requestId?: string;
67
+ /**
68
+ * @example
69
+ * SYSTEM.ERROR
70
+ */
71
+ rootErrorCode?: string;
72
+ rootErrorMsg?: string;
73
+ /**
74
+ * @example
75
+ * True
76
+ */
77
+ synchro?: boolean;
78
+ static names(): { [key: string]: string } {
79
+ return {
80
+ accessDeniedDetail: 'AccessDeniedDetail',
81
+ allowRetry: 'AllowRetry',
82
+ appName: 'AppName',
83
+ dynamicCode: 'DynamicCode',
84
+ dynamicMessage: 'DynamicMessage',
85
+ errorArgs: 'ErrorArgs',
86
+ module: 'Module',
87
+ requestId: 'RequestId',
88
+ rootErrorCode: 'RootErrorCode',
89
+ rootErrorMsg: 'RootErrorMsg',
90
+ synchro: 'Synchro',
91
+ };
92
+ }
93
+
94
+ static types(): { [key: string]: any } {
95
+ return {
96
+ accessDeniedDetail: 'string',
97
+ allowRetry: 'boolean',
98
+ appName: 'string',
99
+ dynamicCode: 'string',
100
+ dynamicMessage: 'string',
101
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
102
+ module: GetAIStaffPreviewUrlResponseBodyModule,
103
+ requestId: 'string',
104
+ rootErrorCode: 'string',
105
+ rootErrorMsg: 'string',
106
+ synchro: 'boolean',
107
+ };
108
+ }
109
+
110
+ validate() {
111
+ if(Array.isArray(this.errorArgs)) {
112
+ $dara.Model.validateArray(this.errorArgs);
113
+ }
114
+ if(this.module && typeof (this.module as any).validate === 'function') {
115
+ (this.module as any).validate();
116
+ }
117
+ super.validate();
118
+ }
119
+
120
+ constructor(map?: { [key: string]: any }) {
121
+ super(map);
122
+ }
123
+ }
124
+
@@ -115,6 +115,9 @@ export class ListAppInstancesResponseBody extends $dara.Model {
115
115
  /**
116
116
  * @remarks
117
117
  * For the current query, apart from pagination limits, the server processes up to the most recent 1000 records. If the result exceeds 1000 records, **ResultLimit** is **true**, please narrow down the time range and search again; otherwise, **ResultLimit** is **false**.
118
+ *
119
+ * @example
120
+ * False
118
121
  */
119
122
  resultLimit?: boolean;
120
123
  /**
@@ -133,6 +136,11 @@ export class ListAppInstancesResponseBody extends $dara.Model {
133
136
  * 系统异常
134
137
  */
135
138
  rootErrorMsg?: string;
139
+ /**
140
+ * @example
141
+ * 1
142
+ */
143
+ startPosition?: string;
136
144
  /**
137
145
  * @remarks
138
146
  * Reserved parameter.
@@ -168,6 +176,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
168
176
  resultLimit: 'ResultLimit',
169
177
  rootErrorCode: 'RootErrorCode',
170
178
  rootErrorMsg: 'RootErrorMsg',
179
+ startPosition: 'StartPosition',
171
180
  synchro: 'Synchro',
172
181
  totalPageNum: 'TotalPageNum',
173
182
  };
@@ -192,6 +201,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
192
201
  resultLimit: 'boolean',
193
202
  rootErrorCode: 'string',
194
203
  rootErrorMsg: 'string',
204
+ startPosition: 'string',
195
205
  synchro: 'boolean',
196
206
  totalPageNum: 'number',
197
207
  };
@@ -33,6 +33,7 @@ export { DeleteAppDomainRedirectResponseBodyModule } from './DeleteAppDomainRedi
33
33
  export { DescribeAppDomainDnsRecordResponseBodyModule } from './DescribeAppDomainDnsRecordResponseBody';
34
34
  export { DispatchConsoleAPIForPartnerResponseBodyModule } from './DispatchConsoleApiforPartnerResponseBody';
35
35
  export { ExportMaterialFileResponseBodyModule } from './ExportMaterialFileResponseBody';
36
+ export { GetAIStaffPreviewUrlResponseBodyModule } from './GetAistaffPreviewUrlResponseBody';
36
37
  export { GetAppInstanceForPartnerResponseBodyModuleAiStaffList } from './GetAppInstanceForPartnerResponseBody';
37
38
  export { GetAppInstanceForPartnerResponseBodyModuleAppDesignSpec } from './GetAppInstanceForPartnerResponseBody';
38
39
  export { GetAppInstanceForPartnerResponseBodyModuleAppOperationAddressActions } from './GetAppInstanceForPartnerResponseBody';
@@ -214,6 +215,9 @@ export { ExportMaterialFileRequest } from './ExportMaterialFileRequest';
214
215
  export { ExportMaterialFileShrinkRequest } from './ExportMaterialFileShrinkRequest';
215
216
  export { ExportMaterialFileResponseBody } from './ExportMaterialFileResponseBody';
216
217
  export { ExportMaterialFileResponse } from './ExportMaterialFileResponse';
218
+ export { GetAIStaffPreviewUrlRequest } from './GetAistaffPreviewUrlRequest';
219
+ export { GetAIStaffPreviewUrlResponseBody } from './GetAistaffPreviewUrlResponseBody';
220
+ export { GetAIStaffPreviewUrlResponse } from './GetAistaffPreviewUrlResponse';
217
221
  export { GetAppInstanceRequest } from './GetAppInstanceRequest';
218
222
  export { GetAppInstanceResponseBody } from './GetAppInstanceResponseBody';
219
223
  export { GetAppInstanceResponse } from './GetAppInstanceResponse';