@juhuu/sdk-ts 1.2.244 → 1.2.246

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;
@@ -3640,6 +3633,7 @@ declare namespace JUHUU {
3640
3633
  type Params = {
3641
3634
  fiveLetterQr?: string;
3642
3635
  propertyId?: string;
3636
+ referenceObjectId?: string;
3643
3637
  };
3644
3638
  type Options = {};
3645
3639
  type Response = JUHUU.Link.Object[];
@@ -3683,6 +3677,7 @@ declare namespace JUHUU {
3683
3677
  permissionArray: DevicePermission[];
3684
3678
  proximityStrategyArray: ProximityStrategy[];
3685
3679
  adminQuickViewArray: QuickView[];
3680
+ simIdArray: string[];
3686
3681
  };
3687
3682
  namespace Create {
3688
3683
  type Params = {
@@ -3702,7 +3697,7 @@ declare namespace JUHUU {
3702
3697
  source?: "fluctuo" | null;
3703
3698
  };
3704
3699
  type Options = {
3705
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3700
+ expand?: Array<"property" | "deviceTemplate">;
3706
3701
  } & JUHUU.RequestOptions;
3707
3702
  type Response = {
3708
3703
  device: JUHUU.Device.Object;
@@ -3734,8 +3729,6 @@ declare namespace JUHUU {
3734
3729
  description?: string | null;
3735
3730
  latitude?: number | null;
3736
3731
  longitude?: number | null;
3737
- connectorId?: string | null;
3738
- connectorParameter?: string | null;
3739
3732
  adminQuickViewArray?: QuickView[];
3740
3733
  disabled?: boolean;
3741
3734
  proximityStrategyArray?: ProximityStrategy[];
@@ -3863,7 +3856,7 @@ declare namespace JUHUU {
3863
3856
  };
3864
3857
  type Options = JUHUU.RequestOptions;
3865
3858
  type Response = {
3866
- connector: JUHUU.Incident.Object;
3859
+ incident: JUHUU.Incident.Object;
3867
3860
  };
3868
3861
  }
3869
3862
  export namespace Retrieve {
@@ -4632,38 +4625,6 @@ declare namespace JUHUU {
4632
4625
  type Response = JUHUU.MqttTopic.Object;
4633
4626
  }
4634
4627
  }
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
4628
  namespace Websocket {
4668
4629
  namespace Connect {
4669
4630
  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;
@@ -3640,6 +3633,7 @@ declare namespace JUHUU {
3640
3633
  type Params = {
3641
3634
  fiveLetterQr?: string;
3642
3635
  propertyId?: string;
3636
+ referenceObjectId?: string;
3643
3637
  };
3644
3638
  type Options = {};
3645
3639
  type Response = JUHUU.Link.Object[];
@@ -3683,6 +3677,7 @@ declare namespace JUHUU {
3683
3677
  permissionArray: DevicePermission[];
3684
3678
  proximityStrategyArray: ProximityStrategy[];
3685
3679
  adminQuickViewArray: QuickView[];
3680
+ simIdArray: string[];
3686
3681
  };
3687
3682
  namespace Create {
3688
3683
  type Params = {
@@ -3702,7 +3697,7 @@ declare namespace JUHUU {
3702
3697
  source?: "fluctuo" | null;
3703
3698
  };
3704
3699
  type Options = {
3705
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3700
+ expand?: Array<"property" | "deviceTemplate">;
3706
3701
  } & JUHUU.RequestOptions;
3707
3702
  type Response = {
3708
3703
  device: JUHUU.Device.Object;
@@ -3734,8 +3729,6 @@ declare namespace JUHUU {
3734
3729
  description?: string | null;
3735
3730
  latitude?: number | null;
3736
3731
  longitude?: number | null;
3737
- connectorId?: string | null;
3738
- connectorParameter?: string | null;
3739
3732
  adminQuickViewArray?: QuickView[];
3740
3733
  disabled?: boolean;
3741
3734
  proximityStrategyArray?: ProximityStrategy[];
@@ -3863,7 +3856,7 @@ declare namespace JUHUU {
3863
3856
  };
3864
3857
  type Options = JUHUU.RequestOptions;
3865
3858
  type Response = {
3866
- connector: JUHUU.Incident.Object;
3859
+ incident: JUHUU.Incident.Object;
3867
3860
  };
3868
3861
  }
3869
3862
  export namespace Retrieve {
@@ -4632,38 +4625,6 @@ declare namespace JUHUU {
4632
4625
  type Response = JUHUU.MqttTopic.Object;
4633
4626
  }
4634
4627
  }
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
4628
  namespace Websocket {
4668
4629
  namespace Connect {
4669
4630
  type Params = {};
package/dist/index.js CHANGED
@@ -638,6 +638,9 @@ var LinkService = class extends Service {
638
638
  if (LinkListParams.fiveLetterQr !== void 0) {
639
639
  queryArray.push("fiveLetterQr=" + LinkListParams.fiveLetterQr);
640
640
  }
641
+ if (LinkListParams.referenceObjectId !== void 0) {
642
+ queryArray.push("referenceObjectId=" + LinkListParams.referenceObjectId);
643
+ }
641
644
  return await super.sendRequest(
642
645
  {
643
646
  method: "GET",
@@ -1275,10 +1278,12 @@ var DevicesService = class extends Service {
1275
1278
  description: DeviceUpdateParams.description,
1276
1279
  latitude: DeviceUpdateParams.latitude,
1277
1280
  longitude: DeviceUpdateParams.longitude,
1278
- connectorId: DeviceUpdateParams.connectorId,
1279
- connectorParameter: DeviceUpdateParams.connectorParameter,
1280
1281
  adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1281
- disabled: DeviceUpdateParams.disabled
1282
+ disabled: DeviceUpdateParams.disabled,
1283
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1284
+ permissionArray: DeviceUpdateParams.permissionArray,
1285
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1286
+ simIdArray: DeviceUpdateParams.simIdArray
1282
1287
  },
1283
1288
  authenticationNotOptional: true
1284
1289
  },
@@ -2057,49 +2062,6 @@ var PayoutsService = class extends Service {
2057
2062
  }
2058
2063
  };
2059
2064
 
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
2065
  // src/sims/sims.service.ts
2104
2066
  var SimsService = class extends Service {
2105
2067
  constructor(config) {
@@ -3868,7 +3830,6 @@ var Juhuu = class {
3868
3830
  this.settings = new SettingsService(config);
3869
3831
  this.accountingAreas = new AccountingAreasService(config);
3870
3832
  this.payouts = new PayoutsService(config);
3871
- this.connectorMessages = new ConnectorMessagesService(config);
3872
3833
  this.sims = new SimsService(config);
3873
3834
  this.licenseTemplates = new LicenseTemplatesService(config);
3874
3835
  this.articles = new ArticlesService(config);
@@ -3910,7 +3871,6 @@ var Juhuu = class {
3910
3871
  settings;
3911
3872
  accountingAreas;
3912
3873
  payouts;
3913
- connectorMessages;
3914
3874
  sims;
3915
3875
  licenseTemplates;
3916
3876
  articles;
package/dist/index.mjs CHANGED
@@ -594,6 +594,9 @@ var LinkService = class extends Service {
594
594
  if (LinkListParams.fiveLetterQr !== void 0) {
595
595
  queryArray.push("fiveLetterQr=" + LinkListParams.fiveLetterQr);
596
596
  }
597
+ if (LinkListParams.referenceObjectId !== void 0) {
598
+ queryArray.push("referenceObjectId=" + LinkListParams.referenceObjectId);
599
+ }
597
600
  return await super.sendRequest(
598
601
  {
599
602
  method: "GET",
@@ -1231,10 +1234,12 @@ var DevicesService = class extends Service {
1231
1234
  description: DeviceUpdateParams.description,
1232
1235
  latitude: DeviceUpdateParams.latitude,
1233
1236
  longitude: DeviceUpdateParams.longitude,
1234
- connectorId: DeviceUpdateParams.connectorId,
1235
- connectorParameter: DeviceUpdateParams.connectorParameter,
1236
1237
  adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1237
- disabled: DeviceUpdateParams.disabled
1238
+ disabled: DeviceUpdateParams.disabled,
1239
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1240
+ permissionArray: DeviceUpdateParams.permissionArray,
1241
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1242
+ simIdArray: DeviceUpdateParams.simIdArray
1238
1243
  },
1239
1244
  authenticationNotOptional: true
1240
1245
  },
@@ -2013,49 +2018,6 @@ var PayoutsService = class extends Service {
2013
2018
  }
2014
2019
  };
2015
2020
 
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
2021
  // src/sims/sims.service.ts
2060
2022
  var SimsService = class extends Service {
2061
2023
  constructor(config) {
@@ -3824,7 +3786,6 @@ var Juhuu = class {
3824
3786
  this.settings = new SettingsService(config);
3825
3787
  this.accountingAreas = new AccountingAreasService(config);
3826
3788
  this.payouts = new PayoutsService(config);
3827
- this.connectorMessages = new ConnectorMessagesService(config);
3828
3789
  this.sims = new SimsService(config);
3829
3790
  this.licenseTemplates = new LicenseTemplatesService(config);
3830
3791
  this.articles = new ArticlesService(config);
@@ -3866,7 +3827,6 @@ var Juhuu = class {
3866
3827
  settings;
3867
3828
  accountingAreas;
3868
3829
  payouts;
3869
- connectorMessages;
3870
3830
  sims;
3871
3831
  licenseTemplates;
3872
3832
  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.246",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",