@juhuu/sdk-ts 1.2.176 → 1.2.178

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 {
@@ -3367,6 +3387,7 @@ declare namespace JUHUU {
3367
3387
  export namespace List {
3368
3388
  type Params = {
3369
3389
  propertyId?: string;
3390
+ parameterAnomalyGroupId?: string;
3370
3391
  };
3371
3392
  type Options = {
3372
3393
  skip?: number;
@@ -3410,6 +3431,7 @@ declare namespace JUHUU {
3410
3431
  readonly object: "parameterAnomalyGroup";
3411
3432
  parameterAnomalyGroupTrackerId: string | null;
3412
3433
  propertyId: string;
3434
+ name: string;
3413
3435
  };
3414
3436
  namespace Create {
3415
3437
  type Params = {
@@ -3435,6 +3457,7 @@ declare namespace JUHUU {
3435
3457
  namespace List {
3436
3458
  type Params = {
3437
3459
  propertyId?: string;
3460
+ parameterAnomalyGroupTrackerId?: string;
3438
3461
  };
3439
3462
  type Options = {
3440
3463
  skip?: number;
@@ -3470,7 +3493,7 @@ declare namespace JUHUU {
3470
3493
  id: string;
3471
3494
  readonly object: "parameterAnomalyGroupTracker";
3472
3495
  nextRunAt: Date | null;
3473
- title: string;
3496
+ name: string;
3474
3497
  propertyId: string;
3475
3498
  };
3476
3499
  namespace Create {
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 {
@@ -3367,6 +3387,7 @@ declare namespace JUHUU {
3367
3387
  export namespace List {
3368
3388
  type Params = {
3369
3389
  propertyId?: string;
3390
+ parameterAnomalyGroupId?: string;
3370
3391
  };
3371
3392
  type Options = {
3372
3393
  skip?: number;
@@ -3410,6 +3431,7 @@ declare namespace JUHUU {
3410
3431
  readonly object: "parameterAnomalyGroup";
3411
3432
  parameterAnomalyGroupTrackerId: string | null;
3412
3433
  propertyId: string;
3434
+ name: string;
3413
3435
  };
3414
3436
  namespace Create {
3415
3437
  type Params = {
@@ -3435,6 +3457,7 @@ declare namespace JUHUU {
3435
3457
  namespace List {
3436
3458
  type Params = {
3437
3459
  propertyId?: string;
3460
+ parameterAnomalyGroupTrackerId?: string;
3438
3461
  };
3439
3462
  type Options = {
3440
3463
  skip?: number;
@@ -3470,7 +3493,7 @@ declare namespace JUHUU {
3470
3493
  id: string;
3471
3494
  readonly object: "parameterAnomalyGroupTracker";
3472
3495
  nextRunAt: Date | null;
3473
- title: string;
3496
+ name: string;
3474
3497
  propertyId: string;
3475
3498
  };
3476
3499
  namespace Create {
package/dist/index.js CHANGED
@@ -2951,6 +2951,11 @@ var ParametersService = class extends Service {
2951
2951
  }
2952
2952
  async list(ParameterListParams, ParameterListOptions) {
2953
2953
  const queryArray = [];
2954
+ if (ParameterListParams?.parameterAnomalyGroupId !== void 0) {
2955
+ queryArray.push(
2956
+ "parameterAnomalyGroupId=" + ParameterListParams.parameterAnomalyGroupId
2957
+ );
2958
+ }
2954
2959
  if (ParameterListParams?.propertyId !== void 0) {
2955
2960
  queryArray.push("propertyId=" + ParameterListParams.propertyId);
2956
2961
  }
@@ -3206,6 +3211,180 @@ var IncidentsService = class extends Service {
3206
3211
  }
3207
3212
  };
3208
3213
 
3214
+ // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
3215
+ var ParameterAnomalyGroupsService = class extends Service {
3216
+ constructor(config) {
3217
+ super(config);
3218
+ }
3219
+ async create(ParameterAnomalyGroupCreateParams, ParameterAnomalyGroupCreateOptions) {
3220
+ return await super.sendRequest(
3221
+ {
3222
+ method: "POST",
3223
+ url: "parameterAnomalyGroups",
3224
+ body: {
3225
+ propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3226
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3227
+ },
3228
+ authenticationNotOptional: true
3229
+ },
3230
+ ParameterAnomalyGroupCreateOptions
3231
+ );
3232
+ }
3233
+ async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
3234
+ const queryArray = [];
3235
+ if (ParameterAnomalyGroupListParams?.parameterAnomalyGroupTrackerId !== void 0) {
3236
+ queryArray.push(
3237
+ "parameterAnomalyGroupTrackerId=" + ParameterAnomalyGroupListParams.parameterAnomalyGroupTrackerId
3238
+ );
3239
+ }
3240
+ if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
3241
+ queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
3242
+ }
3243
+ if (ParameterAnomalyGroupListParams?.propertyId !== void 0) {
3244
+ queryArray.push(
3245
+ "propertyId=" + ParameterAnomalyGroupListParams.propertyId
3246
+ );
3247
+ }
3248
+ if (ParameterAnomalyGroupListOptions?.skip !== void 0) {
3249
+ queryArray.push("skip=" + ParameterAnomalyGroupListOptions.skip);
3250
+ }
3251
+ return await super.sendRequest(
3252
+ {
3253
+ method: "GET",
3254
+ url: "parameterAnomalyGroups?" + queryArray.join("&"),
3255
+ body: void 0,
3256
+ authenticationNotOptional: false
3257
+ },
3258
+ ParameterAnomalyGroupListOptions
3259
+ );
3260
+ }
3261
+ async retrieve(ParameterAnomalyGroupRetrieveParams, ParameterAnomalyGroupRetrieveOptions) {
3262
+ const queryArray = [];
3263
+ if (ParameterAnomalyGroupRetrieveOptions?.expand !== void 0) {
3264
+ queryArray.push(
3265
+ "expand=" + ParameterAnomalyGroupRetrieveOptions.expand.join(",")
3266
+ );
3267
+ }
3268
+ return await super.sendRequest(
3269
+ {
3270
+ method: "GET",
3271
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupRetrieveParams.parameterAnomalyGroupId + "?" + queryArray.join("&"),
3272
+ body: void 0,
3273
+ authenticationNotOptional: false
3274
+ },
3275
+ ParameterAnomalyGroupRetrieveOptions
3276
+ );
3277
+ }
3278
+ async update(ParameterAnomalyGroupUpdateParams, ParameterAnomalyGroupUpdateOptions) {
3279
+ return await super.sendRequest(
3280
+ {
3281
+ method: "PATCH",
3282
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
3283
+ body: {
3284
+ parameterAnomalyGroupId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId
3285
+ },
3286
+ authenticationNotOptional: true
3287
+ },
3288
+ ParameterAnomalyGroupUpdateOptions
3289
+ );
3290
+ }
3291
+ async delete(ParameterAnomalyGroupDeleteParams, ParameterAnomalyGroupDeleteOptions) {
3292
+ return await super.sendRequest(
3293
+ {
3294
+ method: "DELETE",
3295
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupDeleteParams.parameterAnomalyGroupId,
3296
+ authenticationNotOptional: true,
3297
+ body: void 0
3298
+ },
3299
+ ParameterAnomalyGroupDeleteOptions
3300
+ );
3301
+ }
3302
+ };
3303
+
3304
+ // src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
3305
+ var ParameterAnomalyGroupTrackersService = class extends Service {
3306
+ constructor(config) {
3307
+ super(config);
3308
+ }
3309
+ async create(ParameterAnomalyGroupTrackerCreateParams, ParameterAnomalyGroupTrackerCreateOptions) {
3310
+ return await super.sendRequest(
3311
+ {
3312
+ method: "POST",
3313
+ url: "parameterAnomalyGroupTrackers",
3314
+ body: {
3315
+ propertyId: ParameterAnomalyGroupTrackerCreateParams.propertyId
3316
+ },
3317
+ authenticationNotOptional: true
3318
+ },
3319
+ ParameterAnomalyGroupTrackerCreateOptions
3320
+ );
3321
+ }
3322
+ async list(ParameterAnomalyGroupTrackerListParams, ParameterAnomalyGroupTrackerListOptions) {
3323
+ const queryArray = [];
3324
+ if (ParameterAnomalyGroupTrackerListOptions?.limit !== void 0) {
3325
+ queryArray.push("limit=" + ParameterAnomalyGroupTrackerListOptions.limit);
3326
+ }
3327
+ if (ParameterAnomalyGroupTrackerListParams?.propertyId !== void 0) {
3328
+ queryArray.push(
3329
+ "propertyId=" + ParameterAnomalyGroupTrackerListParams.propertyId
3330
+ );
3331
+ }
3332
+ if (ParameterAnomalyGroupTrackerListOptions?.skip !== void 0) {
3333
+ queryArray.push("skip=" + ParameterAnomalyGroupTrackerListOptions.skip);
3334
+ }
3335
+ return await super.sendRequest(
3336
+ {
3337
+ method: "GET",
3338
+ url: "articles?" + queryArray.join("&"),
3339
+ body: void 0,
3340
+ authenticationNotOptional: false
3341
+ },
3342
+ ParameterAnomalyGroupTrackerListOptions
3343
+ );
3344
+ }
3345
+ async retrieve(ParameterAnomalyGroupTrackerRetrieveParams, ParameterAnomalyGroupTrackerRetrieveOptions) {
3346
+ const queryArray = [];
3347
+ if (ParameterAnomalyGroupTrackerRetrieveOptions?.expand !== void 0) {
3348
+ queryArray.push(
3349
+ "expand=" + ParameterAnomalyGroupTrackerRetrieveOptions.expand.join(",")
3350
+ );
3351
+ }
3352
+ return await super.sendRequest(
3353
+ {
3354
+ method: "GET",
3355
+ url: "articles/" + ParameterAnomalyGroupTrackerRetrieveParams.parameterAnomalyGroupTrackerId + "?" + queryArray.join("&"),
3356
+ body: void 0,
3357
+ authenticationNotOptional: false
3358
+ },
3359
+ ParameterAnomalyGroupTrackerRetrieveOptions
3360
+ );
3361
+ }
3362
+ async update(ParameterAnomalyGroupTrackerUpdateParams, ParameterAnomalyGroupTrackerUpdateOptions) {
3363
+ return await super.sendRequest(
3364
+ {
3365
+ method: "PATCH",
3366
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
3367
+ body: {
3368
+ title: ParameterAnomalyGroupTrackerUpdateParams.title
3369
+ },
3370
+ authenticationNotOptional: true
3371
+ },
3372
+ ParameterAnomalyGroupTrackerUpdateOptions
3373
+ );
3374
+ }
3375
+ async delete(ParameterAnomalyGroupTrackerDeleteParams, ParameterAnomalyGroupTrackerDeleteOptions) {
3376
+ return await super.sendRequest(
3377
+ {
3378
+ method: "DELETE",
3379
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerDeleteParams.parameterAnomalyGroupTrackerId,
3380
+ authenticationNotOptional: true,
3381
+ body: void 0
3382
+ },
3383
+ ParameterAnomalyGroupTrackerDeleteOptions
3384
+ );
3385
+ }
3386
+ };
3387
+
3209
3388
  // src/types/types.ts
3210
3389
  var LanguageCodeArray = [
3211
3390
  "en",
@@ -3385,8 +3564,11 @@ var Juhuu = class {
3385
3564
  this.parameterHistories = new ParameterHistoriesService(config);
3386
3565
  this.apiKeys = new ApiKeysService(config);
3387
3566
  this.parameters = new ParametersService(config);
3567
+ this.parameters = new ParametersService(config);
3388
3568
  this.incidentTemplates = new IncidentTemplatesService(config);
3389
3569
  this.incidents = new IncidentsService(config);
3570
+ this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3571
+ this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3390
3572
  }
3391
3573
  /**
3392
3574
  * Top Level Resources
@@ -3423,6 +3605,8 @@ var Juhuu = class {
3423
3605
  parameters;
3424
3606
  incidentTemplates;
3425
3607
  incidents;
3608
+ parameterAnomalyGroups;
3609
+ parameterAnomalyGroupTrackers;
3426
3610
  };
3427
3611
  var JUHUU;
3428
3612
  ((JUHUU2) => {
package/dist/index.mjs CHANGED
@@ -2907,6 +2907,11 @@ var ParametersService = class extends Service {
2907
2907
  }
2908
2908
  async list(ParameterListParams, ParameterListOptions) {
2909
2909
  const queryArray = [];
2910
+ if (ParameterListParams?.parameterAnomalyGroupId !== void 0) {
2911
+ queryArray.push(
2912
+ "parameterAnomalyGroupId=" + ParameterListParams.parameterAnomalyGroupId
2913
+ );
2914
+ }
2910
2915
  if (ParameterListParams?.propertyId !== void 0) {
2911
2916
  queryArray.push("propertyId=" + ParameterListParams.propertyId);
2912
2917
  }
@@ -3162,6 +3167,180 @@ var IncidentsService = class extends Service {
3162
3167
  }
3163
3168
  };
3164
3169
 
3170
+ // src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
3171
+ var ParameterAnomalyGroupsService = class extends Service {
3172
+ constructor(config) {
3173
+ super(config);
3174
+ }
3175
+ async create(ParameterAnomalyGroupCreateParams, ParameterAnomalyGroupCreateOptions) {
3176
+ return await super.sendRequest(
3177
+ {
3178
+ method: "POST",
3179
+ url: "parameterAnomalyGroups",
3180
+ body: {
3181
+ propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3182
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3183
+ },
3184
+ authenticationNotOptional: true
3185
+ },
3186
+ ParameterAnomalyGroupCreateOptions
3187
+ );
3188
+ }
3189
+ async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
3190
+ const queryArray = [];
3191
+ if (ParameterAnomalyGroupListParams?.parameterAnomalyGroupTrackerId !== void 0) {
3192
+ queryArray.push(
3193
+ "parameterAnomalyGroupTrackerId=" + ParameterAnomalyGroupListParams.parameterAnomalyGroupTrackerId
3194
+ );
3195
+ }
3196
+ if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
3197
+ queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
3198
+ }
3199
+ if (ParameterAnomalyGroupListParams?.propertyId !== void 0) {
3200
+ queryArray.push(
3201
+ "propertyId=" + ParameterAnomalyGroupListParams.propertyId
3202
+ );
3203
+ }
3204
+ if (ParameterAnomalyGroupListOptions?.skip !== void 0) {
3205
+ queryArray.push("skip=" + ParameterAnomalyGroupListOptions.skip);
3206
+ }
3207
+ return await super.sendRequest(
3208
+ {
3209
+ method: "GET",
3210
+ url: "parameterAnomalyGroups?" + queryArray.join("&"),
3211
+ body: void 0,
3212
+ authenticationNotOptional: false
3213
+ },
3214
+ ParameterAnomalyGroupListOptions
3215
+ );
3216
+ }
3217
+ async retrieve(ParameterAnomalyGroupRetrieveParams, ParameterAnomalyGroupRetrieveOptions) {
3218
+ const queryArray = [];
3219
+ if (ParameterAnomalyGroupRetrieveOptions?.expand !== void 0) {
3220
+ queryArray.push(
3221
+ "expand=" + ParameterAnomalyGroupRetrieveOptions.expand.join(",")
3222
+ );
3223
+ }
3224
+ return await super.sendRequest(
3225
+ {
3226
+ method: "GET",
3227
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupRetrieveParams.parameterAnomalyGroupId + "?" + queryArray.join("&"),
3228
+ body: void 0,
3229
+ authenticationNotOptional: false
3230
+ },
3231
+ ParameterAnomalyGroupRetrieveOptions
3232
+ );
3233
+ }
3234
+ async update(ParameterAnomalyGroupUpdateParams, ParameterAnomalyGroupUpdateOptions) {
3235
+ return await super.sendRequest(
3236
+ {
3237
+ method: "PATCH",
3238
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId,
3239
+ body: {
3240
+ parameterAnomalyGroupId: ParameterAnomalyGroupUpdateParams.parameterAnomalyGroupId
3241
+ },
3242
+ authenticationNotOptional: true
3243
+ },
3244
+ ParameterAnomalyGroupUpdateOptions
3245
+ );
3246
+ }
3247
+ async delete(ParameterAnomalyGroupDeleteParams, ParameterAnomalyGroupDeleteOptions) {
3248
+ return await super.sendRequest(
3249
+ {
3250
+ method: "DELETE",
3251
+ url: "parameterAnomalyGroups/" + ParameterAnomalyGroupDeleteParams.parameterAnomalyGroupId,
3252
+ authenticationNotOptional: true,
3253
+ body: void 0
3254
+ },
3255
+ ParameterAnomalyGroupDeleteOptions
3256
+ );
3257
+ }
3258
+ };
3259
+
3260
+ // src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
3261
+ var ParameterAnomalyGroupTrackersService = class extends Service {
3262
+ constructor(config) {
3263
+ super(config);
3264
+ }
3265
+ async create(ParameterAnomalyGroupTrackerCreateParams, ParameterAnomalyGroupTrackerCreateOptions) {
3266
+ return await super.sendRequest(
3267
+ {
3268
+ method: "POST",
3269
+ url: "parameterAnomalyGroupTrackers",
3270
+ body: {
3271
+ propertyId: ParameterAnomalyGroupTrackerCreateParams.propertyId
3272
+ },
3273
+ authenticationNotOptional: true
3274
+ },
3275
+ ParameterAnomalyGroupTrackerCreateOptions
3276
+ );
3277
+ }
3278
+ async list(ParameterAnomalyGroupTrackerListParams, ParameterAnomalyGroupTrackerListOptions) {
3279
+ const queryArray = [];
3280
+ if (ParameterAnomalyGroupTrackerListOptions?.limit !== void 0) {
3281
+ queryArray.push("limit=" + ParameterAnomalyGroupTrackerListOptions.limit);
3282
+ }
3283
+ if (ParameterAnomalyGroupTrackerListParams?.propertyId !== void 0) {
3284
+ queryArray.push(
3285
+ "propertyId=" + ParameterAnomalyGroupTrackerListParams.propertyId
3286
+ );
3287
+ }
3288
+ if (ParameterAnomalyGroupTrackerListOptions?.skip !== void 0) {
3289
+ queryArray.push("skip=" + ParameterAnomalyGroupTrackerListOptions.skip);
3290
+ }
3291
+ return await super.sendRequest(
3292
+ {
3293
+ method: "GET",
3294
+ url: "articles?" + queryArray.join("&"),
3295
+ body: void 0,
3296
+ authenticationNotOptional: false
3297
+ },
3298
+ ParameterAnomalyGroupTrackerListOptions
3299
+ );
3300
+ }
3301
+ async retrieve(ParameterAnomalyGroupTrackerRetrieveParams, ParameterAnomalyGroupTrackerRetrieveOptions) {
3302
+ const queryArray = [];
3303
+ if (ParameterAnomalyGroupTrackerRetrieveOptions?.expand !== void 0) {
3304
+ queryArray.push(
3305
+ "expand=" + ParameterAnomalyGroupTrackerRetrieveOptions.expand.join(",")
3306
+ );
3307
+ }
3308
+ return await super.sendRequest(
3309
+ {
3310
+ method: "GET",
3311
+ url: "articles/" + ParameterAnomalyGroupTrackerRetrieveParams.parameterAnomalyGroupTrackerId + "?" + queryArray.join("&"),
3312
+ body: void 0,
3313
+ authenticationNotOptional: false
3314
+ },
3315
+ ParameterAnomalyGroupTrackerRetrieveOptions
3316
+ );
3317
+ }
3318
+ async update(ParameterAnomalyGroupTrackerUpdateParams, ParameterAnomalyGroupTrackerUpdateOptions) {
3319
+ return await super.sendRequest(
3320
+ {
3321
+ method: "PATCH",
3322
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
3323
+ body: {
3324
+ title: ParameterAnomalyGroupTrackerUpdateParams.title
3325
+ },
3326
+ authenticationNotOptional: true
3327
+ },
3328
+ ParameterAnomalyGroupTrackerUpdateOptions
3329
+ );
3330
+ }
3331
+ async delete(ParameterAnomalyGroupTrackerDeleteParams, ParameterAnomalyGroupTrackerDeleteOptions) {
3332
+ return await super.sendRequest(
3333
+ {
3334
+ method: "DELETE",
3335
+ url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerDeleteParams.parameterAnomalyGroupTrackerId,
3336
+ authenticationNotOptional: true,
3337
+ body: void 0
3338
+ },
3339
+ ParameterAnomalyGroupTrackerDeleteOptions
3340
+ );
3341
+ }
3342
+ };
3343
+
3165
3344
  // src/types/types.ts
3166
3345
  var LanguageCodeArray = [
3167
3346
  "en",
@@ -3341,8 +3520,11 @@ var Juhuu = class {
3341
3520
  this.parameterHistories = new ParameterHistoriesService(config);
3342
3521
  this.apiKeys = new ApiKeysService(config);
3343
3522
  this.parameters = new ParametersService(config);
3523
+ this.parameters = new ParametersService(config);
3344
3524
  this.incidentTemplates = new IncidentTemplatesService(config);
3345
3525
  this.incidents = new IncidentsService(config);
3526
+ this.parameterAnomalyGroups = new ParameterAnomalyGroupsService(config);
3527
+ this.parameterAnomalyGroupTrackers = new ParameterAnomalyGroupTrackersService(config);
3346
3528
  }
3347
3529
  /**
3348
3530
  * Top Level Resources
@@ -3379,6 +3561,8 @@ var Juhuu = class {
3379
3561
  parameters;
3380
3562
  incidentTemplates;
3381
3563
  incidents;
3564
+ parameterAnomalyGroups;
3565
+ parameterAnomalyGroupTrackers;
3382
3566
  };
3383
3567
  var JUHUU;
3384
3568
  ((JUHUU2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.176",
3
+ "version": "1.2.178",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",