@juhuu/sdk-ts 1.2.177 → 1.2.179
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 +22 -32
- package/dist/index.d.ts +22 -32
- package/dist/index.js +12 -14
- package/dist/index.mjs +12 -14
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -882,7 +882,6 @@ declare class IncidentsService extends Service {
|
|
882
882
|
list(IncidentListParams: JUHUU.Incident.List.Params, IncidentListOptions?: JUHUU.Incident.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.List.Response>>;
|
883
883
|
retrieve(IncidentRetrieveParams: JUHUU.Incident.Retrieve.Params, IncidentRetrieveOptions?: JUHUU.Incident.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Retrieve.Response>>;
|
884
884
|
update(IncidentUpdateParams: JUHUU.Incident.Update.Params, IncidentUpdateOptions?: JUHUU.Incident.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Update.Response>>;
|
885
|
-
delete(IncidentDeleteParams: JUHUU.Incident.Delete.Params, IncidentDeleteOptions?: JUHUU.Incident.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Delete.Response>>;
|
886
885
|
}
|
887
886
|
|
888
887
|
declare class ParameterAnomalyGroupsService extends Service {
|
@@ -1180,7 +1179,7 @@ declare namespace JUHUU {
|
|
1180
1179
|
}
|
1181
1180
|
export namespace Delete {
|
1182
1181
|
type Params = {
|
1183
|
-
sessionId
|
1182
|
+
sessionId: string;
|
1184
1183
|
};
|
1185
1184
|
type Options = JUHUU.RequestOptions;
|
1186
1185
|
type Response = JUHUU.Session.Object;
|
@@ -1370,7 +1369,7 @@ declare namespace JUHUU {
|
|
1370
1369
|
}
|
1371
1370
|
export namespace Delete {
|
1372
1371
|
type Params = {
|
1373
|
-
userId
|
1372
|
+
userId: string;
|
1374
1373
|
};
|
1375
1374
|
type Options = JUHUU.RequestOptions;
|
1376
1375
|
type Response = JUHUU.User.Object;
|
@@ -1487,7 +1486,7 @@ declare namespace JUHUU {
|
|
1487
1486
|
}
|
1488
1487
|
namespace Delete {
|
1489
1488
|
type Params = {
|
1490
|
-
termId
|
1489
|
+
termId: string;
|
1491
1490
|
};
|
1492
1491
|
type Options = JUHUU.RequestOptions;
|
1493
1492
|
type Response = JUHUU.Term.Object;
|
@@ -1548,7 +1547,7 @@ declare namespace JUHUU {
|
|
1548
1547
|
}
|
1549
1548
|
namespace Delete {
|
1550
1549
|
type Params = {
|
1551
|
-
accountingAreaId
|
1550
|
+
accountingAreaId: string;
|
1552
1551
|
};
|
1553
1552
|
type Options = JUHUU.RequestOptions;
|
1554
1553
|
type Response = JUHUU.AccountingArea.Object;
|
@@ -1723,7 +1722,7 @@ declare namespace JUHUU {
|
|
1723
1722
|
}
|
1724
1723
|
namespace Delete {
|
1725
1724
|
type Params = {
|
1726
|
-
articleId
|
1725
|
+
articleId: string;
|
1727
1726
|
};
|
1728
1727
|
type Options = JUHUU.RequestOptions;
|
1729
1728
|
type Response = {
|
@@ -1813,7 +1812,7 @@ declare namespace JUHUU {
|
|
1813
1812
|
}
|
1814
1813
|
namespace Delete {
|
1815
1814
|
type Params = {
|
1816
|
-
articleGroupId
|
1815
|
+
articleGroupId: string;
|
1817
1816
|
};
|
1818
1817
|
type Options = JUHUU.RequestOptions;
|
1819
1818
|
type Response = {
|
@@ -2056,7 +2055,7 @@ declare namespace JUHUU {
|
|
2056
2055
|
}
|
2057
2056
|
namespace Delete {
|
2058
2057
|
type Params = {
|
2059
|
-
tariffId
|
2058
|
+
tariffId: string;
|
2060
2059
|
};
|
2061
2060
|
type Options = JUHUU.RequestOptions;
|
2062
2061
|
type Response = JUHUU.Tariff.Object;
|
@@ -2149,7 +2148,7 @@ declare namespace JUHUU {
|
|
2149
2148
|
}
|
2150
2149
|
export namespace Delete {
|
2151
2150
|
type Params = {
|
2152
|
-
licenseTemplateId
|
2151
|
+
licenseTemplateId: string;
|
2153
2152
|
};
|
2154
2153
|
type Options = JUHUU.RequestOptions;
|
2155
2154
|
type Response = JUHUU.LicenseTemplate.Object;
|
@@ -2745,7 +2744,7 @@ declare namespace JUHUU {
|
|
2745
2744
|
}
|
2746
2745
|
export namespace Delete {
|
2747
2746
|
type Params = {
|
2748
|
-
locationId
|
2747
|
+
locationId: string;
|
2749
2748
|
};
|
2750
2749
|
type Options = JUHUU.RequestOptions;
|
2751
2750
|
type Response = JUHUU.Location.Object;
|
@@ -2820,7 +2819,7 @@ declare namespace JUHUU {
|
|
2820
2819
|
}
|
2821
2820
|
namespace Delete {
|
2822
2821
|
type Params = {
|
2823
|
-
productId
|
2822
|
+
productId: string;
|
2824
2823
|
};
|
2825
2824
|
type Options = JUHUU.RequestOptions;
|
2826
2825
|
type Response = JUHUU.Product.Object;
|
@@ -2885,7 +2884,7 @@ declare namespace JUHUU {
|
|
2885
2884
|
}
|
2886
2885
|
export namespace Delete {
|
2887
2886
|
type Params = {
|
2888
|
-
linkId
|
2887
|
+
linkId: string;
|
2889
2888
|
};
|
2890
2889
|
type Options = JUHUU.RequestOptions;
|
2891
2890
|
type Response = JUHUU.Link.Object;
|
@@ -3008,7 +3007,7 @@ declare namespace JUHUU {
|
|
3008
3007
|
}
|
3009
3008
|
namespace Delete {
|
3010
3009
|
type Params = {
|
3011
|
-
deviceId
|
3010
|
+
deviceId: string;
|
3012
3011
|
};
|
3013
3012
|
type Options = JUHUU.RequestOptions;
|
3014
3013
|
type Response = JUHUU.Device.Object;
|
@@ -3108,7 +3107,7 @@ declare namespace JUHUU {
|
|
3108
3107
|
}
|
3109
3108
|
export namespace Delete {
|
3110
3109
|
type Params = {
|
3111
|
-
connectorId
|
3110
|
+
connectorId: string;
|
3112
3111
|
};
|
3113
3112
|
type Options = JUHUU.RequestOptions;
|
3114
3113
|
type Response = JUHUU.Connector.Object;
|
@@ -3199,7 +3198,7 @@ declare namespace JUHUU {
|
|
3199
3198
|
expand: Array<"property">;
|
3200
3199
|
} & JUHUU.RequestOptions;
|
3201
3200
|
type Response = {
|
3202
|
-
|
3201
|
+
incident: JUHUU.Incident.Object;
|
3203
3202
|
};
|
3204
3203
|
}
|
3205
3204
|
export namespace List {
|
@@ -3228,15 +3227,6 @@ declare namespace JUHUU {
|
|
3228
3227
|
incident: JUHUU.Incident.Object;
|
3229
3228
|
};
|
3230
3229
|
}
|
3231
|
-
export namespace Delete {
|
3232
|
-
type Params = {
|
3233
|
-
incidentId?: string;
|
3234
|
-
};
|
3235
|
-
type Options = JUHUU.RequestOptions;
|
3236
|
-
type Response = {
|
3237
|
-
incident: JUHUU.Connector.Object;
|
3238
|
-
};
|
3239
|
-
}
|
3240
3230
|
export { };
|
3241
3231
|
}
|
3242
3232
|
namespace IncidentTemplate {
|
@@ -3387,6 +3377,7 @@ declare namespace JUHUU {
|
|
3387
3377
|
export namespace List {
|
3388
3378
|
type Params = {
|
3389
3379
|
propertyId?: string;
|
3380
|
+
parameterAnomalyGroupId?: string;
|
3390
3381
|
};
|
3391
3382
|
type Options = {
|
3392
3383
|
skip?: number;
|
@@ -3415,7 +3406,7 @@ declare namespace JUHUU {
|
|
3415
3406
|
}
|
3416
3407
|
export namespace Delete {
|
3417
3408
|
type Params = {
|
3418
|
-
parameterId
|
3409
|
+
parameterId: string;
|
3419
3410
|
};
|
3420
3411
|
type Options = JUHUU.RequestOptions;
|
3421
3412
|
type Response = {
|
@@ -3456,6 +3447,7 @@ declare namespace JUHUU {
|
|
3456
3447
|
namespace List {
|
3457
3448
|
type Params = {
|
3458
3449
|
propertyId?: string;
|
3450
|
+
parameterAnomalyGroupTrackerId?: string;
|
3459
3451
|
};
|
3460
3452
|
type Options = {
|
3461
3453
|
skip?: number;
|
@@ -3478,7 +3470,7 @@ declare namespace JUHUU {
|
|
3478
3470
|
}
|
3479
3471
|
namespace Delete {
|
3480
3472
|
type Params = {
|
3481
|
-
parameterAnomalyGroupId
|
3473
|
+
parameterAnomalyGroupId: string;
|
3482
3474
|
};
|
3483
3475
|
type Options = JUHUU.RequestOptions;
|
3484
3476
|
type Response = {
|
@@ -3531,7 +3523,7 @@ declare namespace JUHUU {
|
|
3531
3523
|
namespace Update {
|
3532
3524
|
type Params = {
|
3533
3525
|
parameterAnomalyGroupTrackerId: string;
|
3534
|
-
|
3526
|
+
name: string;
|
3535
3527
|
};
|
3536
3528
|
type Options = JUHUU.RequestOptions;
|
3537
3529
|
type Response = {
|
@@ -3540,7 +3532,7 @@ declare namespace JUHUU {
|
|
3540
3532
|
}
|
3541
3533
|
namespace Delete {
|
3542
3534
|
type Params = {
|
3543
|
-
parameterAnomalyGroupTrackerId
|
3535
|
+
parameterAnomalyGroupTrackerId: string;
|
3544
3536
|
};
|
3545
3537
|
type Options = JUHUU.RequestOptions;
|
3546
3538
|
type Response = {
|
@@ -3608,7 +3600,6 @@ declare namespace JUHUU {
|
|
3608
3600
|
type Object = {
|
3609
3601
|
id: string;
|
3610
3602
|
readonly object: "deviceTemplate";
|
3611
|
-
productId: string | null;
|
3612
3603
|
name: string;
|
3613
3604
|
propertyId: string;
|
3614
3605
|
nodeArray: GraphNode[];
|
@@ -3629,7 +3620,6 @@ declare namespace JUHUU {
|
|
3629
3620
|
type Params = {
|
3630
3621
|
propertyId: string;
|
3631
3622
|
name?: string;
|
3632
|
-
productId: string;
|
3633
3623
|
};
|
3634
3624
|
type Options = JUHUU.RequestOptions;
|
3635
3625
|
type Response = {
|
@@ -3655,7 +3645,7 @@ declare namespace JUHUU {
|
|
3655
3645
|
}
|
3656
3646
|
namespace Delete {
|
3657
3647
|
type Params = {
|
3658
|
-
deviceTemplateId
|
3648
|
+
deviceTemplateId: string;
|
3659
3649
|
};
|
3660
3650
|
type Options = JUHUU.RequestOptions;
|
3661
3651
|
type Response = JUHUU.DeviceTemplate.Object;
|
@@ -3717,7 +3707,7 @@ declare namespace JUHUU {
|
|
3717
3707
|
}
|
3718
3708
|
namespace Delete {
|
3719
3709
|
type Params = {
|
3720
|
-
simId
|
3710
|
+
simId: string;
|
3721
3711
|
};
|
3722
3712
|
type Options = JUHUU.RequestOptions;
|
3723
3713
|
type Response = JUHUU.Sim.Object;
|
package/dist/index.d.ts
CHANGED
@@ -882,7 +882,6 @@ declare class IncidentsService extends Service {
|
|
882
882
|
list(IncidentListParams: JUHUU.Incident.List.Params, IncidentListOptions?: JUHUU.Incident.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.List.Response>>;
|
883
883
|
retrieve(IncidentRetrieveParams: JUHUU.Incident.Retrieve.Params, IncidentRetrieveOptions?: JUHUU.Incident.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Retrieve.Response>>;
|
884
884
|
update(IncidentUpdateParams: JUHUU.Incident.Update.Params, IncidentUpdateOptions?: JUHUU.Incident.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Update.Response>>;
|
885
|
-
delete(IncidentDeleteParams: JUHUU.Incident.Delete.Params, IncidentDeleteOptions?: JUHUU.Incident.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Incident.Delete.Response>>;
|
886
885
|
}
|
887
886
|
|
888
887
|
declare class ParameterAnomalyGroupsService extends Service {
|
@@ -1180,7 +1179,7 @@ declare namespace JUHUU {
|
|
1180
1179
|
}
|
1181
1180
|
export namespace Delete {
|
1182
1181
|
type Params = {
|
1183
|
-
sessionId
|
1182
|
+
sessionId: string;
|
1184
1183
|
};
|
1185
1184
|
type Options = JUHUU.RequestOptions;
|
1186
1185
|
type Response = JUHUU.Session.Object;
|
@@ -1370,7 +1369,7 @@ declare namespace JUHUU {
|
|
1370
1369
|
}
|
1371
1370
|
export namespace Delete {
|
1372
1371
|
type Params = {
|
1373
|
-
userId
|
1372
|
+
userId: string;
|
1374
1373
|
};
|
1375
1374
|
type Options = JUHUU.RequestOptions;
|
1376
1375
|
type Response = JUHUU.User.Object;
|
@@ -1487,7 +1486,7 @@ declare namespace JUHUU {
|
|
1487
1486
|
}
|
1488
1487
|
namespace Delete {
|
1489
1488
|
type Params = {
|
1490
|
-
termId
|
1489
|
+
termId: string;
|
1491
1490
|
};
|
1492
1491
|
type Options = JUHUU.RequestOptions;
|
1493
1492
|
type Response = JUHUU.Term.Object;
|
@@ -1548,7 +1547,7 @@ declare namespace JUHUU {
|
|
1548
1547
|
}
|
1549
1548
|
namespace Delete {
|
1550
1549
|
type Params = {
|
1551
|
-
accountingAreaId
|
1550
|
+
accountingAreaId: string;
|
1552
1551
|
};
|
1553
1552
|
type Options = JUHUU.RequestOptions;
|
1554
1553
|
type Response = JUHUU.AccountingArea.Object;
|
@@ -1723,7 +1722,7 @@ declare namespace JUHUU {
|
|
1723
1722
|
}
|
1724
1723
|
namespace Delete {
|
1725
1724
|
type Params = {
|
1726
|
-
articleId
|
1725
|
+
articleId: string;
|
1727
1726
|
};
|
1728
1727
|
type Options = JUHUU.RequestOptions;
|
1729
1728
|
type Response = {
|
@@ -1813,7 +1812,7 @@ declare namespace JUHUU {
|
|
1813
1812
|
}
|
1814
1813
|
namespace Delete {
|
1815
1814
|
type Params = {
|
1816
|
-
articleGroupId
|
1815
|
+
articleGroupId: string;
|
1817
1816
|
};
|
1818
1817
|
type Options = JUHUU.RequestOptions;
|
1819
1818
|
type Response = {
|
@@ -2056,7 +2055,7 @@ declare namespace JUHUU {
|
|
2056
2055
|
}
|
2057
2056
|
namespace Delete {
|
2058
2057
|
type Params = {
|
2059
|
-
tariffId
|
2058
|
+
tariffId: string;
|
2060
2059
|
};
|
2061
2060
|
type Options = JUHUU.RequestOptions;
|
2062
2061
|
type Response = JUHUU.Tariff.Object;
|
@@ -2149,7 +2148,7 @@ declare namespace JUHUU {
|
|
2149
2148
|
}
|
2150
2149
|
export namespace Delete {
|
2151
2150
|
type Params = {
|
2152
|
-
licenseTemplateId
|
2151
|
+
licenseTemplateId: string;
|
2153
2152
|
};
|
2154
2153
|
type Options = JUHUU.RequestOptions;
|
2155
2154
|
type Response = JUHUU.LicenseTemplate.Object;
|
@@ -2745,7 +2744,7 @@ declare namespace JUHUU {
|
|
2745
2744
|
}
|
2746
2745
|
export namespace Delete {
|
2747
2746
|
type Params = {
|
2748
|
-
locationId
|
2747
|
+
locationId: string;
|
2749
2748
|
};
|
2750
2749
|
type Options = JUHUU.RequestOptions;
|
2751
2750
|
type Response = JUHUU.Location.Object;
|
@@ -2820,7 +2819,7 @@ declare namespace JUHUU {
|
|
2820
2819
|
}
|
2821
2820
|
namespace Delete {
|
2822
2821
|
type Params = {
|
2823
|
-
productId
|
2822
|
+
productId: string;
|
2824
2823
|
};
|
2825
2824
|
type Options = JUHUU.RequestOptions;
|
2826
2825
|
type Response = JUHUU.Product.Object;
|
@@ -2885,7 +2884,7 @@ declare namespace JUHUU {
|
|
2885
2884
|
}
|
2886
2885
|
export namespace Delete {
|
2887
2886
|
type Params = {
|
2888
|
-
linkId
|
2887
|
+
linkId: string;
|
2889
2888
|
};
|
2890
2889
|
type Options = JUHUU.RequestOptions;
|
2891
2890
|
type Response = JUHUU.Link.Object;
|
@@ -3008,7 +3007,7 @@ declare namespace JUHUU {
|
|
3008
3007
|
}
|
3009
3008
|
namespace Delete {
|
3010
3009
|
type Params = {
|
3011
|
-
deviceId
|
3010
|
+
deviceId: string;
|
3012
3011
|
};
|
3013
3012
|
type Options = JUHUU.RequestOptions;
|
3014
3013
|
type Response = JUHUU.Device.Object;
|
@@ -3108,7 +3107,7 @@ declare namespace JUHUU {
|
|
3108
3107
|
}
|
3109
3108
|
export namespace Delete {
|
3110
3109
|
type Params = {
|
3111
|
-
connectorId
|
3110
|
+
connectorId: string;
|
3112
3111
|
};
|
3113
3112
|
type Options = JUHUU.RequestOptions;
|
3114
3113
|
type Response = JUHUU.Connector.Object;
|
@@ -3199,7 +3198,7 @@ declare namespace JUHUU {
|
|
3199
3198
|
expand: Array<"property">;
|
3200
3199
|
} & JUHUU.RequestOptions;
|
3201
3200
|
type Response = {
|
3202
|
-
|
3201
|
+
incident: JUHUU.Incident.Object;
|
3203
3202
|
};
|
3204
3203
|
}
|
3205
3204
|
export namespace List {
|
@@ -3228,15 +3227,6 @@ declare namespace JUHUU {
|
|
3228
3227
|
incident: JUHUU.Incident.Object;
|
3229
3228
|
};
|
3230
3229
|
}
|
3231
|
-
export namespace Delete {
|
3232
|
-
type Params = {
|
3233
|
-
incidentId?: string;
|
3234
|
-
};
|
3235
|
-
type Options = JUHUU.RequestOptions;
|
3236
|
-
type Response = {
|
3237
|
-
incident: JUHUU.Connector.Object;
|
3238
|
-
};
|
3239
|
-
}
|
3240
3230
|
export { };
|
3241
3231
|
}
|
3242
3232
|
namespace IncidentTemplate {
|
@@ -3387,6 +3377,7 @@ declare namespace JUHUU {
|
|
3387
3377
|
export namespace List {
|
3388
3378
|
type Params = {
|
3389
3379
|
propertyId?: string;
|
3380
|
+
parameterAnomalyGroupId?: string;
|
3390
3381
|
};
|
3391
3382
|
type Options = {
|
3392
3383
|
skip?: number;
|
@@ -3415,7 +3406,7 @@ declare namespace JUHUU {
|
|
3415
3406
|
}
|
3416
3407
|
export namespace Delete {
|
3417
3408
|
type Params = {
|
3418
|
-
parameterId
|
3409
|
+
parameterId: string;
|
3419
3410
|
};
|
3420
3411
|
type Options = JUHUU.RequestOptions;
|
3421
3412
|
type Response = {
|
@@ -3456,6 +3447,7 @@ declare namespace JUHUU {
|
|
3456
3447
|
namespace List {
|
3457
3448
|
type Params = {
|
3458
3449
|
propertyId?: string;
|
3450
|
+
parameterAnomalyGroupTrackerId?: string;
|
3459
3451
|
};
|
3460
3452
|
type Options = {
|
3461
3453
|
skip?: number;
|
@@ -3478,7 +3470,7 @@ declare namespace JUHUU {
|
|
3478
3470
|
}
|
3479
3471
|
namespace Delete {
|
3480
3472
|
type Params = {
|
3481
|
-
parameterAnomalyGroupId
|
3473
|
+
parameterAnomalyGroupId: string;
|
3482
3474
|
};
|
3483
3475
|
type Options = JUHUU.RequestOptions;
|
3484
3476
|
type Response = {
|
@@ -3531,7 +3523,7 @@ declare namespace JUHUU {
|
|
3531
3523
|
namespace Update {
|
3532
3524
|
type Params = {
|
3533
3525
|
parameterAnomalyGroupTrackerId: string;
|
3534
|
-
|
3526
|
+
name: string;
|
3535
3527
|
};
|
3536
3528
|
type Options = JUHUU.RequestOptions;
|
3537
3529
|
type Response = {
|
@@ -3540,7 +3532,7 @@ declare namespace JUHUU {
|
|
3540
3532
|
}
|
3541
3533
|
namespace Delete {
|
3542
3534
|
type Params = {
|
3543
|
-
parameterAnomalyGroupTrackerId
|
3535
|
+
parameterAnomalyGroupTrackerId: string;
|
3544
3536
|
};
|
3545
3537
|
type Options = JUHUU.RequestOptions;
|
3546
3538
|
type Response = {
|
@@ -3608,7 +3600,6 @@ declare namespace JUHUU {
|
|
3608
3600
|
type Object = {
|
3609
3601
|
id: string;
|
3610
3602
|
readonly object: "deviceTemplate";
|
3611
|
-
productId: string | null;
|
3612
3603
|
name: string;
|
3613
3604
|
propertyId: string;
|
3614
3605
|
nodeArray: GraphNode[];
|
@@ -3629,7 +3620,6 @@ declare namespace JUHUU {
|
|
3629
3620
|
type Params = {
|
3630
3621
|
propertyId: string;
|
3631
3622
|
name?: string;
|
3632
|
-
productId: string;
|
3633
3623
|
};
|
3634
3624
|
type Options = JUHUU.RequestOptions;
|
3635
3625
|
type Response = {
|
@@ -3655,7 +3645,7 @@ declare namespace JUHUU {
|
|
3655
3645
|
}
|
3656
3646
|
namespace Delete {
|
3657
3647
|
type Params = {
|
3658
|
-
deviceTemplateId
|
3648
|
+
deviceTemplateId: string;
|
3659
3649
|
};
|
3660
3650
|
type Options = JUHUU.RequestOptions;
|
3661
3651
|
type Response = JUHUU.DeviceTemplate.Object;
|
@@ -3717,7 +3707,7 @@ declare namespace JUHUU {
|
|
3717
3707
|
}
|
3718
3708
|
namespace Delete {
|
3719
3709
|
type Params = {
|
3720
|
-
simId
|
3710
|
+
simId: string;
|
3721
3711
|
};
|
3722
3712
|
type Options = JUHUU.RequestOptions;
|
3723
3713
|
type Response = JUHUU.Sim.Object;
|
package/dist/index.js
CHANGED
@@ -1295,7 +1295,6 @@ var DeviceTemplatesService = class extends Service {
|
|
1295
1295
|
url: "deviceTemplates",
|
1296
1296
|
body: {
|
1297
1297
|
propertyId: DeviceTemplateCreateParams.propertyId,
|
1298
|
-
productId: DeviceTemplateCreateParams.productId,
|
1299
1298
|
name: DeviceTemplateCreateParams.name
|
1300
1299
|
},
|
1301
1300
|
authenticationNotOptional: true
|
@@ -2951,6 +2950,11 @@ var ParametersService = class extends Service {
|
|
2951
2950
|
}
|
2952
2951
|
async list(ParameterListParams, ParameterListOptions) {
|
2953
2952
|
const queryArray = [];
|
2953
|
+
if (ParameterListParams?.parameterAnomalyGroupId !== void 0) {
|
2954
|
+
queryArray.push(
|
2955
|
+
"parameterAnomalyGroupId=" + ParameterListParams.parameterAnomalyGroupId
|
2956
|
+
);
|
2957
|
+
}
|
2954
2958
|
if (ParameterListParams?.propertyId !== void 0) {
|
2955
2959
|
queryArray.push("propertyId=" + ParameterListParams.propertyId);
|
2956
2960
|
}
|
@@ -3193,17 +3197,6 @@ var IncidentsService = class extends Service {
|
|
3193
3197
|
IncidentUpdateOptions
|
3194
3198
|
);
|
3195
3199
|
}
|
3196
|
-
async delete(IncidentDeleteParams, IncidentDeleteOptions) {
|
3197
|
-
return await super.sendRequest(
|
3198
|
-
{
|
3199
|
-
method: "DELETE",
|
3200
|
-
url: "incidents/" + IncidentDeleteParams.incidentId,
|
3201
|
-
authenticationNotOptional: true,
|
3202
|
-
body: void 0
|
3203
|
-
},
|
3204
|
-
IncidentDeleteOptions
|
3205
|
-
);
|
3206
|
-
}
|
3207
3200
|
};
|
3208
3201
|
|
3209
3202
|
// src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
|
@@ -3227,6 +3220,11 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
3227
3220
|
}
|
3228
3221
|
async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
|
3229
3222
|
const queryArray = [];
|
3223
|
+
if (ParameterAnomalyGroupListParams?.parameterAnomalyGroupTrackerId !== void 0) {
|
3224
|
+
queryArray.push(
|
3225
|
+
"parameterAnomalyGroupTrackerId=" + ParameterAnomalyGroupListParams.parameterAnomalyGroupTrackerId
|
3226
|
+
);
|
3227
|
+
}
|
3230
3228
|
if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
|
3231
3229
|
queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
|
3232
3230
|
}
|
@@ -3291,7 +3289,7 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
3291
3289
|
}
|
3292
3290
|
};
|
3293
3291
|
|
3294
|
-
// src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
|
3292
|
+
// src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.service.ts
|
3295
3293
|
var ParameterAnomalyGroupTrackersService = class extends Service {
|
3296
3294
|
constructor(config) {
|
3297
3295
|
super(config);
|
@@ -3355,7 +3353,7 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
3355
3353
|
method: "PATCH",
|
3356
3354
|
url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
|
3357
3355
|
body: {
|
3358
|
-
|
3356
|
+
name: ParameterAnomalyGroupTrackerUpdateParams.name
|
3359
3357
|
},
|
3360
3358
|
authenticationNotOptional: true
|
3361
3359
|
},
|
package/dist/index.mjs
CHANGED
@@ -1251,7 +1251,6 @@ var DeviceTemplatesService = class extends Service {
|
|
1251
1251
|
url: "deviceTemplates",
|
1252
1252
|
body: {
|
1253
1253
|
propertyId: DeviceTemplateCreateParams.propertyId,
|
1254
|
-
productId: DeviceTemplateCreateParams.productId,
|
1255
1254
|
name: DeviceTemplateCreateParams.name
|
1256
1255
|
},
|
1257
1256
|
authenticationNotOptional: true
|
@@ -2907,6 +2906,11 @@ var ParametersService = class extends Service {
|
|
2907
2906
|
}
|
2908
2907
|
async list(ParameterListParams, ParameterListOptions) {
|
2909
2908
|
const queryArray = [];
|
2909
|
+
if (ParameterListParams?.parameterAnomalyGroupId !== void 0) {
|
2910
|
+
queryArray.push(
|
2911
|
+
"parameterAnomalyGroupId=" + ParameterListParams.parameterAnomalyGroupId
|
2912
|
+
);
|
2913
|
+
}
|
2910
2914
|
if (ParameterListParams?.propertyId !== void 0) {
|
2911
2915
|
queryArray.push("propertyId=" + ParameterListParams.propertyId);
|
2912
2916
|
}
|
@@ -3149,17 +3153,6 @@ var IncidentsService = class extends Service {
|
|
3149
3153
|
IncidentUpdateOptions
|
3150
3154
|
);
|
3151
3155
|
}
|
3152
|
-
async delete(IncidentDeleteParams, IncidentDeleteOptions) {
|
3153
|
-
return await super.sendRequest(
|
3154
|
-
{
|
3155
|
-
method: "DELETE",
|
3156
|
-
url: "incidents/" + IncidentDeleteParams.incidentId,
|
3157
|
-
authenticationNotOptional: true,
|
3158
|
-
body: void 0
|
3159
|
-
},
|
3160
|
-
IncidentDeleteOptions
|
3161
|
-
);
|
3162
|
-
}
|
3163
3156
|
};
|
3164
3157
|
|
3165
3158
|
// src/parameterAnomalyGroups/parameterAnomalyGroups.service.ts
|
@@ -3183,6 +3176,11 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
3183
3176
|
}
|
3184
3177
|
async list(ParameterAnomalyGroupListParams, ParameterAnomalyGroupListOptions) {
|
3185
3178
|
const queryArray = [];
|
3179
|
+
if (ParameterAnomalyGroupListParams?.parameterAnomalyGroupTrackerId !== void 0) {
|
3180
|
+
queryArray.push(
|
3181
|
+
"parameterAnomalyGroupTrackerId=" + ParameterAnomalyGroupListParams.parameterAnomalyGroupTrackerId
|
3182
|
+
);
|
3183
|
+
}
|
3186
3184
|
if (ParameterAnomalyGroupListOptions?.limit !== void 0) {
|
3187
3185
|
queryArray.push("limit=" + ParameterAnomalyGroupListOptions.limit);
|
3188
3186
|
}
|
@@ -3247,7 +3245,7 @@ var ParameterAnomalyGroupsService = class extends Service {
|
|
3247
3245
|
}
|
3248
3246
|
};
|
3249
3247
|
|
3250
|
-
// src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.ts
|
3248
|
+
// src/parameterAnomalyGroupTrackers/parameterAnomalyGroupTrackers.service.ts
|
3251
3249
|
var ParameterAnomalyGroupTrackersService = class extends Service {
|
3252
3250
|
constructor(config) {
|
3253
3251
|
super(config);
|
@@ -3311,7 +3309,7 @@ var ParameterAnomalyGroupTrackersService = class extends Service {
|
|
3311
3309
|
method: "PATCH",
|
3312
3310
|
url: "parameterAnomalyGroupTrackers/" + ParameterAnomalyGroupTrackerUpdateParams.parameterAnomalyGroupTrackerId,
|
3313
3311
|
body: {
|
3314
|
-
|
3312
|
+
name: ParameterAnomalyGroupTrackerUpdateParams.name
|
3315
3313
|
},
|
3316
3314
|
authenticationNotOptional: true
|
3317
3315
|
},
|