Skip to content

Commit 82e0dc9

Browse files
Merge 'tis-Node.js-2024-07-31-online-2284-2026_02_25_16_10_47' into 'master'
tis-Node.js-2024-07-31-online-2284-2026_02_25_16_10_47 See merge request: !32
2 parents 8247147 + 31c35a4 commit 82e0dc9

7 files changed

Lines changed: 174 additions & 1 deletion

service/tis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@volcengine/tis",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "swagger client for @volcengine/tis",
55
"license": "Apache-2.0",
66
"main": "./dist/cjs/index.js",

service/tis/src/api.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import { BuyResourcePackageRequest } from './types/index';
2020
import { BuyResourcePackageResponse } from './types/index';
2121
import { ClearDeviceLongMemoryRequest } from './types/index';
2222
import { ClearDeviceLongMemoryResponse } from './types/index';
23+
import { CreateDeviceWithoutApprovalRequest } from './types/index';
24+
import { CreateDeviceWithoutApprovalResponse } from './types/index';
2325
import { GetAgentListRequest } from './types/index';
2426
import { GetAgentListResponse } from './types/index';
2527
import { GetDeviceBindTcOrderIDRequest } from './types/index';
@@ -43,6 +45,7 @@ import { TopActionDispatchResponse } from './types/index';
4345
export type BuyPoolPackageCommandOutput = CommandOutput<BuyPoolPackageResponse>;
4446
export type BuyResourcePackageCommandOutput = CommandOutput<BuyResourcePackageResponse>;
4547
export type ClearDeviceLongMemoryCommandOutput = CommandOutput<ClearDeviceLongMemoryResponse>;
48+
export type CreateDeviceWithoutApprovalCommandOutput = CommandOutput<CreateDeviceWithoutApprovalResponse>;
4649
export type GetAgentListCommandOutput = CommandOutput<GetAgentListResponse>;
4750
export type GetDeviceBindTcOrderIDCommandOutput = CommandOutput<GetDeviceBindTcOrderIDResponse>;
4851
export type GetPoolDetailListCommandOutput = CommandOutput<GetPoolDetailListResponse>;
@@ -110,6 +113,21 @@ export class ClearDeviceLongMemoryCommand extends Command<
110113
this.requestConfig = buildRequestConfigFromMetaPath(ClearDeviceLongMemoryCommand.metaPath);
111114
}
112115
}
116+
/**
117+
* Command to CreateDeviceWithoutApproval
118+
*/
119+
export class CreateDeviceWithoutApprovalCommand extends Command<
120+
CreateDeviceWithoutApprovalRequest,
121+
CreateDeviceWithoutApprovalCommandOutput,
122+
'CreateDeviceWithoutApprovalCommand'
123+
> {
124+
static readonly metaPath = '/CreateDeviceWithoutApproval/2024-07-31/tis/post/application_json/';
125+
126+
constructor(input: CreateDeviceWithoutApprovalRequest) {
127+
super(input);
128+
this.requestConfig = buildRequestConfigFromMetaPath(CreateDeviceWithoutApprovalCommand.metaPath);
129+
}
130+
}
113131
/**
114132
* Command to GetAgentList
115133
*/
@@ -236,6 +254,7 @@ export default {
236254
BuyPoolPackageCommand,
237255
BuyResourcePackageCommand,
238256
ClearDeviceLongMemoryCommand,
257+
CreateDeviceWithoutApprovalCommand,
239258
GetAgentListCommand,
240259
GetDeviceBindTcOrderIDCommand,
241260
GetPoolDetailListCommand,
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* tis
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 { DeviceListForCreateDeviceWithoutApprovalInput } from './device-list-for-create-device-without-approval-input';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface CreateDeviceWithoutApprovalRequest
21+
*/
22+
export interface CreateDeviceWithoutApprovalRequest {
23+
24+
/**
25+
* @type {Array<DeviceListForCreateDeviceWithoutApprovalInput>}
26+
* @memberof CreateDeviceWithoutApprovalRequest
27+
*/
28+
DeviceList?: Array<DeviceListForCreateDeviceWithoutApprovalInput>;
29+
30+
/**
31+
* @type {string}
32+
* @memberof CreateDeviceWithoutApprovalRequest
33+
*/
34+
ProductKey: string;
35+
36+
/**
37+
* @type {string}
38+
* @memberof CreateDeviceWithoutApprovalRequest
39+
*/
40+
ProjectId: string;
41+
42+
/**
43+
* @type {string}
44+
* @memberof CreateDeviceWithoutApprovalRequest
45+
*/
46+
TcId: string;
47+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* tis
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 { FailDeviceListForCreateDeviceWithoutApprovalOutput } from './fail-device-list-for-create-device-without-approval-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface CreateDeviceWithoutApprovalResponse
21+
*/
22+
export interface CreateDeviceWithoutApprovalResponse {
23+
24+
/**
25+
* @type {string}
26+
* @memberof CreateDeviceWithoutApprovalResponse
27+
*/
28+
BatchStatus?: string;
29+
30+
/**
31+
* @type {Array<FailDeviceListForCreateDeviceWithoutApprovalOutput>}
32+
* @memberof CreateDeviceWithoutApprovalResponse
33+
*/
34+
FailDeviceList?: Array<FailDeviceListForCreateDeviceWithoutApprovalOutput>;
35+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* tis
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 DeviceListForCreateDeviceWithoutApprovalInput
20+
*/
21+
export interface DeviceListForCreateDeviceWithoutApprovalInput {
22+
23+
/**
24+
* @type {string}
25+
* @memberof DeviceListForCreateDeviceWithoutApprovalInput
26+
*/
27+
DeviceName?: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof DeviceListForCreateDeviceWithoutApprovalInput
32+
*/
33+
NickName?: string;
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* tis
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 FailDeviceListForCreateDeviceWithoutApprovalOutput
20+
*/
21+
export interface FailDeviceListForCreateDeviceWithoutApprovalOutput {
22+
23+
/**
24+
* @type {Array<string>}
25+
* @memberof FailDeviceListForCreateDeviceWithoutApprovalOutput
26+
*/
27+
FailDeviceList?: Array<string>;
28+
29+
/**
30+
* @type {string}
31+
* @memberof FailDeviceListForCreateDeviceWithoutApprovalOutput
32+
*/
33+
FailReason?: string;
34+
}

service/tis/src/types/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ export * from './buy-resource-package-response';
66
export * from './category-for-get-speaker-list-output';
77
export * from './clear-device-long-memory-request';
88
export * from './clear-device-long-memory-response';
9+
export * from './create-device-without-approval-request';
10+
export * from './create-device-without-approval-response';
911
export * from './device-info-list-for-get-quota-info-output';
12+
export * from './device-list-for-create-device-without-approval-input';
13+
export * from './fail-device-list-for-create-device-without-approval-output';
1014
export * from './get-agent-list-request';
1115
export * from './get-agent-list-response';
1216
export * from './get-device-bind-tc-order-idrequest';

0 commit comments

Comments
 (0)