@alicloud/dms20250414 4.3.3 → 4.5.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 +36 -0
- package/dist/client.js +103 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +53 -43
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
- package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentSkillDownloadRequest.d.ts +29 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js +60 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.d.ts +19 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js +69 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.d.ts +97 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js +94 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js.map +1 -0
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +52 -28
- package/dist/models/UpdateAgenticDataSourceRequest.js +6 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +20 -20
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +46 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +114 -0
- package/src/models/CreateCustomAgentRequest.ts +55 -43
- package/src/models/CreateCustomAgentResponseBody.ts +23 -23
- package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
- package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
- package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
- package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
- package/src/models/DescribeDataAgentSkillDownloadRequest.ts +44 -0
- package/src/models/DescribeDataAgentSkillDownloadResponse.ts +40 -0
- package/src/models/DescribeDataAgentSkillDownloadResponseBody.ts +137 -0
- package/src/models/UpdateAgenticDataSourceRequest.ts +58 -28
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +20 -20
- package/src/models/model.ts +14 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The parameters to invoke the callback tool.
|
|
8
|
+
* The parameters used to invoke the callback tool.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {"ID":"test"}
|
|
@@ -13,7 +13,7 @@ export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
|
13
13
|
callbackArgs?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The prompt for generating
|
|
16
|
+
* The prompt for generating parameters to invoke the callback tool.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* send web report to 123456@163.com
|
|
@@ -146,8 +146,8 @@ export class CreateCustomAgentRequestKnowledgeConfigList extends $dara.Model {
|
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
148
|
* The access type. If you do not specify this parameter, the default value is mcp. Valid values:
|
|
149
|
-
* - mcp:
|
|
150
|
-
* - dms_kb:
|
|
149
|
+
* - mcp: Access by using MCP. You must pass the McpServerId parameter.
|
|
150
|
+
* - dms_kb: Access by using a DMS knowledge base. You must pass the KbUuid parameter.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* mcp
|
|
@@ -163,7 +163,7 @@ export class CreateCustomAgentRequestKnowledgeConfigList extends $dara.Model {
|
|
|
163
163
|
kbUuid?: string;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The MCP server
|
|
166
|
+
* The ID of the MCP server.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* nhdpt9adf6ac**********ca
|
|
@@ -267,7 +267,7 @@ export class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Model {
|
|
|
267
267
|
cronExpression?: string;
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The
|
|
270
|
+
* The question for the scheduled task.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* Analyze this data and provide a brief report
|
|
@@ -310,8 +310,8 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
312
|
* The type of the custom agent. Valid values:
|
|
313
|
-
* - Default:
|
|
314
|
-
* - Common:
|
|
313
|
+
* - Default: The system-built-in custom agent. Each workspace can have at most one Default agent, and it cannot be deleted.
|
|
314
|
+
* - Common: A common custom agent.
|
|
315
315
|
*
|
|
316
316
|
* @example
|
|
317
317
|
* Common
|
|
@@ -319,9 +319,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
319
319
|
agentType?: string;
|
|
320
320
|
/**
|
|
321
321
|
* @remarks
|
|
322
|
-
* The callback feature configuration.
|
|
322
|
+
* The callback feature configuration items.
|
|
323
323
|
*/
|
|
324
324
|
callbackConfig?: CreateCustomAgentRequestCallbackConfig;
|
|
325
|
+
/**
|
|
326
|
+
* @remarks
|
|
327
|
+
* The creation source. Valid values:
|
|
328
|
+
* - Empty (default): Create the agent by using a form.
|
|
329
|
+
* - SmartNew: Create the agent by using intelligent development.
|
|
330
|
+
*
|
|
331
|
+
* @example
|
|
332
|
+
* SmartNew
|
|
333
|
+
*/
|
|
334
|
+
createFrom?: string;
|
|
325
335
|
/**
|
|
326
336
|
* @remarks
|
|
327
337
|
* The current DMS unit.
|
|
@@ -332,19 +342,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
332
342
|
DMSUnit?: string;
|
|
333
343
|
/**
|
|
334
344
|
* @remarks
|
|
335
|
-
* The specified data scope
|
|
336
|
-
* - General parameter
|
|
337
|
-
* - tableFlag: true
|
|
338
|
-
* - scope: personal
|
|
339
|
-
* - personal:
|
|
345
|
+
* The specified data scope in **JSON character string format**.
|
|
346
|
+
* - General parameter description:
|
|
347
|
+
* - tableFlag: Set to true to specify the data scope.
|
|
348
|
+
* - scope: Set to personal as a fixed value.
|
|
349
|
+
* - personal: The parameters for file and database types.
|
|
340
350
|
*
|
|
341
|
-
* **File type
|
|
342
|
-
* - DataSourceType: remote_data_center
|
|
343
|
-
* - FileId:
|
|
344
|
-
* - Database:
|
|
345
|
-
* - Tables:
|
|
346
|
-
* - TableIds:
|
|
347
|
-
* - RegionId:
|
|
351
|
+
* **File type**. Pass parameters in the following format:
|
|
352
|
+
* - DataSourceType: Set to remote_data_center as a fixed value.
|
|
353
|
+
* - FileId: The file ID.
|
|
354
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
355
|
+
* - Tables: The table names returned by the ListDataCenterTable operation.
|
|
356
|
+
* - TableIds: The table IDs returned by the ListDataCenterTable operation.
|
|
357
|
+
* - RegionId: The current region.
|
|
348
358
|
* ```
|
|
349
359
|
* {
|
|
350
360
|
* "tableFlag": true,
|
|
@@ -364,17 +374,17 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
364
374
|
* }
|
|
365
375
|
* ```
|
|
366
376
|
*
|
|
367
|
-
* **Database type
|
|
368
|
-
* - DataSourceType: database
|
|
369
|
-
* - DmsInstanceId:
|
|
370
|
-
* - DmsDatabaseId:
|
|
371
|
-
* - FileId:
|
|
372
|
-
* - DbName:
|
|
373
|
-
* - Database:
|
|
374
|
-
* - Tables:
|
|
375
|
-
* - TableIds:
|
|
376
|
-
* - Engine:
|
|
377
|
-
* - RegionId:
|
|
377
|
+
* **Database type**. Pass parameters in the following format:
|
|
378
|
+
* - DataSourceType: Set to database as a fixed value.
|
|
379
|
+
* - DmsInstanceId: The DMS instance ID returned by the data center operation.
|
|
380
|
+
* - DmsDatabaseId: The DMS database ID returned by the data center operation.
|
|
381
|
+
* - FileId: The instance name. **[Deprecated]**
|
|
382
|
+
* - DbName: The database name returned by the data center operation.
|
|
383
|
+
* - Database: The database name returned by the data center operation.
|
|
384
|
+
* - Tables: The table names returned by the data center operation.
|
|
385
|
+
* - TableIds: The table IDs returned by the data center operation.
|
|
386
|
+
* - Engine: The database engine type, such as mysql or postgresql.
|
|
387
|
+
* - RegionId: The current region.
|
|
378
388
|
* ```
|
|
379
389
|
* {
|
|
380
390
|
* "tableFlag": true,
|
|
@@ -428,28 +438,28 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
428
438
|
executionConfig?: CreateCustomAgentRequestExecutionConfig;
|
|
429
439
|
/**
|
|
430
440
|
* @remarks
|
|
431
|
-
* The
|
|
432
|
-
* - Input limit:
|
|
441
|
+
* The instruction.
|
|
442
|
+
* - Input limit: Up to 10,000 characters.
|
|
433
443
|
*
|
|
434
444
|
* @example
|
|
435
445
|
* Core metric definitions:
|
|
436
446
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
437
|
-
* 2. Order volume refers to the number of valid
|
|
438
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
439
|
-
* 4. Conversion rate =
|
|
447
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
448
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
449
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
440
450
|
*/
|
|
441
451
|
instruction?: string;
|
|
442
452
|
/**
|
|
443
453
|
* @remarks
|
|
444
454
|
* The knowledge.
|
|
445
|
-
* - Input limit:
|
|
455
|
+
* - Input limit: Up to 10,000 characters.
|
|
446
456
|
*
|
|
447
457
|
* @example
|
|
448
458
|
* Core metric definitions:
|
|
449
459
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
450
|
-
* 2. Order volume refers to the number of valid
|
|
451
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
452
|
-
* 4. Conversion rate =
|
|
460
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
461
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
462
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
453
463
|
*/
|
|
454
464
|
knowledge?: string;
|
|
455
465
|
/**
|
|
@@ -494,7 +504,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
494
504
|
* The text report format.
|
|
495
505
|
*
|
|
496
506
|
* @example
|
|
497
|
-
* The text report requires that all numbers be
|
|
507
|
+
* The text report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
498
508
|
*/
|
|
499
509
|
textReportConfig?: string;
|
|
500
510
|
/**
|
|
@@ -507,7 +517,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
507
517
|
* The web report format.
|
|
508
518
|
*
|
|
509
519
|
* @example
|
|
510
|
-
* The web report requires that all numbers be
|
|
520
|
+
* The web report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
511
521
|
*/
|
|
512
522
|
webReportConfig?: string;
|
|
513
523
|
/**
|
|
@@ -530,6 +540,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
530
540
|
return {
|
|
531
541
|
agentType: 'AgentType',
|
|
532
542
|
callbackConfig: 'CallbackConfig',
|
|
543
|
+
createFrom: 'CreateFrom',
|
|
533
544
|
DMSUnit: 'DMSUnit',
|
|
534
545
|
dataJson: 'DataJson',
|
|
535
546
|
description: 'Description',
|
|
@@ -554,6 +565,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
554
565
|
return {
|
|
555
566
|
agentType: 'string',
|
|
556
567
|
callbackConfig: CreateCustomAgentRequestCallbackConfig,
|
|
568
|
+
createFrom: 'string',
|
|
557
569
|
DMSUnit: 'string',
|
|
558
570
|
dataJson: 'string',
|
|
559
571
|
description: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The callback tool
|
|
8
|
+
* The parameters to invoke the callback tool.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {"ID":"test"}
|
|
@@ -13,7 +13,7 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
13
13
|
callbackArgs?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The prompt for generating callback tool
|
|
16
|
+
* The prompt for generating parameters to invoke the callback tool.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* send web report to 123456@163.com
|
|
@@ -21,7 +21,7 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
21
21
|
callbackPrompt?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The callback tool
|
|
24
|
+
* The timing to invoke the callback tool.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0
|
|
@@ -146,8 +146,8 @@ export class CreateCustomAgentResponseBodyDataKnowledgeConfigList extends $dara.
|
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
148
|
* The access type. Valid values:
|
|
149
|
-
* - mcp: MCP
|
|
150
|
-
* - dms_kb: DMS knowledge base
|
|
149
|
+
* - mcp: Accessed through MCP.
|
|
150
|
+
* - dms_kb: Accessed through the DMS knowledge base.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* mcp
|
|
@@ -163,7 +163,7 @@ export class CreateCustomAgentResponseBodyDataKnowledgeConfigList extends $dara.
|
|
|
163
163
|
kbUuid?: string;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The MCP server
|
|
166
|
+
* The ID of the MCP server.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* nhdpt9adf6ac**********ca
|
|
@@ -267,7 +267,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
267
267
|
cronExpression?: string;
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The
|
|
270
|
+
* The question for the scheduled task.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* Analyze this data and provide a brief report
|
|
@@ -319,7 +319,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
319
319
|
agentType?: string;
|
|
320
320
|
/**
|
|
321
321
|
* @remarks
|
|
322
|
-
* The Alibaba Cloud main account
|
|
322
|
+
* The ID of the Alibaba Cloud main account.
|
|
323
323
|
*
|
|
324
324
|
* @example
|
|
325
325
|
* 16738266********
|
|
@@ -335,7 +335,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
335
335
|
aliyunUid?: string;
|
|
336
336
|
/**
|
|
337
337
|
* @remarks
|
|
338
|
-
* The callback feature configuration.
|
|
338
|
+
* The callback feature configuration items.
|
|
339
339
|
*/
|
|
340
340
|
callbackConfig?: CreateCustomAgentResponseBodyDataCallbackConfig;
|
|
341
341
|
/**
|
|
@@ -348,7 +348,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
348
348
|
creatorUserName?: string;
|
|
349
349
|
/**
|
|
350
350
|
* @remarks
|
|
351
|
-
* The custom agent
|
|
351
|
+
* The ID of the custom agent.
|
|
352
352
|
*
|
|
353
353
|
* @example
|
|
354
354
|
* ca-4y3ca4khkcu**********ysf
|
|
@@ -420,18 +420,18 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
420
420
|
gmtModified?: string;
|
|
421
421
|
/**
|
|
422
422
|
* @remarks
|
|
423
|
-
* The
|
|
423
|
+
* The instruction.
|
|
424
424
|
*
|
|
425
425
|
* @example
|
|
426
426
|
* Analysis framework:
|
|
427
|
-
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis
|
|
428
|
-
* 2. Segment data by new and
|
|
429
|
-
* 3. Conduct funnel analysis based on user behavior paths (browse
|
|
427
|
+
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis, and analyze trend changes and year-over-year or month-over-month fluctuations.
|
|
428
|
+
* 2. Segment data by new and returning customers, channels, and regions to identify growth sources and shortcomings.
|
|
429
|
+
* 3. Conduct funnel analysis based on user behavior paths (browse -> add to cart -> pay) to identify drop-off stages
|
|
430
430
|
*/
|
|
431
431
|
instruction?: string;
|
|
432
432
|
/**
|
|
433
433
|
* @remarks
|
|
434
|
-
* Indicates whether a
|
|
434
|
+
* Indicates whether a periodic task is configured.
|
|
435
435
|
*
|
|
436
436
|
* @example
|
|
437
437
|
* false
|
|
@@ -444,9 +444,9 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
444
444
|
* @example
|
|
445
445
|
* Core metric definitions:
|
|
446
446
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
447
|
-
* 2. Order volume refers to the number of valid
|
|
448
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
449
|
-
* 4. Conversion rate =
|
|
447
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
448
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
449
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
450
450
|
*/
|
|
451
451
|
knowledge?: string;
|
|
452
452
|
/**
|
|
@@ -485,7 +485,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
485
485
|
name?: string;
|
|
486
486
|
/**
|
|
487
487
|
* @remarks
|
|
488
|
-
* The next
|
|
488
|
+
* The next execution time of the periodic task.
|
|
489
489
|
* - Timestamp format.
|
|
490
490
|
*
|
|
491
491
|
* @example
|
|
@@ -532,7 +532,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
532
532
|
releaseTime?: string;
|
|
533
533
|
/**
|
|
534
534
|
* @remarks
|
|
535
|
-
* The
|
|
535
|
+
* The periodic task configuration.
|
|
536
536
|
*/
|
|
537
537
|
scheduleTaskConfig?: CreateCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
538
538
|
/**
|
|
@@ -548,7 +548,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
548
548
|
* The text report format.
|
|
549
549
|
*
|
|
550
550
|
* @example
|
|
551
|
-
* The text report requires that all numbers be
|
|
551
|
+
* The text report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
552
552
|
*/
|
|
553
553
|
textReportConfig?: string;
|
|
554
554
|
/**
|
|
@@ -561,7 +561,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
561
561
|
* The web report format.
|
|
562
562
|
*
|
|
563
563
|
* @example
|
|
564
|
-
* The web report requires that all numbers be
|
|
564
|
+
* The web report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
565
565
|
*/
|
|
566
566
|
webReportConfig?: string;
|
|
567
567
|
/**
|
|
@@ -569,7 +569,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
569
569
|
* The web report theme. Valid values:
|
|
570
570
|
* - default: Default.
|
|
571
571
|
* - journal: Journal.
|
|
572
|
-
* - legacy:
|
|
572
|
+
* - legacy: Legacy.
|
|
573
573
|
* - neobrutalism: Neobrutalism.
|
|
574
574
|
* - infographic: Infographic.
|
|
575
575
|
*
|
|
@@ -6,8 +6,8 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The type of the custom agent. Valid values:
|
|
9
|
-
* - Default:
|
|
10
|
-
* - Common:
|
|
9
|
+
* - Default: The system-built-in custom agent. Each workspace can have at most one Default agent, and it cannot be deleted.
|
|
10
|
+
* - Common: A common custom agent.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* Common
|
|
@@ -15,9 +15,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
15
15
|
agentType?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The callback feature configuration.
|
|
18
|
+
* The callback feature configuration items.
|
|
19
19
|
*/
|
|
20
20
|
callbackConfigShrink?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The creation source. Valid values:
|
|
24
|
+
* - Empty (default): Create the agent by using a form.
|
|
25
|
+
* - SmartNew: Create the agent by using intelligent development.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* SmartNew
|
|
29
|
+
*/
|
|
30
|
+
createFrom?: string;
|
|
21
31
|
/**
|
|
22
32
|
* @remarks
|
|
23
33
|
* The current DMS unit.
|
|
@@ -28,19 +38,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
28
38
|
DMSUnit?: string;
|
|
29
39
|
/**
|
|
30
40
|
* @remarks
|
|
31
|
-
* The specified data scope
|
|
32
|
-
* - General parameter
|
|
33
|
-
* - tableFlag: true
|
|
34
|
-
* - scope: personal
|
|
35
|
-
* - personal:
|
|
41
|
+
* The specified data scope in **JSON character string format**.
|
|
42
|
+
* - General parameter description:
|
|
43
|
+
* - tableFlag: Set to true to specify the data scope.
|
|
44
|
+
* - scope: Set to personal as a fixed value.
|
|
45
|
+
* - personal: The parameters for file and database types.
|
|
36
46
|
*
|
|
37
|
-
* **File type
|
|
38
|
-
* - DataSourceType: remote_data_center
|
|
39
|
-
* - FileId:
|
|
40
|
-
* - Database:
|
|
41
|
-
* - Tables:
|
|
42
|
-
* - TableIds:
|
|
43
|
-
* - RegionId:
|
|
47
|
+
* **File type**. Pass parameters in the following format:
|
|
48
|
+
* - DataSourceType: Set to remote_data_center as a fixed value.
|
|
49
|
+
* - FileId: The file ID.
|
|
50
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
51
|
+
* - Tables: The table names returned by the ListDataCenterTable operation.
|
|
52
|
+
* - TableIds: The table IDs returned by the ListDataCenterTable operation.
|
|
53
|
+
* - RegionId: The current region.
|
|
44
54
|
* ```
|
|
45
55
|
* {
|
|
46
56
|
* "tableFlag": true,
|
|
@@ -60,17 +70,17 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
60
70
|
* }
|
|
61
71
|
* ```
|
|
62
72
|
*
|
|
63
|
-
* **Database type
|
|
64
|
-
* - DataSourceType: database
|
|
65
|
-
* - DmsInstanceId:
|
|
66
|
-
* - DmsDatabaseId:
|
|
67
|
-
* - FileId:
|
|
68
|
-
* - DbName:
|
|
69
|
-
* - Database:
|
|
70
|
-
* - Tables:
|
|
71
|
-
* - TableIds:
|
|
72
|
-
* - Engine:
|
|
73
|
-
* - RegionId:
|
|
73
|
+
* **Database type**. Pass parameters in the following format:
|
|
74
|
+
* - DataSourceType: Set to database as a fixed value.
|
|
75
|
+
* - DmsInstanceId: The DMS instance ID returned by the data center operation.
|
|
76
|
+
* - DmsDatabaseId: The DMS database ID returned by the data center operation.
|
|
77
|
+
* - FileId: The instance name. **[Deprecated]**
|
|
78
|
+
* - DbName: The database name returned by the data center operation.
|
|
79
|
+
* - Database: The database name returned by the data center operation.
|
|
80
|
+
* - Tables: The table names returned by the data center operation.
|
|
81
|
+
* - TableIds: The table IDs returned by the data center operation.
|
|
82
|
+
* - Engine: The database engine type, such as mysql or postgresql.
|
|
83
|
+
* - RegionId: The current region.
|
|
74
84
|
* ```
|
|
75
85
|
* {
|
|
76
86
|
* "tableFlag": true,
|
|
@@ -124,28 +134,28 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
124
134
|
executionConfigShrink?: string;
|
|
125
135
|
/**
|
|
126
136
|
* @remarks
|
|
127
|
-
* The
|
|
128
|
-
* - Input limit:
|
|
137
|
+
* The instruction.
|
|
138
|
+
* - Input limit: Up to 10,000 characters.
|
|
129
139
|
*
|
|
130
140
|
* @example
|
|
131
141
|
* Core metric definitions:
|
|
132
142
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
133
|
-
* 2. Order volume refers to the number of valid
|
|
134
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
135
|
-
* 4. Conversion rate =
|
|
143
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
144
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
145
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
136
146
|
*/
|
|
137
147
|
instruction?: string;
|
|
138
148
|
/**
|
|
139
149
|
* @remarks
|
|
140
150
|
* The knowledge.
|
|
141
|
-
* - Input limit:
|
|
151
|
+
* - Input limit: Up to 10,000 characters.
|
|
142
152
|
*
|
|
143
153
|
* @example
|
|
144
154
|
* Core metric definitions:
|
|
145
155
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
146
|
-
* 2. Order volume refers to the number of valid
|
|
147
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
148
|
-
* 4. Conversion rate =
|
|
156
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
157
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
158
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
149
159
|
*/
|
|
150
160
|
knowledge?: string;
|
|
151
161
|
/**
|
|
@@ -190,7 +200,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
190
200
|
* The text report format.
|
|
191
201
|
*
|
|
192
202
|
* @example
|
|
193
|
-
* The text report requires that all numbers be
|
|
203
|
+
* The text report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
194
204
|
*/
|
|
195
205
|
textReportConfig?: string;
|
|
196
206
|
/**
|
|
@@ -203,7 +213,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
203
213
|
* The web report format.
|
|
204
214
|
*
|
|
205
215
|
* @example
|
|
206
|
-
* The web report requires that all numbers be
|
|
216
|
+
* The web report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
207
217
|
*/
|
|
208
218
|
webReportConfig?: string;
|
|
209
219
|
/**
|
|
@@ -226,6 +236,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
226
236
|
return {
|
|
227
237
|
agentType: 'AgentType',
|
|
228
238
|
callbackConfigShrink: 'CallbackConfig',
|
|
239
|
+
createFrom: 'CreateFrom',
|
|
229
240
|
DMSUnit: 'DMSUnit',
|
|
230
241
|
dataJson: 'DataJson',
|
|
231
242
|
description: 'Description',
|
|
@@ -250,6 +261,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
250
261
|
return {
|
|
251
262
|
agentType: 'string',
|
|
252
263
|
callbackConfigShrink: 'string',
|
|
264
|
+
createFrom: 'string',
|
|
253
265
|
DMSUnit: 'string',
|
|
254
266
|
dataJson: 'string',
|
|
255
267
|
description: 'string',
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAgenticVpcEndpointRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the endpoint to be deleted. You can delete the endpoint even if it has associated data sources, but this may interrupt access.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ep-7xvra4ad6619266ba43d
|
|
14
|
+
*/
|
|
15
|
+
endpointId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
endpointId: 'EndpointId',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
endpointId: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteAgenticVpcEndpointResponseBody } from "./DeleteAgenticVpcEndpointResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteAgenticVpcEndpointResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteAgenticVpcEndpointResponseBody;
|
|
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: DeleteAgenticVpcEndpointResponseBody,
|
|
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
|
+
|