@huaweicloud/huaweicloud-sdk-rocketmq 3.1.174 → 3.1.176
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/package.json +2 -2
- package/v2/RocketMQClient.d.ts +1 -1
- package/v2/RocketMQClient.js +1 -1
- package/v2/model/{SendMessageRep.d.ts → SendMessageReq.d.ts} +5 -5
- package/v2/model/{SendMessageRep.d.ts.map → SendMessageReq.d.ts.map} +1 -1
- package/v2/model/{SendMessageRep.js → SendMessageReq.js} +4 -4
- package/v2/model/{SendMessageRep.js.map → SendMessageReq.js.map} +1 -1
- package/v2/model/SendMessageRequest.d.ts +3 -3
- package/v2/public-api.d.ts +1 -1
- package/v2/public-api.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-rocketmq",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.176",
|
|
4
4
|
"description": "Huaweicloud SDK for rocketmq",
|
|
5
5
|
"main": "huaweicloud-sdk-rocketmq.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-rocketmq.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.176"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^14.14.37",
|
package/v2/RocketMQClient.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ export declare class RocketMQClient {
|
|
|
575
575
|
* @summary 发送消息
|
|
576
576
|
* @param {string} engine **参数解释**: 引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
|
577
577
|
* @param {string} instanceId **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
|
578
|
-
* @param {
|
|
578
|
+
* @param {SendMessageReq} sendMessageBody **参数解释**: 发送消息请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。。
|
|
579
579
|
* @param {*} [options] Override http request option.
|
|
580
580
|
* @throws {RequiredError}
|
|
581
581
|
*/
|
package/v2/RocketMQClient.js
CHANGED
|
@@ -687,7 +687,7 @@ class RocketMQClient {
|
|
|
687
687
|
* @summary 发送消息
|
|
688
688
|
* @param {string} engine **参数解释**: 引擎。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
|
689
689
|
* @param {string} instanceId **参数解释**: 实例ID。获取方法如下:登录RocketMQ控制台,在RocketMQ实例详情页面查找实例ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
|
690
|
-
* @param {
|
|
690
|
+
* @param {SendMessageReq} sendMessageBody **参数解释**: 发送消息请求体。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。。
|
|
691
691
|
* @param {*} [options] Override http request option.
|
|
692
692
|
* @throws {RequiredError}
|
|
693
693
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SendMessageProperties } from './SendMessageProperties';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class SendMessageReq {
|
|
3
3
|
topic?: string;
|
|
4
4
|
body?: string;
|
|
5
5
|
private 'property_list'?;
|
|
6
6
|
constructor();
|
|
7
|
-
withTopic(topic: string):
|
|
8
|
-
withBody(body: string):
|
|
9
|
-
withPropertyList(propertyList: Array<SendMessageProperties>):
|
|
7
|
+
withTopic(topic: string): SendMessageReq;
|
|
8
|
+
withBody(body: string): SendMessageReq;
|
|
9
|
+
withPropertyList(propertyList: Array<SendMessageProperties>): SendMessageReq;
|
|
10
10
|
set propertyList(propertyList: Array<SendMessageProperties> | undefined);
|
|
11
11
|
get propertyList(): Array<SendMessageProperties> | undefined;
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=SendMessageReq.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"SendMessageReq.d.ts","sourceRoot":"","sources":["../../../../../services/rocketmq/v2/model/SendMessageReq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,qBAAa,cAAc;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,eAAe,CAAC,CAA+B;;IAGhD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc;IAIxC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;IAItC,gBAAgB,CAAC,YAAY,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,cAAc;IAInF,IAAW,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAI,SAAS,EAE9E;IACD,IAAW,YAAY,IAAI,KAAK,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAElE;CACJ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.SendMessageReq = void 0;
|
|
4
|
+
class SendMessageReq {
|
|
5
5
|
constructor() {
|
|
6
6
|
}
|
|
7
7
|
withTopic(topic) {
|
|
@@ -23,5 +23,5 @@ class SendMessageRep {
|
|
|
23
23
|
return this['property_list'];
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
exports.
|
|
27
|
-
//# sourceMappingURL=
|
|
26
|
+
exports.SendMessageReq = SendMessageReq;
|
|
27
|
+
//# sourceMappingURL=SendMessageReq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"SendMessageReq.js","sourceRoot":"","sources":["../../../../../services/rocketmq/v2/model/SendMessageReq.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;IAIvB;IACA,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gBAAgB,CAAC,YAA0C;QAC9D,IAAI,CAAC,eAAe,CAAC,GAAG,YAAY,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,YAAY,CAAC,YAAuD;QAC3E,IAAI,CAAC,eAAe,CAAC,GAAG,YAAY,CAAC;IACzC,CAAC;IACD,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC;IACjC,CAAC;CACJ;AAxBD,wCAwBC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SendMessageReq } from './SendMessageReq';
|
|
2
2
|
export declare class SendMessageRequest {
|
|
3
3
|
engine?: string;
|
|
4
4
|
private 'instance_id'?;
|
|
5
|
-
body?:
|
|
5
|
+
body?: SendMessageReq;
|
|
6
6
|
constructor(engine?: string, instanceId?: string);
|
|
7
7
|
withEngine(engine: string): SendMessageRequest;
|
|
8
8
|
withInstanceId(instanceId: string): SendMessageRequest;
|
|
9
9
|
set instanceId(instanceId: string | undefined);
|
|
10
10
|
get instanceId(): string | undefined;
|
|
11
|
-
withBody(body:
|
|
11
|
+
withBody(body: SendMessageReq): SendMessageRequest;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=SendMessageRequest.d.ts.map
|
package/v2/public-api.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ export * from './model/RocketMQProductSupportFeaturesEntity';
|
|
|
138
138
|
export * from './model/SendDlqMessageRequest';
|
|
139
139
|
export * from './model/SendDlqMessageResponse';
|
|
140
140
|
export * from './model/SendMessageProperties';
|
|
141
|
-
export * from './model/
|
|
141
|
+
export * from './model/SendMessageReq';
|
|
142
142
|
export * from './model/SendMessageRequest';
|
|
143
143
|
export * from './model/SendMessageResponse';
|
|
144
144
|
export * from './model/ShowConsumerConnectionsRequest';
|
package/v2/public-api.js
CHANGED
|
@@ -154,7 +154,7 @@ __exportStar(require("./model/RocketMQProductSupportFeaturesEntity"), exports);
|
|
|
154
154
|
__exportStar(require("./model/SendDlqMessageRequest"), exports);
|
|
155
155
|
__exportStar(require("./model/SendDlqMessageResponse"), exports);
|
|
156
156
|
__exportStar(require("./model/SendMessageProperties"), exports);
|
|
157
|
-
__exportStar(require("./model/
|
|
157
|
+
__exportStar(require("./model/SendMessageReq"), exports);
|
|
158
158
|
__exportStar(require("./model/SendMessageRequest"), exports);
|
|
159
159
|
__exportStar(require("./model/SendMessageResponse"), exports);
|
|
160
160
|
__exportStar(require("./model/ShowConsumerConnectionsRequest"), exports);
|