@juhuu/sdk-ts 1.2.218 → 1.2.220

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 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
@@ -2893,7 +2893,13 @@ var ParametersService = class extends Service {
2893
2893
  method: "POST",
2894
2894
  url: "parameters",
2895
2895
  body: {
2896
- propertyId: ParameterCreateParams.propertyId
2896
+ propertyId: ParameterCreateParams.propertyId,
2897
+ type: ParameterCreateParams.type,
2898
+ name: ParameterCreateParams.name,
2899
+ description: ParameterCreateParams.description,
2900
+ currentValue: ParameterCreateParams.currentValue,
2901
+ enumArray: ParameterCreateParams.enumArray,
2902
+ reference: ParameterCreateParams.reference
2897
2903
  },
2898
2904
  authenticationNotOptional: true
2899
2905
  },
@@ -3525,6 +3531,17 @@ var MqttTopicsService = class extends Service {
3525
3531
  options
3526
3532
  );
3527
3533
  }
3534
+ async attachChat(params, options) {
3535
+ return await super.sendRequest(
3536
+ {
3537
+ method: "PATCH",
3538
+ url: "mqttTopics/" + params.mqttTopicId + "/attachChat",
3539
+ body: void 0,
3540
+ authenticationNotOptional: true
3541
+ },
3542
+ options
3543
+ );
3544
+ }
3528
3545
  async delete(params, options) {
3529
3546
  return await super.sendRequest(
3530
3547
  {
package/dist/index.mjs CHANGED
@@ -2849,7 +2849,13 @@ var ParametersService = class extends Service {
2849
2849
  method: "POST",
2850
2850
  url: "parameters",
2851
2851
  body: {
2852
- propertyId: ParameterCreateParams.propertyId
2852
+ propertyId: ParameterCreateParams.propertyId,
2853
+ type: ParameterCreateParams.type,
2854
+ name: ParameterCreateParams.name,
2855
+ description: ParameterCreateParams.description,
2856
+ currentValue: ParameterCreateParams.currentValue,
2857
+ enumArray: ParameterCreateParams.enumArray,
2858
+ reference: ParameterCreateParams.reference
2853
2859
  },
2854
2860
  authenticationNotOptional: true
2855
2861
  },
@@ -3481,6 +3487,17 @@ var MqttTopicsService = class extends Service {
3481
3487
  options
3482
3488
  );
3483
3489
  }
3490
+ async attachChat(params, options) {
3491
+ return await super.sendRequest(
3492
+ {
3493
+ method: "PATCH",
3494
+ url: "mqttTopics/" + params.mqttTopicId + "/attachChat",
3495
+ body: void 0,
3496
+ authenticationNotOptional: true
3497
+ },
3498
+ options
3499
+ );
3500
+ }
3484
3501
  async delete(params, options) {
3485
3502
  return await super.sendRequest(
3486
3503
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.218",
3
+ "version": "1.2.220",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",