@juhuu/sdk-ts 1.2.193 → 1.2.194

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
@@ -742,15 +742,6 @@ declare class AccountingAreasService extends Service {
742
742
  delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
743
743
  }
744
744
 
745
- declare class ConnectorsService extends Service {
746
- constructor(config: JUHUU.SetupConfig);
747
- create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
748
- retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
749
- list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
750
- update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
751
- delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
752
- }
753
-
754
745
  declare class PayoutsService extends Service {
755
746
  constructor(config: JUHUU.SetupConfig);
756
747
  create(PayoutCreateParams: JUHUU.Payout.Create.Params, PayoutCreateOptions?: JUHUU.Payout.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Create.Response>>;
@@ -820,12 +811,6 @@ declare class ArticleEmbeddingsService extends Service {
820
811
  retrieve(ArticleEmbeddingRetrieveParams: JUHUU.ArticleEmbedding.Retrieve.Params, ArticleEmbeddingRetrieveOptions?: JUHUU.ArticleEmbedding.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleEmbedding.Retrieve.Response>>;
821
812
  }
822
813
 
823
- declare class BoldLockService extends Service {
824
- constructor(config: JUHUU.SetupConfig);
825
- credentials(BoldLockCredentialsParams: JUHUU.BoldLock.Credentials.Params, BoldLockCredentialsOptions?: JUHUU.BoldLock.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.Credentials.Response>>;
826
- grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
827
- }
828
-
829
814
  declare class TapkeyService extends Service {
830
815
  constructor(config: JUHUU.SetupConfig);
831
816
  credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
@@ -908,6 +893,11 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
908
893
  delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
909
894
  }
910
895
 
896
+ declare class EmzService extends Service {
897
+ constructor(config: JUHUU.SetupConfig);
898
+ credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
899
+ }
900
+
911
901
  declare class Juhuu {
912
902
  constructor(config: JUHUU.SetupConfig);
913
903
  /**
@@ -928,7 +918,6 @@ declare class Juhuu {
928
918
  readonly products: ProductService;
929
919
  readonly settings: SettingsService;
930
920
  readonly accountingAreas: AccountingAreasService;
931
- readonly connectors: ConnectorsService;
932
921
  readonly payouts: PayoutsService;
933
922
  readonly connectorMessages: ConnectorMessagesService;
934
923
  readonly sims: SimsService;
@@ -937,7 +926,6 @@ declare class Juhuu {
937
926
  readonly chats: ChatsService;
938
927
  readonly chatMessages: ChatMessagesService;
939
928
  readonly articleEmbeddings: ArticleEmbeddingsService;
940
- readonly boldLock: BoldLockService;
941
929
  readonly tapkey: TapkeyService;
942
930
  readonly articleGroups: ArticleGroupGroupsService;
943
931
  readonly parameterHistories: ParameterHistoriesService;
@@ -947,6 +935,7 @@ declare class Juhuu {
947
935
  readonly incidents: IncidentsService;
948
936
  readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
949
937
  readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
938
+ readonly emz: EmzService;
950
939
  }
951
940
  declare namespace JUHUU {
952
941
  interface SetupConfig {
@@ -1399,28 +1388,17 @@ declare namespace JUHUU {
1399
1388
  }
1400
1389
  export { };
1401
1390
  }
1402
- namespace BoldLock {
1391
+ namespace Emz {
1403
1392
  namespace Credentials {
1404
1393
  type Params = {
1405
- userId: string;
1406
1394
  deviceId: string;
1407
1395
  };
1408
1396
  type Options = JUHUU.RequestOptions;
1409
1397
  type Response = {
1410
- boldClientId: string;
1411
- boldClientSecret: string;
1412
- boldAuthorizationCode: string;
1413
- boldRedirectUri: string;
1414
- };
1415
- }
1416
- namespace GrantAccess {
1417
- type Params = {
1398
+ targetHardwareId: string;
1399
+ contractId: string;
1418
1400
  userId: string;
1419
- deviceId: string;
1420
- };
1421
- type Options = JUHUU.RequestOptions;
1422
- type Response = {
1423
- device: JUHUU.Device.Object;
1401
+ token: string;
1424
1402
  };
1425
1403
  }
1426
1404
  }
@@ -2996,7 +2974,6 @@ declare namespace JUHUU {
2996
2974
  device: JUHUU.Device.Object;
2997
2975
  deviceTemplate?: JUHUU.DeviceTemplate.Object;
2998
2976
  property?: JUHUU.Property.Object;
2999
- connector?: JUHUU.Connector.Object;
3000
2977
  };
3001
2978
  }
3002
2979
  namespace List {
@@ -3074,107 +3051,6 @@ declare namespace JUHUU {
3074
3051
  type Response = JUHUU.Device.Object;
3075
3052
  }
3076
3053
  }
3077
- namespace Connector {
3078
- type Base = {
3079
- id: string;
3080
- readonly object: "connector";
3081
- status: "online" | "offline";
3082
- description: string | null;
3083
- name: string;
3084
- propertyId: string;
3085
- lastOutboundAt: Date | null;
3086
- lastInboundAt: Date | null;
3087
- connectionMode: "alwaysOnline" | "temporaryOnline";
3088
- version: number;
3089
- simId: string | null;
3090
- };
3091
- export interface Mqtt extends Base {
3092
- type: "mqtt";
3093
- username: string;
3094
- password: string;
3095
- clientId: string;
3096
- host: string;
3097
- port: number;
3098
- mqttRetain: boolean;
3099
- mqttQos: "0" | "1" | "2";
3100
- acls: AccessControlListElement[];
3101
- }
3102
- export interface BoldLock extends Base {
3103
- type: "boldLock";
3104
- boldClientId: string;
3105
- boldClientSecret: string;
3106
- boldOrganizationId: number;
3107
- boldDeviceId: number;
3108
- }
3109
- export interface Tapkey extends Base {
3110
- type: "tapkey";
3111
- tapkeyBase64PysicalLockId: string;
3112
- tapkeyOwnerAccountId: string;
3113
- tapkeyIpId: string;
3114
- tapkeyBoundLockId: string;
3115
- }
3116
- export type Object = Mqtt | BoldLock | Tapkey;
3117
- export namespace Create {
3118
- type Params = {
3119
- propertyId: string;
3120
- name?: string;
3121
- username?: string;
3122
- password?: string;
3123
- clientId?: string;
3124
- host?: string;
3125
- port?: number;
3126
- mqttRetain?: boolean;
3127
- mqttQos?: "0" | "1" | "2";
3128
- description?: string;
3129
- simId?: string;
3130
- connectionMode?: "alwaysOnline" | "temporaryOnline";
3131
- type: JUHUU.Connector.Object["type"];
3132
- };
3133
- type Options = JUHUU.RequestOptions;
3134
- type Response = {
3135
- connector: JUHUU.Connector.Object;
3136
- };
3137
- }
3138
- export namespace Retrieve {
3139
- type Params = {
3140
- connectorId: string;
3141
- };
3142
- type Options = {
3143
- expand: Array<"property">;
3144
- } & JUHUU.RequestOptions;
3145
- type Response = {
3146
- connector: JUHUU.Connector.Object;
3147
- };
3148
- }
3149
- export namespace List {
3150
- type Params = {
3151
- propertyId?: string;
3152
- };
3153
- type Options = JUHUU.RequestOptions;
3154
- type Response = JUHUU.Connector.Object[];
3155
- }
3156
- export namespace Update {
3157
- type Params = {
3158
- connectorId: string;
3159
- name?: string;
3160
- description?: string | null;
3161
- connectionMode?: "alwaysOnline" | "temporaryOnline";
3162
- simId?: string | null;
3163
- };
3164
- type Options = JUHUU.RequestOptions;
3165
- type Response = {
3166
- connector: JUHUU.Connector.Object;
3167
- };
3168
- }
3169
- export namespace Delete {
3170
- type Params = {
3171
- connectorId: string;
3172
- };
3173
- type Options = JUHUU.RequestOptions;
3174
- type Response = JUHUU.Connector.Object;
3175
- }
3176
- export { };
3177
- }
3178
3054
  namespace Event {
3179
3055
  type Base = {
3180
3056
  id: string;
@@ -3248,7 +3124,7 @@ declare namespace JUHUU {
3248
3124
  };
3249
3125
  type Options = JUHUU.RequestOptions;
3250
3126
  type Response = {
3251
- connector: JUHUU.Connector.Object;
3127
+ connector: JUHUU.Incident.Object;
3252
3128
  };
3253
3129
  }
3254
3130
  export namespace Retrieve {
package/dist/index.d.ts CHANGED
@@ -742,15 +742,6 @@ declare class AccountingAreasService extends Service {
742
742
  delete(AccountingAreaDeleteParams: JUHUU.AccountingArea.Delete.Params, AccountingAreaDeleteOptions?: JUHUU.AccountingArea.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.AccountingArea.Delete.Response>>;
743
743
  }
744
744
 
745
- declare class ConnectorsService extends Service {
746
- constructor(config: JUHUU.SetupConfig);
747
- create(ConnectorCreateParams: JUHUU.Connector.Create.Params, ConnectorCreateOptions?: JUHUU.Connector.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Create.Response>>;
748
- retrieve(ConnectorRetrieveParams: JUHUU.Connector.Retrieve.Params, ConnectorRetrieveOptions?: JUHUU.Connector.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Retrieve.Response>>;
749
- list(ConnectorListParams: JUHUU.Connector.List.Params, ConnectorListOptions?: JUHUU.Connector.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.List.Response>>;
750
- update(ConnectorUpdateParams: JUHUU.Connector.Update.Params, ConnectorUpdateOptions?: JUHUU.Connector.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Update.Response>>;
751
- delete(ConnectorDeleteParams: JUHUU.Connector.Delete.Params, ConnectorDeleteOptions?: JUHUU.Connector.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Connector.Delete.Response>>;
752
- }
753
-
754
745
  declare class PayoutsService extends Service {
755
746
  constructor(config: JUHUU.SetupConfig);
756
747
  create(PayoutCreateParams: JUHUU.Payout.Create.Params, PayoutCreateOptions?: JUHUU.Payout.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.Create.Response>>;
@@ -820,12 +811,6 @@ declare class ArticleEmbeddingsService extends Service {
820
811
  retrieve(ArticleEmbeddingRetrieveParams: JUHUU.ArticleEmbedding.Retrieve.Params, ArticleEmbeddingRetrieveOptions?: JUHUU.ArticleEmbedding.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleEmbedding.Retrieve.Response>>;
821
812
  }
822
813
 
823
- declare class BoldLockService extends Service {
824
- constructor(config: JUHUU.SetupConfig);
825
- credentials(BoldLockCredentialsParams: JUHUU.BoldLock.Credentials.Params, BoldLockCredentialsOptions?: JUHUU.BoldLock.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.Credentials.Response>>;
826
- grantAccess(BoldLockGrantAccessParams: JUHUU.BoldLock.GrantAccess.Params, BoldLockGrantAccessOptions?: JUHUU.BoldLock.GrantAccess.Options): Promise<JUHUU.HttpResponse<JUHUU.BoldLock.GrantAccess.Response>>;
827
- }
828
-
829
814
  declare class TapkeyService extends Service {
830
815
  constructor(config: JUHUU.SetupConfig);
831
816
  credentials(TapkeyCredentialsParams: JUHUU.Tapkey.Credentials.Params, TapkeyCredentialsOptions?: JUHUU.Tapkey.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Tapkey.Credentials.Response>>;
@@ -908,6 +893,11 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
908
893
  delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
909
894
  }
910
895
 
896
+ declare class EmzService extends Service {
897
+ constructor(config: JUHUU.SetupConfig);
898
+ credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
899
+ }
900
+
911
901
  declare class Juhuu {
912
902
  constructor(config: JUHUU.SetupConfig);
913
903
  /**
@@ -928,7 +918,6 @@ declare class Juhuu {
928
918
  readonly products: ProductService;
929
919
  readonly settings: SettingsService;
930
920
  readonly accountingAreas: AccountingAreasService;
931
- readonly connectors: ConnectorsService;
932
921
  readonly payouts: PayoutsService;
933
922
  readonly connectorMessages: ConnectorMessagesService;
934
923
  readonly sims: SimsService;
@@ -937,7 +926,6 @@ declare class Juhuu {
937
926
  readonly chats: ChatsService;
938
927
  readonly chatMessages: ChatMessagesService;
939
928
  readonly articleEmbeddings: ArticleEmbeddingsService;
940
- readonly boldLock: BoldLockService;
941
929
  readonly tapkey: TapkeyService;
942
930
  readonly articleGroups: ArticleGroupGroupsService;
943
931
  readonly parameterHistories: ParameterHistoriesService;
@@ -947,6 +935,7 @@ declare class Juhuu {
947
935
  readonly incidents: IncidentsService;
948
936
  readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
949
937
  readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
938
+ readonly emz: EmzService;
950
939
  }
951
940
  declare namespace JUHUU {
952
941
  interface SetupConfig {
@@ -1399,28 +1388,17 @@ declare namespace JUHUU {
1399
1388
  }
1400
1389
  export { };
1401
1390
  }
1402
- namespace BoldLock {
1391
+ namespace Emz {
1403
1392
  namespace Credentials {
1404
1393
  type Params = {
1405
- userId: string;
1406
1394
  deviceId: string;
1407
1395
  };
1408
1396
  type Options = JUHUU.RequestOptions;
1409
1397
  type Response = {
1410
- boldClientId: string;
1411
- boldClientSecret: string;
1412
- boldAuthorizationCode: string;
1413
- boldRedirectUri: string;
1414
- };
1415
- }
1416
- namespace GrantAccess {
1417
- type Params = {
1398
+ targetHardwareId: string;
1399
+ contractId: string;
1418
1400
  userId: string;
1419
- deviceId: string;
1420
- };
1421
- type Options = JUHUU.RequestOptions;
1422
- type Response = {
1423
- device: JUHUU.Device.Object;
1401
+ token: string;
1424
1402
  };
1425
1403
  }
1426
1404
  }
@@ -2996,7 +2974,6 @@ declare namespace JUHUU {
2996
2974
  device: JUHUU.Device.Object;
2997
2975
  deviceTemplate?: JUHUU.DeviceTemplate.Object;
2998
2976
  property?: JUHUU.Property.Object;
2999
- connector?: JUHUU.Connector.Object;
3000
2977
  };
3001
2978
  }
3002
2979
  namespace List {
@@ -3074,107 +3051,6 @@ declare namespace JUHUU {
3074
3051
  type Response = JUHUU.Device.Object;
3075
3052
  }
3076
3053
  }
3077
- namespace Connector {
3078
- type Base = {
3079
- id: string;
3080
- readonly object: "connector";
3081
- status: "online" | "offline";
3082
- description: string | null;
3083
- name: string;
3084
- propertyId: string;
3085
- lastOutboundAt: Date | null;
3086
- lastInboundAt: Date | null;
3087
- connectionMode: "alwaysOnline" | "temporaryOnline";
3088
- version: number;
3089
- simId: string | null;
3090
- };
3091
- export interface Mqtt extends Base {
3092
- type: "mqtt";
3093
- username: string;
3094
- password: string;
3095
- clientId: string;
3096
- host: string;
3097
- port: number;
3098
- mqttRetain: boolean;
3099
- mqttQos: "0" | "1" | "2";
3100
- acls: AccessControlListElement[];
3101
- }
3102
- export interface BoldLock extends Base {
3103
- type: "boldLock";
3104
- boldClientId: string;
3105
- boldClientSecret: string;
3106
- boldOrganizationId: number;
3107
- boldDeviceId: number;
3108
- }
3109
- export interface Tapkey extends Base {
3110
- type: "tapkey";
3111
- tapkeyBase64PysicalLockId: string;
3112
- tapkeyOwnerAccountId: string;
3113
- tapkeyIpId: string;
3114
- tapkeyBoundLockId: string;
3115
- }
3116
- export type Object = Mqtt | BoldLock | Tapkey;
3117
- export namespace Create {
3118
- type Params = {
3119
- propertyId: string;
3120
- name?: string;
3121
- username?: string;
3122
- password?: string;
3123
- clientId?: string;
3124
- host?: string;
3125
- port?: number;
3126
- mqttRetain?: boolean;
3127
- mqttQos?: "0" | "1" | "2";
3128
- description?: string;
3129
- simId?: string;
3130
- connectionMode?: "alwaysOnline" | "temporaryOnline";
3131
- type: JUHUU.Connector.Object["type"];
3132
- };
3133
- type Options = JUHUU.RequestOptions;
3134
- type Response = {
3135
- connector: JUHUU.Connector.Object;
3136
- };
3137
- }
3138
- export namespace Retrieve {
3139
- type Params = {
3140
- connectorId: string;
3141
- };
3142
- type Options = {
3143
- expand: Array<"property">;
3144
- } & JUHUU.RequestOptions;
3145
- type Response = {
3146
- connector: JUHUU.Connector.Object;
3147
- };
3148
- }
3149
- export namespace List {
3150
- type Params = {
3151
- propertyId?: string;
3152
- };
3153
- type Options = JUHUU.RequestOptions;
3154
- type Response = JUHUU.Connector.Object[];
3155
- }
3156
- export namespace Update {
3157
- type Params = {
3158
- connectorId: string;
3159
- name?: string;
3160
- description?: string | null;
3161
- connectionMode?: "alwaysOnline" | "temporaryOnline";
3162
- simId?: string | null;
3163
- };
3164
- type Options = JUHUU.RequestOptions;
3165
- type Response = {
3166
- connector: JUHUU.Connector.Object;
3167
- };
3168
- }
3169
- export namespace Delete {
3170
- type Params = {
3171
- connectorId: string;
3172
- };
3173
- type Options = JUHUU.RequestOptions;
3174
- type Response = JUHUU.Connector.Object;
3175
- }
3176
- export { };
3177
- }
3178
3054
  namespace Event {
3179
3055
  type Base = {
3180
3056
  id: string;
@@ -3248,7 +3124,7 @@ declare namespace JUHUU {
3248
3124
  };
3249
3125
  type Options = JUHUU.RequestOptions;
3250
3126
  type Response = {
3251
- connector: JUHUU.Connector.Object;
3127
+ connector: JUHUU.Incident.Object;
3252
3128
  };
3253
3129
  }
3254
3130
  export namespace Retrieve {
package/dist/index.js CHANGED
@@ -1927,95 +1927,6 @@ var AccountingAreasService = class extends Service {
1927
1927
  }
1928
1928
  };
1929
1929
 
1930
- // src/connectors/connectors.service.ts
1931
- var ConnectorsService = class extends Service {
1932
- constructor(config) {
1933
- super(config);
1934
- }
1935
- async create(ConnectorCreateParams, ConnectorCreateOptions) {
1936
- return await super.sendRequest(
1937
- {
1938
- method: "POST",
1939
- url: "connectors",
1940
- body: {
1941
- propertyId: ConnectorCreateParams.propertyId,
1942
- name: ConnectorCreateParams.name,
1943
- username: ConnectorCreateParams.username,
1944
- password: ConnectorCreateParams.password,
1945
- clientId: ConnectorCreateParams.clientId,
1946
- host: ConnectorCreateParams.host,
1947
- port: ConnectorCreateParams.port,
1948
- mqttRetain: ConnectorCreateParams.mqttRetain,
1949
- mqttQos: ConnectorCreateParams.mqttQos,
1950
- description: ConnectorCreateParams.description,
1951
- simId: ConnectorCreateParams.simId,
1952
- connectionMode: ConnectorCreateParams.connectionMode,
1953
- type: ConnectorCreateParams.type
1954
- },
1955
- authenticationNotOptional: true
1956
- },
1957
- ConnectorCreateOptions
1958
- );
1959
- }
1960
- async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
1961
- const queryArray = [];
1962
- if (ConnectorRetrieveOptions?.expand !== void 0) {
1963
- queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
1964
- }
1965
- return await super.sendRequest(
1966
- {
1967
- method: "GET",
1968
- url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
1969
- body: void 0,
1970
- authenticationNotOptional: false
1971
- },
1972
- ConnectorRetrieveOptions
1973
- );
1974
- }
1975
- async list(ConnectorListParams, ConnectorListOptions) {
1976
- const queryArray = [];
1977
- if (ConnectorListParams?.propertyId !== void 0) {
1978
- queryArray.push("propertyId=" + ConnectorListParams.propertyId);
1979
- }
1980
- return await super.sendRequest(
1981
- {
1982
- method: "GET",
1983
- url: "connectors?" + queryArray.join("&"),
1984
- body: void 0,
1985
- authenticationNotOptional: false
1986
- },
1987
- ConnectorListOptions
1988
- );
1989
- }
1990
- async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
1991
- return await super.sendRequest(
1992
- {
1993
- method: "PATCH",
1994
- url: "connectors/" + ConnectorUpdateParams.connectorId,
1995
- body: {
1996
- name: ConnectorUpdateParams.name,
1997
- description: ConnectorUpdateParams.description,
1998
- connectionMode: ConnectorUpdateParams.connectionMode,
1999
- simId: ConnectorUpdateParams.simId
2000
- },
2001
- authenticationNotOptional: true
2002
- },
2003
- ConnectorUpdateOptions
2004
- );
2005
- }
2006
- async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
2007
- return await super.sendRequest(
2008
- {
2009
- method: "DELETE",
2010
- url: "connectors/" + ConnectorDeleteParams.connectorId,
2011
- authenticationNotOptional: true,
2012
- body: void 0
2013
- },
2014
- ConnectorDeleteOptions
2015
- );
2016
- }
2017
- };
2018
-
2019
1930
  // src/payouts/payouts.service.ts
2020
1931
  var PayoutsService = class extends Service {
2021
1932
  constructor(config) {
@@ -2630,43 +2541,6 @@ var ArticleEmbeddingsService = class extends Service {
2630
2541
  }
2631
2542
  };
2632
2543
 
2633
- // src/boldLock/boldLock.service.ts
2634
- var BoldLockService = class extends Service {
2635
- constructor(config) {
2636
- super(config);
2637
- }
2638
- async credentials(BoldLockCredentialsParams, BoldLockCredentialsOptions) {
2639
- const queryArray = [];
2640
- return await super.sendRequest(
2641
- {
2642
- method: "POST",
2643
- url: "boldLock/credentials",
2644
- body: {
2645
- userId: BoldLockCredentialsParams.userId,
2646
- deviceId: BoldLockCredentialsParams.deviceId
2647
- },
2648
- authenticationNotOptional: true
2649
- },
2650
- BoldLockCredentialsOptions
2651
- );
2652
- }
2653
- async grantAccess(BoldLockGrantAccessParams, BoldLockGrantAccessOptions) {
2654
- const queryArray = [];
2655
- return await super.sendRequest(
2656
- {
2657
- method: "POST",
2658
- url: "boldLock/grantAccess",
2659
- body: {
2660
- userId: BoldLockGrantAccessParams.userId,
2661
- deviceId: BoldLockGrantAccessParams.deviceId
2662
- },
2663
- authenticationNotOptional: true
2664
- },
2665
- BoldLockGrantAccessOptions
2666
- );
2667
- }
2668
- };
2669
-
2670
2544
  // src/tapkey/tapkey.service.ts
2671
2545
  var TapkeyService = class extends Service {
2672
2546
  constructor(config) {
@@ -3449,6 +3323,27 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
3449
3323
  }
3450
3324
  };
3451
3325
 
3326
+ // src/emz/emz.service.ts
3327
+ var EmzService = class extends Service {
3328
+ constructor(config) {
3329
+ super(config);
3330
+ }
3331
+ async credentials(EmzCredentialsParams, EmzCredentialsOptions) {
3332
+ const queryArray = [];
3333
+ return await super.sendRequest(
3334
+ {
3335
+ method: "POST",
3336
+ url: "emz/credentials",
3337
+ body: {
3338
+ deviceId: EmzCredentialsParams.deviceId
3339
+ },
3340
+ authenticationNotOptional: true
3341
+ },
3342
+ EmzCredentialsOptions
3343
+ );
3344
+ }
3345
+ };
3346
+
3452
3347
  // src/types/types.ts
3453
3348
  var LanguageCodeArray = [
3454
3349
  "en",
@@ -3613,7 +3508,6 @@ var Juhuu = class {
3613
3508
  this.products = new ProductService(config);
3614
3509
  this.settings = new SettingsService(config);
3615
3510
  this.accountingAreas = new AccountingAreasService(config);
3616
- this.connectors = new ConnectorsService(config);
3617
3511
  this.payouts = new PayoutsService(config);
3618
3512
  this.connectorMessages = new ConnectorMessagesService(config);
3619
3513
  this.sims = new SimsService(config);
@@ -3622,7 +3516,6 @@ var Juhuu = class {
3622
3516
  this.chats = new ChatsService(config);
3623
3517
  this.chatMessages = new ChatMessagesService(config);
3624
3518
  this.articleEmbeddings = new ArticleEmbeddingsService(config);
3625
- this.boldLock = new BoldLockService(config);
3626
3519
  this.tapkey = new TapkeyService(config);
3627
3520
  this.articleGroups = new ArticleGroupGroupsService(config);
3628
3521
  this.parameterHistories = new ParameterHistoriesService(config);
@@ -3633,6 +3526,7 @@ var Juhuu = class {
3633
3526
  this.incidents = new IncidentsService(config);
3634
3527
  this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3635
3528
  this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3529
+ this.emz = new EmzService(config);
3636
3530
  }
3637
3531
  /**
3638
3532
  * Top Level Resources
@@ -3652,7 +3546,6 @@ var Juhuu = class {
3652
3546
  products;
3653
3547
  settings;
3654
3548
  accountingAreas;
3655
- connectors;
3656
3549
  payouts;
3657
3550
  connectorMessages;
3658
3551
  sims;
@@ -3661,7 +3554,6 @@ var Juhuu = class {
3661
3554
  chats;
3662
3555
  chatMessages;
3663
3556
  articleEmbeddings;
3664
- boldLock;
3665
3557
  tapkey;
3666
3558
  articleGroups;
3667
3559
  parameterHistories;
@@ -3671,6 +3563,7 @@ var Juhuu = class {
3671
3563
  incidents;
3672
3564
  parameterAnomalyGroups;
3673
3565
  parameterAnomalyGroupTrackers;
3566
+ emz;
3674
3567
  };
3675
3568
  var JUHUU;
3676
3569
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -1883,95 +1883,6 @@ var AccountingAreasService = class extends Service {
1883
1883
  }
1884
1884
  };
1885
1885
 
1886
- // src/connectors/connectors.service.ts
1887
- var ConnectorsService = class extends Service {
1888
- constructor(config) {
1889
- super(config);
1890
- }
1891
- async create(ConnectorCreateParams, ConnectorCreateOptions) {
1892
- return await super.sendRequest(
1893
- {
1894
- method: "POST",
1895
- url: "connectors",
1896
- body: {
1897
- propertyId: ConnectorCreateParams.propertyId,
1898
- name: ConnectorCreateParams.name,
1899
- username: ConnectorCreateParams.username,
1900
- password: ConnectorCreateParams.password,
1901
- clientId: ConnectorCreateParams.clientId,
1902
- host: ConnectorCreateParams.host,
1903
- port: ConnectorCreateParams.port,
1904
- mqttRetain: ConnectorCreateParams.mqttRetain,
1905
- mqttQos: ConnectorCreateParams.mqttQos,
1906
- description: ConnectorCreateParams.description,
1907
- simId: ConnectorCreateParams.simId,
1908
- connectionMode: ConnectorCreateParams.connectionMode,
1909
- type: ConnectorCreateParams.type
1910
- },
1911
- authenticationNotOptional: true
1912
- },
1913
- ConnectorCreateOptions
1914
- );
1915
- }
1916
- async retrieve(ConnectorRetrieveParams, ConnectorRetrieveOptions) {
1917
- const queryArray = [];
1918
- if (ConnectorRetrieveOptions?.expand !== void 0) {
1919
- queryArray.push("expand=" + ConnectorRetrieveOptions.expand.join(","));
1920
- }
1921
- return await super.sendRequest(
1922
- {
1923
- method: "GET",
1924
- url: "connectors/" + ConnectorRetrieveParams.connectorId + "?" + queryArray.join("&"),
1925
- body: void 0,
1926
- authenticationNotOptional: false
1927
- },
1928
- ConnectorRetrieveOptions
1929
- );
1930
- }
1931
- async list(ConnectorListParams, ConnectorListOptions) {
1932
- const queryArray = [];
1933
- if (ConnectorListParams?.propertyId !== void 0) {
1934
- queryArray.push("propertyId=" + ConnectorListParams.propertyId);
1935
- }
1936
- return await super.sendRequest(
1937
- {
1938
- method: "GET",
1939
- url: "connectors?" + queryArray.join("&"),
1940
- body: void 0,
1941
- authenticationNotOptional: false
1942
- },
1943
- ConnectorListOptions
1944
- );
1945
- }
1946
- async update(ConnectorUpdateParams, ConnectorUpdateOptions) {
1947
- return await super.sendRequest(
1948
- {
1949
- method: "PATCH",
1950
- url: "connectors/" + ConnectorUpdateParams.connectorId,
1951
- body: {
1952
- name: ConnectorUpdateParams.name,
1953
- description: ConnectorUpdateParams.description,
1954
- connectionMode: ConnectorUpdateParams.connectionMode,
1955
- simId: ConnectorUpdateParams.simId
1956
- },
1957
- authenticationNotOptional: true
1958
- },
1959
- ConnectorUpdateOptions
1960
- );
1961
- }
1962
- async delete(ConnectorDeleteParams, ConnectorDeleteOptions) {
1963
- return await super.sendRequest(
1964
- {
1965
- method: "DELETE",
1966
- url: "connectors/" + ConnectorDeleteParams.connectorId,
1967
- authenticationNotOptional: true,
1968
- body: void 0
1969
- },
1970
- ConnectorDeleteOptions
1971
- );
1972
- }
1973
- };
1974
-
1975
1886
  // src/payouts/payouts.service.ts
1976
1887
  var PayoutsService = class extends Service {
1977
1888
  constructor(config) {
@@ -2586,43 +2497,6 @@ var ArticleEmbeddingsService = class extends Service {
2586
2497
  }
2587
2498
  };
2588
2499
 
2589
- // src/boldLock/boldLock.service.ts
2590
- var BoldLockService = class extends Service {
2591
- constructor(config) {
2592
- super(config);
2593
- }
2594
- async credentials(BoldLockCredentialsParams, BoldLockCredentialsOptions) {
2595
- const queryArray = [];
2596
- return await super.sendRequest(
2597
- {
2598
- method: "POST",
2599
- url: "boldLock/credentials",
2600
- body: {
2601
- userId: BoldLockCredentialsParams.userId,
2602
- deviceId: BoldLockCredentialsParams.deviceId
2603
- },
2604
- authenticationNotOptional: true
2605
- },
2606
- BoldLockCredentialsOptions
2607
- );
2608
- }
2609
- async grantAccess(BoldLockGrantAccessParams, BoldLockGrantAccessOptions) {
2610
- const queryArray = [];
2611
- return await super.sendRequest(
2612
- {
2613
- method: "POST",
2614
- url: "boldLock/grantAccess",
2615
- body: {
2616
- userId: BoldLockGrantAccessParams.userId,
2617
- deviceId: BoldLockGrantAccessParams.deviceId
2618
- },
2619
- authenticationNotOptional: true
2620
- },
2621
- BoldLockGrantAccessOptions
2622
- );
2623
- }
2624
- };
2625
-
2626
2500
  // src/tapkey/tapkey.service.ts
2627
2501
  var TapkeyService = class extends Service {
2628
2502
  constructor(config) {
@@ -3405,6 +3279,27 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
3405
3279
  }
3406
3280
  };
3407
3281
 
3282
+ // src/emz/emz.service.ts
3283
+ var EmzService = class extends Service {
3284
+ constructor(config) {
3285
+ super(config);
3286
+ }
3287
+ async credentials(EmzCredentialsParams, EmzCredentialsOptions) {
3288
+ const queryArray = [];
3289
+ return await super.sendRequest(
3290
+ {
3291
+ method: "POST",
3292
+ url: "emz/credentials",
3293
+ body: {
3294
+ deviceId: EmzCredentialsParams.deviceId
3295
+ },
3296
+ authenticationNotOptional: true
3297
+ },
3298
+ EmzCredentialsOptions
3299
+ );
3300
+ }
3301
+ };
3302
+
3408
3303
  // src/types/types.ts
3409
3304
  var LanguageCodeArray = [
3410
3305
  "en",
@@ -3569,7 +3464,6 @@ var Juhuu = class {
3569
3464
  this.products = new ProductService(config);
3570
3465
  this.settings = new SettingsService(config);
3571
3466
  this.accountingAreas = new AccountingAreasService(config);
3572
- this.connectors = new ConnectorsService(config);
3573
3467
  this.payouts = new PayoutsService(config);
3574
3468
  this.connectorMessages = new ConnectorMessagesService(config);
3575
3469
  this.sims = new SimsService(config);
@@ -3578,7 +3472,6 @@ var Juhuu = class {
3578
3472
  this.chats = new ChatsService(config);
3579
3473
  this.chatMessages = new ChatMessagesService(config);
3580
3474
  this.articleEmbeddings = new ArticleEmbeddingsService(config);
3581
- this.boldLock = new BoldLockService(config);
3582
3475
  this.tapkey = new TapkeyService(config);
3583
3476
  this.articleGroups = new ArticleGroupGroupsService(config);
3584
3477
  this.parameterHistories = new ParameterHistoriesService(config);
@@ -3589,6 +3482,7 @@ var Juhuu = class {
3589
3482
  this.incidents = new IncidentsService(config);
3590
3483
  this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3591
3484
  this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3485
+ this.emz = new EmzService(config);
3592
3486
  }
3593
3487
  /**
3594
3488
  * Top Level Resources
@@ -3608,7 +3502,6 @@ var Juhuu = class {
3608
3502
  products;
3609
3503
  settings;
3610
3504
  accountingAreas;
3611
- connectors;
3612
3505
  payouts;
3613
3506
  connectorMessages;
3614
3507
  sims;
@@ -3617,7 +3510,6 @@ var Juhuu = class {
3617
3510
  chats;
3618
3511
  chatMessages;
3619
3512
  articleEmbeddings;
3620
- boldLock;
3621
3513
  tapkey;
3622
3514
  articleGroups;
3623
3515
  parameterHistories;
@@ -3627,6 +3519,7 @@ var Juhuu = class {
3627
3519
  incidents;
3628
3520
  parameterAnomalyGroups;
3629
3521
  parameterAnomalyGroupTrackers;
3522
+ emz;
3630
3523
  };
3631
3524
  var JUHUU;
3632
3525
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.193",
3
+ "version": "1.2.194",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",