@juhuu/sdk-ts 1.2.175 → 1.2.177

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
@@ -885,6 +885,24 @@ declare class IncidentsService extends Service {
885
885
  delete(IncidentDeleteParams: JUHUU.Incident.Delete.Params, IncidentDeleteOptions?: JUHUU.Incident.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Delete.Response>>;
886
886
  }
887
887
 
888
+ declare class ParameterAnomalyGroupsService extends Service {
889
+ constructor(config: JUHUU.SetupConfig);
890
+ create(ParameterAnomalyGroupCreateParams: JUHUU.ParameterAnomalyGroup.Create.Params, ParameterAnomalyGroupCreateOptions?: JUHUU.ParameterAnomalyGroup.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Create.Response>>;
891
+ list(ParameterAnomalyGroupListParams: JUHUU.ParameterAnomalyGroup.List.Params, ParameterAnomalyGroupListOptions?: JUHUU.ParameterAnomalyGroup.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.List.Response>>;
892
+ retrieve(ParameterAnomalyGroupRetrieveParams: JUHUU.ParameterAnomalyGroup.Retrieve.Params, ParameterAnomalyGroupRetrieveOptions?: JUHUU.ParameterAnomalyGroup.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Retrieve.Response>>;
893
+ update(ParameterAnomalyGroupUpdateParams: JUHUU.ParameterAnomalyGroup.Update.Params, ParameterAnomalyGroupUpdateOptions?: JUHUU.ParameterAnomalyGroup.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Update.Response>>;
894
+ delete(ParameterAnomalyGroupDeleteParams: JUHUU.ParameterAnomalyGroup.Delete.Params, ParameterAnomalyGroupDeleteOptions?: JUHUU.ParameterAnomalyGroup.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Delete.Response>>;
895
+ }
896
+
897
+ declare class ParameterAnomalyGroupTrackersService extends Service {
898
+ constructor(config: JUHUU.SetupConfig);
899
+ create(ParameterAnomalyGroupTrackerCreateParams: JUHUU.ParameterAnomalyGroupTracker.Create.Params, ParameterAnomalyGroupTrackerCreateOptions?: JUHUU.ParameterAnomalyGroupTracker.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Create.Response>>;
900
+ list(ParameterAnomalyGroupTrackerListParams: JUHUU.ParameterAnomalyGroupTracker.List.Params, ParameterAnomalyGroupTrackerListOptions?: JUHUU.ParameterAnomalyGroupTracker.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.List.Response>>;
901
+ retrieve(ParameterAnomalyGroupTrackerRetrieveParams: JUHUU.ParameterAnomalyGroupTracker.Retrieve.Params, ParameterAnomalyGroupTrackerRetrieveOptions?: JUHUU.ParameterAnomalyGroupTracker.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Retrieve.Response>>;
902
+ update(ParameterAnomalyGroupTrackerUpdateParams: JUHUU.ParameterAnomalyGroupTracker.Update.Params, ParameterAnomalyGroupTrackerUpdateOptions?: JUHUU.ParameterAnomalyGroupTracker.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Update.Response>>;
903
+ delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
904
+ }
905
+
888
906
  declare class Juhuu {
889
907
  constructor(config: JUHUU.SetupConfig);
890
908
  /**
@@ -922,6 +940,8 @@ declare class Juhuu {
922
940
  readonly parameters: ParametersService;
923
941
  readonly incidentTemplates: IncidentTemplatesService;
924
942
  readonly incidents: IncidentsService;
943
+ readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
944
+ readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
925
945
  }
926
946
  declare namespace JUHUU {
927
947
  interface SetupConfig {
@@ -3410,6 +3430,7 @@ declare namespace JUHUU {
3410
3430
  readonly object: "parameterAnomalyGroup";
3411
3431
  parameterAnomalyGroupTrackerId: string | null;
3412
3432
  propertyId: string;
3433
+ name: string;
3413
3434
  };
3414
3435
  namespace Create {
3415
3436
  type Params = {
@@ -3470,7 +3491,7 @@ declare namespace JUHUU {
3470
3491
  id: string;
3471
3492
  readonly object: "parameterAnomalyGroupTracker";
3472
3493
  nextRunAt: Date | null;
3473
- title: string;
3494
+ name: string;
3474
3495
  propertyId: string;
3475
3496
  };
3476
3497
  namespace Create {
@@ -3534,7 +3555,7 @@ declare namespace JUHUU {
3534
3555
  description: string | null;
3535
3556
  name: string | null;
3536
3557
  propertyId: string;
3537
- createdAt: Date | null;
3558
+ createdAt: Date;
3538
3559
  reference: string | null;
3539
3560
  };
3540
3561
  export interface Text extends Base {
package/dist/index.d.ts CHANGED
@@ -885,6 +885,24 @@ declare class IncidentsService extends Service {
885
885
  delete(IncidentDeleteParams: JUHUU.Incident.Delete.Params, IncidentDeleteOptions?: JUHUU.Incident.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Delete.Response>>;
886
886
  }
887
887
 
888
+ declare class ParameterAnomalyGroupsService extends Service {
889
+ constructor(config: JUHUU.SetupConfig);
890
+ create(ParameterAnomalyGroupCreateParams: JUHUU.ParameterAnomalyGroup.Create.Params, ParameterAnomalyGroupCreateOptions?: JUHUU.ParameterAnomalyGroup.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Create.Response>>;
891
+ list(ParameterAnomalyGroupListParams: JUHUU.ParameterAnomalyGroup.List.Params, ParameterAnomalyGroupListOptions?: JUHUU.ParameterAnomalyGroup.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.List.Response>>;
892
+ retrieve(ParameterAnomalyGroupRetrieveParams: JUHUU.ParameterAnomalyGroup.Retrieve.Params, ParameterAnomalyGroupRetrieveOptions?: JUHUU.ParameterAnomalyGroup.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Retrieve.Response>>;
893
+ update(ParameterAnomalyGroupUpdateParams: JUHUU.ParameterAnomalyGroup.Update.Params, ParameterAnomalyGroupUpdateOptions?: JUHUU.ParameterAnomalyGroup.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Update.Response>>;
894
+ delete(ParameterAnomalyGroupDeleteParams: JUHUU.ParameterAnomalyGroup.Delete.Params, ParameterAnomalyGroupDeleteOptions?: JUHUU.ParameterAnomalyGroup.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroup.Delete.Response>>;
895
+ }
896
+
897
+ declare class ParameterAnomalyGroupTrackersService extends Service {
898
+ constructor(config: JUHUU.SetupConfig);
899
+ create(ParameterAnomalyGroupTrackerCreateParams: JUHUU.ParameterAnomalyGroupTracker.Create.Params, ParameterAnomalyGroupTrackerCreateOptions?: JUHUU.ParameterAnomalyGroupTracker.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Create.Response>>;
900
+ list(ParameterAnomalyGroupTrackerListParams: JUHUU.ParameterAnomalyGroupTracker.List.Params, ParameterAnomalyGroupTrackerListOptions?: JUHUU.ParameterAnomalyGroupTracker.List.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.List.Response>>;
901
+ retrieve(ParameterAnomalyGroupTrackerRetrieveParams: JUHUU.ParameterAnomalyGroupTracker.Retrieve.Params, ParameterAnomalyGroupTrackerRetrieveOptions?: JUHUU.ParameterAnomalyGroupTracker.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Retrieve.Response>>;
902
+ update(ParameterAnomalyGroupTrackerUpdateParams: JUHUU.ParameterAnomalyGroupTracker.Update.Params, ParameterAnomalyGroupTrackerUpdateOptions?: JUHUU.ParameterAnomalyGroupTracker.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Update.Response>>;
903
+ delete(ParameterAnomalyGroupTrackerDeleteParams: JUHUU.ParameterAnomalyGroupTracker.Delete.Params, ParameterAnomalyGroupTrackerDeleteOptions?: JUHUU.ParameterAnomalyGroupTracker.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ParameterAnomalyGroupTracker.Delete.Response>>;
904
+ }
905
+
888
906
  declare class Juhuu {
889
907
  constructor(config: JUHUU.SetupConfig);
890
908
  /**
@@ -922,6 +940,8 @@ declare class Juhuu {
922
940
  readonly parameters: ParametersService;
923
941
  readonly incidentTemplates: IncidentTemplatesService;
924
942
  readonly incidents: IncidentsService;
943
+ readonly parameterAnomalyGroups: ParameterAnomalyGroupsService;
944
+ readonly parameterAnomalyGroupTrackers: ParameterAnomalyGroupTrackersService;
925
945
  }
926
946
  declare namespace JUHUU {
927
947
  interface SetupConfig {
@@ -3410,6 +3430,7 @@ declare namespace JUHUU {
3410
3430
  readonly object: "parameterAnomalyGroup";
3411
3431
  parameterAnomalyGroupTrackerId: string | null;
3412
3432
  propertyId: string;
3433
+ name: string;
3413
3434
  };
3414
3435
  namespace Create {
3415
3436
  type Params = {
@@ -3470,7 +3491,7 @@ declare namespace JUHUU {
3470
3491
  id: string;
3471
3492
  readonly object: "parameterAnomalyGroupTracker";
3472
3493
  nextRunAt: Date | null;
3473
- title: string;
3494
+ name: string;
3474
3495
  propertyId: string;
3475
3496
  };
3476
3497
  namespace Create {
@@ -3534,7 +3555,7 @@ declare namespace JUHUU {
3534
3555
  description: string | null;
3535
3556
  name: string | null;
3536
3557
  propertyId: string;
3537
- createdAt: Date | null;
3558
+ createdAt: Date;
3538
3559
  reference: string | null;
3539
3560
  };
3540
3561
  export interface Text extends Base {
package/dist/index.js CHANGED
@@ -2833,7 +2833,7 @@ var ParameterHistoriesService = class extends Service {
2833
2833
  return await super.sendRequest(
2834
2834
  {
2835
2835
  method: "GET",
2836
- url: "articles?" + queryArray.join("&"),
2836
+ url: "parameterHistories?" + queryArray.join("&"),
2837
2837
  body: void 0,
2838
2838
  authenticationNotOptional: false
2839
2839
  },
@@ -2850,7 +2850,7 @@ var ParameterHistoriesService = class extends Service {
2850
2850
  return await super.sendRequest(
2851
2851
  {
2852
2852
  method: "GET",
2853
- url: "articles/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2853
+ url: "parameterHistories/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2854
2854
  body: void 0,
2855
2855
  authenticationNotOptional: false
2856
2856
  },
@@ -3206,6 +3206,175 @@ var IncidentsService = class extends Service {
3206
3206
  }
3207
3207
  };
3208
3208
 
3209
+ // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
3210
+ var ParameterAnomalyGroupsService = class extends Service {
3211
+ constructor(config) {
3212
+ super(config);
3213
+ }
3214
+ async create(ParameterAnomalyGroupCreateParams, ParameterAnomalyGroupCreateOptions) {
3215
+ return await super.sendRequest(
3216
+ {
3217
+ method: "POST",
3218
+ url: "parameterAnomalyGroups",
3219
+ body: {
3220
+ propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3221
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3222
+ },
3223
+ authenticationNotOptional: true
3224
+ },
3225
+ ParameterAnomalyGroupCreateOptions
3226
+ );
3227
+ }
3228
+ async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
3229
+ const queryArray = [];
3230
+ if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
3231
+ queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
3232
+ }
3233
+ if (ParameterAnomalyGroupListParams?.propertyId !== void 0) {
3234
+ queryArray.push(
3235
+ "propertyId=" + ParameterAnomalyGroupListParams.propertyId
3236
+ );
3237
+ }
3238
+ if (ParameterAnomalyGroupListOptions?.skip !== void 0) {
3239
+ queryArray.push("skip=" + ParameterAnomalyGroupListOptions.skip);
3240
+ }
3241
+ return await super.sendRequest(
3242
+ {
3243
+ method: "GET",
3244
+ url: "parameterAnomalyGroups?" + queryArray.join("&"),
3245
+ body: void 0,
3246
+ authenticationNotOptional: false
3247
+ },
3248
+ ParameterAnomalyGroupListOptions
3249
+ );
3250
+ }
3251
+ async retrieve(ParameterAnomalyGroupRetrieveParams, ParameterAnomalyGroupRetrieveOptions) {
3252
+ const queryArray = [];
3253
+ if (ParameterAnomalyGroupRetrieveOptions?.expand !== void 0) {
3254
+ queryArray.push(
3255
+ "expand=" + ParameterAnomalyGroupRetrieveOptions.expand.join(",")
3256
+ );
3257
+ }
3258
+ return await super.sendRequest(
3259
+ {
3260
+ method: "GET",
3261
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupRetrieveParams.parameterAnomalyGroupId + "?" + queryArray.join("&"),
3262
+ body: void 0,
3263
+ authenticationNotOptional: false
3264
+ },
3265
+ ParameterAnomalyGroupRetrieveOptions
3266
+ );
3267
+ }
3268
+ async update(ParameterAnomalyGroupUpdateParams, ParameterAnomalyGroupUpdateOptions) {
3269
+ return await super.sendRequest(
3270
+ {
3271
+ method: "PATCH",
3272
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
3273
+ body: {
3274
+ parameterAnomalyGroupId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId
3275
+ },
3276
+ authenticationNotOptional: true
3277
+ },
3278
+ ParameterAnomalyGroupUpdateOptions
3279
+ );
3280
+ }
3281
+ async delete(ParameterAnomalyGroupDeleteParams, ParameterAnomalyGroupDeleteOptions) {
3282
+ return await super.sendRequest(
3283
+ {
3284
+ method: "DELETE",
3285
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupDeleteParams.parameterAnomalyGroupId,
3286
+ authenticationNotOptional: true,
3287
+ body: void 0
3288
+ },
3289
+ ParameterAnomalyGroupDeleteOptions
3290
+ );
3291
+ }
3292
+ };
3293
+
3294
+ // src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
3295
+ var ParameterAnomalyGroupTrackersService = class extends Service {
3296
+ constructor(config) {
3297
+ super(config);
3298
+ }
3299
+ async create(ParameterAnomalyGroupTrackerCreateParams, ParameterAnomalyGroupTrackerCreateOptions) {
3300
+ return await super.sendRequest(
3301
+ {
3302
+ method: "POST",
3303
+ url: "parameterAnomalyGroupTrackers",
3304
+ body: {
3305
+ propertyId: ParameterAnomalyGroupTrackerCreateParams.propertyId
3306
+ },
3307
+ authenticationNotOptional: true
3308
+ },
3309
+ ParameterAnomalyGroupTrackerCreateOptions
3310
+ );
3311
+ }
3312
+ async list(ParameterAnomalyGroupTrackerListParams, ParameterAnomalyGroupTrackerListOptions) {
3313
+ const queryArray = [];
3314
+ if (ParameterAnomalyGroupTrackerListOptions?.limit !== void 0) {
3315
+ queryArray.push("limit=" + ParameterAnomalyGroupTrackerListOptions.limit);
3316
+ }
3317
+ if (ParameterAnomalyGroupTrackerListParams?.propertyId !== void 0) {
3318
+ queryArray.push(
3319
+ "propertyId=" + ParameterAnomalyGroupTrackerListParams.propertyId
3320
+ );
3321
+ }
3322
+ if (ParameterAnomalyGroupTrackerListOptions?.skip !== void 0) {
3323
+ queryArray.push("skip=" + ParameterAnomalyGroupTrackerListOptions.skip);
3324
+ }
3325
+ return await super.sendRequest(
3326
+ {
3327
+ method: "GET",
3328
+ url: "articles?" + queryArray.join("&"),
3329
+ body: void 0,
3330
+ authenticationNotOptional: false
3331
+ },
3332
+ ParameterAnomalyGroupTrackerListOptions
3333
+ );
3334
+ }
3335
+ async retrieve(ParameterAnomalyGroupTrackerRetrieveParams, ParameterAnomalyGroupTrackerRetrieveOptions) {
3336
+ const queryArray = [];
3337
+ if (ParameterAnomalyGroupTrackerRetrieveOptions?.expand !== void 0) {
3338
+ queryArray.push(
3339
+ "expand=" + ParameterAnomalyGroupTrackerRetrieveOptions.expand.join(",")
3340
+ );
3341
+ }
3342
+ return await super.sendRequest(
3343
+ {
3344
+ method: "GET",
3345
+ url: "articles/" + ParameterAnomalyGroupTrackerRetrieveParams.parameterAnomalyGroupTrackerId + "?" + queryArray.join("&"),
3346
+ body: void 0,
3347
+ authenticationNotOptional: false
3348
+ },
3349
+ ParameterAnomalyGroupTrackerRetrieveOptions
3350
+ );
3351
+ }
3352
+ async update(ParameterAnomalyGroupTrackerUpdateParams, ParameterAnomalyGroupTrackerUpdateOptions) {
3353
+ return await super.sendRequest(
3354
+ {
3355
+ method: "PATCH",
3356
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
3357
+ body: {
3358
+ title: ParameterAnomalyGroupTrackerUpdateParams.title
3359
+ },
3360
+ authenticationNotOptional: true
3361
+ },
3362
+ ParameterAnomalyGroupTrackerUpdateOptions
3363
+ );
3364
+ }
3365
+ async delete(ParameterAnomalyGroupTrackerDeleteParams, ParameterAnomalyGroupTrackerDeleteOptions) {
3366
+ return await super.sendRequest(
3367
+ {
3368
+ method: "DELETE",
3369
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerDeleteParams.parameterAnomalyGroupTrackerId,
3370
+ authenticationNotOptional: true,
3371
+ body: void 0
3372
+ },
3373
+ ParameterAnomalyGroupTrackerDeleteOptions
3374
+ );
3375
+ }
3376
+ };
3377
+
3209
3378
  // src/types/types.ts
3210
3379
  var LanguageCodeArray = [
3211
3380
  "en",
@@ -3385,8 +3554,11 @@ var Juhuu = class {
3385
3554
  this.parameterHistories = new ParameterHistoriesService(config);
3386
3555
  this.apiKeys = new ApiKeysService(config);
3387
3556
  this.parameters = new ParametersService(config);
3557
+ this.parameters = new ParametersService(config);
3388
3558
  this.incidentTemplates = new IncidentTemplatesService(config);
3389
3559
  this.incidents = new IncidentsService(config);
3560
+ this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3561
+ this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3390
3562
  }
3391
3563
  /**
3392
3564
  * Top Level Resources
@@ -3423,6 +3595,8 @@ var Juhuu = class {
3423
3595
  parameters;
3424
3596
  incidentTemplates;
3425
3597
  incidents;
3598
+ parameterAnomalyGroups;
3599
+ parameterAnomalyGroupTrackers;
3426
3600
  };
3427
3601
  var JUHUU;
3428
3602
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -2789,7 +2789,7 @@ var ParameterHistoriesService = class extends Service {
2789
2789
  return await super.sendRequest(
2790
2790
  {
2791
2791
  method: "GET",
2792
- url: "articles?" + queryArray.join("&"),
2792
+ url: "parameterHistories?" + queryArray.join("&"),
2793
2793
  body: void 0,
2794
2794
  authenticationNotOptional: false
2795
2795
  },
@@ -2806,7 +2806,7 @@ var ParameterHistoriesService = class extends Service {
2806
2806
  return await super.sendRequest(
2807
2807
  {
2808
2808
  method: "GET",
2809
- url: "articles/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2809
+ url: "parameterHistories/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2810
2810
  body: void 0,
2811
2811
  authenticationNotOptional: false
2812
2812
  },
@@ -3162,6 +3162,175 @@ var IncidentsService = class extends Service {
3162
3162
  }
3163
3163
  };
3164
3164
 
3165
+ // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
3166
+ var ParameterAnomalyGroupsService = class extends Service {
3167
+ constructor(config) {
3168
+ super(config);
3169
+ }
3170
+ async create(ParameterAnomalyGroupCreateParams, ParameterAnomalyGroupCreateOptions) {
3171
+ return await super.sendRequest(
3172
+ {
3173
+ method: "POST",
3174
+ url: "parameterAnomalyGroups",
3175
+ body: {
3176
+ propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3177
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3178
+ },
3179
+ authenticationNotOptional: true
3180
+ },
3181
+ ParameterAnomalyGroupCreateOptions
3182
+ );
3183
+ }
3184
+ async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
3185
+ const queryArray = [];
3186
+ if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
3187
+ queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
3188
+ }
3189
+ if (ParameterAnomalyGroupListParams?.propertyId !== void 0) {
3190
+ queryArray.push(
3191
+ "propertyId=" + ParameterAnomalyGroupListParams.propertyId
3192
+ );
3193
+ }
3194
+ if (ParameterAnomalyGroupListOptions?.skip !== void 0) {
3195
+ queryArray.push("skip=" + ParameterAnomalyGroupListOptions.skip);
3196
+ }
3197
+ return await super.sendRequest(
3198
+ {
3199
+ method: "GET",
3200
+ url: "parameterAnomalyGroups?" + queryArray.join("&"),
3201
+ body: void 0,
3202
+ authenticationNotOptional: false
3203
+ },
3204
+ ParameterAnomalyGroupListOptions
3205
+ );
3206
+ }
3207
+ async retrieve(ParameterAnomalyGroupRetrieveParams, ParameterAnomalyGroupRetrieveOptions) {
3208
+ const queryArray = [];
3209
+ if (ParameterAnomalyGroupRetrieveOptions?.expand !== void 0) {
3210
+ queryArray.push(
3211
+ "expand=" + ParameterAnomalyGroupRetrieveOptions.expand.join(",")
3212
+ );
3213
+ }
3214
+ return await super.sendRequest(
3215
+ {
3216
+ method: "GET",
3217
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupRetrieveParams.parameterAnomalyGroupId + "?" + queryArray.join("&"),
3218
+ body: void 0,
3219
+ authenticationNotOptional: false
3220
+ },
3221
+ ParameterAnomalyGroupRetrieveOptions
3222
+ );
3223
+ }
3224
+ async update(ParameterAnomalyGroupUpdateParams, ParameterAnomalyGroupUpdateOptions) {
3225
+ return await super.sendRequest(
3226
+ {
3227
+ method: "PATCH",
3228
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
3229
+ body: {
3230
+ parameterAnomalyGroupId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId
3231
+ },
3232
+ authenticationNotOptional: true
3233
+ },
3234
+ ParameterAnomalyGroupUpdateOptions
3235
+ );
3236
+ }
3237
+ async delete(ParameterAnomalyGroupDeleteParams, ParameterAnomalyGroupDeleteOptions) {
3238
+ return await super.sendRequest(
3239
+ {
3240
+ method: "DELETE",
3241
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupDeleteParams.parameterAnomalyGroupId,
3242
+ authenticationNotOptional: true,
3243
+ body: void 0
3244
+ },
3245
+ ParameterAnomalyGroupDeleteOptions
3246
+ );
3247
+ }
3248
+ };
3249
+
3250
+ // src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
3251
+ var ParameterAnomalyGroupTrackersService = class extends Service {
3252
+ constructor(config) {
3253
+ super(config);
3254
+ }
3255
+ async create(ParameterAnomalyGroupTrackerCreateParams, ParameterAnomalyGroupTrackerCreateOptions) {
3256
+ return await super.sendRequest(
3257
+ {
3258
+ method: "POST",
3259
+ url: "parameterAnomalyGroupTrackers",
3260
+ body: {
3261
+ propertyId: ParameterAnomalyGroupTrackerCreateParams.propertyId
3262
+ },
3263
+ authenticationNotOptional: true
3264
+ },
3265
+ ParameterAnomalyGroupTrackerCreateOptions
3266
+ );
3267
+ }
3268
+ async list(ParameterAnomalyGroupTrackerListParams, ParameterAnomalyGroupTrackerListOptions) {
3269
+ const queryArray = [];
3270
+ if (ParameterAnomalyGroupTrackerListOptions?.limit !== void 0) {
3271
+ queryArray.push("limit=" + ParameterAnomalyGroupTrackerListOptions.limit);
3272
+ }
3273
+ if (ParameterAnomalyGroupTrackerListParams?.propertyId !== void 0) {
3274
+ queryArray.push(
3275
+ "propertyId=" + ParameterAnomalyGroupTrackerListParams.propertyId
3276
+ );
3277
+ }
3278
+ if (ParameterAnomalyGroupTrackerListOptions?.skip !== void 0) {
3279
+ queryArray.push("skip=" + ParameterAnomalyGroupTrackerListOptions.skip);
3280
+ }
3281
+ return await super.sendRequest(
3282
+ {
3283
+ method: "GET",
3284
+ url: "articles?" + queryArray.join("&"),
3285
+ body: void 0,
3286
+ authenticationNotOptional: false
3287
+ },
3288
+ ParameterAnomalyGroupTrackerListOptions
3289
+ );
3290
+ }
3291
+ async retrieve(ParameterAnomalyGroupTrackerRetrieveParams, ParameterAnomalyGroupTrackerRetrieveOptions) {
3292
+ const queryArray = [];
3293
+ if (ParameterAnomalyGroupTrackerRetrieveOptions?.expand !== void 0) {
3294
+ queryArray.push(
3295
+ "expand=" + ParameterAnomalyGroupTrackerRetrieveOptions.expand.join(",")
3296
+ );
3297
+ }
3298
+ return await super.sendRequest(
3299
+ {
3300
+ method: "GET",
3301
+ url: "articles/" + ParameterAnomalyGroupTrackerRetrieveParams.parameterAnomalyGroupTrackerId + "?" + queryArray.join("&"),
3302
+ body: void 0,
3303
+ authenticationNotOptional: false
3304
+ },
3305
+ ParameterAnomalyGroupTrackerRetrieveOptions
3306
+ );
3307
+ }
3308
+ async update(ParameterAnomalyGroupTrackerUpdateParams, ParameterAnomalyGroupTrackerUpdateOptions) {
3309
+ return await super.sendRequest(
3310
+ {
3311
+ method: "PATCH",
3312
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
3313
+ body: {
3314
+ title: ParameterAnomalyGroupTrackerUpdateParams.title
3315
+ },
3316
+ authenticationNotOptional: true
3317
+ },
3318
+ ParameterAnomalyGroupTrackerUpdateOptions
3319
+ );
3320
+ }
3321
+ async delete(ParameterAnomalyGroupTrackerDeleteParams, ParameterAnomalyGroupTrackerDeleteOptions) {
3322
+ return await super.sendRequest(
3323
+ {
3324
+ method: "DELETE",
3325
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerDeleteParams.parameterAnomalyGroupTrackerId,
3326
+ authenticationNotOptional: true,
3327
+ body: void 0
3328
+ },
3329
+ ParameterAnomalyGroupTrackerDeleteOptions
3330
+ );
3331
+ }
3332
+ };
3333
+
3165
3334
  // src/types/types.ts
3166
3335
  var LanguageCodeArray = [
3167
3336
  "en",
@@ -3341,8 +3510,11 @@ var Juhuu = class {
3341
3510
  this.parameterHistories = new ParameterHistoriesService(config);
3342
3511
  this.apiKeys = new ApiKeysService(config);
3343
3512
  this.parameters = new ParametersService(config);
3513
+ this.parameters = new ParametersService(config);
3344
3514
  this.incidentTemplates = new IncidentTemplatesService(config);
3345
3515
  this.incidents = new IncidentsService(config);
3516
+ this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3517
+ this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3346
3518
  }
3347
3519
  /**
3348
3520
  * Top Level Resources
@@ -3379,6 +3551,8 @@ var Juhuu = class {
3379
3551
  parameters;
3380
3552
  incidentTemplates;
3381
3553
  incidents;
3554
+ parameterAnomalyGroups;
3555
+ parameterAnomalyGroupTrackers;
3382
3556
  };
3383
3557
  var JUHUU;
3384
3558
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.175",
3
+ "version": "1.2.177",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",