@alicloud/websitebuild20250429 2.21.0 → 2.22.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 (57) hide show
  1. package/dist/client.d.ts +60 -0
  2. package/dist/client.js +192 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAistaffChatRequest.d.ts +67 -0
  5. package/dist/models/CreateAistaffChatRequest.js +102 -0
  6. package/dist/models/CreateAistaffChatRequest.js.map +1 -0
  7. package/dist/models/CreateAistaffChatResponse.d.ts +19 -0
  8. package/dist/models/CreateAistaffChatResponse.js +69 -0
  9. package/dist/models/CreateAistaffChatResponse.js.map +1 -0
  10. package/dist/models/CreateAistaffChatResponseBody.d.ts +63 -0
  11. package/dist/models/CreateAistaffChatResponseBody.js +81 -0
  12. package/dist/models/CreateAistaffChatResponseBody.js.map +1 -0
  13. package/dist/models/CreateAistaffConversationRequest.d.ts +14 -0
  14. package/dist/models/CreateAistaffConversationRequest.js +58 -0
  15. package/dist/models/CreateAistaffConversationRequest.js.map +1 -0
  16. package/dist/models/CreateAistaffConversationResponse.d.ts +19 -0
  17. package/dist/models/CreateAistaffConversationResponse.js +69 -0
  18. package/dist/models/CreateAistaffConversationResponse.js.map +1 -0
  19. package/dist/models/CreateAistaffConversationResponseBody.d.ts +101 -0
  20. package/dist/models/CreateAistaffConversationResponseBody.js +113 -0
  21. package/dist/models/CreateAistaffConversationResponseBody.js.map +1 -0
  22. package/dist/models/ListAistaffChatEventsRequest.d.ts +33 -0
  23. package/dist/models/ListAistaffChatEventsRequest.js +64 -0
  24. package/dist/models/ListAistaffChatEventsRequest.js.map +1 -0
  25. package/dist/models/ListAistaffChatEventsResponse.d.ts +19 -0
  26. package/dist/models/ListAistaffChatEventsResponse.js +69 -0
  27. package/dist/models/ListAistaffChatEventsResponse.js.map +1 -0
  28. package/dist/models/ListAistaffChatEventsResponseBody.d.ts +110 -0
  29. package/dist/models/ListAistaffChatEventsResponseBody.js +135 -0
  30. package/dist/models/ListAistaffChatEventsResponseBody.js.map +1 -0
  31. package/dist/models/ListAistaffChatMessagesRequest.d.ts +33 -0
  32. package/dist/models/ListAistaffChatMessagesRequest.js +64 -0
  33. package/dist/models/ListAistaffChatMessagesRequest.js.map +1 -0
  34. package/dist/models/ListAistaffChatMessagesResponse.d.ts +19 -0
  35. package/dist/models/ListAistaffChatMessagesResponse.js +69 -0
  36. package/dist/models/ListAistaffChatMessagesResponse.js.map +1 -0
  37. package/dist/models/ListAistaffChatMessagesResponseBody.d.ts +152 -0
  38. package/dist/models/ListAistaffChatMessagesResponseBody.js +154 -0
  39. package/dist/models/ListAistaffChatMessagesResponseBody.js.map +1 -0
  40. package/dist/models/model.d.ts +18 -0
  41. package/dist/models/model.js +44 -8
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +217 -0
  45. package/src/models/CreateAistaffChatRequest.ts +111 -0
  46. package/src/models/CreateAistaffChatResponse.ts +40 -0
  47. package/src/models/CreateAistaffChatResponseBody.ts +99 -0
  48. package/src/models/CreateAistaffConversationRequest.ts +27 -0
  49. package/src/models/CreateAistaffConversationResponse.ts +40 -0
  50. package/src/models/CreateAistaffConversationResponseBody.ts +160 -0
  51. package/src/models/ListAistaffChatEventsRequest.ts +52 -0
  52. package/src/models/ListAistaffChatEventsResponse.ts +40 -0
  53. package/src/models/ListAistaffChatEventsResponseBody.ts +182 -0
  54. package/src/models/ListAistaffChatMessagesRequest.ts +52 -0
  55. package/src/models/ListAistaffChatMessagesResponse.ts +40 -0
  56. package/src/models/ListAistaffChatMessagesResponseBody.ts +241 -0
  57. package/src/models/model.ts +18 -0
