nordlet 0.2.2 → 0.2.3

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.
Files changed (64) hide show
  1. package/dist/api/resources/account/client/Client.d.ts +155 -0
  2. package/dist/api/resources/account/client/Client.js +587 -0
  3. package/dist/api/resources/account/client/requests/PostV1AccountConsentAcceptRequest.d.ts +11 -0
  4. package/dist/api/resources/account/client/requests/PostV1AccountConsentAcceptRequest.js +3 -0
  5. package/dist/api/resources/account/client/requests/PostV1AccountDeleteRequest.d.ts +9 -0
  6. package/dist/api/resources/account/client/requests/PostV1AccountDeleteRequest.js +3 -0
  7. package/dist/api/resources/account/client/requests/PostV1AccountEmailChangeRequestRequest.d.ts +18 -0
  8. package/dist/api/resources/account/client/requests/PostV1AccountEmailChangeRequestRequest.js +12 -0
  9. package/dist/api/resources/account/client/requests/PostV1AccountExportRequest.d.ts +5 -0
  10. package/dist/api/resources/account/client/requests/PostV1AccountExportRequest.js +3 -0
  11. package/dist/api/resources/account/client/requests/PostV1AccountInvitesAcceptRequest.d.ts +2 -0
  12. package/dist/api/resources/account/client/requests/PostV1AccountLoginLinkRequestRequest.d.ts +2 -0
  13. package/dist/api/resources/account/client/requests/PostV1AccountProfileUpdateRequest.d.ts +7 -0
  14. package/dist/api/resources/account/client/requests/PostV1AccountProfileUpdateRequest.js +3 -0
  15. package/dist/api/resources/account/client/requests/PostV1AccountSessionsListRequest.d.ts +5 -0
  16. package/dist/api/resources/account/client/requests/PostV1AccountSessionsListRequest.js +3 -0
  17. package/dist/api/resources/account/client/requests/PostV1AccountSessionsRevokeOthersRequest.d.ts +5 -0
  18. package/dist/api/resources/account/client/requests/PostV1AccountSessionsRevokeOthersRequest.js +3 -0
  19. package/dist/api/resources/account/client/requests/PostV1AccountSessionsRevokeRequest.d.ts +9 -0
  20. package/dist/api/resources/account/client/requests/PostV1AccountSessionsRevokeRequest.js +3 -0
  21. package/dist/api/resources/account/client/requests/index.d.ts +8 -0
  22. package/dist/api/resources/account/client/requests/index.js +3 -1
  23. package/dist/api/resources/account/types/PostV1AccountConsentAcceptResponse.d.ts +9 -0
  24. package/dist/api/resources/account/types/PostV1AccountConsentAcceptResponse.js +3 -0
  25. package/dist/api/resources/account/types/PostV1AccountDeleteResponse.d.ts +3 -0
  26. package/dist/api/resources/account/types/PostV1AccountDeleteResponse.js +3 -0
  27. package/dist/api/resources/account/types/PostV1AccountEmailChangeRequestResponse.d.ts +3 -0
  28. package/dist/api/resources/account/types/PostV1AccountEmailChangeRequestResponse.js +3 -0
  29. package/dist/api/resources/account/types/PostV1AccountExportResponse.d.ts +77 -0
  30. package/dist/api/resources/account/types/PostV1AccountExportResponse.js +3 -0
  31. package/dist/api/resources/account/types/PostV1AccountMeResponse.d.ts +10 -0
  32. package/dist/api/resources/account/types/PostV1AccountProfileUpdateResponse.d.ts +5 -0
  33. package/dist/api/resources/account/types/PostV1AccountProfileUpdateResponse.js +3 -0
  34. package/dist/api/resources/account/types/PostV1AccountSessionsListResponse.d.ts +15 -0
  35. package/dist/api/resources/account/types/PostV1AccountSessionsListResponse.js +3 -0
  36. package/dist/api/resources/account/types/PostV1AccountSessionsRevokeOthersResponse.d.ts +3 -0
  37. package/dist/api/resources/account/types/PostV1AccountSessionsRevokeOthersResponse.js +3 -0
  38. package/dist/api/resources/account/types/PostV1AccountSessionsRevokeResponse.d.ts +3 -0
  39. package/dist/api/resources/account/types/PostV1AccountSessionsRevokeResponse.js +3 -0
  40. package/dist/api/resources/account/types/index.d.ts +8 -0
  41. package/dist/api/resources/account/types/index.js +8 -0
  42. package/dist/api/resources/hr/client/Client.d.ts +42 -0
  43. package/dist/api/resources/hr/client/Client.js +150 -0
  44. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesAnonymizeRequest.d.ts +9 -0
  45. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesAnonymizeRequest.js +3 -0
  46. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesDeleteRequest.d.ts +9 -0
  47. package/dist/api/resources/hr/client/requests/PostV1HrEmployeesDeleteRequest.js +3 -0
  48. package/dist/api/resources/hr/client/requests/index.d.ts +2 -0
  49. package/dist/api/resources/hr/types/PostV1HrEmployeesAnonymizeResponse.d.ts +35 -0
  50. package/dist/api/resources/hr/types/PostV1HrEmployeesAnonymizeResponse.js +11 -0
  51. package/dist/api/resources/hr/types/PostV1HrEmployeesDeleteResponse.d.ts +3 -0
  52. package/dist/api/resources/hr/types/PostV1HrEmployeesDeleteResponse.js +3 -0
  53. package/dist/api/resources/hr/types/index.d.ts +2 -0
  54. package/dist/api/resources/hr/types/index.js +2 -0
  55. package/dist/api/resources/partners/client/Client.d.ts +22 -0
  56. package/dist/api/resources/partners/client/Client.js +76 -0
  57. package/dist/api/resources/partners/client/requests/PostV1PartnersAnonymizeRequest.d.ts +9 -0
  58. package/dist/api/resources/partners/client/requests/PostV1PartnersAnonymizeRequest.js +3 -0
  59. package/dist/api/resources/partners/client/requests/index.d.ts +1 -0
  60. package/dist/api/resources/partners/types/PostV1PartnersAnonymizeResponse.d.ts +4 -0
  61. package/dist/api/resources/partners/types/PostV1PartnersAnonymizeResponse.js +3 -0
  62. package/dist/api/resources/partners/types/index.d.ts +1 -0
  63. package/dist/api/resources/partners/types/index.js +1 -0
  64. package/package.json +1 -1
