Skip to content

Commit 43491a1

Browse files
committed
Merge "master" into "emr-Node.js-2023-08-15-online-2387-2026_03_21_17_37_32"
Conflicts: meta.json
2 parents 10e53a0 + 619ab8c commit 43491a1

41 files changed

Lines changed: 1514 additions & 49 deletions

Some content is hidden

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

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.9",
3-
"meta_commit": "a515aa44dfe3003142d06ace43092065c235ce9e"
3+
"meta_commit": "a191a246059b0e419611b0dbafde9d3aed6059d1"
44
}

service/bmq/package.json

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

service/bmq/src/api.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ import { PreviewTopicDataRequest } from './types/index';
7474
import { PreviewTopicDataResponse } from './types/index';
7575
import { ResetSubscriptionOffsetRequest } from './types/index';
7676
import { ResetSubscriptionOffsetResponse } from './types/index';
77+
import { ScaleDownInstanceRequest } from './types/index';
78+
import { ScaleDownInstanceResponse } from './types/index';
7779
import { ScaleUpTopicRequest } from './types/index';
7880
import { ScaleUpTopicResponse } from './types/index';
7981
import { SearchGroupsRequest } from './types/index';
@@ -122,6 +124,7 @@ export type ModifyInstanceTagCommandOutput = CommandOutput<ModifyInstanceTagResp
122124
export type ModifyOverlayAccessCommandOutput = CommandOutput<ModifyOverlayAccessResponse>;
123125
export type PreviewTopicDataCommandOutput = CommandOutput<PreviewTopicDataResponse>;
124126
export type ResetSubscriptionOffsetCommandOutput = CommandOutput<ResetSubscriptionOffsetResponse>;
127+
export type ScaleDownInstanceCommandOutput = CommandOutput<ScaleDownInstanceResponse>;
125128
export type ScaleUpTopicCommandOutput = CommandOutput<ScaleUpTopicResponse>;
126129
export type SearchGroupsCommandOutput = CommandOutput<SearchGroupsResponse>;
127130
export type SearchInstancesCommandOutput = CommandOutput<SearchInstancesResponse>;
@@ -130,7 +133,6 @@ export type TopicExistCommandOutput = CommandOutput<TopicExistResponse>;
130133
export type UpdateInstanceMessageRetentionCommandOutput = CommandOutput<UpdateInstanceMessageRetentionResponse>;
131134
export type UpdateTopicMessageRetentionCommandOutput = CommandOutput<UpdateTopicMessageRetentionResponse>;
132135

133-
134136
/**
135137
* BMQClient Service Client
136138
*/
@@ -594,6 +596,21 @@ export class ResetSubscriptionOffsetCommand extends Command<
594596
this.requestConfig = buildRequestConfigFromMetaPath(ResetSubscriptionOffsetCommand.metaPath);
595597
}
596598
}
599+
/**
600+
* Command to ScaleDownInstance
601+
*/
602+
export class ScaleDownInstanceCommand extends Command<
603+
ScaleDownInstanceRequest,
604+
ScaleDownInstanceCommandOutput,
605+
'ScaleDownInstanceCommand'
606+
> {
607+
static readonly metaPath = '/ScaleDownInstance/2023-06-01/bmq/post/application_json/';
608+
609+
constructor(input: ScaleDownInstanceRequest) {
610+
super(input);
611+
this.requestConfig = buildRequestConfigFromMetaPath(ScaleDownInstanceCommand.metaPath);
612+
}
613+
}
597614
/**
598615
* Command to ScaleUpTopic
599616
*/
@@ -732,6 +749,7 @@ export default {
732749
ModifyOverlayAccessCommand,
733750
PreviewTopicDataCommand,
734751
ResetSubscriptionOffsetCommand,
752+
ScaleDownInstanceCommand,
735753
ScaleUpTopicCommand,
736754
SearchGroupsCommand,
737755
SearchInstancesCommand,

service/bmq/src/types/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export * from './reset-subscription-offset-response';
8080
export * from './resource-tag-for-describe-instance-output';
8181
export * from './resource-tag-for-search-instances-output';
8282
export * from './resources-for-describe-instance-output';
83+
export * from './scale-down-instance-request';
84+
export * from './scale-down-instance-response';
8385
export * from './scale-up-topic-request';
8486
export * from './scale-up-topic-response';
8587
export * from './search-groups-request';
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+
* bmq
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 ScaleDownInstanceRequest
20+
*/
21+
export interface ScaleDownInstanceRequest {
22+
23+
/**
24+
* @type {string}
25+
* @memberof ScaleDownInstanceRequest
26+
*/
27+
InstanceId: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof ScaleDownInstanceRequest
32+
*/
33+
TargetSpecification: string;
34+
}

service/vefaas/src/types/transition-sandbox-response.ts renamed to service/bmq/src/types/scale-down-instance-response.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* tslint:disable */
22
/* eslint-disable */
33
/**
4-
* vefaas
4+
* bmq
55
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
66
*
77
* OpenAPI spec version: common-version
@@ -16,25 +16,19 @@
1616
*
1717
*
1818
* @export
19-
* @interface TransitionSandboxResponse
19+
* @interface ScaleDownInstanceResponse
2020
*/
21-
export interface TransitionSandboxResponse {
21+
export interface ScaleDownInstanceResponse {
2222

2323
/**
2424
* @type {string}
25-
* @memberof TransitionSandboxResponse
25+
* @memberof ScaleDownInstanceResponse
2626
*/
27-
FunctionId?: string;
27+
Message?: string;
2828

2929
/**
3030
* @type {string}
31-
* @memberof TransitionSandboxResponse
32-
*/
33-
SandboxId?: string;
34-
35-
/**
36-
* @type {string}
37-
* @memberof TransitionSandboxResponse
31+
* @memberof ScaleDownInstanceResponse
3832
*/
3933
Status?: string;
4034
}

service/bmq20240901/package.json

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

service/bmq20240901/src/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export type RefreshDeviceCredentialCommandOutput = CommandOutput<RefreshDeviceCr
4040
export type RegisterDeviceCredentialCommandOutput = CommandOutput<RegisterDeviceCredentialResponse>;
4141
export type UnRegisterDeviceCredentialCommandOutput = CommandOutput<UnRegisterDeviceCredentialResponse>;
4242

43-
4443
/**
4544
* BMQ20240901Client Service Client
4645
*/

service/insight/package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "@volcengine/insight",
3+
"version": "1.0.1",
4+
"description": "swagger client for @volcengine/insight",
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+
}

service/insight/rslib.config.ts

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+
});

0 commit comments

Comments
 (0)