@@ -0,0 +1,241 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListAIStaffChatMessagesResponseBodyModuleMessages extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Zero2
9
+ */
10
+ botId?: string;
11
+ /**
12
+ * @example
13
+ * 54a0bfa0-41bd-4e96-acd9-fb13c0474452
14
+ */
15
+ chatId?: string;
16
+ /**
17
+ * @example
18
+ * success
19
+ */
20
+ chatStatus?: string;
21
+ /**
22
+ * @example
23
+ * domain cnamenwww.buyhao8.com www.buyhao8.com.a1.initrr.comn
24
+ */
25
+ content?: string;
26
+ /**
27
+ * @example
28
+ * application/octet-stream
29
+ */
30
+ contentType?: string;
31
+ /**
32
+ * @example
33
+ * job-675163021891846144
34
+ */
35
+ conversationId?: string;
36
+ /**
37
+ * @example
38
+ * 1723532098
39
+ */
40
+ gmtCreate?: string;
41
+ /**
42
+ * @example
43
+ * 1591339051000
44
+ */
45
+ gmtModified?: string;
46
+ /**
47
+ * @example
48
+ * 1dafa033-e72b-44c2-99b7-bc202c5b6198
49
+ */
50
+ messageId?: string;
51
+ metaData?: { [key: string]: any };
52
+ /**
53
+ * @example
54
+ * user
55
+ */
56
+ role?: string;
57
+ /**
58
+ * @example
59
+ * 324
60
+ */
61
+ sectionId?: string;
62
+ /**
63
+ * @example
64
+ * 928636774795776
65
+ */
66
+ siteId?: string;
67
+ /**
68
+ * @example
69
+ * SINGLE
70
+ */
71
+ type?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ botId: 'BotId',
75
+ chatId: 'ChatId',
76
+ chatStatus: 'ChatStatus',
77
+ content: 'Content',
78
+ contentType: 'ContentType',
79
+ conversationId: 'ConversationId',
80
+ gmtCreate: 'GmtCreate',
81
+ gmtModified: 'GmtModified',
82
+ messageId: 'MessageId',
83
+ metaData: 'MetaData',
84
+ role: 'Role',
85
+ sectionId: 'SectionId',
86
+ siteId: 'SiteId',
87
+ type: 'Type',
88
+ };
89
+ }
90
+
91
+ static types(): { [key: string]: any } {
92
+ return {
93
+ botId: 'string',
94
+ chatId: 'string',
95
+ chatStatus: 'string',
96
+ content: 'string',
97
+ contentType: 'string',
98
+ conversationId: 'string',
99
+ gmtCreate: 'string',
100
+ gmtModified: 'string',
101
+ messageId: 'string',
102
+ metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
103
+ role: 'string',
104
+ sectionId: 'string',
105
+ siteId: 'string',
106
+ type: 'string',
107
+ };
108
+ }
109
+
110
+ validate() {
111
+ if(this.metaData) {
112
+ $dara.Model.validateMap(this.metaData);
113
+ }
114
+ super.validate();
115
+ }
116
+
117
+ constructor(map?: { [key: string]: any }) {
118
+ super(map);
119
+ }
120
+ }
121
+
122
+ export class ListAIStaffChatMessagesResponseBodyModule extends $dara.Model {
123
+ messages?: ListAIStaffChatMessagesResponseBodyModuleMessages[];
124
+ static names(): { [key: string]: string } {
125
+ return {
126
+ messages: 'Messages',
127
+ };
128
+ }
129
+
130
+ static types(): { [key: string]: any } {
131
+ return {
132
+ messages: { 'type': 'array', 'itemType': ListAIStaffChatMessagesResponseBodyModuleMessages },
133
+ };
134
+ }
135
+
136
+ validate() {
137
+ if(Array.isArray(this.messages)) {
138
+ $dara.Model.validateArray(this.messages);
139
+ }
140
+ super.validate();
141
+ }
142
+
143
+ constructor(map?: { [key: string]: any }) {
144
+ super(map);
145
+ }
146
+ }
147
+
148
+ export class ListAIStaffChatMessagesResponseBody extends $dara.Model {
149
+ /**
150
+ * @example
151
+ * {}
152
+ */
153
+ accessDeniedDetail?: string;
154
+ /**
155
+ * @example
156
+ * False
157
+ */
158
+ allowRetry?: boolean;
159
+ /**
160
+ * @example
161
+ * or
162
+ */
163
+ appName?: string;
164
+ /**
165
+ * @example
166
+ * ERROR-oo1
167
+ */
168
+ dynamicCode?: string;
169
+ /**
170
+ * @example
171
+ * SYSTEM_ERROR
172
+ */
173
+ dynamicMessage?: string;
174
+ errorArgs?: any[];
175
+ module?: ListAIStaffChatMessagesResponseBodyModule;
176
+ /**
177
+ * @remarks
178
+ * Id of the request
179
+ *
180
+ * @example
181
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
182
+ */
183
+ requestId?: string;
184
+ /**
185
+ * @example
186
+ * SYSTEM.ERROR
187
+ */
188
+ rootErrorCode?: string;
189
+ rootErrorMsg?: string;
190
+ /**
191
+ * @example
192
+ * True
193
+ */
194
+ synchro?: boolean;
195
+ static names(): { [key: string]: string } {
196
+ return {
197
+ accessDeniedDetail: 'AccessDeniedDetail',
198
+ allowRetry: 'AllowRetry',
199
+ appName: 'AppName',
200
+ dynamicCode: 'DynamicCode',
201
+ dynamicMessage: 'DynamicMessage',
202
+ errorArgs: 'ErrorArgs',
203
+ module: 'Module',
204
+ requestId: 'RequestId',
205
+ rootErrorCode: 'RootErrorCode',
206
+ rootErrorMsg: 'RootErrorMsg',
207
+ synchro: 'Synchro',
208
+ };
209
+ }
210
+
211
+ static types(): { [key: string]: any } {
212
+ return {
213
+ accessDeniedDetail: 'string',
214
+ allowRetry: 'boolean',
215
+ appName: 'string',
216
+ dynamicCode: 'string',
217
+ dynamicMessage: 'string',
218
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
219
+ module: ListAIStaffChatMessagesResponseBodyModule,
220
+ requestId: 'string',
221
+ rootErrorCode: 'string',
222
+ rootErrorMsg: 'string',
223
+ synchro: 'boolean',
224
+ };
225
+ }
226
+
227
+ validate() {
228
+ if(Array.isArray(this.errorArgs)) {
229
+ $dara.Model.validateArray(this.errorArgs);
230
+ }
231
+ if(this.module && typeof (this.module as any).validate === 'function') {
232
+ (this.module as any).validate();
233
+ }
234
+ super.validate();
235
+ }
236
+
237
+ constructor(map?: { [key: string]: any }) {
238
+ super(map);
239
+ }
240
+ }
241
+
@@ -17,6 +17,8 @@ export { BatchCheckResourceMeasureResponseBodyModule } from './BatchCheckResourc
17
17
  export { BindAppDomainResponseBodyModule } from './BindAppDomainResponseBody';
