@juhuu/sdk-ts 1.2.315 → 1.2.317

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
@@ -2054,6 +2054,15 @@ declare class PricesService extends Service {
2054
2054
  delete(params: JUHUU.Price.Delete.Params, options?: JUHUU.Price.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Price.Delete.Response>>;
2055
2055
  }
2056
2056
 
2057
+ declare class ApplicationsService extends Service {
2058
+ constructor(config: JUHUU.SetupConfig);
2059
+ create(ApplicationCreateParams: JUHUU.Application.Create.Params, ApplicationOptions?: JUHUU.Application.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Create.Response>>;
2060
+ retrieve(ApplicationRetrieveParams: JUHUU.Application.Retrieve.Params, ApplicationRetrieveOptions?: JUHUU.Application.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Retrieve.Response>>;
2061
+ list(ApplicationListParams: JUHUU.Application.List.Params, ApplicationListOptions?: JUHUU.Application.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.List.Response>>;
2062
+ update(ApplicationUpdateParams: JUHUU.Application.Update.Params, ApplicationUpdateOptions?: JUHUU.Application.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Update.Response>>;
2063
+ delete(ApplicationDeleteParams: JUHUU.Application.Delete.Params, ApplicationDeleteOptions?: JUHUU.Application.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Delete.Response>>;
2064
+ }
2065
+
2057
2066
  declare class Juhuu {
2058
2067
  constructor(config: JUHUU.SetupConfig);
2059
2068
  /**
@@ -2106,6 +2115,7 @@ declare class Juhuu {
2106
2115
  readonly kits: KitsService;
2107
2116
  readonly panels: PanelsService;
2108
2117
  readonly prices: PricesService;
2118
+ readonly applications: ApplicationsService;
2109
2119
  }
2110
2120
  declare namespace JUHUU {
2111
2121
  namespace Achievement {
@@ -3101,7 +3111,7 @@ declare namespace JUHUU {
3101
3111
  namespace Pdf {
3102
3112
  type Params = {
3103
3113
  articleId: string;
3104
- languageCode: LanguageCode;
3114
+ languageCode: LanguageCode[];
3105
3115
  };
3106
3116
  type Options = JUHUU.RequestOptions;
3107
3117
  type Response = {
@@ -4359,6 +4369,7 @@ declare namespace JUHUU {
4359
4369
  adminQuickViewArray: QuickView[];
4360
4370
  simIdArray: string[];
4361
4371
  panelId: string | null;
4372
+ adminQuickActionArray: QuickAction[];
4362
4373
  };
4363
4374
  namespace Create {
4364
4375
  type Params = {
@@ -4418,6 +4429,7 @@ declare namespace JUHUU {
4418
4429
  permissionArray?: DevicePermission[];
4419
4430
  parameterIdArray?: string[];
4420
4431
  panelId?: string | null;
4432
+ adminQuickActionArray?: QuickAction[];
4421
4433
  };
4422
4434
  type Options = JUHUU.RequestOptions;
4423
4435
  type Response = {
package/dist/index.d.ts CHANGED
@@ -2054,6 +2054,15 @@ declare class PricesService extends Service {
2054
2054
  delete(params: JUHUU.Price.Delete.Params, options?: JUHUU.Price.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Price.Delete.Response>>;
2055
2055
  }
2056
2056
 
2057
+ declare class ApplicationsService extends Service {
2058
+ constructor(config: JUHUU.SetupConfig);
2059
+ create(ApplicationCreateParams: JUHUU.Application.Create.Params, ApplicationOptions?: JUHUU.Application.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Create.Response>>;
2060
+ retrieve(ApplicationRetrieveParams: JUHUU.Application.Retrieve.Params, ApplicationRetrieveOptions?: JUHUU.Application.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Retrieve.Response>>;
2061
+ list(ApplicationListParams: JUHUU.Application.List.Params, ApplicationListOptions?: JUHUU.Application.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.List.Response>>;
2062
+ update(ApplicationUpdateParams: JUHUU.Application.Update.Params, ApplicationUpdateOptions?: JUHUU.Application.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Update.Response>>;
2063
+ delete(ApplicationDeleteParams: JUHUU.Application.Delete.Params, ApplicationDeleteOptions?: JUHUU.Application.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Application.Delete.Response>>;
2064
+ }
2065
+
2057
2066
  declare class Juhuu {
2058
2067
  constructor(config: JUHUU.SetupConfig);
2059
2068
  /**
@@ -2106,6 +2115,7 @@ declare class Juhuu {
2106
2115
  readonly kits: KitsService;
2107
2116
  readonly panels: PanelsService;
2108
2117
  readonly prices: PricesService;
2118
+ readonly applications: ApplicationsService;
2109
2119
  }
2110
2120
  declare namespace JUHUU {
2111
2121
  namespace Achievement {
@@ -3101,7 +3111,7 @@ declare namespace JUHUU {
3101
3111
  namespace Pdf {
3102
3112
  type Params = {
3103
3113
  articleId: string;
3104
- languageCode: LanguageCode;
3114
+ languageCode: LanguageCode[];
3105
3115
  };
3106
3116
  type Options = JUHUU.RequestOptions;
3107
3117
  type Response = {
@@ -4359,6 +4369,7 @@ declare namespace JUHUU {
4359
4369
  adminQuickViewArray: QuickView[];
4360
4370
  simIdArray: string[];
4361
4371
  panelId: string | null;
4372
+ adminQuickActionArray: QuickAction[];
4362
4373
  };
4363
4374
  namespace Create {
4364
4375
  type Params = {
@@ -4418,6 +4429,7 @@ declare namespace JUHUU {
4418
4429
  permissionArray?: DevicePermission[];
4419
4430
  parameterIdArray?: string[];
4420
4431
  panelId?: string | null;
4432
+ adminQuickActionArray?: QuickAction[];
4421
4433
  };
4422
4434
  type Options = JUHUU.RequestOptions;
4423
4435
  type Response = {
package/dist/index.js CHANGED
@@ -1438,7 +1438,8 @@ var DevicesService = class extends Service {
1438
1438
  permissionArray: DeviceUpdateParams.permissionArray,
1439
1439
  proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1440
1440
  simIdArray: DeviceUpdateParams.simIdArray,
1441
- panelId: DeviceUpdateParams.panelId
1441
+ panelId: DeviceUpdateParams.panelId,
1442
+ adminQuickActionArray: DeviceUpdateParams.adminQuickActionArray
1442
1443
  },
1443
1444
  authenticationNotOptional: true
1444
1445
  },
@@ -5470,6 +5471,83 @@ var PricesService = class extends Service {
5470
5471
  }
5471
5472
  };
5472
5473
 
5474
+ // src/applications/applications.service.ts
5475
+ var ApplicationsService = class extends Service {
5476
+ constructor(config) {
5477
+ super(config);
5478
+ }
5479
+ async create(ApplicationCreateParams, ApplicationOptions) {
5480
+ return await super.sendRequest(
5481
+ {
5482
+ method: "POST",
5483
+ url: "applications",
5484
+ body: {
5485
+ propertyId: ApplicationCreateParams.propertyId,
5486
+ colorScheme: ApplicationCreateParams.colorScheme,
5487
+ appIconLight: ApplicationCreateParams.appIconLight,
5488
+ appIconDark: ApplicationCreateParams.appIconDark
5489
+ },
5490
+ authenticationNotOptional: true
5491
+ },
5492
+ ApplicationOptions
5493
+ );
5494
+ }
5495
+ async retrieve(ApplicationRetrieveParams, ApplicationRetrieveOptions) {
5496
+ const queryArray = [];
5497
+ return await super.sendRequest(
5498
+ {
5499
+ method: "GET",
5500
+ url: "applications/" + ApplicationRetrieveParams.applicationId + "?" + queryArray.join("&"),
5501
+ body: void 0,
5502
+ authenticationNotOptional: false
5503
+ },
5504
+ ApplicationRetrieveOptions
5505
+ );
5506
+ }
5507
+ async list(ApplicationListParams, ApplicationListOptions) {
5508
+ const queryArray = [];
5509
+ if (ApplicationListParams?.propertyId !== void 0) {
5510
+ queryArray.push("propertyId=" + ApplicationListParams.propertyId);
5511
+ }
5512
+ return await super.sendRequest(
5513
+ {
5514
+ method: "GET",
5515
+ url: "applications?" + queryArray.join("&"),
5516
+ body: void 0,
5517
+ authenticationNotOptional: false
5518
+ },
5519
+ ApplicationListOptions
5520
+ );
5521
+ }
5522
+ async update(ApplicationUpdateParams, ApplicationUpdateOptions) {
5523
+ return await super.sendRequest(
5524
+ {
5525
+ method: "PATCH",
5526
+ url: "applications/" + ApplicationUpdateParams.applicationId,
5527
+ body: {
5528
+ colorScheme: ApplicationUpdateParams.colorScheme,
5529
+ appIconLight: ApplicationUpdateParams.appIconLight,
5530
+ appIconDark: ApplicationUpdateParams.appIconDark,
5531
+ status: ApplicationUpdateParams.status
5532
+ },
5533
+ authenticationNotOptional: true
5534
+ },
5535
+ ApplicationUpdateOptions
5536
+ );
5537
+ }
5538
+ async delete(ApplicationDeleteParams, ApplicationDeleteOptions) {
5539
+ return await super.sendRequest(
5540
+ {
5541
+ method: "DELETE",
5542
+ url: "applications/" + ApplicationDeleteParams.applicationId,
5543
+ authenticationNotOptional: true,
5544
+ body: void 0
5545
+ },
5546
+ ApplicationDeleteOptions
5547
+ );
5548
+ }
5549
+ };
5550
+
5473
5551
  // src/types/types.ts
5474
5552
  var LanguageCodeArray = [
5475
5553
  "en",
@@ -5667,6 +5745,7 @@ var Juhuu = class {
5667
5745
  this.kits = new KitsService(config);
5668
5746
  this.panels = new PanelsService(config);
5669
5747
  this.prices = new PricesService(config);
5748
+ this.applications = new ApplicationsService(config);
5670
5749
  }
5671
5750
  /**
5672
5751
  * Top Level Resources
@@ -5718,6 +5797,7 @@ var Juhuu = class {
5718
5797
  kits;
5719
5798
  panels;
5720
5799
  prices;
5800
+ applications;
5721
5801
  };
5722
5802
  var JUHUU;
5723
5803
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -1394,7 +1394,8 @@ var DevicesService = class extends Service {
1394
1394
  permissionArray: DeviceUpdateParams.permissionArray,
1395
1395
  proximityStrategyArray: DeviceUpdateParams.proximityStrategyArray,
1396
1396
  simIdArray: DeviceUpdateParams.simIdArray,
1397
- panelId: DeviceUpdateParams.panelId
1397
+ panelId: DeviceUpdateParams.panelId,
1398
+ adminQuickActionArray: DeviceUpdateParams.adminQuickActionArray
1398
1399
  },
1399
1400
  authenticationNotOptional: true
1400
1401
  },
@@ -5426,6 +5427,83 @@ var PricesService = class extends Service {
5426
5427
  }
5427
5428
  };
5428
5429
 
5430
+ // src/applications/applications.service.ts
5431
+ var ApplicationsService = class extends Service {
5432
+ constructor(config) {
5433
+ super(config);
5434
+ }
5435
+ async create(ApplicationCreateParams, ApplicationOptions) {
5436
+ return await super.sendRequest(
5437
+ {
5438
+ method: "POST",
5439
+ url: "applications",
5440
+ body: {
5441
+ propertyId: ApplicationCreateParams.propertyId,
5442
+ colorScheme: ApplicationCreateParams.colorScheme,
5443
+ appIconLight: ApplicationCreateParams.appIconLight,
5444
+ appIconDark: ApplicationCreateParams.appIconDark
5445
+ },
5446
+ authenticationNotOptional: true
5447
+ },
5448
+ ApplicationOptions
5449
+ );
5450
+ }
5451
+ async retrieve(ApplicationRetrieveParams, ApplicationRetrieveOptions) {
5452
+ const queryArray = [];
5453
+ return await super.sendRequest(
5454
+ {
5455
+ method: "GET",
5456
+ url: "applications/" + ApplicationRetrieveParams.applicationId + "?" + queryArray.join("&"),
5457
+ body: void 0,
5458
+ authenticationNotOptional: false
5459
+ },
5460
+ ApplicationRetrieveOptions
5461
+ );
5462
+ }
5463
+ async list(ApplicationListParams, ApplicationListOptions) {
5464
+ const queryArray = [];
5465
+ if (ApplicationListParams?.propertyId !== void 0) {
5466
+ queryArray.push("propertyId=" + ApplicationListParams.propertyId);
5467
+ }
5468
+ return await super.sendRequest(
5469
+ {
5470
+ method: "GET",
5471
+ url: "applications?" + queryArray.join("&"),
5472
+ body: void 0,
5473
+ authenticationNotOptional: false
5474
+ },
5475
+ ApplicationListOptions
5476
+ );
5477
+ }
5478
+ async update(ApplicationUpdateParams, ApplicationUpdateOptions) {
5479
+ return await super.sendRequest(
5480
+ {
5481
+ method: "PATCH",
5482
+ url: "applications/" + ApplicationUpdateParams.applicationId,
5483
+ body: {
5484
+ colorScheme: ApplicationUpdateParams.colorScheme,
5485
+ appIconLight: ApplicationUpdateParams.appIconLight,
5486
+ appIconDark: ApplicationUpdateParams.appIconDark,
5487
+ status: ApplicationUpdateParams.status
5488
+ },
5489
+ authenticationNotOptional: true
5490
+ },
5491
+ ApplicationUpdateOptions
5492
+ );
5493
+ }
5494
+ async delete(ApplicationDeleteParams, ApplicationDeleteOptions) {
5495
+ return await super.sendRequest(
5496
+ {
5497
+ method: "DELETE",
5498
+ url: "applications/" + ApplicationDeleteParams.applicationId,
5499
+ authenticationNotOptional: true,
5500
+ body: void 0
5501
+ },
5502
+ ApplicationDeleteOptions
5503
+ );
5504
+ }
5505
+ };
5506
+
5429
5507
  // src/types/types.ts
5430
5508
  var LanguageCodeArray = [
5431
5509
  "en",
@@ -5623,6 +5701,7 @@ var Juhuu = class {
5623
5701
  this.kits = new KitsService(config);
5624
5702
  this.panels = new PanelsService(config);
5625
5703
  this.prices = new PricesService(config);
5704
+ this.applications = new ApplicationsService(config);
5626
5705
  }
5627
5706
  /**
5628
5707
  * Top Level Resources
@@ -5674,6 +5753,7 @@ var Juhuu = class {
5674
5753
  kits;
5675
5754
  panels;
5676
5755
  prices;
5756
+ applications;
5677
5757
  };
5678
5758
  var JUHUU;
5679
5759
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.315",
3
+ "version": "1.2.317",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",