@@ -458,4 +458,159 @@ export declare class AccountClient {
458
458
  */
459
459
  postV1AccountApiKeysRevoke(request: NordletApi.PostV1AccountApiKeysRevokeRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountApiKeysRevokeResponse>;
460
460
  private __postV1AccountApiKeysRevoke;
461
+ /**
462
+ * @param {NordletApi.PostV1AccountConsentAcceptRequest} request
463
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
464
+ *
465
+ * @throws {@link NordletApi.BadRequestError}
466
+ * @throws {@link NordletApi.UnauthorizedError}
467
+ * @throws {@link NordletApi.ForbiddenError}
468
+ * @throws {@link NordletApi.NotFoundError}
469
+ * @throws {@link NordletApi.ConflictError}
470
+ * @throws {@link NordletApi.UnprocessableEntityError}
471
+ * @throws {@link NordletApi.TooManyRequestsError}
472
+ * @throws {@link NordletApi.InternalServerError}
473
+ *
474
+ * @example
475
+ * await client.account.postV1AccountConsentAccept({
476
+ * acceptTerms: true,
477
+ * acceptDpa: true
478
+ * })
479
+ */
480
+ postV1AccountConsentAccept(request: NordletApi.PostV1AccountConsentAcceptRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountConsentAcceptResponse>;
481
+ private __postV1AccountConsentAccept;
482
+ /**
483
+ * @param {NordletApi.PostV1AccountProfileUpdateRequest} request
484
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
485
+ *
486
+ * @throws {@link NordletApi.BadRequestError}
487
+ * @throws {@link NordletApi.UnauthorizedError}
488
+ * @throws {@link NordletApi.ForbiddenError}
489
+ * @throws {@link NordletApi.NotFoundError}
490
+ * @throws {@link NordletApi.ConflictError}
491
+ * @throws {@link NordletApi.UnprocessableEntityError}
492
+ * @throws {@link NordletApi.TooManyRequestsError}
493
+ * @throws {@link NordletApi.InternalServerError}
494
+ *
495
+ * @example
496
+ * await client.account.postV1AccountProfileUpdate({})
497
+ */
498
+ postV1AccountProfileUpdate(request: NordletApi.PostV1AccountProfileUpdateRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountProfileUpdateResponse>;
499
+ private __postV1AccountProfileUpdate;
500
+ /**
501
+ * @param {NordletApi.PostV1AccountEmailChangeRequestRequest} request
502
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
503
+ *
504
+ * @throws {@link NordletApi.BadRequestError}
505
+ * @throws {@link NordletApi.UnauthorizedError}
506
+ * @throws {@link NordletApi.ForbiddenError}
507
+ * @throws {@link NordletApi.NotFoundError}
508
+ * @throws {@link NordletApi.ConflictError}
509
+ * @throws {@link NordletApi.UnprocessableEntityError}
510
+ * @throws {@link NordletApi.TooManyRequestsError}
511
+ * @throws {@link NordletApi.InternalServerError}
512
+ *
513
+ * @example
514
+ * await client.account.postV1AccountEmailChangeRequest({
515
+ * newEmail: "newEmail"
516
+ * })
517
+ */
518
+ postV1AccountEmailChangeRequest(request: NordletApi.PostV1AccountEmailChangeRequestRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountEmailChangeRequestResponse>;
519
+ private __postV1AccountEmailChangeRequest;
520
+ /**
521
+ * @param {NordletApi.PostV1AccountSessionsListRequest} request
522
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
523
+ *
524
+ * @throws {@link NordletApi.BadRequestError}
525
+ * @throws {@link NordletApi.UnauthorizedError}
526
+ * @throws {@link NordletApi.ForbiddenError}
527
+ * @throws {@link NordletApi.NotFoundError}
528
+ * @throws {@link NordletApi.ConflictError}
529
+ * @throws {@link NordletApi.UnprocessableEntityError}
530
+ * @throws {@link NordletApi.TooManyRequestsError}
531
+ * @throws {@link NordletApi.InternalServerError}
532
+ *
533
+ * @example
534
+ * await client.account.postV1AccountSessionsList()
535
+ */
536
+ postV1AccountSessionsList(request?: NordletApi.PostV1AccountSessionsListRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountSessionsListResponse>;
537
+ private __postV1AccountSessionsList;
538
+ /**
539
+ * @param {NordletApi.PostV1AccountSessionsRevokeRequest} request
540
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
541
+ *
542
+ * @throws {@link NordletApi.BadRequestError}
543
+ * @throws {@link NordletApi.UnauthorizedError}
544
+ * @throws {@link NordletApi.ForbiddenError}
545
+ * @throws {@link NordletApi.NotFoundError}
546
+ * @throws {@link NordletApi.ConflictError}
547
+ * @throws {@link NordletApi.UnprocessableEntityError}
548
+ * @throws {@link NordletApi.TooManyRequestsError}
549
+ * @throws {@link NordletApi.InternalServerError}
550
+ *
551
+ * @example
552
+ * await client.account.postV1AccountSessionsRevoke({
553
+ * id: "id"
554
+ * })
555
+ */
556
+ postV1AccountSessionsRevoke(request: NordletApi.PostV1AccountSessionsRevokeRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountSessionsRevokeResponse>;
557
+ private __postV1AccountSessionsRevoke;
558
+ /**
559
+ * @param {NordletApi.PostV1AccountSessionsRevokeOthersRequest} request
560
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
561
+ *
562
+ * @throws {@link NordletApi.BadRequestError}
563
+ * @throws {@link NordletApi.UnauthorizedError}
564
+ * @throws {@link NordletApi.ForbiddenError}
565
+ * @throws {@link NordletApi.NotFoundError}
566
+ * @throws {@link NordletApi.ConflictError}
567
+ * @throws {@link NordletApi.UnprocessableEntityError}
568
+ * @throws {@link NordletApi.TooManyRequestsError}
569
+ * @throws {@link NordletApi.InternalServerError}
570
+ *
571
+ * @example
572
+ * await client.account.postV1AccountSessionsRevokeOthers()
573
+ */
574
+ postV1AccountSessionsRevokeOthers(request?: NordletApi.PostV1AccountSessionsRevokeOthersRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountSessionsRevokeOthersResponse>;
575
+ private __postV1AccountSessionsRevokeOthers;
576
+ /**
577
+ * @param {NordletApi.PostV1AccountExportRequest} request
578
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
579
+ *
580
+ * @throws {@link NordletApi.BadRequestError}
581
+ * @throws {@link NordletApi.UnauthorizedError}
582
+ * @throws {@link NordletApi.ForbiddenError}
583
+ * @throws {@link NordletApi.NotFoundError}
584
+ * @throws {@link NordletApi.ConflictError}
585
+ * @throws {@link NordletApi.UnprocessableEntityError}
586
+ * @throws {@link NordletApi.TooManyRequestsError}
587
+ * @throws {@link NordletApi.InternalServerError}
588
+ *
589
+ * @example
590
+ * await client.account.downloadEverythingNordletStoresAboutTheSignedInUser()
591
+ */
592
+ downloadEverythingNordletStoresAboutTheSignedInUser(request?: NordletApi.PostV1AccountExportRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountExportResponse>;
593
+ private __downloadEverythingNordletStoresAboutTheSignedInUser;
594
+ /**
595
+ * Removes the user: sessions, sign-in links, memberships and pending invitations are deleted at once; the email and name are replaced by an anonymous placeholder immediately and the remaining row is removed after 30 days. Refused while the user still owns or pays for a company that is not deleted.
596
+ *
597
+ * @param {NordletApi.PostV1AccountDeleteRequest} request
598
+ * @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
599
+ *
600
+ * @throws {@link NordletApi.BadRequestError}
601
+ * @throws {@link NordletApi.UnauthorizedError}
602
+ * @throws {@link NordletApi.ForbiddenError}
603
+ * @throws {@link NordletApi.NotFoundError}
604
+ * @throws {@link NordletApi.ConflictError}
605
+ * @throws {@link NordletApi.UnprocessableEntityError}
606
+ * @throws {@link NordletApi.TooManyRequestsError}
607
+ * @throws {@link NordletApi.InternalServerError}
608
+ *
609
+ * @example
610
+ * await client.account.deleteTheSignedInUserAccount({
611
+ * confirmEmail: "confirmEmail"
612
+ * })
613
+ */
614
+ deleteTheSignedInUserAccount(request: NordletApi.PostV1AccountDeleteRequest, requestOptions?: AccountClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1AccountDeleteResponse>;
615
+ private __deleteTheSignedInUserAccount;
461
616
  }