@mittwald/api-client 2.0.1 → 2.0.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.
- package/README.md +16 -2
- package/dist/cjs/generated/v2/client.d.ts +224 -267
- package/dist/cjs/generated/v2/client.js +46 -46
- package/dist/cjs/generated/v2/descriptors.d.ts +74 -74
- package/dist/cjs/generated/v2/descriptors.js +109 -109
- package/dist/cjs/generated/v2/types.d.ts +343 -271
- package/dist/esm/generated/v2/client.d.ts +224 -267
- package/dist/esm/generated/v2/client.js +46 -46
- package/dist/esm/generated/v2/descriptors.d.ts +74 -74
- package/dist/esm/generated/v2/descriptors.js +107 -107
- package/dist/esm/generated/v2/types.d.ts +343 -271
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ exports.conversationCreateConversation = exports.conversationListConversations =
|
|
|
4
4
|
exports.databaseListMysqlUsers = exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
|
|
5
5
|
exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainResendDomainEmail = exports.domainListToplevelDomains = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetToplevelDomain = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsRecordTxtSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = void 0;
|
|
6
6
|
exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterSubscribeUser = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = exports.fileGetFileTypeRules = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.
|
|
7
|
+
exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = void 0;
|
|
8
|
+
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateIssue = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
10
10
|
exports.appExecuteAction = {
|
|
11
11
|
path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
|
|
@@ -594,7 +594,7 @@ exports.databaseListMysqlDatabases = {
|
|
|
594
594
|
method: "GET",
|
|
595
595
|
operationId: "database-list-mysql-databases",
|
|
596
596
|
};
|
|
597
|
-
/** Create a MySQLDatabase with
|
|
597
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
598
598
|
exports.databaseCreateMysqlDatabase = {
|
|
599
599
|
path: "/v2/projects/{projectId}/mysql-databases",
|
|
600
600
|
method: "POST",
|
|
@@ -1476,87 +1476,81 @@ exports.userRemovePhoneNumber = {
|
|
|
1476
1476
|
method: "DELETE",
|
|
1477
1477
|
operationId: "user-remove-phone-number",
|
|
1478
1478
|
};
|
|
1479
|
-
/** Authenticate yourself to get an access token. */
|
|
1480
|
-
exports.userAuthenticate = {
|
|
1481
|
-
path: "/v2/signup/authentication",
|
|
1482
|
-
method: "POST",
|
|
1483
|
-
operationId: "user-authenticate",
|
|
1484
|
-
};
|
|
1485
1479
|
/** Validate your second factor. */
|
|
1486
1480
|
exports.userAuthenticateMfa = {
|
|
1487
|
-
path: "/v2/
|
|
1481
|
+
path: "/v2/authenticate-mfa",
|
|
1488
1482
|
method: "POST",
|
|
1489
1483
|
operationId: "user-authenticate-mfa",
|
|
1490
1484
|
};
|
|
1491
|
-
/**
|
|
1492
|
-
exports.
|
|
1493
|
-
path: "/v2/
|
|
1485
|
+
/** Authenticate yourself to get an access token. */
|
|
1486
|
+
exports.userAuthenticate = {
|
|
1487
|
+
path: "/v2/authenticate",
|
|
1488
|
+
method: "POST",
|
|
1489
|
+
operationId: "user-authenticate",
|
|
1490
|
+
};
|
|
1491
|
+
/** Get your verified Email-Address. */
|
|
1492
|
+
exports.userGetOwnEmail = {
|
|
1493
|
+
path: "/v2/users/self/credentials/email",
|
|
1494
1494
|
method: "GET",
|
|
1495
|
-
operationId: "user-get-email",
|
|
1495
|
+
operationId: "user-get-own-email",
|
|
1496
1496
|
};
|
|
1497
|
-
/** Change your Email-Address */
|
|
1497
|
+
/** Change your Email-Address. */
|
|
1498
1498
|
exports.userChangeEmail = {
|
|
1499
|
-
path: "/v2/
|
|
1499
|
+
path: "/v2/users/self/credentials/email",
|
|
1500
1500
|
method: "PUT",
|
|
1501
1501
|
operationId: "user-change-email",
|
|
1502
1502
|
};
|
|
1503
|
-
/**
|
|
1504
|
-
exports.userGetPasswordUpdatedAt = {
|
|
1505
|
-
path: "/v2/signup/password",
|
|
1506
|
-
method: "GET",
|
|
1507
|
-
operationId: "user-get-password-updated-at",
|
|
1508
|
-
};
|
|
1509
|
-
/** Change your password */
|
|
1503
|
+
/** Change your password. */
|
|
1510
1504
|
exports.userChangePassword = {
|
|
1511
|
-
path: "/v2/
|
|
1505
|
+
path: "/v2/users/self/credentials/password",
|
|
1512
1506
|
method: "PUT",
|
|
1513
1507
|
operationId: "user-change-password",
|
|
1514
1508
|
};
|
|
1515
|
-
/**
|
|
1516
|
-
exports.userGetOwnProfile = {
|
|
1517
|
-
path: "/v2/signup/profile",
|
|
1518
|
-
method: "GET",
|
|
1519
|
-
operationId: "user-get-own-profile",
|
|
1520
|
-
};
|
|
1521
|
-
/** Change your profile information */
|
|
1522
|
-
exports.userChangeProfile = {
|
|
1523
|
-
path: "/v2/signup/profile",
|
|
1524
|
-
method: "PUT",
|
|
1525
|
-
operationId: "user-change-profile",
|
|
1526
|
-
};
|
|
1527
|
-
/** Delete your profile and all your personal data */
|
|
1528
|
-
exports.userDeleteProfile = {
|
|
1529
|
-
path: "/v2/signup/profile",
|
|
1530
|
-
method: "DELETE",
|
|
1531
|
-
operationId: "user-delete-profile",
|
|
1532
|
-
};
|
|
1533
|
-
/** Check a token for validity */
|
|
1509
|
+
/** Check token for validity. */
|
|
1534
1510
|
exports.userCheckToken = {
|
|
1535
|
-
path: "/v2/
|
|
1511
|
+
path: "/v2/users/self/credentials/token",
|
|
1536
1512
|
method: "POST",
|
|
1537
1513
|
operationId: "user-check-token",
|
|
1538
1514
|
};
|
|
1539
|
-
/**
|
|
1515
|
+
/** Get your current multi factor auth status. */
|
|
1516
|
+
exports.userGetMfaStatus = {
|
|
1517
|
+
path: "/v2/users/self/credentials/mfa",
|
|
1518
|
+
method: "GET",
|
|
1519
|
+
operationId: "user-get-mfa-status",
|
|
1520
|
+
};
|
|
1521
|
+
/** Reset RecoveryCodes for MFA. */
|
|
1522
|
+
exports.userResetRecoverycodes = {
|
|
1523
|
+
path: "/v2/users/self/credentials/mfa",
|
|
1524
|
+
method: "PUT",
|
|
1525
|
+
operationId: "user-reset-recoverycodes",
|
|
1526
|
+
};
|
|
1527
|
+
/** Confirm Multi Factor Authentication. */
|
|
1540
1528
|
exports.userConfirmMfa = {
|
|
1541
|
-
path: "/v2/
|
|
1529
|
+
path: "/v2/users/self/credentials/mfa",
|
|
1542
1530
|
method: "POST",
|
|
1543
1531
|
operationId: "user-confirm-mfa",
|
|
1544
1532
|
};
|
|
1545
|
-
/**
|
|
1533
|
+
/** Disable Multi Factor Authentication. */
|
|
1534
|
+
exports.userDisableMfa = {
|
|
1535
|
+
path: "/v2/users/self/credentials/mfa",
|
|
1536
|
+
method: "DELETE",
|
|
1537
|
+
operationId: "user-disable-mfa",
|
|
1538
|
+
};
|
|
1539
|
+
/** Confirm password reset. */
|
|
1546
1540
|
exports.userConfirmPasswordReset = {
|
|
1547
|
-
path: "/v2/
|
|
1541
|
+
path: "/v2/users/self/credentials/password/confirm-reset",
|
|
1548
1542
|
method: "POST",
|
|
1549
1543
|
operationId: "user-confirm-password-reset",
|
|
1550
1544
|
};
|
|
1551
|
-
/** List all
|
|
1545
|
+
/** List all of your ApiTokens. */
|
|
1552
1546
|
exports.userListApiTokens = {
|
|
1553
|
-
path: "/v2/
|
|
1547
|
+
path: "/v2/users/self/api-tokens",
|
|
1554
1548
|
method: "GET",
|
|
1555
1549
|
operationId: "user-list-api-tokens",
|
|
1556
1550
|
};
|
|
1557
|
-
/** Store a new ApiToken */
|
|
1551
|
+
/** Store a new ApiToken. */
|
|
1558
1552
|
exports.userCreateApiToken = {
|
|
1559
|
-
path: "/v2/
|
|
1553
|
+
path: "/v2/users/self/api-tokens",
|
|
1560
1554
|
method: "POST",
|
|
1561
1555
|
operationId: "user-create-api-token",
|
|
1562
1556
|
};
|
|
@@ -1572,71 +1566,77 @@ exports.userCreateIssue = {
|
|
|
1572
1566
|
method: "POST",
|
|
1573
1567
|
operationId: "user-create-issue",
|
|
1574
1568
|
};
|
|
1575
|
-
/** Get your stored ssh
|
|
1569
|
+
/** Get your stored ssh-keys. */
|
|
1576
1570
|
exports.userListSshKeys = {
|
|
1577
|
-
path: "/v2/
|
|
1571
|
+
path: "/v2/users/self/ssh-keys",
|
|
1578
1572
|
method: "GET",
|
|
1579
1573
|
operationId: "user-list-ssh-keys",
|
|
1580
1574
|
};
|
|
1581
|
-
/** Store a new
|
|
1575
|
+
/** Store a new ssh-key. */
|
|
1582
1576
|
exports.userCreateSshKey = {
|
|
1583
|
-
path: "/v2/
|
|
1577
|
+
path: "/v2/users/self/ssh-keys",
|
|
1584
1578
|
method: "POST",
|
|
1585
1579
|
operationId: "user-create-ssh-key",
|
|
1586
1580
|
};
|
|
1587
|
-
/** Get a specific ApiToken */
|
|
1581
|
+
/** Get a specific ApiToken. */
|
|
1588
1582
|
exports.userGetApiToken = {
|
|
1589
|
-
path: "/v2/
|
|
1583
|
+
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1590
1584
|
method: "GET",
|
|
1591
1585
|
operationId: "user-get-api-token",
|
|
1592
1586
|
};
|
|
1593
|
-
/** Update an existing `ApiToken
|
|
1587
|
+
/** Update an existing `ApiToken`. */
|
|
1594
1588
|
exports.userEditApiToken = {
|
|
1595
|
-
path: "/v2/
|
|
1589
|
+
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1596
1590
|
method: "PUT",
|
|
1597
1591
|
operationId: "user-edit-api-token",
|
|
1598
1592
|
};
|
|
1599
|
-
/** Deletes an ApiToken */
|
|
1593
|
+
/** Deletes an ApiToken. */
|
|
1600
1594
|
exports.userDeleteApiToken = {
|
|
1601
|
-
path: "/v2/
|
|
1595
|
+
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1602
1596
|
method: "DELETE",
|
|
1603
1597
|
operationId: "user-delete-api-token",
|
|
1604
1598
|
};
|
|
1605
|
-
/** Get a specific stored
|
|
1599
|
+
/** Get a specific stored ssh-key. */
|
|
1606
1600
|
exports.userGetSshKey = {
|
|
1607
|
-
path: "/v2/
|
|
1601
|
+
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1608
1602
|
method: "GET",
|
|
1609
1603
|
operationId: "user-get-ssh-key",
|
|
1610
1604
|
};
|
|
1611
|
-
/** Edit a stored
|
|
1605
|
+
/** Edit a stored ssh-key. */
|
|
1612
1606
|
exports.userEditSshKey = {
|
|
1613
|
-
path: "/v2/
|
|
1607
|
+
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1614
1608
|
method: "PUT",
|
|
1615
1609
|
operationId: "user-edit-ssh-key",
|
|
1616
1610
|
};
|
|
1617
|
-
/** Remove a
|
|
1611
|
+
/** Remove a ssh-key. */
|
|
1618
1612
|
exports.userDeleteSshKey = {
|
|
1619
|
-
path: "/v2/
|
|
1613
|
+
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1620
1614
|
method: "DELETE",
|
|
1621
1615
|
operationId: "user-delete-ssh-key",
|
|
1622
1616
|
};
|
|
1623
|
-
/**
|
|
1624
|
-
exports.
|
|
1625
|
-
path: "/v2/
|
|
1617
|
+
/** Delete your account and all your personal data. */
|
|
1618
|
+
exports.userDeleteUser = {
|
|
1619
|
+
path: "/v2/users/self",
|
|
1620
|
+
method: "DELETE",
|
|
1621
|
+
operationId: "user-delete-user",
|
|
1622
|
+
};
|
|
1623
|
+
/** Get your account information. */
|
|
1624
|
+
exports.userGetOwnAccount = {
|
|
1625
|
+
path: "/v2/users/self/personal-information",
|
|
1626
1626
|
method: "GET",
|
|
1627
|
-
operationId: "user-get-
|
|
1627
|
+
operationId: "user-get-own-account",
|
|
1628
1628
|
};
|
|
1629
|
-
/**
|
|
1630
|
-
exports.
|
|
1631
|
-
path: "/v2/
|
|
1632
|
-
method: "
|
|
1633
|
-
operationId: "user-
|
|
1629
|
+
/** Update your account information. */
|
|
1630
|
+
exports.userUpdateAccount = {
|
|
1631
|
+
path: "/v2/users/self/personal-information",
|
|
1632
|
+
method: "PUT",
|
|
1633
|
+
operationId: "user-update-account",
|
|
1634
1634
|
};
|
|
1635
|
-
/**
|
|
1636
|
-
exports.
|
|
1637
|
-
path: "/v2/
|
|
1638
|
-
method: "
|
|
1639
|
-
operationId: "user-
|
|
1635
|
+
/** The timestamp of your latest password change. */
|
|
1636
|
+
exports.userGetPasswordUpdatedAt = {
|
|
1637
|
+
path: "/v2/users/self/credentials/password-updated-at",
|
|
1638
|
+
method: "GET",
|
|
1639
|
+
operationId: "user-get-password-updated-at",
|
|
1640
1640
|
};
|
|
1641
1641
|
/** Get personalized settings. */
|
|
1642
1642
|
exports.userGetPersonalizedSettings = {
|
|
@@ -1650,15 +1650,15 @@ exports.userUpdatePersonalizedSettings = {
|
|
|
1650
1650
|
method: "PUT",
|
|
1651
1651
|
operationId: "user-update-personalized-settings",
|
|
1652
1652
|
};
|
|
1653
|
-
/** Get a specific
|
|
1653
|
+
/** Get a specific session. */
|
|
1654
1654
|
exports.userGetSession = {
|
|
1655
|
-
path: "/v2/
|
|
1655
|
+
path: "/v2/users/self/sessions/{tokenId}",
|
|
1656
1656
|
method: "GET",
|
|
1657
1657
|
operationId: "user-get-session",
|
|
1658
1658
|
};
|
|
1659
|
-
/** Terminate a specific Session */
|
|
1659
|
+
/** Terminate a specific Session. */
|
|
1660
1660
|
exports.userTerminateSession = {
|
|
1661
|
-
path: "/v2/
|
|
1661
|
+
path: "/v2/users/self/sessions/{tokenId}",
|
|
1662
1662
|
method: "DELETE",
|
|
1663
1663
|
operationId: "user-terminate-session",
|
|
1664
1664
|
};
|
|
@@ -1674,9 +1674,15 @@ exports.userUpdatePersonalInformation = {
|
|
|
1674
1674
|
method: "PUT",
|
|
1675
1675
|
operationId: "user-update-personal-information",
|
|
1676
1676
|
};
|
|
1677
|
-
/** Initialize
|
|
1677
|
+
/** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
|
|
1678
|
+
exports.userInitMfa = {
|
|
1679
|
+
path: "/v2/users/self/credentials/init-mfa",
|
|
1680
|
+
method: "POST",
|
|
1681
|
+
operationId: "user-init-mfa",
|
|
1682
|
+
};
|
|
1683
|
+
/** Initialize password reset process. */
|
|
1678
1684
|
exports.userInitPasswordReset = {
|
|
1679
|
-
path: "/v2/
|
|
1685
|
+
path: "/v2/users/self/credentials/actions/init-password-reset",
|
|
1680
1686
|
method: "POST",
|
|
1681
1687
|
operationId: "user-init-password-reset",
|
|
1682
1688
|
};
|
|
@@ -1686,27 +1692,27 @@ exports.userListFeedback = {
|
|
|
1686
1692
|
method: "GET",
|
|
1687
1693
|
operationId: "user-list-feedback",
|
|
1688
1694
|
};
|
|
1689
|
-
/** List all
|
|
1695
|
+
/** List all sessions. */
|
|
1690
1696
|
exports.userListSessions = {
|
|
1691
|
-
path: "/v2/
|
|
1697
|
+
path: "/v2/users/self/sessions",
|
|
1692
1698
|
method: "GET",
|
|
1693
1699
|
operationId: "user-list-sessions",
|
|
1694
1700
|
};
|
|
1695
|
-
/** Terminate all sessions, except the current
|
|
1701
|
+
/** Terminate all sessions, except the current session. */
|
|
1696
1702
|
exports.userTerminateAllSessions = {
|
|
1697
|
-
path: "/v2/
|
|
1703
|
+
path: "/v2/users/self/sessions",
|
|
1698
1704
|
method: "DELETE",
|
|
1699
1705
|
operationId: "user-terminate-all-sessions",
|
|
1700
1706
|
};
|
|
1701
|
-
/** Terminate session and invalidate access token */
|
|
1707
|
+
/** Terminate session and invalidate access token. */
|
|
1702
1708
|
exports.userLogout = {
|
|
1703
|
-
path: "/v2/
|
|
1709
|
+
path: "/v2/logout",
|
|
1704
1710
|
method: "PUT",
|
|
1705
1711
|
operationId: "user-logout",
|
|
1706
1712
|
};
|
|
1707
1713
|
/** Register with email and password. */
|
|
1708
1714
|
exports.userRegister = {
|
|
1709
|
-
path: "/v2/
|
|
1715
|
+
path: "/v2/register",
|
|
1710
1716
|
method: "POST",
|
|
1711
1717
|
operationId: "user-register",
|
|
1712
1718
|
};
|
|
@@ -1722,27 +1728,21 @@ exports.userRemoveAvatar = {
|
|
|
1722
1728
|
method: "DELETE",
|
|
1723
1729
|
operationId: "user-remove-avatar",
|
|
1724
1730
|
};
|
|
1725
|
-
/** Resend the Email-Address verification email */
|
|
1731
|
+
/** Resend the Email-Address verification email. */
|
|
1726
1732
|
exports.userResendVerificationEmail = {
|
|
1727
|
-
path: "/v2/
|
|
1733
|
+
path: "/v2/users/self/credentials/email/actions/resend-email",
|
|
1728
1734
|
method: "POST",
|
|
1729
1735
|
operationId: "user-resend-verification-email",
|
|
1730
1736
|
};
|
|
1731
|
-
/**
|
|
1732
|
-
exports.userResetRecoverycodes = {
|
|
1733
|
-
path: "/v2/signup/mfa/reset-recoverycodes",
|
|
1734
|
-
method: "PUT",
|
|
1735
|
-
operationId: "user-reset-recoverycodes",
|
|
1736
|
-
};
|
|
1737
|
-
/** Request a support code */
|
|
1737
|
+
/** Request a support code. */
|
|
1738
1738
|
exports.userSupportCodeRequest = {
|
|
1739
|
-
path: "/v2/
|
|
1739
|
+
path: "/v2/users/self/credentials/support-code",
|
|
1740
1740
|
method: "GET",
|
|
1741
1741
|
operationId: "user-support-code-request",
|
|
1742
1742
|
};
|
|
1743
|
-
/** Verify an added Email-Address */
|
|
1743
|
+
/** Verify an added Email-Address. */
|
|
1744
1744
|
exports.userVerifyEmail = {
|
|
1745
|
-
path: "/v2/
|
|
1745
|
+
path: "/v2/users/self/credentials/email/actions/verify-email",
|
|
1746
1746
|
method: "POST",
|
|
1747
1747
|
operationId: "user-verify-email",
|
|
1748
1748
|
};
|
|
@@ -1752,9 +1752,9 @@ exports.userVerifyPhoneNumber = {
|
|
|
1752
1752
|
method: "POST",
|
|
1753
1753
|
operationId: "user-verify-phone-number",
|
|
1754
1754
|
};
|
|
1755
|
-
/** Verify your registration */
|
|
1755
|
+
/** Verify your registration. */
|
|
1756
1756
|
exports.userVerifyRegistration = {
|
|
1757
|
-
path: "/v2/
|
|
1757
|
+
path: "/v2/verify-registration",
|
|
1758
1758
|
method: "POST",
|
|
1759
1759
|
operationId: "user-verify-registration",
|
|
1760
1760
|
};
|