Skip to content

Commit 26c508a

Browse files
Merge "master" into "cbr-Node.js-2024-03-01-online-2278-2026_02_24_20_35_51"
Conflicts: meta.json
2 parents 8588119 + 8247147 commit 26c508a

File tree

792 files changed

+44490
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

792 files changed

+44490
-4
lines changed

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"lasted": "1.0.6",
3-
"meta_commit": "b788d8d8fd73a322047c6102f2c4d2edc844dabb"
3+
"meta_commit": "94108205a5072bdcdff51fb13907025c154c055b"
44
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "@volcengine/clouddetect20251031",
3+
"version": "1.0.1",
4+
"description": "swagger client for @volcengine/clouddetect20251031",
5+
"license": "Apache-2.0",
6+
"main": "./dist/cjs/index.js",
7+
"module": "./dist/esm/index.mjs",
8+
"types": "./dist/esm/index.d.ts",
9+
"exports": {
10+
".": {
11+
"types": "./dist/esm/index.d.ts",
12+
"import": "./dist/esm/index.mjs",
13+
"require": "./dist/cjs/index.js"
14+
},
15+
"./package.json": "./package.json"
16+
},
17+
"engines": {
18+
"node": ">=18"
19+
},
20+
"scripts": {
21+
"build": "rslib build",
22+
"dev": "rslib build --watch",
23+
"clean": "rm -rf dist",
24+
"test": "jest"
25+
},
26+
"dependencies": {
27+
"@volcengine/sdk-core": "workspace:*"
28+
},
29+
"devDependencies": {
30+
"@types/node": "^20.8.0",
31+
"typescript": "^5.2.2"
32+
},
33+
"sideEffects": false,
34+
"publishConfig": {
35+
"registry": "https://registry.npmjs.org"
36+
}
37+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
import { defineConfig } from "@rslib/core";
3+
4+
export default defineConfig({
5+
lib: [
6+
{
7+
format: "esm",
8+
syntax: "es2020",
9+
dts: true,
10+
output: {
11+
distPath: {
12+
root: "./dist/esm",
13+
},
14+
},
15+
},
16+
{
17+
format: "cjs",
18+
syntax: "es2020",
19+
output: {
20+
distPath: {
21+
root: "./dist/cjs",
22+
},
23+
},
24+
},
25+
],
26+
});
Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* cloud_detect20251031
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16+
17+
import { CreateTaskRequest } from './types/index';
18+
import { CreateTaskResponse } from './types/index';
19+
import { DeleteTaskRequest } from './types/index';
20+
import { DeleteTaskResponse } from './types/index';
21+
import { GetTaskRequest } from './types/index';
22+
import { GetTaskResponse } from './types/index';
23+
import { GetTaskResultRequest } from './types/index';
24+
import { GetTaskResultResponse } from './types/index';
25+
import { ListNodesRequest } from './types/index';
26+
import { ListNodesResponse } from './types/index';
27+
import { ListTaskRequest } from './types/index';
28+
import { ListTaskResponse } from './types/index';
29+
import { RestartTaskRequest } from './types/index';
30+
import { RestartTaskResponse } from './types/index';
31+
import { StopTaskRequest } from './types/index';
32+
import { StopTaskResponse } from './types/index';
33+
import { UpdateTaskRequest } from './types/index';
34+
import { UpdateTaskResponse } from './types/index';
35+
36+
// ============================================================================
37+
// Output Type Definitions
38+
// ============================================================================
39+
export type CreateTaskCommandOutput = CommandOutput<CreateTaskResponse>;
40+
export type DeleteTaskCommandOutput = CommandOutput<DeleteTaskResponse>;
41+
export type GetTaskCommandOutput = CommandOutput<GetTaskResponse>;
42+
export type GetTaskResultCommandOutput = CommandOutput<GetTaskResultResponse>;
43+
export type ListNodesCommandOutput = CommandOutput<ListNodesResponse>;
44+
export type ListTaskCommandOutput = CommandOutput<ListTaskResponse>;
45+
export type RestartTaskCommandOutput = CommandOutput<RestartTaskResponse>;
46+
export type StopTaskCommandOutput = CommandOutput<StopTaskResponse>;
47+
export type UpdateTaskCommandOutput = CommandOutput<UpdateTaskResponse>;
48+
49+
/**
50+
* CLOUDDETECT20251031Client Service Client
51+
*/
52+
export class CLOUDDETECT20251031Client extends Client {
53+
constructor(config: ClientConfig = {}) {
54+
super({
55+
protocol: 'https',
56+
region: 'cn-beijing',
57+
...config,
58+
});
59+
}
60+
}
61+
62+
/**
63+
* Command to CreateTask
64+
*/
65+
export class CreateTaskCommand extends Command<
66+
CreateTaskRequest,
67+
CreateTaskCommandOutput,
68+
'CreateTaskCommand'
69+
> {
70+
static readonly metaPath = '/CreateTask/2025-10-31/cloud_detect/post/application_json/';
71+
72+
constructor(input: CreateTaskRequest) {
73+
super(input);
74+
this.requestConfig = buildRequestConfigFromMetaPath(CreateTaskCommand.metaPath);
75+
}
76+
}
77+
/**
78+
* Command to DeleteTask
79+
*/
80+
export class DeleteTaskCommand extends Command<
81+
DeleteTaskRequest,
82+
DeleteTaskCommandOutput,
83+
'DeleteTaskCommand'
84+
> {
85+
static readonly metaPath = '/DeleteTask/2025-10-31/cloud_detect/post/application_json/';
86+
87+
constructor(input: DeleteTaskRequest) {
88+
super(input);
89+
this.requestConfig = buildRequestConfigFromMetaPath(DeleteTaskCommand.metaPath);
90+
}
91+
}
92+
/**
93+
* Command to GetTask
94+
*/
95+
export class GetTaskCommand extends Command<
96+
GetTaskRequest,
97+
GetTaskCommandOutput,
98+
'GetTaskCommand'
99+
> {
100+
static readonly metaPath = '/GetTask/2025-10-31/cloud_detect/post/application_json/';
101+
102+
constructor(input: GetTaskRequest) {
103+
super(input);
104+
this.requestConfig = buildRequestConfigFromMetaPath(GetTaskCommand.metaPath);
105+
}
106+
}
107+
/**
108+
* Command to GetTaskResult
109+
*/
110+
export class GetTaskResultCommand extends Command<
111+
GetTaskResultRequest,
112+
GetTaskResultCommandOutput,
113+
'GetTaskResultCommand'
114+
> {
115+
static readonly metaPath = '/GetTaskResult/2025-10-31/cloud_detect/post/application_json/';
116+
117+
constructor(input: GetTaskResultRequest) {
118+
super(input);
119+
this.requestConfig = buildRequestConfigFromMetaPath(GetTaskResultCommand.metaPath);
120+
}
121+
}
122+
/**
123+
* Command to ListNodes
124+
*/
125+
export class ListNodesCommand extends Command<
126+
ListNodesRequest,
127+
ListNodesCommandOutput,
128+
'ListNodesCommand'
129+
> {
130+
static readonly metaPath = '/ListNodes/2025-10-31/cloud_detect/post/application_json/';
131+
132+
constructor(input: ListNodesRequest) {
133+
super(input);
134+
this.requestConfig = buildRequestConfigFromMetaPath(ListNodesCommand.metaPath);
135+
}
136+
}
137+
/**
138+
* Command to ListTask
139+
*/
140+
export class ListTaskCommand extends Command<
141+
ListTaskRequest,
142+
ListTaskCommandOutput,
143+
'ListTaskCommand'
144+
> {
145+
static readonly metaPath = '/ListTask/2025-10-31/cloud_detect/post/application_json/';
146+
147+
constructor(input: ListTaskRequest) {
148+
super(input);
149+
this.requestConfig = buildRequestConfigFromMetaPath(ListTaskCommand.metaPath);
150+
}
151+
}
152+
/**
153+
* Command to RestartTask
154+
*/
155+
export class RestartTaskCommand extends Command<
156+
RestartTaskRequest,
157+
RestartTaskCommandOutput,
158+
'RestartTaskCommand'
159+
> {
160+
static readonly metaPath = '/RestartTask/2025-10-31/cloud_detect/post/application_json/';
161+
162+
constructor(input: RestartTaskRequest) {
163+
super(input);
164+
this.requestConfig = buildRequestConfigFromMetaPath(RestartTaskCommand.metaPath);
165+
}
166+
}
167+
/**
168+
* Command to StopTask
169+
*/
170+
export class StopTaskCommand extends Command<
171+
StopTaskRequest,
172+
StopTaskCommandOutput,
173+
'StopTaskCommand'
174+
> {
175+
static readonly metaPath = '/StopTask/2025-10-31/cloud_detect/post/application_json/';
176+
177+
constructor(input: StopTaskRequest) {
178+
super(input);
179+
this.requestConfig = buildRequestConfigFromMetaPath(StopTaskCommand.metaPath);
180+
}
181+
}
182+
/**
183+
* Command to UpdateTask
184+
*/
185+
export class UpdateTaskCommand extends Command<
186+
UpdateTaskRequest,
187+
UpdateTaskCommandOutput,
188+
'UpdateTaskCommand'
189+
> {
190+
static readonly metaPath = '/UpdateTask/2025-10-31/cloud_detect/post/application_json/';
191+
192+
constructor(input: UpdateTaskRequest) {
193+
super(input);
194+
this.requestConfig = buildRequestConfigFromMetaPath(UpdateTaskCommand.metaPath);
195+
}
196+
}
197+
198+
export default {
199+
CLOUDDETECT20251031Client,
200+
CreateTaskCommand,
201+
DeleteTaskCommand,
202+
GetTaskCommand,
203+
GetTaskResultCommand,
204+
ListNodesCommand,
205+
ListTaskCommand,
206+
RestartTaskCommand,
207+
StopTaskCommand,
208+
UpdateTaskCommand,
209+
};
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// tslint:disable
2+
/**
3+
* cloud_detect20251031
4+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5+
*
6+
* OpenAPI spec version: common-version
7+
*
8+
*
9+
* NOTE: This class is auto generated by the swagger code generator program.
10+
* https://github.com/swagger-api/swagger-codegen.git
11+
* Do not edit the class manually.
12+
*/
13+
14+
export * from "./api";
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* cloud_detect20251031
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface AlarmListForGetTaskOutput
20+
*/
21+
export interface AlarmListForGetTaskOutput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof AlarmListForGetTaskOutput
26+
*/
27+
Id?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof AlarmListForGetTaskOutput
32+
*/
33+
Name?: string;
34+
35+
/**
36+
* @type {number}
37+
* @memberof AlarmListForGetTaskOutput
38+
*/
39+
Status?: number;
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* cloud_detect20251031
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface AlarmListForListTaskOutput
20+
*/
21+
export interface AlarmListForListTaskOutput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof AlarmListForListTaskOutput
26+
*/
27+
Id?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof AlarmListForListTaskOutput
32+
*/
33+
Name?: string;
34+
35+
/**
36+
* @type {number}
37+
* @memberof AlarmListForListTaskOutput
38+
*/
39+
Status?: number;
40+
}

0 commit comments

Comments
 (0)