@juhuu/sdk-ts 1.2.243 → 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
@@ -1,9 +1,9 @@
1
1
  import { Socket } from 'socket.io-client';
2
2
 
3
- type Environment = "development" | "production";
3
+ type Environment = "development" | "production" | "staging";
4
4
  type ProximityStrategy = {
5
5
  type: "qr";
6
- text: string | null;
6
+ flowId: string | null;
7
7
  } | {
8
8
  type: "link";
9
9
  linkId: string | null;
@@ -174,7 +174,6 @@ interface SessionSettings {
174
174
  autoRenewEnabled: boolean;
175
175
  }
176
176
  interface EnvironmentSettings {
177
- isDev: boolean;
178
177
  }
179
178
  type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
180
179
  type PaymentReason = "session";
@@ -1389,12 +1388,6 @@ declare class PayoutsService extends Service {
1389
1388
  list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
1390
1389
  }
1391
1390
 
1392
- declare class ConnectorMessagesService extends Service {
1393
- constructor(config: JUHUU.SetupConfig);
1394
- retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
1395
- list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
1396
- }
1397
-
1398
1391
  declare class SimsService extends Service {
1399
1392
  constructor(config: JUHUU.SetupConfig);
1400
1393
  create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
@@ -1588,7 +1581,6 @@ declare class Juhuu {
1588
1581
  readonly settings: SettingsService;
1589
1582
  readonly accountingAreas: AccountingAreasService;
1590
1583
  readonly payouts: PayoutsService;
1591
- readonly connectorMessages: ConnectorMessagesService;
1592
1584
  readonly sims: SimsService;
1593
1585
  readonly licenseTemplates: LicenseTemplatesService;
1594
1586
  readonly articles: ArticlesService;
@@ -3403,9 +3395,9 @@ declare namespace JUHUU {
3403
3395
  disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
3404
3396
  visible: boolean;
3405
3397
  incidentTemplateIdArray: string[];
3398
+ deviceProximityStrategyArray: ProximityStrategy[];
3406
3399
  adminQuickActionArray: QuickAction[];
3407
3400
  userQuickActionArray: QuickAction[];
3408
- deviceProximityStrategyArray: ProximityStrategy[];
3409
3401
  adminQuickViewArray: QuickView[];
3410
3402
  };
3411
3403
  export interface RentableDeviceGroup extends Base {
@@ -3482,9 +3474,13 @@ declare namespace JUHUU {
3482
3474
  circumstanceArray?: Circumstance[];
3483
3475
  rentOfferArray?: Offer[];
3484
3476
  reservationOfferArray?: Offer[];
3477
+ adminQuickActionArray?: QuickAction[];
3478
+ userQuickActionArray?: QuickAction[];
3479
+ adminQuickViewArray?: QuickView[];
3485
3480
  disabled?: boolean;
3486
3481
  rentableDeviceGroupLocationId?: string | null;
3487
3482
  termId?: string | null;
3483
+ visible?: boolean;
3488
3484
  };
3489
3485
  type Options = JUHUU.RequestOptions;
3490
3486
  type Response = {
@@ -3680,6 +3676,7 @@ declare namespace JUHUU {
3680
3676
  permissionArray: DevicePermission[];
3681
3677
  proximityStrategyArray: ProximityStrategy[];
3682
3678
  adminQuickViewArray: QuickView[];
3679
+ simIdArray: string[];
3683
3680
  };
3684
3681
  namespace Create {
3685
3682
  type Params = {
@@ -3699,7 +3696,7 @@ declare namespace JUHUU {
3699
3696
  source?: "fluctuo" | null;
3700
3697
  };
3701
3698
  type Options = {
3702
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3699
+ expand?: Array<"property" | "deviceTemplate">;
3703
3700
  } & JUHUU.RequestOptions;
3704
3701
  type Response = {
3705
3702
  device: JUHUU.Device.Object;
@@ -3731,9 +3728,12 @@ declare namespace JUHUU {
3731
3728
  description?: string | null;
3732
3729
  latitude?: number | null;
3733
3730
  longitude?: number | null;
3734
- connectorId?: string | null;
3735
- connectorParameter?: string | null;
3731
+ adminQuickViewArray?: QuickView[];
3736
3732
  disabled?: boolean;
3733
+ proximityStrategyArray?: ProximityStrategy[];
3734
+ simIdArray?: string[];
3735
+ permissionArray?: DevicePermission[];
3736
+ parameterIdArray?: string[];
3737
3737
  };
3738
3738
  type Options = JUHUU.RequestOptions;
3739
3739
  type Response = {
@@ -3855,7 +3855,7 @@ declare namespace JUHUU {
3855
3855
  };
3856
3856
  type Options = JUHUU.RequestOptions;
3857
3857
  type Response = {
3858
- connector: JUHUU.Incident.Object;
3858
+ incident: JUHUU.Incident.Object;
3859
3859
  };
3860
3860
  }
3861
3861
  export namespace Retrieve {
@@ -4246,6 +4246,7 @@ declare namespace JUHUU {
4246
4246
  createdAt: Date;
4247
4247
  reference: string | null;
4248
4248
  parameterId: string;
4249
+ isOutlier: boolean;
4249
4250
  shapAnomalyArray: Array<{
4250
4251
  parameterAnomalyGroupId: string;
4251
4252
  shapScore: number | null;
@@ -4623,38 +4624,6 @@ declare namespace JUHUU {
4623
4624
  type Response = JUHUU.MqttTopic.Object;
4624
4625
  }
4625
4626
  }
4626
- namespace ConnectorMessage {
4627
- type Object = {
4628
- id: string;
4629
- readonly object: "connectorMessage";
4630
- message: string;
4631
- connectorId: string;
4632
- direction: "inbound" | "outbound";
4633
- createdAt: Date;
4634
- deviceId: string | null;
4635
- propertyId: string;
4636
- };
4637
- namespace Retrieve {
4638
- type Params = {
4639
- connectorMessageId: string;
4640
- };
4641
- type Options = JUHUU.RequestOptions;
4642
- type Response = {
4643
- connectorMessage: JUHUU.ConnectorMessage.Object;
4644
- };
4645
- }
4646
- namespace List {
4647
- type Params = {
4648
- propertyId?: string;
4649
- connectorId?: string;
4650
- };
4651
- type Options = {
4652
- skip?: number;
4653
- limit?: number;
4654
- } & JUHUU.RequestOptions;
4655
- type Response = JUHUU.ConnectorMessage.Object[];
4656
- }
4657
- }
4658
4627
  namespace Websocket {
4659
4628
  namespace Connect {
4660
4629
  type Params = {};
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Socket } from 'socket.io-client';
2
2
 
3
- type Environment = "development" | "production";
3
+ type Environment = "development" | "production" | "staging";
4
4
  type ProximityStrategy = {
5
5
  type: "qr";
6
- text: string | null;
6
+ flowId: string | null;
7
7
  } | {
8
8
  type: "link";
9
9
  linkId: string | null;
@@ -174,7 +174,6 @@ interface SessionSettings {
174
174
  autoRenewEnabled: boolean;
175
175
  }
176
176
  interface EnvironmentSettings {
177
- isDev: boolean;
178
177
  }
179
178
  type PaymentMethod = "card" | "stripe_account" | "klarna" | "bancontact" | "eps" | "giropay" | "ideal" | "p24" | "sofort" | "unknown";
180
179
  type PaymentReason = "session";
@@ -1389,12 +1388,6 @@ declare class PayoutsService extends Service {
1389
1388
  list(PayoutListParams: JUHUU.Payout.List.Params, PayoutListOptions?: JUHUU.Payout.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Payout.List.Response>>;
1390
1389
  }
1391
1390
 
1392
- declare class ConnectorMessagesService extends Service {
1393
- constructor(config: JUHUU.SetupConfig);
1394
- retrieve(ConnectorMessageRetrieveParams: JUHUU.ConnectorMessage.Retrieve.Params, ConnectorMessageRetrieveOptions?: JUHUU.ConnectorMessage.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.Retrieve.Response>>;
1395
- list(ConnectorMessageListParams: JUHUU.ConnectorMessage.List.Params, ConnectorMessageListOptions?: JUHUU.ConnectorMessage.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ConnectorMessage.List.Response>>;
1396
- }
1397
-
1398
1391
  declare class SimsService extends Service {
1399
1392
  constructor(config: JUHUU.SetupConfig);
1400
1393
  create(SimCreateParams: JUHUU.Sim.Create.Params, SimCreateOptions?: JUHUU.Sim.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Sim.Create.Response>>;
@@ -1588,7 +1581,6 @@ declare class Juhuu {
1588
1581
  readonly settings: SettingsService;
1589
1582
  readonly accountingAreas: AccountingAreasService;
1590
1583
  readonly payouts: PayoutsService;
1591
- readonly connectorMessages: ConnectorMessagesService;
1592
1584
  readonly sims: SimsService;
1593
1585
  readonly licenseTemplates: LicenseTemplatesService;
1594
1586
  readonly articles: ArticlesService;
@@ -3403,9 +3395,9 @@ declare namespace JUHUU {
3403
3395
  disabledBy: "propertyAdmin" | "deviceNodeArray" | null;
3404
3396
  visible: boolean;
3405
3397
  incidentTemplateIdArray: string[];
3398
+ deviceProximityStrategyArray: ProximityStrategy[];
3406
3399
  adminQuickActionArray: QuickAction[];
3407
3400
  userQuickActionArray: QuickAction[];
3408
- deviceProximityStrategyArray: ProximityStrategy[];
3409
3401
  adminQuickViewArray: QuickView[];
3410
3402
  };
3411
3403
  export interface RentableDeviceGroup extends Base {
@@ -3482,9 +3474,13 @@ declare namespace JUHUU {
3482
3474
  circumstanceArray?: Circumstance[];
3483
3475
  rentOfferArray?: Offer[];
3484
3476
  reservationOfferArray?: Offer[];
3477
+ adminQuickActionArray?: QuickAction[];
3478
+ userQuickActionArray?: QuickAction[];
3479
+ adminQuickViewArray?: QuickView[];
3485
3480
  disabled?: boolean;
3486
3481
  rentableDeviceGroupLocationId?: string | null;
3487
3482
  termId?: string | null;
3483
+ visible?: boolean;
3488
3484
  };
3489
3485
  type Options = JUHUU.RequestOptions;
3490
3486
  type Response = {
@@ -3680,6 +3676,7 @@ declare namespace JUHUU {
3680
3676
  permissionArray: DevicePermission[];
3681
3677
  proximityStrategyArray: ProximityStrategy[];
3682
3678
  adminQuickViewArray: QuickView[];
3679
+ simIdArray: string[];
3683
3680
  };
3684
3681
  namespace Create {
3685
3682
  type Params = {
@@ -3699,7 +3696,7 @@ declare namespace JUHUU {
3699
3696
  source?: "fluctuo" | null;
3700
3697
  };
3701
3698
  type Options = {
3702
- expand?: Array<"property" | "deviceTemplate" | "connector">;
3699
+ expand?: Array<"property" | "deviceTemplate">;
3703
3700
  } & JUHUU.RequestOptions;
3704
3701
  type Response = {
3705
3702
  device: JUHUU.Device.Object;
@@ -3731,9 +3728,12 @@ declare namespace JUHUU {
3731
3728
  description?: string | null;
3732
3729
  latitude?: number | null;
3733
3730
  longitude?: number | null;
3734
- connectorId?: string | null;
3735
- connectorParameter?: string | null;
3731
+ adminQuickViewArray?: QuickView[];
3736
3732
  disabled?: boolean;
3733
+ proximityStrategyArray?: ProximityStrategy[];
3734
+ simIdArray?: string[];
3735
+ permissionArray?: DevicePermission[];
3736
+ parameterIdArray?: string[];
3737
3737
  };
3738
3738
  type Options = JUHUU.RequestOptions;
3739
3739
  type Response = {
@@ -3855,7 +3855,7 @@ declare namespace JUHUU {
3855
3855
  };
3856
3856
  type Options = JUHUU.RequestOptions;
3857
3857
  type Response = {
3858
- connector: JUHUU.Incident.Object;
3858
+ incident: JUHUU.Incident.Object;
3859
3859
  };
3860
3860
  }
3861
3861
  export namespace Retrieve {
@@ -4246,6 +4246,7 @@ declare namespace JUHUU {
4246
4246
  createdAt: Date;
4247
4247
  reference: string | null;
4248
4248
  parameterId: string;
4249
+ isOutlier: boolean;
4249
4250
  shapAnomalyArray: Array<{
4250
4251
  parameterAnomalyGroupId: string;
4251
4252
  shapScore: number | null;
@@ -4623,38 +4624,6 @@ declare namespace JUHUU {
4623
4624
  type Response = JUHUU.MqttTopic.Object;
4624
4625
  }
4625
4626
  }
4626
- namespace ConnectorMessage {
4627
- type Object = {
4628
- id: string;
4629
- readonly object: "connectorMessage";
4630
- message: string;
4631
- connectorId: string;
4632
- direction: "inbound" | "outbound";
4633
- createdAt: Date;
4634
- deviceId: string | null;
4635
- propertyId: string;
4636
- };
4637
- namespace Retrieve {
4638
- type Params = {
4639
- connectorMessageId: string;
4640
- };
4641
- type Options = JUHUU.RequestOptions;
4642
- type Response = {
4643
- connectorMessage: JUHUU.ConnectorMessage.Object;
4644
- };
4645
- }
4646
- namespace List {
4647
- type Params = {
4648
- propertyId?: string;
4649
- connectorId?: string;
4650
- };
4651
- type Options = {
4652
- skip?: number;
4653
- limit?: number;
4654
- } & JUHUU.RequestOptions;
4655
- type Response = JUHUU.ConnectorMessage.Object[];
4656
- }
4657
- }
4658
4627
  namespace Websocket {
4659
4628
  namespace Connect {
4660
4629
  type Params = {};
package/dist/index.js CHANGED
@@ -58,14 +58,21 @@ var Service = class {
58
58
  this.defaultRequestOptions = config.defaultRequestOptions ?? {};
59
59
  this.authenticationMode = config.authenticationMode ?? "jwt";
60
60
  switch (config.environment) {
61
- case "development":
61
+ case "development": {
62
62
  this.httpBaseUrl = "https://api.juhuu.dev/v1/";
63
63
  this.wssBaseUrl = "wss://api.juhuu.dev/v1/";
64
64
  break;
65
- default:
65
+ }
66
+ case "staging": {
67
+ this.httpBaseUrl = "https://api.juhuu.review/v1/";
68
+ this.wssBaseUrl = "wss://api.juhuu.review/v1/";
69
+ break;
70
+ }
71
+ default: {
66
72
  this.httpBaseUrl = "https://api.juhuu.app/v1/";
67
73
  this.wssBaseUrl = "wss://api.juhuu.app/v1/";
68
74
  break;
75
+ }
69
76
  }
70
77
  }
71
78
  environment;
@@ -1268,9 +1275,12 @@ var DevicesService = class extends Service {
1268
1275
  description: DeviceUpdateParams.description,
1269
1276
  latitude: DeviceUpdateParams.latitude,
1270
1277
  longitude: DeviceUpdateParams.longitude,
1271
- connectorId: DeviceUpdateParams.connectorId,
1272
- connectorParameter: DeviceUpdateParams.connectorParameter,
1273
- disabled: DeviceUpdateParams.disabled
1278
+ adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1279
+ disabled: DeviceUpdateParams.disabled,
1280
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1281
+ permissionArray: DeviceUpdateParams.permissionArray,
1282
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1283
+ simIdArray: DeviceUpdateParams.simIdArray
1274
1284
  },
1275
1285
  authenticationNotOptional: true
1276
1286
  },
@@ -1456,9 +1466,13 @@ var LocationsService = class extends Service {
1456
1466
  circumstanceArray: LocationUpdateParams.circumstanceArray,
1457
1467
  rentOfferArray: LocationUpdateParams.rentOfferArray,
1458
1468
  reservationOfferArray: LocationUpdateParams.reservationOfferArray,
1469
+ adminQuickActionArray: LocationUpdateParams.adminQuickActionArray,
1470
+ userQuickActionArray: LocationUpdateParams.userQuickActionArray,
1471
+ adminQuickViewArray: LocationUpdateParams.adminQuickViewArray,
1459
1472
  latitude: LocationUpdateParams.latitude,
1460
1473
  longitude: LocationUpdateParams.longitude,
1461
- disabled: LocationUpdateParams.disabled
1474
+ disabled: LocationUpdateParams.disabled,
1475
+ visible: LocationUpdateParams.visible
1462
1476
  },
1463
1477
  authenticationNotOptional: true
1464
1478
  },
@@ -2045,49 +2059,6 @@ var PayoutsService = class extends Service {
2045
2059
  }
2046
2060
  };
2047
2061
 
2048
- // src/connectorMessages/connectorMessages.service.ts
2049
- var ConnectorMessagesService = class extends Service {
2050
- constructor(config) {
2051
- super(config);
2052
- }
2053
- async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
2054
- const queryArray = [];
2055
- return await super.sendRequest(
2056
- {
2057
- method: "GET",
2058
- url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
2059
- body: void 0,
2060
- authenticationNotOptional: true
2061
- },
2062
- ConnectorMessageRetrieveOptions
2063
- );
2064
- }
2065
- async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
2066
- const queryArray = [];
2067
- if (ConnectorMessageListParams?.propertyId !== void 0) {
2068
- queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
2069
- }
2070
- if (ConnectorMessageListParams?.connectorId !== void 0) {
2071
- queryArray.push("connectorId=" + ConnectorMessageListParams.connectorId);
2072
- }
2073
- if (ConnectorMessageListOptions?.skip !== void 0) {
2074
- queryArray.push("skip=" + ConnectorMessageListOptions.skip);
2075
- }
2076
- if (ConnectorMessageListOptions?.limit !== void 0) {
2077
- queryArray.push("limit=" + ConnectorMessageListOptions.limit);
2078
- }
2079
- return await super.sendRequest(
2080
- {
2081
- method: "GET",
2082
- url: "connectorMessages?" + queryArray.join("&"),
2083
- body: void 0,
2084
- authenticationNotOptional: true
2085
- },
2086
- ConnectorMessageListOptions
2087
- );
2088
- }
2089
- };
2090
-
2091
2062
  // src/sims/sims.service.ts
2092
2063
  var SimsService = class extends Service {
2093
2064
  constructor(config) {
@@ -3856,7 +3827,6 @@ var Juhuu = class {
3856
3827
  this.settings = new SettingsService(config);
3857
3828
  this.accountingAreas = new AccountingAreasService(config);
3858
3829
  this.payouts = new PayoutsService(config);
3859
- this.connectorMessages = new ConnectorMessagesService(config);
3860
3830
  this.sims = new SimsService(config);
3861
3831
  this.licenseTemplates = new LicenseTemplatesService(config);
3862
3832
  this.articles = new ArticlesService(config);
@@ -3898,7 +3868,6 @@ var Juhuu = class {
3898
3868
  settings;
3899
3869
  accountingAreas;
3900
3870
  payouts;
3901
- connectorMessages;
3902
3871
  sims;
3903
3872
  licenseTemplates;
3904
3873
  articles;
package/dist/index.mjs CHANGED
@@ -14,14 +14,21 @@ var Service = class {
14
14
  this.defaultRequestOptions = config.defaultRequestOptions ?? {};
15
15
  this.authenticationMode = config.authenticationMode ?? "jwt";
16
16
  switch (config.environment) {
17
- case "development":
17
+ case "development": {
18
18
  this.httpBaseUrl = "https://api.juhuu.dev/v1/";
19
19
  this.wssBaseUrl = "wss://api.juhuu.dev/v1/";
20
20
  break;
21
- default:
21
+ }
22
+ case "staging": {
23
+ this.httpBaseUrl = "https://api.juhuu.review/v1/";
24
+ this.wssBaseUrl = "wss://api.juhuu.review/v1/";
25
+ break;
26
+ }
27
+ default: {
22
28
  this.httpBaseUrl = "https://api.juhuu.app/v1/";
23
29
  this.wssBaseUrl = "wss://api.juhuu.app/v1/";
24
30
  break;
31
+ }
25
32
  }
26
33
  }
27
34
  environment;
@@ -1224,9 +1231,12 @@ var DevicesService = class extends Service {
1224
1231
  description: DeviceUpdateParams.description,
1225
1232
  latitude: DeviceUpdateParams.latitude,
1226
1233
  longitude: DeviceUpdateParams.longitude,
1227
- connectorId: DeviceUpdateParams.connectorId,
1228
- connectorParameter: DeviceUpdateParams.connectorParameter,
1229
- disabled: DeviceUpdateParams.disabled
1234
+ adminQuickViewArray: DeviceUpdateParams.adminQuickViewArray,
1235
+ disabled: DeviceUpdateParams.disabled,
1236
+ parameterIdArray: DeviceUpdateParams.parameterIdArray,
1237
+ permissionArray: DeviceUpdateParams.permissionArray,
1238
+ proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1239
+ simIdArray: DeviceUpdateParams.simIdArray
1230
1240
  },
1231
1241
  authenticationNotOptional: true
1232
1242
  },
@@ -1412,9 +1422,13 @@ var LocationsService = class extends Service {
1412
1422
  circumstanceArray: LocationUpdateParams.circumstanceArray,
1413
1423
  rentOfferArray: LocationUpdateParams.rentOfferArray,
1414
1424
  reservationOfferArray: LocationUpdateParams.reservationOfferArray,
1425
+ adminQuickActionArray: LocationUpdateParams.adminQuickActionArray,
1426
+ userQuickActionArray: LocationUpdateParams.userQuickActionArray,
1427
+ adminQuickViewArray: LocationUpdateParams.adminQuickViewArray,
1415
1428
  latitude: LocationUpdateParams.latitude,
1416
1429
  longitude: LocationUpdateParams.longitude,
1417
- disabled: LocationUpdateParams.disabled
1430
+ disabled: LocationUpdateParams.disabled,
1431
+ visible: LocationUpdateParams.visible
1418
1432
  },
1419
1433
  authenticationNotOptional: true
1420
1434
  },
@@ -2001,49 +2015,6 @@ var PayoutsService = class extends Service {
2001
2015
  }
2002
2016
  };
2003
2017
 
2004
- // src/connectorMessages/connectorMessages.service.ts
2005
- var ConnectorMessagesService = class extends Service {
2006
- constructor(config) {
2007
- super(config);
2008
- }
2009
- async retrieve(ConnectorMessageRetrieveParams, ConnectorMessageRetrieveOptions) {
2010
- const queryArray = [];
2011
- return await super.sendRequest(
2012
- {
2013
- method: "GET",
2014
- url: "connectorMessages/" + ConnectorMessageRetrieveParams.connectorMessageId + "?" + queryArray.join("&"),
2015
- body: void 0,
2016
- authenticationNotOptional: true
2017
- },
2018
- ConnectorMessageRetrieveOptions
2019
- );
2020
- }
2021
- async list(ConnectorMessageListParams, ConnectorMessageListOptions) {
2022
- const queryArray = [];
2023
- if (ConnectorMessageListParams?.propertyId !== void 0) {
2024
- queryArray.push("propertyId=" + ConnectorMessageListParams.propertyId);
2025
- }
2026
- if (ConnectorMessageListParams?.connectorId !== void 0) {
2027
- queryArray.push("connectorId=" + ConnectorMessageListParams.connectorId);
2028
- }
2029
- if (ConnectorMessageListOptions?.skip !== void 0) {
2030
- queryArray.push("skip=" + ConnectorMessageListOptions.skip);
2031
- }
2032
- if (ConnectorMessageListOptions?.limit !== void 0) {
2033
- queryArray.push("limit=" + ConnectorMessageListOptions.limit);
2034
- }
2035
- return await super.sendRequest(
2036
- {
2037
- method: "GET",
2038
- url: "connectorMessages?" + queryArray.join("&"),
2039
- body: void 0,
2040
- authenticationNotOptional: true
2041
- },
2042
- ConnectorMessageListOptions
2043
- );
2044
- }
2045
- };
2046
-
2047
2018
  // src/sims/sims.service.ts
2048
2019
  var SimsService = class extends Service {
2049
2020
  constructor(config) {
@@ -3812,7 +3783,6 @@ var Juhuu = class {
3812
3783
  this.settings = new SettingsService(config);
3813
3784
  this.accountingAreas = new AccountingAreasService(config);
3814
3785
  this.payouts = new PayoutsService(config);
3815
- this.connectorMessages = new ConnectorMessagesService(config);
3816
3786
  this.sims = new SimsService(config);
3817
3787
  this.licenseTemplates = new LicenseTemplatesService(config);
3818
3788
  this.articles = new ArticlesService(config);
@@ -3854,7 +3824,6 @@ var Juhuu = class {
3854
3824
  settings;
3855
3825
  accountingAreas;
3856
3826
  payouts;
3857
- connectorMessages;
3858
3827
  sims;
3859
3828
  licenseTemplates;
3860
3829
  articles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.243",
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",