18
18
  export { CheckResourceMeasureResponseBodyModule } from './CheckResourceMeasureResponseBody';
19
19
  export { CheckUserResourceMeasureResponseBodyModule } from './CheckUserResourceMeasureResponseBody';
20
+ export { CreateAIStaffChatRequestMessages } from './CreateAistaffChatRequest';
21
+ export { CreateAIStaffConversationResponseBodyModule } from './CreateAistaffConversationResponseBody';
20
22
  export { CreateAppAssistantAgentResponseBodyModuleCredential } from './CreateAppAssistantAgentResponseBody';
21
23
  export { CreateAppAssistantAgentResponseBodyModuleEmbedConfig } from './CreateAppAssistantAgentResponseBody';
22
24
  export { CreateAppAssistantAgentResponseBodyModule } from './CreateAppAssistantAgentResponseBody';
@@ -62,6 +64,10 @@ export { GetUserAccessTokenForPartnerResponseBodyModule } from './GetUserAccessT
62
64
  export { GetUserTmpIdentityForPartnerResponseBodyDataCredentials } from './GetUserTmpIdentityForPartnerResponseBody';
63
65
  export { GetUserTmpIdentityForPartnerResponseBodyData } from './GetUserTmpIdentityForPartnerResponseBody';
64
66
  export { IntrospectAppInstanceTicketForPreviewResponseBodyModule } from './IntrospectAppInstanceTicketForPreviewResponseBody';
