Skip to content

Commit 5f4708f

Browse files
committed
Merge 'tis-Node.js-2024-07-31-online-2239-2026_02_02_20_26_49' into 'master'
tis-Node.js-2024-07-31-online-2239-2026_02_02_20_26_49 See merge request: !24
2 parents d66d66d + bddf159 commit 5f4708f

13 files changed

+465
-2
lines changed

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.1",
3+
"version": "1.0.2",
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: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@
1414

1515
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
1616

17+
import { BuyPoolPackageRequest } from './types/index';
18+
import { BuyPoolPackageResponse } from './types/index';
1719
import { BuyResourcePackageRequest } from './types/index';
1820
import { BuyResourcePackageResponse } from './types/index';
1921
import { ClearDeviceLongMemoryRequest } from './types/index';
2022
import { ClearDeviceLongMemoryResponse } from './types/index';
2123
import { GetAgentListRequest } from './types/index';
2224
import { GetAgentListResponse } from './types/index';
25+
import { GetDeviceBindTcOrderIDRequest } from './types/index';
26+
import { GetDeviceBindTcOrderIDResponse } from './types/index';
27+
import { GetPoolDetailListRequest } from './types/index';
28+
import { GetPoolDetailListResponse } from './types/index';
29+
import { GetPoolQuotaInfoRequest } from './types/index';
30+
import { GetPoolQuotaInfoResponse } from './types/index';
2331
import { GetQuotaInfoRequest } from './types/index';
2432
import { GetQuotaInfoResponse } from './types/index';
2533
import { GetSpeakerListRequest } from './types/index';
@@ -32,15 +40,18 @@ import { TopActionDispatchResponse } from './types/index';
3240
// ============================================================================
3341
// Output Type Definitions
3442
// ============================================================================
43+
export type BuyPoolPackageCommandOutput = CommandOutput<BuyPoolPackageResponse>;
3544
export type BuyResourcePackageCommandOutput = CommandOutput<BuyResourcePackageResponse>;
3645
export type ClearDeviceLongMemoryCommandOutput = CommandOutput<ClearDeviceLongMemoryResponse>;
3746
export type GetAgentListCommandOutput = CommandOutput<GetAgentListResponse>;
47+
export type GetDeviceBindTcOrderIDCommandOutput = CommandOutput<GetDeviceBindTcOrderIDResponse>;
48+
export type GetPoolDetailListCommandOutput = CommandOutput<GetPoolDetailListResponse>;
49+
export type GetPoolQuotaInfoCommandOutput = CommandOutput<GetPoolQuotaInfoResponse>;
3850
export type GetQuotaInfoCommandOutput = CommandOutput<GetQuotaInfoResponse>;
3951
export type GetSpeakerListCommandOutput = CommandOutput<GetSpeakerListResponse>;
4052
export type PushMsgToDeviceCommandOutput = CommandOutput<PushMsgToDeviceResponse>;
4153
export type TopActionDispatchCommandOutput = CommandOutput<TopActionDispatchResponse>;
4254

43-
4455
/**
4556
* TISClient Service Client
4657
*/
@@ -54,6 +65,21 @@ export class TISClient extends Client {
5465
}
5566
}
5667

68+
/**
69+
* Command to BuyPoolPackage
70+
*/
71+
export class BuyPoolPackageCommand extends Command<
72+
BuyPoolPackageRequest,
73+
BuyPoolPackageCommandOutput,
74+
'BuyPoolPackageCommand'
75+
> {
76+
static readonly metaPath = '/BuyPoolPackage/2024-07-31/tis/post/application_json/';
77+
78+
constructor(input: BuyPoolPackageRequest) {
79+
super(input);
80+
this.requestConfig = buildRequestConfigFromMetaPath(BuyPoolPackageCommand.metaPath);
81+
}
82+
}
5783
/**
5884
* Command to BuyResourcePackage
5985
*/
@@ -99,6 +125,51 @@ export class GetAgentListCommand extends Command<
99125
this.requestConfig = buildRequestConfigFromMetaPath(GetAgentListCommand.metaPath);
100126
}
101127
}
128+
/**
129+
* Command to GetDeviceBindTcOrderID
130+
*/
131+
export class GetDeviceBindTcOrderIDCommand extends Command<
132+
GetDeviceBindTcOrderIDRequest,
133+
GetDeviceBindTcOrderIDCommandOutput,
134+
'GetDeviceBindTcOrderIDCommand'
135+
> {
136+
static readonly metaPath = '/GetDeviceBindTcOrderID/2024-07-31/tis/post/application_json/';
137+
138+
constructor(input: GetDeviceBindTcOrderIDRequest) {
139+
super(input);
140+
this.requestConfig = buildRequestConfigFromMetaPath(GetDeviceBindTcOrderIDCommand.metaPath);
141+
}
142+
}
143+
/**
144+
* Command to GetPoolDetailList
145+
*/
146+
export class GetPoolDetailListCommand extends Command<
147+
GetPoolDetailListRequest,
148+
GetPoolDetailListCommandOutput,
149+
'GetPoolDetailListCommand'
150+
> {
151+
static readonly metaPath = '/GetPoolDetailList/2024-07-31/tis/post/application_json/';
152+
153+
constructor(input: GetPoolDetailListRequest) {
154+
super(input);
155+
this.requestConfig = buildRequestConfigFromMetaPath(GetPoolDetailListCommand.metaPath);
156+
}
157+
}
158+
/**
159+
* Command to GetPoolQuotaInfo
160+
*/
161+
export class GetPoolQuotaInfoCommand extends Command<
162+
GetPoolQuotaInfoRequest,
163+
GetPoolQuotaInfoCommandOutput,
164+
'GetPoolQuotaInfoCommand'
165+
> {
166+
static readonly metaPath = '/GetPoolQuotaInfo/2024-07-31/tis/post/application_json/';
167+
168+
constructor(input: GetPoolQuotaInfoRequest) {
169+
super(input);
170+
this.requestConfig = buildRequestConfigFromMetaPath(GetPoolQuotaInfoCommand.metaPath);
171+
}
172+
}
102173
/**
103174
* Command to GetQuotaInfo
104175
*/
@@ -162,9 +233,13 @@ export class TopActionDispatchCommand extends Command<
162233

