@juhuu/sdk-ts 1.2.71 → 1.2.72
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 -14
- package/dist/index.d.ts +22 -14
- package/dist/index.js +11 -0
- package/dist/index.mjs +11 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -576,6 +576,7 @@ declare class SessionService extends Service {
|
|
576
576
|
attachLocation(SessionAttachLocationParams: JUHUU.Session.AttachLocation.Params, SessionLocationOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
577
577
|
attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
|
578
578
|
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
579
|
+
delete(SessionDeleteUserParams: JUHUU.Session.Delete.Params, SessionDeleteUserOptions?: JUHUU.Session.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Delete.Response>>;
|
579
580
|
}
|
580
581
|
|
581
582
|
declare class LinkService extends Service {
|
@@ -1045,6 +1046,13 @@ declare namespace JUHUU {
|
|
1045
1046
|
session: JUHUU.Session.Object;
|
1046
1047
|
};
|
1047
1048
|
}
|
1049
|
+
export namespace Delete {
|
1050
|
+
type Params = {
|
1051
|
+
sessionId?: string;
|
1052
|
+
};
|
1053
|
+
type Options = JUHUU.RequestOptions;
|
1054
|
+
type Response = JUHUU.Session.Object;
|
1055
|
+
}
|
1048
1056
|
export { };
|
1049
1057
|
}
|
1050
1058
|
namespace User {
|
@@ -1210,7 +1218,7 @@ declare namespace JUHUU {
|
|
1210
1218
|
userId?: string;
|
1211
1219
|
};
|
1212
1220
|
type Options = JUHUU.RequestOptions;
|
1213
|
-
type Response = JUHUU.User.Object
|
1221
|
+
type Response = JUHUU.User.Object;
|
1214
1222
|
}
|
1215
1223
|
export { };
|
1216
1224
|
}
|
@@ -1281,7 +1289,7 @@ declare namespace JUHUU {
|
|
1281
1289
|
termId?: string;
|
1282
1290
|
};
|
1283
1291
|
type Options = JUHUU.RequestOptions;
|
1284
|
-
type Response = JUHUU.Term.Object
|
1292
|
+
type Response = JUHUU.Term.Object;
|
1285
1293
|
}
|
1286
1294
|
}
|
1287
1295
|
namespace AccountingArea {
|
@@ -1329,7 +1337,7 @@ declare namespace JUHUU {
|
|
1329
1337
|
accountingAreaId?: string;
|
1330
1338
|
};
|
1331
1339
|
type Options = JUHUU.RequestOptions;
|
1332
|
-
type Response = JUHUU.AccountingArea.Object
|
1340
|
+
type Response = JUHUU.AccountingArea.Object;
|
1333
1341
|
}
|
1334
1342
|
}
|
1335
1343
|
namespace ArticleEmbedding {
|
@@ -1440,7 +1448,7 @@ declare namespace JUHUU {
|
|
1440
1448
|
articleId?: string;
|
1441
1449
|
};
|
1442
1450
|
type Options = JUHUU.RequestOptions;
|
1443
|
-
type Response = JUHUU.Article.Object
|
1451
|
+
type Response = JUHUU.Article.Object;
|
1444
1452
|
}
|
1445
1453
|
namespace Search {
|
1446
1454
|
type Params = {
|
@@ -1521,7 +1529,7 @@ declare namespace JUHUU {
|
|
1521
1529
|
chatId: string;
|
1522
1530
|
};
|
1523
1531
|
type Options = JUHUU.RequestOptions;
|
1524
|
-
type Response = JUHUU.Chat.Object
|
1532
|
+
type Response = JUHUU.Chat.Object;
|
1525
1533
|
}
|
1526
1534
|
namespace Complete {
|
1527
1535
|
type Params = {
|
@@ -1688,7 +1696,7 @@ declare namespace JUHUU {
|
|
1688
1696
|
tariffId?: string;
|
1689
1697
|
};
|
1690
1698
|
type Options = JUHUU.RequestOptions;
|
1691
|
-
type Response = JUHUU.Tariff.Object
|
1699
|
+
type Response = JUHUU.Tariff.Object;
|
1692
1700
|
}
|
1693
1701
|
}
|
1694
1702
|
namespace Survey {
|
@@ -1770,7 +1778,7 @@ declare namespace JUHUU {
|
|
1770
1778
|
licenseTemplateId?: string;
|
1771
1779
|
};
|
1772
1780
|
type Options = JUHUU.RequestOptions;
|
1773
|
-
type Response = JUHUU.LicenseTemplate.Object
|
1781
|
+
type Response = JUHUU.LicenseTemplate.Object;
|
1774
1782
|
}
|
1775
1783
|
export { };
|
1776
1784
|
}
|
@@ -2169,7 +2177,7 @@ declare namespace JUHUU {
|
|
2169
2177
|
locationId?: string;
|
2170
2178
|
};
|
2171
2179
|
type Options = JUHUU.RequestOptions;
|
2172
|
-
type Response = JUHUU.Location.Object
|
2180
|
+
type Response = JUHUU.Location.Object;
|
2173
2181
|
}
|
2174
2182
|
export { };
|
2175
2183
|
}
|
@@ -2247,7 +2255,7 @@ declare namespace JUHUU {
|
|
2247
2255
|
productId?: string;
|
2248
2256
|
};
|
2249
2257
|
type Options = JUHUU.RequestOptions;
|
2250
|
-
type Response = JUHUU.Product.Object
|
2258
|
+
type Response = JUHUU.Product.Object;
|
2251
2259
|
}
|
2252
2260
|
}
|
2253
2261
|
namespace Link {
|
@@ -2300,7 +2308,7 @@ declare namespace JUHUU {
|
|
2300
2308
|
linkId?: string;
|
2301
2309
|
};
|
2302
2310
|
type Options = JUHUU.RequestOptions;
|
2303
|
-
type Response = JUHUU.Link.Object
|
2311
|
+
type Response = JUHUU.Link.Object;
|
2304
2312
|
}
|
2305
2313
|
export { };
|
2306
2314
|
}
|
@@ -2425,7 +2433,7 @@ declare namespace JUHUU {
|
|
2425
2433
|
deviceId?: string;
|
2426
2434
|
};
|
2427
2435
|
type Options = JUHUU.RequestOptions;
|
2428
|
-
type Response = JUHUU.Device.Object
|
2436
|
+
type Response = JUHUU.Device.Object;
|
2429
2437
|
}
|
2430
2438
|
}
|
2431
2439
|
namespace Connector {
|
@@ -2498,7 +2506,7 @@ declare namespace JUHUU {
|
|
2498
2506
|
connectorId?: string;
|
2499
2507
|
};
|
2500
2508
|
type Options = JUHUU.RequestOptions;
|
2501
|
-
type Response = JUHUU.Connector.Object
|
2509
|
+
type Response = JUHUU.Connector.Object;
|
2502
2510
|
}
|
2503
2511
|
export { };
|
2504
2512
|
}
|
@@ -2557,7 +2565,7 @@ declare namespace JUHUU {
|
|
2557
2565
|
deviceTemplateId?: string;
|
2558
2566
|
};
|
2559
2567
|
type Options = JUHUU.RequestOptions;
|
2560
|
-
type Response = JUHUU.DeviceTemplate.Object
|
2568
|
+
type Response = JUHUU.DeviceTemplate.Object;
|
2561
2569
|
}
|
2562
2570
|
}
|
2563
2571
|
namespace Sim {
|
@@ -2619,7 +2627,7 @@ declare namespace JUHUU {
|
|
2619
2627
|
simId?: string;
|
2620
2628
|
};
|
2621
2629
|
type Options = JUHUU.RequestOptions;
|
2622
|
-
type Response = JUHUU.Sim.Object
|
2630
|
+
type Response = JUHUU.Sim.Object;
|
2623
2631
|
}
|
2624
2632
|
}
|
2625
2633
|
namespace ConnectorMessage {
|
package/dist/index.d.ts
CHANGED
@@ -576,6 +576,7 @@ declare class SessionService extends Service {
|
|
576
576
|
attachLocation(SessionAttachLocationParams: JUHUU.Session.AttachLocation.Params, SessionLocationOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
577
577
|
attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
|
578
578
|
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
579
|
+
delete(SessionDeleteUserParams: JUHUU.Session.Delete.Params, SessionDeleteUserOptions?: JUHUU.Session.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Delete.Response>>;
|
579
580
|
}
|
580
581
|
|
581
582
|
declare class LinkService extends Service {
|
@@ -1045,6 +1046,13 @@ declare namespace JUHUU {
|
|
1045
1046
|
session: JUHUU.Session.Object;
|
1046
1047
|
};
|
1047
1048
|
}
|
1049
|
+
export namespace Delete {
|
1050
|
+
type Params = {
|
1051
|
+
sessionId?: string;
|
1052
|
+
};
|
1053
|
+
type Options = JUHUU.RequestOptions;
|
1054
|
+
type Response = JUHUU.Session.Object;
|
1055
|
+
}
|
1048
1056
|
export { };
|
1049
1057
|
}
|
1050
1058
|
namespace User {
|
@@ -1210,7 +1218,7 @@ declare namespace JUHUU {
|
|
1210
1218
|
userId?: string;
|
1211
1219
|
};
|
1212
1220
|
type Options = JUHUU.RequestOptions;
|
1213
|
-
type Response = JUHUU.User.Object
|
1221
|
+
type Response = JUHUU.User.Object;
|
1214
1222
|
}
|
1215
1223
|
export { };
|
1216
1224
|
}
|
@@ -1281,7 +1289,7 @@ declare namespace JUHUU {
|
|
1281
1289
|
termId?: string;
|
1282
1290
|
};
|
1283
1291
|
type Options = JUHUU.RequestOptions;
|
1284
|
-
type Response = JUHUU.Term.Object
|
1292
|
+
type Response = JUHUU.Term.Object;
|
1285
1293
|
}
|
1286
1294
|
}
|
1287
1295
|
namespace AccountingArea {
|
@@ -1329,7 +1337,7 @@ declare namespace JUHUU {
|
|
1329
1337
|
accountingAreaId?: string;
|
1330
1338
|
};
|
1331
1339
|
type Options = JUHUU.RequestOptions;
|
1332
|
-
type Response = JUHUU.AccountingArea.Object
|
1340
|
+
type Response = JUHUU.AccountingArea.Object;
|
1333
1341
|
}
|
1334
1342
|
}
|
1335
1343
|
namespace ArticleEmbedding {
|
@@ -1440,7 +1448,7 @@ declare namespace JUHUU {
|
|
1440
1448
|
articleId?: string;
|
1441
1449
|
};
|
1442
1450
|
type Options = JUHUU.RequestOptions;
|
1443
|
-
type Response = JUHUU.Article.Object
|
1451
|
+
type Response = JUHUU.Article.Object;
|
1444
1452
|
}
|
1445
1453
|
namespace Search {
|
1446
1454
|
type Params = {
|
@@ -1521,7 +1529,7 @@ declare namespace JUHUU {
|
|
1521
1529
|
chatId: string;
|
1522
1530
|
};
|
1523
1531
|
type Options = JUHUU.RequestOptions;
|
1524
|
-
type Response = JUHUU.Chat.Object
|
1532
|
+
type Response = JUHUU.Chat.Object;
|
1525
1533
|
}
|
1526
1534
|
namespace Complete {
|
1527
1535
|
type Params = {
|
@@ -1688,7 +1696,7 @@ declare namespace JUHUU {
|
|
1688
1696
|
tariffId?: string;
|
1689
1697
|
};
|
1690
1698
|
type Options = JUHUU.RequestOptions;
|
1691
|
-
type Response = JUHUU.Tariff.Object
|
1699
|
+
type Response = JUHUU.Tariff.Object;
|
1692
1700
|
}
|
1693
1701
|
}
|
1694
1702
|
namespace Survey {
|
@@ -1770,7 +1778,7 @@ declare namespace JUHUU {
|
|
1770
1778
|
licenseTemplateId?: string;
|
1771
1779
|
};
|
1772
1780
|
type Options = JUHUU.RequestOptions;
|
1773
|
-
type Response = JUHUU.LicenseTemplate.Object
|
1781
|
+
type Response = JUHUU.LicenseTemplate.Object;
|
1774
1782
|
}
|
1775
1783
|
export { };
|
1776
1784
|
}
|
@@ -2169,7 +2177,7 @@ declare namespace JUHUU {
|
|
2169
2177
|
locationId?: string;
|
2170
2178
|
};
|
2171
2179
|
type Options = JUHUU.RequestOptions;
|
2172
|
-
type Response = JUHUU.Location.Object
|
2180
|
+
type Response = JUHUU.Location.Object;
|
2173
2181
|
}
|
2174
2182
|
export { };
|
2175
2183
|
}
|
@@ -2247,7 +2255,7 @@ declare namespace JUHUU {
|
|
2247
2255
|
productId?: string;
|
2248
2256
|
};
|
2249
2257
|
type Options = JUHUU.RequestOptions;
|
2250
|
-
type Response = JUHUU.Product.Object
|
2258
|
+
type Response = JUHUU.Product.Object;
|
2251
2259
|
}
|
2252
2260
|
}
|
2253
2261
|
namespace Link {
|
@@ -2300,7 +2308,7 @@ declare namespace JUHUU {
|
|
2300
2308
|
linkId?: string;
|
2301
2309
|
};
|
2302
2310
|
type Options = JUHUU.RequestOptions;
|
2303
|
-
type Response = JUHUU.Link.Object
|
2311
|
+
type Response = JUHUU.Link.Object;
|
2304
2312
|
}
|
2305
2313
|
export { };
|
2306
2314
|
}
|
@@ -2425,7 +2433,7 @@ declare namespace JUHUU {
|
|
2425
2433
|
deviceId?: string;
|
2426
2434
|
};
|
2427
2435
|
type Options = JUHUU.RequestOptions;
|
2428
|
-
type Response = JUHUU.Device.Object
|
2436
|
+
type Response = JUHUU.Device.Object;
|
2429
2437
|
}
|
2430
2438
|
}
|
2431
2439
|
namespace Connector {
|
@@ -2498,7 +2506,7 @@ declare namespace JUHUU {
|
|
2498
2506
|
connectorId?: string;
|
2499
2507
|
};
|
2500
2508
|
type Options = JUHUU.RequestOptions;
|
2501
|
-
type Response = JUHUU.Connector.Object
|
2509
|
+
type Response = JUHUU.Connector.Object;
|
2502
2510
|
}
|
2503
2511
|
export { };
|
2504
2512
|
}
|
@@ -2557,7 +2565,7 @@ declare namespace JUHUU {
|
|
2557
2565
|
deviceTemplateId?: string;
|
2558
2566
|
};
|
2559
2567
|
type Options = JUHUU.RequestOptions;
|
2560
|
-
type Response = JUHUU.DeviceTemplate.Object
|
2568
|
+
type Response = JUHUU.DeviceTemplate.Object;
|
2561
2569
|
}
|
2562
2570
|
}
|
2563
2571
|
namespace Sim {
|
@@ -2619,7 +2627,7 @@ declare namespace JUHUU {
|
|
2619
2627
|
simId?: string;
|
2620
2628
|
};
|
2621
2629
|
type Options = JUHUU.RequestOptions;
|
2622
|
-
type Response = JUHUU.Sim.Object
|
2630
|
+
type Response = JUHUU.Sim.Object;
|
2623
2631
|
}
|
2624
2632
|
}
|
2625
2633
|
namespace ConnectorMessage {
|
package/dist/index.js
CHANGED
@@ -440,6 +440,17 @@ var SessionService = class extends Service {
|
|
440
440
|
SessionDetachUserOptions
|
441
441
|
);
|
442
442
|
}
|
443
|
+
async delete(SessionDeleteUserParams, SessionDeleteUserOptions) {
|
444
|
+
return await super.sendRequest(
|
445
|
+
{
|
446
|
+
method: "DELETE",
|
447
|
+
url: "sessions/" + SessionDeleteUserParams.sessionId,
|
448
|
+
body: void 0,
|
449
|
+
authenticationNotOptional: true
|
450
|
+
},
|
451
|
+
SessionDeleteUserOptions
|
452
|
+
);
|
453
|
+
}
|
443
454
|
};
|
444
455
|
|
445
456
|
// src/links/links.service.ts
|
package/dist/index.mjs
CHANGED
@@ -396,6 +396,17 @@ var SessionService = class extends Service {
|
|
396
396
|
SessionDetachUserOptions
|
397
397
|
);
|
398
398
|
}
|
399
|
+
async delete(SessionDeleteUserParams, SessionDeleteUserOptions) {
|
400
|
+
return await super.sendRequest(
|
401
|
+
{
|
402
|
+
method: "DELETE",
|
403
|
+
url: "sessions/" + SessionDeleteUserParams.sessionId,
|
404
|
+
body: void 0,
|
405
|
+
authenticationNotOptional: true
|
406
|
+
},
|
407
|
+
SessionDeleteUserOptions
|
408
|
+
);
|
409
|
+
}
|
399
410
|
};
|
400
411
|
|
401
412
|
// src/links/links.service.ts
|