67
+ export { ListAIStaffChatEventsResponseBodyModuleEvents } from './ListAistaffChatEventsResponseBody';
68
+ export { ListAIStaffChatEventsResponseBodyModule } from './ListAistaffChatEventsResponseBody';
69
+ export { ListAIStaffChatMessagesResponseBodyModuleMessages } from './ListAistaffChatMessagesResponseBody';
70
+ export { ListAIStaffChatMessagesResponseBodyModule } from './ListAistaffChatMessagesResponseBody';
65
71
  export { ListAppAssistantAgentsResponseBodyModuleCredential } from './ListAppAssistantAgentsResponseBody';
66
72
  export { ListAppAssistantAgentsResponseBodyModuleEmbedConfig } from './ListAppAssistantAgentsResponseBody';
67
73
  export { ListAppAssistantAgentsResponseBodyModule } from './ListAppAssistantAgentsResponseBody';
@@ -154,6 +160,12 @@ export { CheckResourceMeasureResponse } from './CheckResourceMeasureResponse';
154
160
  export { CheckUserResourceMeasureRequest } from './CheckUserResourceMeasureRequest';
155
161
  export { CheckUserResourceMeasureResponseBody } from './CheckUserResourceMeasureResponseBody';
156
162
  export { CheckUserResourceMeasureResponse } from './CheckUserResourceMeasureResponse';
163
+ export { CreateAIStaffChatRequest } from './CreateAistaffChatRequest';
164
+ export { CreateAIStaffChatResponseBody } from './CreateAistaffChatResponseBody';
165
+ export { CreateAIStaffChatResponse } from './CreateAistaffChatResponse';
166
+ export { CreateAIStaffConversationRequest } from './CreateAistaffConversationRequest';
167
+ export { CreateAIStaffConversationResponseBody } from './CreateAistaffConversationResponseBody';
168
+ export { CreateAIStaffConversationResponse } from './CreateAistaffConversationResponse';
157
169
  export { CreateAppAssistantAgentRequest } from './CreateAppAssistantAgentRequest';
158
170
  export { CreateAppAssistantAgentResponseBody } from './CreateAppAssistantAgentResponseBody';
159
171
  export { CreateAppAssistantAgentResponse } from './CreateAppAssistantAgentResponse';
@@ -240,6 +252,12 @@ export { GetUserTmpIdentityForPartnerResponse } from './GetUserTmpIdentityForPar
240
252
  export { IntrospectAppInstanceTicketForPreviewRequest } from './IntrospectAppInstanceTicketForPreviewRequest';
241
253
  export { IntrospectAppInstanceTicketForPreviewResponseBody } from './IntrospectAppInstanceTicketForPreviewResponseBody';
242
254
  export { IntrospectAppInstanceTicketForPreviewResponse } from './IntrospectAppInstanceTicketForPreviewResponse';
255
+ export { ListAIStaffChatEventsRequest } from './ListAistaffChatEventsRequest';
256
+ export { ListAIStaffChatEventsResponseBody } from './ListAistaffChatEventsResponseBody';
257
+ export { ListAIStaffChatEventsResponse } from './ListAistaffChatEventsResponse';
258
+ export { ListAIStaffChatMessagesRequest } from './ListAistaffChatMessagesRequest';
259
+ export { ListAIStaffChatMessagesResponseBody } from './ListAistaffChatMessagesResponseBody';
260
+ export { ListAIStaffChatMessagesResponse } from './ListAistaffChatMessagesResponse';
243
261
  export { ListAppAssistantAgentsRequest } from './ListAppAssistantAgentsRequest';
244
262
  export { ListAppAssistantAgentsResponseBody } from './ListAppAssistantAgentsResponseBody';
245
263
  export { ListAppAssistantAgentsResponse } from './ListAppAssistantAgentsResponse';