163234
export default {
164235
TISClient,
236+
BuyPoolPackageCommand,
165237
BuyResourcePackageCommand,
166238
ClearDeviceLongMemoryCommand,
167239
GetAgentListCommand,
240+
GetDeviceBindTcOrderIDCommand,
241+
GetPoolDetailListCommand,
242+
GetPoolQuotaInfoCommand,
168243
GetQuotaInfoCommand,
169244
GetSpeakerListCommand,
170245
PushMsgToDeviceCommand,
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 BuyPoolPackageRequest
20+
*/
21+
export interface BuyPoolPackageRequest {
22+
23+
/**
24+
* @type {string}
25+
* @memberof BuyPoolPackageRequest
26+
*/
27+
Item: string;
28+
29+
/**
30+
* @type {number}
31+
* @memberof BuyPoolPackageRequest
32+
*/
33+
Number: number;
34+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 BuyPoolPackageResponse
20+
*/
21+
export interface BuyPoolPackageResponse {
22+
23+
/**
24+
* @type {boolean}
25+
* @memberof BuyPoolPackageResponse
26+
*/
27+
Success?: boolean;
28+
}
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 GetDeviceBindTcOrderIDRequest
20+
*/
21+
export interface GetDeviceBindTcOrderIDRequest {
22+
23+
/**
24+
* @type {string}
25+
* @memberof GetDeviceBindTcOrderIDRequest
26+
*/
27+
DeviceName: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof GetDeviceBindTcOrderIDRequest
32+
*/
33+
ProductKey: string;
34+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 GetDeviceBindTcOrderIDResponse
20+
*/
21+
export interface GetDeviceBindTcOrderIDResponse {
22+
23+
/**
24+
* @type {string}
25+
* @memberof GetDeviceBindTcOrderIDResponse
26+
*/
27+
TcOrderID?: string;
28+
}
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 GetPoolDetailListRequest
20+
*/
21+
export interface GetPoolDetailListRequest {
22+
23+
/**
24+
* @type {number}
25+
* @memberof GetPoolDetailListRequest
26+
*/
27+
Status?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof GetPoolDetailListRequest
32+
*/
33+
TcOrderID?: string;
34+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 { PoolListForGetPoolDetailListOutput } from './pool-list-for-get-pool-detail-list-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface GetPoolDetailListResponse
21+
*/
22+
export interface GetPoolDetailListResponse {
23+
24+
/**
25+
* @type {Array<PoolListForGetPoolDetailListOutput>}
26+
* @memberof GetPoolDetailListResponse
27+
*/
28+
PoolList?: Array<PoolListForGetPoolDetailListOutput>;
29+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 GetPoolQuotaInfoRequest
20+
*/
21+
export interface GetPoolQuotaInfoRequest {
22+
23+
/**
24+
* @type {string}
25+
* @memberof GetPoolQuotaInfoRequest
26+
*/
27+
TcOrderID: string;
28+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 { QuotaInfoListForGetPoolQuotaInfoOutput } from './quota-info-list-for-get-pool-quota-info-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface GetPoolQuotaInfoResponse
21+
*/
22+
export interface GetPoolQuotaInfoResponse {
23+
24+
/**
25+
* @type {Array<QuotaInfoListForGetPoolQuotaInfoOutput>}
26+
* @memberof GetPoolQuotaInfoResponse
27+
*/
28+
QuotaInfoList?: Array<QuotaInfoListForGetPoolQuotaInfoOutput>;
29+
}

0 commit comments

Comments
 (0)