@juhuu/sdk-ts 1.2.218 → 1.2.219
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/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/index.mjs +11 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -1073,6 +1073,7 @@ declare class MqttTopicsService extends Service {
|
|
1073
1073
|
list(params: JUHUU.MqttTopic.List.Params, options?: JUHUU.MqttTopic.List.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.List.Response>>;
|
1074
1074
|
retrieve(params: JUHUU.MqttTopic.Retrieve.Params, options?: JUHUU.MqttTopic.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Retrieve.Response>>;
|
1075
1075
|
update(params: JUHUU.MqttTopic.Update.Params, options?: JUHUU.MqttTopic.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Update.Response>>;
|
1076
|
+
attachChat(params: JUHUU.MqttTopic.AttachChat.Params, options?: JUHUU.MqttTopic.AttachChat.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.AttachChat.Response>>;
|
1076
1077
|
delete(params: JUHUU.MqttTopic.Delete.Params, options?: JUHUU.MqttTopic.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Delete.Response>>;
|
1077
1078
|
}
|
1078
1079
|
|
@@ -4019,6 +4020,15 @@ declare namespace JUHUU {
|
|
4019
4020
|
mqttTopic: JUHUU.MqttTopic.Object;
|
4020
4021
|
};
|
4021
4022
|
}
|
4023
|
+
namespace AttachChat {
|
4024
|
+
type Params = {
|
4025
|
+
mqttTopicId: string;
|
4026
|
+
};
|
4027
|
+
type Options = JUHUU.RequestOptions;
|
4028
|
+
type Response = {
|
4029
|
+
mqttTopic: JUHUU.MqttTopic.Object;
|
4030
|
+
};
|
4031
|
+
}
|
4022
4032
|
namespace Delete {
|
4023
4033
|
type Params = {
|
4024
4034
|
mqttTopicId: string;
|
package/dist/index.d.ts
CHANGED
@@ -1073,6 +1073,7 @@ declare class MqttTopicsService extends Service {
|
|
1073
1073
|
list(params: JUHUU.MqttTopic.List.Params, options?: JUHUU.MqttTopic.List.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.List.Response>>;
|
1074
1074
|
retrieve(params: JUHUU.MqttTopic.Retrieve.Params, options?: JUHUU.MqttTopic.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Retrieve.Response>>;
|
1075
1075
|
update(params: JUHUU.MqttTopic.Update.Params, options?: JUHUU.MqttTopic.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Update.Response>>;
|
1076
|
+
attachChat(params: JUHUU.MqttTopic.AttachChat.Params, options?: JUHUU.MqttTopic.AttachChat.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.AttachChat.Response>>;
|
1076
1077
|
delete(params: JUHUU.MqttTopic.Delete.Params, options?: JUHUU.MqttTopic.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.MqttTopic.Delete.Response>>;
|
1077
1078
|
}
|
1078
1079
|
|
@@ -4019,6 +4020,15 @@ declare namespace JUHUU {
|
|
4019
4020
|
mqttTopic: JUHUU.MqttTopic.Object;
|
4020
4021
|
};
|
4021
4022
|
}
|
4023
|
+
namespace AttachChat {
|
4024
|
+
type Params = {
|
4025
|
+
mqttTopicId: string;
|
4026
|
+
};
|
4027
|
+
type Options = JUHUU.RequestOptions;
|
4028
|
+
type Response = {
|
4029
|
+
mqttTopic: JUHUU.MqttTopic.Object;
|
4030
|
+
};
|
4031
|
+
}
|
4022
4032
|
namespace Delete {
|
4023
4033
|
type Params = {
|
4024
4034
|
mqttTopicId: string;
|
package/dist/index.js
CHANGED
@@ -3525,6 +3525,17 @@ var MqttTopicsService = class extends Service {
|
|
3525
3525
|
options
|
3526
3526
|
);
|
3527
3527
|
}
|
3528
|
+
async attachChat(params, options) {
|
3529
|
+
return await super.sendRequest(
|
3530
|
+
{
|
3531
|
+
method: "PATCH",
|
3532
|
+
url: "mqttTopics/" + params.mqttTopicId + "/attachChat",
|
3533
|
+
body: void 0,
|
3534
|
+
authenticationNotOptional: true
|
3535
|
+
},
|
3536
|
+
options
|
3537
|
+
);
|
3538
|
+
}
|
3528
3539
|
async delete(params, options) {
|
3529
3540
|
return await super.sendRequest(
|
3530
3541
|
{
|
package/dist/index.mjs
CHANGED
@@ -3481,6 +3481,17 @@ var MqttTopicsService = class extends Service {
|
|
3481
3481
|
options
|
3482
3482
|
);
|
3483
3483
|
}
|
3484
|
+
async attachChat(params, options) {
|
3485
|
+
return await super.sendRequest(
|
3486
|
+
{
|
3487
|
+
method: "PATCH",
|
3488
|
+
url: "mqttTopics/" + params.mqttTopicId + "/attachChat",
|
3489
|
+
body: void 0,
|
3490
|
+
authenticationNotOptional: true
|
3491
|
+
},
|
3492
|
+
options
|
3493
|
+
);
|
3494
|
+
}
|
3484
3495
|
async delete(params, options) {
|
3485
3496
|
return await super.sendRequest(
|
3486
3497
|
{
|