@juhuu/sdk-ts 1.2.43 → 1.2.45
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 +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +39 -0
- package/dist/index.mjs +39 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -563,6 +563,8 @@ declare class SessionService extends Service {
|
|
563
563
|
update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
|
564
564
|
terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
|
565
565
|
attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
566
|
+
attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
|
567
|
+
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
566
568
|
}
|
567
569
|
|
568
570
|
declare class LinkService extends Service {
|
@@ -714,6 +716,7 @@ declare class LicenseTemplatesService extends Service {
|
|
714
716
|
constructor(config: JUHUU.SetupConfig);
|
715
717
|
list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
|
716
718
|
retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
|
719
|
+
regexValidate(LicenseTemplateRegexValidateParams: JUHUU.LicenseTemplate.RegexValidate.Params, LicenseTemplateRegexValidateOptions?: JUHUU.LicenseTemplate.RegexValidate.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.RegexValidate.Response>>;
|
717
720
|
}
|
718
721
|
|
719
722
|
declare class ArticlesService extends Service {
|
@@ -966,6 +969,25 @@ declare namespace JUHUU {
|
|
966
969
|
session: JUHUU.Session.Object;
|
967
970
|
};
|
968
971
|
}
|
972
|
+
export namespace AttachUser {
|
973
|
+
type Params = {
|
974
|
+
sessionId: string;
|
975
|
+
userId: string;
|
976
|
+
};
|
977
|
+
type Options = JUHUU.RequestOptions;
|
978
|
+
type Response = {
|
979
|
+
session: JUHUU.Session.Object;
|
980
|
+
};
|
981
|
+
}
|
982
|
+
export namespace DetachUser {
|
983
|
+
type Params = {
|
984
|
+
sessionId: string;
|
985
|
+
};
|
986
|
+
type Options = JUHUU.RequestOptions;
|
987
|
+
type Response = {
|
988
|
+
session: JUHUU.Session.Object;
|
989
|
+
};
|
990
|
+
}
|
969
991
|
export { };
|
970
992
|
}
|
971
993
|
namespace User {
|
@@ -1554,6 +1576,17 @@ declare namespace JUHUU {
|
|
1554
1576
|
licenseTemplateArray: JUHUU.LicenseTemplate.Object[];
|
1555
1577
|
};
|
1556
1578
|
}
|
1579
|
+
export namespace RegexValidate {
|
1580
|
+
type Params = {
|
1581
|
+
userId: string;
|
1582
|
+
licenseTemplateId: string;
|
1583
|
+
text: string;
|
1584
|
+
};
|
1585
|
+
type Options = JUHUU.RequestOptions;
|
1586
|
+
type Response = {
|
1587
|
+
licenseTemplate: JUHUU.LicenseTemplate.Object;
|
1588
|
+
};
|
1589
|
+
}
|
1557
1590
|
export { };
|
1558
1591
|
}
|
1559
1592
|
namespace Property {
|
package/dist/index.d.ts
CHANGED
@@ -563,6 +563,8 @@ declare class SessionService extends Service {
|
|
563
563
|
update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
|
564
564
|
terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
|
565
565
|
attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
|
566
|
+
attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
|
567
|
+
detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
|
566
568
|
}
|
567
569
|
|
568
570
|
declare class LinkService extends Service {
|
@@ -714,6 +716,7 @@ declare class LicenseTemplatesService extends Service {
|
|
714
716
|
constructor(config: JUHUU.SetupConfig);
|
715
717
|
list(LicenseTemplateListParams: JUHUU.LicenseTemplate.List.Params, LicenseTemplateListOptions?: JUHUU.LicenseTemplate.List.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.List.Response>>;
|
716
718
|
retrieve(LicenseTemplateRetrieveParams: JUHUU.LicenseTemplate.Retrieve.Params, LicenseTemplateRetrieveOptions?: JUHUU.LicenseTemplate.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.Retrieve.Response>>;
|
719
|
+
regexValidate(LicenseTemplateRegexValidateParams: JUHUU.LicenseTemplate.RegexValidate.Params, LicenseTemplateRegexValidateOptions?: JUHUU.LicenseTemplate.RegexValidate.Options): Promise<JUHUU.HttpResponse<JUHUU.LicenseTemplate.RegexValidate.Response>>;
|
717
720
|
}
|
718
721
|
|
719
722
|
declare class ArticlesService extends Service {
|
@@ -966,6 +969,25 @@ declare namespace JUHUU {
|
|
966
969
|
session: JUHUU.Session.Object;
|
967
970
|
};
|
968
971
|
}
|
972
|
+
export namespace AttachUser {
|
973
|
+
type Params = {
|
974
|
+
sessionId: string;
|
975
|
+
userId: string;
|
976
|
+
};
|
977
|
+
type Options = JUHUU.RequestOptions;
|
978
|
+
type Response = {
|
979
|
+
session: JUHUU.Session.Object;
|
980
|
+
};
|
981
|
+
}
|
982
|
+
export namespace DetachUser {
|
983
|
+
type Params = {
|
984
|
+
sessionId: string;
|
985
|
+
};
|
986
|
+
type Options = JUHUU.RequestOptions;
|
987
|
+
type Response = {
|
988
|
+
session: JUHUU.Session.Object;
|
989
|
+
};
|
990
|
+
}
|
969
991
|
export { };
|
970
992
|
}
|
971
993
|
namespace User {
|
@@ -1554,6 +1576,17 @@ declare namespace JUHUU {
|
|
1554
1576
|
licenseTemplateArray: JUHUU.LicenseTemplate.Object[];
|
1555
1577
|
};
|
1556
1578
|
}
|
1579
|
+
export namespace RegexValidate {
|
1580
|
+
type Params = {
|
1581
|
+
userId: string;
|
1582
|
+
licenseTemplateId: string;
|
1583
|
+
text: string;
|
1584
|
+
};
|
1585
|
+
type Options = JUHUU.RequestOptions;
|
1586
|
+
type Response = {
|
1587
|
+
licenseTemplate: JUHUU.LicenseTemplate.Object;
|
1588
|
+
};
|
1589
|
+
}
|
1557
1590
|
export { };
|
1558
1591
|
}
|
1559
1592
|
namespace Property {
|
package/dist/index.js
CHANGED
@@ -402,6 +402,30 @@ var SessionService = class extends Service {
|
|
402
402
|
SessionTerminateOptions
|
403
403
|
);
|
404
404
|
}
|
405
|
+
async attachUser(SessionAttachUserParams, SessionAttachUserOptions) {
|
406
|
+
return await super.sendRequest(
|
407
|
+
{
|
408
|
+
method: "POST",
|
409
|
+
url: "sessions/" + SessionAttachUserParams.sessionId + "/user",
|
410
|
+
body: {
|
411
|
+
userId: SessionAttachUserParams.userId
|
412
|
+
},
|
413
|
+
useAuthentication: true
|
414
|
+
},
|
415
|
+
SessionAttachUserOptions
|
416
|
+
);
|
417
|
+
}
|
418
|
+
async detachUser(SessionDetachUserParams, SessionDetachUserOptions) {
|
419
|
+
return await super.sendRequest(
|
420
|
+
{
|
421
|
+
method: "DELETE",
|
422
|
+
url: "sessions/" + SessionDetachUserParams.sessionId + "/user",
|
423
|
+
body: void 0,
|
424
|
+
useAuthentication: true
|
425
|
+
},
|
426
|
+
SessionDetachUserOptions
|
427
|
+
);
|
428
|
+
}
|
405
429
|
};
|
406
430
|
|
407
431
|
// src/links/links.service.ts
|
@@ -1505,6 +1529,21 @@ var LicenseTemplatesService = class extends Service {
|
|
1505
1529
|
useAuthentication: true
|
1506
1530
|
});
|
1507
1531
|
}
|
1532
|
+
async regexValidate(LicenseTemplateRegexValidateParams, LicenseTemplateRegexValidateOptions) {
|
1533
|
+
return await super.sendRequest(
|
1534
|
+
{
|
1535
|
+
method: "POST",
|
1536
|
+
url: "licenseTemplates/" + LicenseTemplateRegexValidateParams.licenseTemplateId + "/regex/validate",
|
1537
|
+
body: {
|
1538
|
+
userId: LicenseTemplateRegexValidateParams.userId,
|
1539
|
+
text: LicenseTemplateRegexValidateParams.text,
|
1540
|
+
licenseTemplateId: LicenseTemplateRegexValidateParams.licenseTemplateId
|
1541
|
+
},
|
1542
|
+
useAuthentication: true
|
1543
|
+
},
|
1544
|
+
LicenseTemplateRegexValidateOptions
|
1545
|
+
);
|
1546
|
+
}
|
1508
1547
|
};
|
1509
1548
|
|
1510
1549
|
// src/articles/articles.service.ts
|
package/dist/index.mjs
CHANGED
@@ -357,6 +357,30 @@ var SessionService = class extends Service {
|
|
357
357
|
SessionTerminateOptions
|
358
358
|
);
|
359
359
|
}
|
360
|
+
async attachUser(SessionAttachUserParams, SessionAttachUserOptions) {
|
361
|
+
return await super.sendRequest(
|
362
|
+
{
|
363
|
+
method: "POST",
|
364
|
+
url: "sessions/" + SessionAttachUserParams.sessionId + "/user",
|
365
|
+
body: {
|
366
|
+
userId: SessionAttachUserParams.userId
|
367
|
+
},
|
368
|
+
useAuthentication: true
|
369
|
+
},
|
370
|
+
SessionAttachUserOptions
|
371
|
+
);
|
372
|
+
}
|
373
|
+
async detachUser(SessionDetachUserParams, SessionDetachUserOptions) {
|
374
|
+
return await super.sendRequest(
|
375
|
+
{
|
376
|
+
method: "DELETE",
|
377
|
+
url: "sessions/" + SessionDetachUserParams.sessionId + "/user",
|
378
|
+
body: void 0,
|
379
|
+
useAuthentication: true
|
380
|
+
},
|
381
|
+
SessionDetachUserOptions
|
382
|
+
);
|
383
|
+
}
|
360
384
|
};
|
361
385
|
|
362
386
|
// src/links/links.service.ts
|
@@ -1460,6 +1484,21 @@ var LicenseTemplatesService = class extends Service {
|
|
1460
1484
|
useAuthentication: true
|
1461
1485
|
});
|
1462
1486
|
}
|
1487
|
+
async regexValidate(LicenseTemplateRegexValidateParams, LicenseTemplateRegexValidateOptions) {
|
1488
|
+
return await super.sendRequest(
|
1489
|
+
{
|
1490
|
+
method: "POST",
|
1491
|
+
url: "licenseTemplates/" + LicenseTemplateRegexValidateParams.licenseTemplateId + "/regex/validate",
|
1492
|
+
body: {
|
1493
|
+
userId: LicenseTemplateRegexValidateParams.userId,
|
1494
|
+
text: LicenseTemplateRegexValidateParams.text,
|
1495
|
+
licenseTemplateId: LicenseTemplateRegexValidateParams.licenseTemplateId
|
1496
|
+
},
|
1497
|
+
useAuthentication: true
|
1498
|
+
},
|
1499
|
+
LicenseTemplateRegexValidateOptions
|
1500
|
+
);
|
1501
|
+
}
|
1463
1502
|
};
|
1464
1503
|
|
1465
1504
|
// src/articles/articles.service.ts
|