@juhuu/sdk-ts 1.2.244 → 1.2.245

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
@@ -1388,12 +1388,6 @@ declare class PayoutsService extends Service {
1388
1388
  list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
1389
1389
  }
1390
1390
 
1391
- declare class ConnectorMessagesService extends Service {
1392
- constructor(config: JUHUU.SetupConfig);
1393
- retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
1394
- list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
1395
- }
1396
-
1397
1391
  declare class SimsService extends Service {
1398
1392
  constructor(config: JUHUU.SetupConfig);
1399
1393
  create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
@@ -1587,7 +1581,6 @@ declare class Juhuu {
1587
1581
  readonly settings: SettingsService;
1588
1582
  readonly accountingAreas: AccountingAreasService;
1589
1583
  readonly payouts: PayoutsService;
1590
- readonly connectorMessages: ConnectorMessagesService;
1591
1584
  readonly sims: SimsService;
1592
1585
  readonly licenseTemplates: LicenseTemplatesService;
1593
1586
  readonly articles: ArticlesService;
@@ -3683,6 +3676,7 @@ declare namespace JUHUU {
3683
3676
  permissionArray: DevicePermission[];
3684
3677
  proximityStrategyArray: ProximityStrategy[];
3685
3678
  adminQuickViewArray: QuickView[];
3679
+ simIdArray: string[];
3686
3680
  };
3687
3681
  namespace Create {
3688
3682
  type Params = {
@@ -3702,7 +3696,7 @@ declare namespace JUHUU {
3702
3696
  source?: "fluctuo" | null;
3703
3697
  };
3704
3698
  type Options = {
3705
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3699
+ expand?: Array<"property" | "deviceTemplate">;
3706
3700
  } & JUHUU.RequestOptions;
3707
3701
  type Response = {
3708
3702
  device: JUHUU.Device.Object;
@@ -3734,8 +3728,6 @@ declare namespace JUHUU {
3734
3728
  description?: string | null;
3735
3729
  latitude?: number | null;
3736
3730
  longitude?: number | null;
3737
- connectorId?: string | null;
3738
- connectorParameter?: string | null;
3739
3731
  adminQuickViewArray?: QuickView[];
3740
3732
  disabled?: boolean;
3741
3733
  proximityStrategyArray?: ProximityStrategy[];
@@ -3863,7 +3855,7 @@ declare namespace JUHUU {
3863
3855
  };
3864
3856
  type Options = JUHUU.RequestOptions;
3865
3857
  type Response = {
3866
- connector: JUHUU.Incident.Object;
3858
+ incident: JUHUU.Incident.Object;
3867
3859
  };
3868
3860
  }
3869
3861
  export namespace Retrieve {
@@ -4632,38 +4624,6 @@ declare namespace JUHUU {
4632
4624
  type Response = JUHUU.MqttTopic.Object;
4633
4625
  }
4634
4626
  }
4635
- namespace ConnectorMessage {
4636
- type Object = {
4637
- id: string;
4638
- readonly object: "connectorMessage";
4639
- message: string;
4640
- connectorId: string;
4641
- direction: "inbound" | "outbound";
4642
- createdAt: Date;
4643
- deviceId: string | null;
4644
- propertyId: string;
4645
- };
4646
- namespace Retrieve {
4647
- type Params = {
4648
- connectorMessageId: string;
4649
- };
4650
- type Options = JUHUU.RequestOptions;
4651
- type Response = {
4652
- connectorMessage: JUHUU.ConnectorMessage.Object;
4653
- };
4654
- }
4655
- namespace List {
4656
- type Params = {
4657
- propertyId?: string;
4658
- connectorId?: string;
4659
- };
4660
- type Options = {
4661
- skip?: number;
4662
- limit?: number;
4663
- } & JUHUU.RequestOptions;
4664
- type Response = JUHUU.ConnectorMessage.Object[];
4665
- }
4666
- }
4667
4627
  namespace Websocket {
4668
4628
  namespace Connect {
4669
4629
  type Params = {};
package/dist/index.d.ts CHANGED
@@ -1388,12 +1388,6 @@ declare class PayoutsService extends Service {
1388
1388
  list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
1389
1389
  }
1390
1390
 
1391
- declare class ConnectorMessagesService extends Service {
1392
- constructor(config: JUHUU.SetupConfig);
1393
- retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
1394
- list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
1395
- }
1396
-
1397
1391
  declare class SimsService extends Service {
1398
1392
  constructor(config: JUHUU.SetupConfig);
1399
1393
  create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
@@ -1587,7 +1581,6 @@ declare class Juhuu {
1587
1581
  readonly settings: SettingsService;
1588
1582
  readonly accountingAreas: AccountingAreasService;
1589
1583
  readonly payouts: PayoutsService;
1590
- readonly connectorMessages: ConnectorMessagesService;
1591
1584
  readonly sims: SimsService;
1592
1585
  readonly licenseTemplates: LicenseTemplatesService;
1593
1586
  readonly articles: ArticlesService;
@@ -3683,6 +3676,7 @@ declare namespace JUHUU {
3683
3676
  permissionArray: DevicePermission[];
3684
3677
  proximityStrategyArray: ProximityStrategy[];
3685
3678
  adminQuickViewArray: QuickView[];
3679
+ simIdArray: string[];
3686
3680
  };
3687
3681
  namespace Create {
3688
3682
  type Params = {
@@ -3702,7 +3696,7 @@ declare namespace JUHUU {
3702
3696
  source?: "fluctuo" | null;
3703
3697
  };
3704
3698
  type Options = {
3705
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3699
+ expand?: Array<"property" | "deviceTemplate">;
3706
3700
  } & JUHUU.RequestOptions;
3707
3701
  type Response = {
3708
3702
  device: JUHUU.Device.Object;
@@ -3734,8 +3728,6 @@ declare namespace JUHUU {
3734
3728
  description?: string | null;
3735
3729
  latitude?: number | null;
3736
3730
  longitude?: number | null;
3737
- connectorId?: string | null;
3738
- connectorParameter?: string | null;
3739
3731
  adminQuickViewArray?: QuickView[];
3740
3732
  disabled?: boolean;
3741
3733
  proximityStrategyArray?: ProximityStrategy[];
@@ -3863,7 +3855,7 @@ declare namespace JUHUU {
3863
3855
  };
3864
3856
  type Options = JUHUU.RequestOptions;
3865
3857
  type Response = {
3866
- connector: JUHUU.Incident.Object;
3858
+ incident: JUHUU.Incident.Object;
3867
3859
  };
3868
3860
  }
3869
3861
  export namespace Retrieve {
@@ -4632,38 +4624,6 @@ declare namespace JUHUU {
4632
4624
  type Response = JUHUU.MqttTopic.Object;
4633
4625
  }
4634
4626
  }
4635
- namespace ConnectorMessage {
4636
- type Object = {
4637
- id: string;
4638
- readonly object: "connectorMessage";
4639
- message: string;
4640
- connectorId: string;
4641
- direction: "inbound" | "outbound";
4642
- createdAt: Date;
4643
- deviceId: string | null;
4644
- propertyId: string;
4645
- };
4646
- namespace Retrieve {
4647
- type Params = {
4648
- connectorMessageId: string;
4649
- };
4650
- type Options = JUHUU.RequestOptions;
4651
- type Response = {
4652
- connectorMessage: JUHUU.ConnectorMessage.Object;
4653
- };
4654
- }
4655
- namespace List {
4656
- type Params = {
4657
- propertyId?: string;
4658
- connectorId?: string;
4659
- };
4660
- type Options = {
4661
- skip?: number;
4662
- limit?: number;
4663
- } & JUHUU.RequestOptions;
4664
- type Response = JUHUU.ConnectorMessage.Object[];
4665
- }
4666
- }
4667
4627
  namespace Websocket {
4668
4628
  namespace Connect {
4669
4629
  type Params = {};
package/dist/index.js CHANGED
@@ -1275,10 +1275,12 @@ var DevicesService = class extends Service {
1275
1275
  description: DeviceUpdateParams.description,
1276
1276
  latitude: DeviceUpdateParams.latitude,
1277
1277
  longitude: DeviceUpdateParams.longitude,
1278
- connectorId: DeviceUpdateParams.connectorId,
1279
- connectorParameter: DeviceUpdateParams.connectorParameter,
1280
1278
  adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1281
- disabled: DeviceUpdateParams.disabled
1279
+ disabled: DeviceUpdateParams.disabled,
1280
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1281
+ permissionArray: DeviceUpdateParams.permissionArray,
1282
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1283
+ simIdArray: DeviceUpdateParams.simIdArray
1282
1284
  },
1283
1285
  authenticationNotOptional: true
1284
1286
  },
@@ -2057,49 +2059,6 @@ var PayoutsService = class extends Service {
2057
2059
  }
2058
2060
  };
2059
2061
 
2060
- // src/connectorMessages/connectorMessages.service.ts
2061
- var ConnectorMessagesService = class extends Service {
2062
- constructor(config) {
2063
- super(config);
2064
- }
2065
- async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
2066
- const queryArray = [];
2067
- return await super.sendRequest(
2068
- {
2069
- method: "GET",
2070
- url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
2071
- body: void 0,
2072
- authenticationNotOptional: true
2073
- },
2074
- ConnectorMessageRetrieveOptions
2075
- );
2076
- }
2077
- async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
2078
- const queryArray = [];
2079
- if (ConnectorMessageListParams?.propertyId !== void 0) {
2080
- queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
2081
- }
2082
- if (ConnectorMessageListParams?.connectorId !== void 0) {
2083
- queryArray.push("connectorId=" + ConnectorMessageListParams.connectorId);
2084
- }
2085
- if (ConnectorMessageListOptions?.skip !== void 0) {
2086
- queryArray.push("skip=" + ConnectorMessageListOptions.skip);
2087
- }
2088
- if (ConnectorMessageListOptions?.limit !== void 0) {
2089
- queryArray.push("limit=" + ConnectorMessageListOptions.limit);
2090
- }
2091
- return await super.sendRequest(
2092
- {
2093
- method: "GET",
2094
- url: "connectorMessages?" + queryArray.join("&"),
2095
- body: void 0,
2096
- authenticationNotOptional: true
2097
- },
2098
- ConnectorMessageListOptions
2099
- );
2100
- }
2101
- };
2102
-
2103
2062
  // src/sims/sims.service.ts
2104
2063
  var SimsService = class extends Service {
2105
2064
  constructor(config) {
@@ -3868,7 +3827,6 @@ var Juhuu = class {
3868
3827
  this.settings = new SettingsService(config);
3869
3828
  this.accountingAreas = new AccountingAreasService(config);
3870
3829
  this.payouts = new PayoutsService(config);
3871
- this.connectorMessages = new ConnectorMessagesService(config);
3872
3830
  this.sims = new SimsService(config);
3873
3831
  this.licenseTemplates = new LicenseTemplatesService(config);
3874
3832
  this.articles = new ArticlesService(config);
@@ -3910,7 +3868,6 @@ var Juhuu = class {
3910
3868
  settings;
3911
3869
  accountingAreas;
3912
3870
  payouts;
3913
- connectorMessages;
3914
3871
  sims;
3915
3872
  licenseTemplates;
3916
3873
  articles;
package/dist/index.mjs CHANGED
@@ -1231,10 +1231,12 @@ var DevicesService = class extends Service {
1231
1231
  description: DeviceUpdateParams.description,
1232
1232
  latitude: DeviceUpdateParams.latitude,
1233
1233
  longitude: DeviceUpdateParams.longitude,
1234
- connectorId: DeviceUpdateParams.connectorId,
1235
- connectorParameter: DeviceUpdateParams.connectorParameter,
1236
1234
  adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1237
- disabled: DeviceUpdateParams.disabled
1235
+ disabled: DeviceUpdateParams.disabled,
1236
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1237
+ permissionArray: DeviceUpdateParams.permissionArray,
1238
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1239
+ simIdArray: DeviceUpdateParams.simIdArray
1238
1240
  },
1239
1241
  authenticationNotOptional: true
1240
1242
  },
@@ -2013,49 +2015,6 @@ var PayoutsService = class extends Service {
2013
2015
  }
2014
2016
  };
2015
2017
 
2016
- // src/connectorMessages/connectorMessages.service.ts
2017
- var ConnectorMessagesService = class extends Service {
2018
- constructor(config) {
2019
- super(config);
2020
- }
2021
- async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
2022
- const queryArray = [];
2023
- return await super.sendRequest(
2024
- {
2025
- method: "GET",
2026
- url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
2027
- body: void 0,
2028
- authenticationNotOptional: true
2029
- },
2030
- ConnectorMessageRetrieveOptions
2031
- );
2032
- }
2033
- async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
2034
- const queryArray = [];
2035
- if (ConnectorMessageListParams?.propertyId !== void 0) {
2036
- queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
2037
- }
2038
- if (ConnectorMessageListParams?.connectorId !== void 0) {
2039
- queryArray.push("connectorId=" + ConnectorMessageListParams.connectorId);
2040
- }
2041
- if (ConnectorMessageListOptions?.skip !== void 0) {
2042
- queryArray.push("skip=" + ConnectorMessageListOptions.skip);
2043
- }
2044
- if (ConnectorMessageListOptions?.limit !== void 0) {
2045
- queryArray.push("limit=" + ConnectorMessageListOptions.limit);
2046
- }
2047
- return await super.sendRequest(
2048
- {
2049
- method: "GET",
2050
- url: "connectorMessages?" + queryArray.join("&"),
2051
- body: void 0,
2052
- authenticationNotOptional: true
2053
- },
2054
- ConnectorMessageListOptions
2055
- );
2056
- }
2057
- };
2058
-
2059
2018
  // src/sims/sims.service.ts
2060
2019
  var SimsService = class extends Service {
2061
2020
  constructor(config) {
@@ -3824,7 +3783,6 @@ var Juhuu = class {
3824
3783
  this.settings = new SettingsService(config);
3825
3784
  this.accountingAreas = new AccountingAreasService(config);
3826
3785
  this.payouts = new PayoutsService(config);
3827
- this.connectorMessages = new ConnectorMessagesService(config);
3828
3786
  this.sims = new SimsService(config);
3829
3787
  this.licenseTemplates = new LicenseTemplatesService(config);
3830
3788
  this.articles = new ArticlesService(config);
@@ -3866,7 +3824,6 @@ var Juhuu = class {
3866
3824
  settings;
3867
3825
  accountingAreas;
3868
3826
  payouts;
3869
- connectorMessages;
3870
3827
  sims;
3871
3828
  licenseTemplates;
3872
3829
  articles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.244",
3
+ "version": "1.2.245",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",