@mittwald/api-client 1.0.0-alpha.13 → 1.0.0-alpha.15

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.
@@ -113,16 +113,16 @@ export const appUpdateStatus = {
113
113
  operationId: "app-update-status",
114
114
  };
115
115
  /** Get an Article. */
116
- export const articleServiceGetArticle = {
116
+ export const articleGetArticle = {
117
117
  path: "/v2/articles/{articleId}",
118
118
  method: "GET",
119
- operationId: "article-service-get-article",
119
+ operationId: "article-get-article",
120
120
  };
121
121
  /** List Articles. */
122
- export const articleServiceListArticles = {
122
+ export const articleListArticles = {
123
123
  path: "/v2/articles",
124
124
  method: "GET",
125
- operationId: "article-service-list-articles",
125
+ operationId: "article-list-articles",
126
126
  };
127
127
  /** Export a ProjectBackup for download. */
128
128
  export const backupCreateProjectBackupExport = {
@@ -772,6 +772,102 @@ export const deprecatedInvoiceUpdateInvoiceSettings = {
772
772
  method: "PUT",
773
773
  operationId: "deprecated-invoice-update-invoice-settings",
774
774
  };
775
+ /** getting the subscription status of the subscription */
776
+ export const deprecatedNewsletterGetInfo = {
777
+ path: "/v2/newsletter/subscriptions/{email}",
778
+ method: "GET",
779
+ operationId: "deprecated-newsletter-get-info",
780
+ };
781
+ /** Unsubscribe a user from the mStudio newsletter. */
782
+ export const deprecatedNewsletterUnsubscribeUser = {
783
+ path: "/v2/newsletter/subscriptions/{email}",
784
+ method: "DELETE",
785
+ operationId: "deprecated-newsletter-unsubscribe-user",
786
+ };
787
+ /** subscribe a user to the mStudio newsletter */
788
+ export const deprecatedNewsletterSubscribeUser = {
789
+ path: "/v2/newsletter/subscriptions",
790
+ method: "POST",
791
+ operationId: "deprecated-newsletter-subscribe-user",
792
+ };
793
+ /** Request a new avatar upload */
794
+ export const deprecatedUserServiceAvatarRequestUpload = {
795
+ path: "/v2/user/{userId}/avatar",
796
+ method: "POST",
797
+ operationId: "deprecated-user-service-avatar-request-upload",
798
+ };
799
+ /** Remove Avatar */
800
+ export const deprecatedUserServiceAvatarRemove = {
801
+ path: "/v2/user/{userId}/avatar",
802
+ method: "DELETE",
803
+ operationId: "deprecated-user-service-avatar-remove",
804
+ };
805
+ /** Returns your submitted feedback */
806
+ export const deprecatedUserServiceFeedbackList = {
807
+ path: "/v2/user/feedback",
808
+ method: "GET",
809
+ operationId: "deprecated-user-service-feedback-list",
810
+ };
811
+ /** Submit user feedback */
812
+ export const deprecatedUserServiceFeedbackCreate = {
813
+ path: "/v2/user/feedback",
814
+ method: "POST",
815
+ operationId: "deprecated-user-service-feedback-create",
816
+ };
817
+ /** create a new issue */
818
+ export const deprecatedUserServiceIssueNew = {
819
+ path: "/v2/user/issues",
820
+ method: "POST",
821
+ operationId: "deprecated-user-service-issue-new",
822
+ };
823
+ /** Get profile information for the specified user if the user is related to the executing user */
824
+ export const deprecatedUserServiceUserGet = {
825
+ path: "/v2/user/{userId}",
826
+ method: "GET",
827
+ operationId: "deprecated-user-service-user-get",
828
+ };
829
+ /** Change your personal information */
830
+ export const deprecatedUserServicePersonalInformationUpdate = {
831
+ path: "/v2/user/{userId}",
832
+ method: "PUT",
833
+ operationId: "deprecated-user-service-personal-information-update",
834
+ };
835
+ /** Get personalized settings for the user executing the request */
836
+ export const deprecatedUserServicePersonalizedSettingsGet = {
837
+ path: "/v2/user/settings",
838
+ method: "GET",
839
+ operationId: "deprecated-user-service-personalized-settings-get",
840
+ };
841
+ /** update personalized settings */
842
+ export const deprecatedUserServicePersonalizedSettingsUpdate = {
843
+ path: "/v2/user/settings",
844
+ method: "PUT",
845
+ operationId: "deprecated-user-service-personalized-settings-update",
846
+ };
847
+ /** Add phone number and init verification process */
848
+ export const deprecatedUserServicePhoneNumberAdd = {
849
+ path: "/v2/user/{userId}/phone",
850
+ method: "POST",
851
+ operationId: "deprecated-user-service-phone-number-add",
852
+ };
853
+ /** remove your PhoneNumber */
854
+ export const deprecatedUserServicePhoneNumberRemove = {
855
+ path: "/v2/user/{userId}/phone",
856
+ method: "DELETE",
857
+ operationId: "deprecated-user-service-phone-number-remove",
858
+ };
859
+ /** Verify phone number */
860
+ export const deprecatedUserServicePhoneNumberVerify = {
861
+ path: "/v2/user/{userId}/phone/verify",
862
+ method: "POST",
863
+ operationId: "deprecated-user-service-phone-number-verify",
864
+ };
865
+ /** Get profile information for the executing user */
866
+ export const deprecatedUserServiceUserGetOwn = {
867
+ path: "/v2/user",
868
+ method: "GET",
869
+ operationId: "deprecated-user-service-user-get-own",
870
+ };
775
871
  /** updates a-records for a specific zone */
776
872
  export const dnsRecordAsetCustom = {
777
873
  path: "/v2/dns/zones/{zoneId}/recordset/acombined/custom",
@@ -821,118 +917,118 @@ export const dnsZonesForProject = {
821
917
  operationId: "dns-zones-for-project",
822
918
  };
823
919
  /** Abort a declare process. */
824
- export const domainServiceAbortDeclareProcess = {
920
+ export const domainAbortDeclareProcess = {
825
921
  path: "/v2/domains/{domainId}/declarations",
826
922
  method: "DELETE",
827
- operationId: "domain-service-abort-declare-process",
923
+ operationId: "domain-abort-declare-process",
828
924
  };
829
925
  /** Change the ownerC of a domain. */
830
- export const domainServiceChangeOwnercOfDomain = {
926
+ export const domainChangeOwnercOfDomain = {
831
927
  path: "/v2/domains/{domainId}/handles/ownerc",
832
928
  method: "PUT",
833
- operationId: "domain-service-change-ownerc-of-domain",
929
+ operationId: "domain-change-ownerc-of-domain",
834
930
  };
835
931
  /** Change the Project relation of a Domain. */
836
- export const domainServiceChangeProjectOfDomain = {
932
+ export const domainChangeProjectOfDomain = {
837
933
  path: "/v2/domains/{domainId}/projectId",
838
934
  method: "PUT",
839
- operationId: "domain-service-change-project-of-domain",
935
+ operationId: "domain-change-project-of-domain",
840
936
  };
841
937
  /** Check if a Domain is available to register. */
842
- export const domainServiceCheckDomainAvailability = {
938
+ export const domainCheckDomainAvailability = {
843
939
  path: "/v2/domains",
844
940
  method: "POST",
845
- operationId: "domain-service-check-domain-availability",
941
+ operationId: "domain-check-domain-availability",
846
942
  };
847
943
  /** Create an AuthCode for a Domains transfer out process. */
848
- export const domainServiceCreateAuthcodeForDomain = {
944
+ export const domainCreateAuthcodeForDomain = {
849
945
  path: "/v2/domains/{domainId}/actions/create-authcode",
850
946
  method: "POST",
851
- operationId: "domain-service-create-authcode-for-domain",
947
+ operationId: "domain-create-authcode-for-domain",
852
948
  };
853
949
  /** Create an AuthCode2. */
854
- export const domainServiceCreateAuthcode2ForDomain = {
950
+ export const domainCreateAuthcode2ForDomain = {
855
951
  path: "/v2/domains/{domainId}/actions/create-authcode2",
856
952
  method: "POST",
857
- operationId: "domain-service-create-authcode2-for-domain",
953
+ operationId: "domain-create-authcode2-for-domain",
858
954
  };
859
955
  /** Change all nameservers of a Domain. */
860
- export const domainServiceDeclareNameservers = {
956
+ export const domainDeclareNameservers = {
861
957
  path: "/v2/domains/{domainId}/nameservers",
862
958
  method: "PUT",
863
- operationId: "domain-service-declare-nameservers",
959
+ operationId: "domain-declare-nameservers",
864
960
  };
865
961
  /** Update an AuthCode. */
866
- export const domainServiceDeclareProcessChangeAuthcode = {
962
+ export const domainDeclareProcessChangeAuthcode = {
867
963
  path: "/v2/domains/{domainId}/declarations/authcode",
868
964
  method: "PUT",
869
- operationId: "domain-service-declare-process-change-authcode",
965
+ operationId: "domain-declare-process-change-authcode",
870
966
  };
871
967
  /** Update a Domain's OwnerC handle. */
872
- export const domainServiceDeclareProcessChangeHandles = {
968
+ export const domainDeclareProcessChangeHandles = {
873
969
  path: "/v2/domains/{domainId}/declarations/handles",
874
970
  method: "PUT",
875
- operationId: "domain-service-declare-process-change-handles",
971
+ operationId: "domain-declare-process-change-handles",
876
972
  };
877
973
  /** Get a Domain. */
878
- export const domainServiceGetDomain = {
974
+ export const domainGetDomain = {
879
975
  path: "/v2/domains/{domainId}",
880
976
  method: "GET",
881
- operationId: "domain-service-get-domain",
977
+ operationId: "domain-get-domain",
882
978
  };
883
979
  /** Delete a Domain. */
884
- export const domainServiceDeleteDomain = {
980
+ export const domainDeleteDomain = {
885
981
  path: "/v2/domains/{domainId}",
886
982
  method: "DELETE",
887
- operationId: "domain-service-delete-domain",
983
+ operationId: "domain-delete-domain",
888
984
  };
889
985
  /** Get a HandleSchema. */
890
- export const domainServiceGetHandleFields = {
986
+ export const domainGetHandleFields = {
891
987
  path: "/v2/domains/handle-schema/{domainName}",
892
988
  method: "GET",
893
- operationId: "domain-service-get-handle-fields",
989
+ operationId: "domain-get-handle-fields",
894
990
  };
895
991
  /** Get a domain ownership. */
896
- export const domainServiceGetSpecificDomainOwnership = {
992
+ export const domainGetSpecificDomainOwnership = {
897
993
  path: "/v2/domain-ownerships/{domainOwnershipId}",
898
994
  method: "GET",
899
- operationId: "domain-service-get-specific-domain-ownership",
995
+ operationId: "domain-get-specific-domain-ownership",
900
996
  };
901
997
  /** Verify a domain ownership. */
902
- export const domainServiceVerifyDomainOwnership = {
998
+ export const domainVerifyDomainOwnership = {
903
999
  path: "/v2/domain-ownerships/{domainOwnershipId}",
904
1000
  method: "POST",
905
- operationId: "domain-service-verify-domain-ownership",
1001
+ operationId: "domain-verify-domain-ownership",
906
1002
  };
907
1003
  /** Get a toplevel domain. */
908
- export const domainServiceGetToplevelDomain = {
1004
+ export const domainGetToplevelDomain = {
909
1005
  path: "/v2/toplevel-domains/{tld}",
910
1006
  method: "GET",
911
- operationId: "domain-service-get-toplevel-domain",
1007
+ operationId: "domain-get-toplevel-domain",
912
1008
  };
913
1009
  /** List all domain ownerships of a project. */
914
- export const domainServiceListDomainOwnerships = {
1010
+ export const domainListDomainOwnerships = {
915
1011
  path: "/v2/projects/{projectId}/domain-ownerships",
916
1012
  method: "GET",
917
- operationId: "domain-service-list-domain-ownerships",
1013
+ operationId: "domain-list-domain-ownerships",
918
1014
  };
919
1015
  /** List Domains belonging to a Project. */
920
- export const domainServiceListDomains = {
1016
+ export const domainListDomains = {
921
1017
  path: "/v2/projects/{projectId}/domains",
922
1018
  method: "GET",
923
- operationId: "domain-service-list-domains",
1019
+ operationId: "domain-list-domains",
924
1020
  };
925
1021
  /** List all supported toplevel domains. */
926
- export const domainServiceListToplevelDomains = {
1022
+ export const domainListToplevelDomains = {
927
1023
  path: "/v2/toplevel-domains",
928
1024
  method: "GET",
929
- operationId: "domain-service-list-toplevel-domains",
1025
+ operationId: "domain-list-toplevel-domains",
930
1026
  };
931
1027
  /** Resend a domain email. */
932
- export const domainServiceResendDomainEmail = {
1028
+ export const domainResendDomainEmail = {
933
1029
  path: "/v2/domains/{domainId}/actions/resend-email",
934
1030
  method: "POST",
935
- operationId: "domain-service-resend-domain-email",
1031
+ operationId: "domain-resend-domain-email",
936
1032
  };
937
1033
  /** Create a File. */
938
1034
  export const fileCreateFile = {
@@ -965,46 +1061,46 @@ export const fileGetFile = {
965
1061
  operationId: "file-get-file",
966
1062
  };
967
1063
  /** Create an Ingress. */
968
- export const ingressServiceCreate = {
1064
+ export const ingressCreate = {
969
1065
  path: "/v2/ingresses/",
970
1066
  method: "POST",
971
- operationId: "ingress-service-create",
1067
+ operationId: "ingress-create",
972
1068
  };
973
1069
  /** Get an Ingress. */
974
- export const ingressServiceGetSpecific = {
1070
+ export const ingressGetSpecific = {
975
1071
  path: "/v2/ingresses/{ingressId}",
976
1072
  method: "GET",
977
- operationId: "ingress-service-get-specific",
1073
+ operationId: "ingress-get-specific",
978
1074
  };
979
1075
  /** Delete an Ingress. */
980
- export const ingressServiceDelete = {
1076
+ export const ingressDelete = {
981
1077
  path: "/v2/ingresses/{ingressId}",
982
1078
  method: "DELETE",
983
- operationId: "ingress-service-delete",
1079
+ operationId: "ingress-delete",
984
1080
  };
985
1081
  /** List Ingresses the user has access to. */
986
- export const ingressServiceListAccessible = {
1082
+ export const ingressListAccessible = {
987
1083
  path: "/v2/ingresses",
988
1084
  method: "GET",
989
- operationId: "ingress-service-list-accessible",
1085
+ operationId: "ingress-list-accessible",
990
1086
  };
991
1087
  /** List Ingresses belonging to a project. */
992
- export const ingressServiceListForProject = {
1088
+ export const ingressListForProject = {
993
1089
  path: "/v2/projects/{projectId}/ingresses",
994
1090
  method: "GET",
995
- operationId: "ingress-service-list-for-project",
1091
+ operationId: "ingress-list-for-project",
996
1092
  };
997
1093
  /** Update an Ingresses paths. */
998
- export const ingressServicePaths = {
1094
+ export const ingressPaths = {
999
1095
  path: "/v2/ingresses/{ingressId}/paths",
1000
1096
  method: "PUT",
1001
- operationId: "ingress-service-paths",
1097
+ operationId: "ingress-paths",
1002
1098
  };
1003
1099
  /** Update an Ingresses tls settings. */
1004
- export const ingressServiceTls = {
1100
+ export const ingressTls = {
1005
1101
  path: "/v2/ingresses/{ingressId}/tls",
1006
1102
  method: "PUT",
1007
- operationId: "ingress-service-tls",
1103
+ operationId: "ingress-tls",
1008
1104
  };
1009
1105
  /** Get details of an Invoice. */
1010
1106
  export const invoiceDetailOfInvoice = {
@@ -1150,21 +1246,21 @@ export const mailServiceProjectsettingUpdateWhitelist = {
1150
1246
  method: "PUT",
1151
1247
  operationId: "mail-service-projectsetting-update-whitelist",
1152
1248
  };
1153
- /** getting the subscription status of the subscription */
1249
+ /** Getting the subscription status of the subscription. */
1154
1250
  export const newsletterGetInfo = {
1155
- path: "/v2/newsletter/subscriptions/{email}",
1251
+ path: "/v2/newsletter-subscriptions/self",
1156
1252
  method: "GET",
1157
1253
  operationId: "newsletter-get-info",
1158
1254
  };
1159
- /** unsubscribe a user from the mStudio newsletter */
1255
+ /** Unsubscribe a user from the mStudio newsletter. */
1160
1256
  export const newsletterUnsubscribeUser = {
1161
- path: "/v2/newsletter/subscriptions/{email}",
1257
+ path: "/v2/newsletter-subscriptions/self",
1162
1258
  method: "DELETE",
1163
1259
  operationId: "newsletter-unsubscribe-user",
1164
1260
  };
1165
- /** subscribe a user to the mStudio newsletter */
1261
+ /** Subscribe a user to the mStudio newsletter. */
1166
1262
  export const newsletterSubscribeUser = {
1167
- path: "/v2/newsletter/subscriptions",
1263
+ path: "/v2/newsletter-subscriptions",
1168
1264
  method: "POST",
1169
1265
  operationId: "newsletter-subscribe-user",
1170
1266
  };
@@ -1474,388 +1570,327 @@ export const sftpUserListSftpUsers = {
1474
1570
  method: "GET",
1475
1571
  operationId: "sftp-user-list-sftp-users",
1476
1572
  };
1477
- /** List all ApiTokens of the user */
1478
- export const signupApiApiTokenList = {
1479
- path: "/v2/signup/token/api",
1573
+ /** Get all SSHUsers for a Project. */
1574
+ export const sshUserListSshUsers = {
1575
+ path: "/v2/projects/{projectId}/ssh-users",
1480
1576
  method: "GET",
1481
- operationId: "signup-api-api-token-list",
1577
+ operationId: "ssh-user-list-ssh-users",
1482
1578
  };
1483
- /** Store a new ApiToken */
1484
- export const signupApiApiTokenCreate = {
1485
- path: "/v2/signup/token/api",
1579
+ /** Create an SSHUser for a Project. */
1580
+ export const sshUserCreateSshUser = {
1581
+ path: "/v2/projects/{projectId}/ssh-users",
1486
1582
  method: "POST",
1487
- operationId: "signup-api-api-token-create",
1583
+ operationId: "ssh-user-create-ssh-user",
1488
1584
  };
1489
- /** Get a specific ApiToken */
1490
- export const signupApiApiTokenGet = {
1491
- path: "/v2/signup/token/api/{apiTokenId}",
1585
+ /** Get an SSHUser. */
1586
+ export const sshUserGetSshUser = {
1587
+ path: "/v2/ssh-users/{sshUserId}",
1492
1588
  method: "GET",
1493
- operationId: "signup-api-api-token-get",
1589
+ operationId: "ssh-user-get-ssh-user",
1494
1590
  };
1495
- /** Update an existing `ApiToken` */
1496
- export const signupApiApiTokenEdit = {
1497
- path: "/v2/signup/token/api/{apiTokenId}",
1498
- method: "PUT",
1499
- operationId: "signup-api-api-token-edit",
1591
+ /** Delete an SSHUser. */
1592
+ export const sshUserDeleteSshUser = {
1593
+ path: "/v2/ssh-users/{sshUserId}",
1594
+ method: "DELETE",
1595
+ operationId: "ssh-user-delete-ssh-user",
1500
1596
  };
1501
- /** Deletes an ApiToken */
1502
- export const signupApiApiTokenDelete = {
1503
- path: "/v2/signup/token/api/{apiTokenId}",
1597
+ /** Update an SSHUser. */
1598
+ export const sshUserUpdateSshUser = {
1599
+ path: "/v2/sshusers/{sshUserId}",
1600
+ method: "PATCH",
1601
+ operationId: "ssh-user-update-ssh-user",
1602
+ };
1603
+ /** Add phone number and start verification process. */
1604
+ export const userAddPhoneNumber = {
1605
+ path: "/v2/users/{userId}/phone",
1606
+ method: "POST",
1607
+ operationId: "user-add-phone-number",
1608
+ };
1609
+ /** Remove phone number. */
1610
+ export const userRemovePhoneNumber = {
1611
+ path: "/v2/users/{userId}/phone",
1504
1612
  method: "DELETE",
1505
- operationId: "signup-api-api-token-delete",
1613
+ operationId: "user-remove-phone-number",
1506
1614
  };
1507
1615
  /** Authenticate yourself to get an access token. */
1508
- export const signupApiAuthenticate = {
1616
+ export const userAuthenticate = {
1509
1617
  path: "/v2/signup/authentication",
1510
1618
  method: "POST",
1511
- operationId: "signup-api-authenticate",
1512
- };
1513
- /** Authenticate yourself against your legacy account to migrate it with the '/registration'-Route */
1514
- export const signupApiAuthenticateLegacy = {
1515
- path: "/v2/signup/authentication/legacy",
1516
- method: "POST",
1517
- operationId: "signup-api-authenticate-legacy",
1619
+ operationId: "user-authenticate",
1518
1620
  };
1519
1621
  /** Validate your second factor. */
1520
- export const signupApiAuthenticateMfa = {
1622
+ export const userAuthenticateMfa = {
1521
1623
  path: "/v2/signup/authentication/mfa",
1522
1624
  method: "POST",
1523
- operationId: "signup-api-authenticate-mfa",
1524
- };
1525
- /** Request a new avatar upload */
1526
- export const signupApiAvatarRequestUpload = {
1527
- path: "/v2/signup/avatar",
1528
- method: "POST",
1529
- operationId: "signup-api-avatar-request-upload",
1625
+ operationId: "user-authenticate-mfa",
1530
1626
  };
1531
- /** Remove avatar */
1532
- export const signupApiAvatarRemove = {
1533
- path: "/v2/signup/avatar",
1534
- method: "DELETE",
1535
- operationId: "signup-api-avatar-remove",
1536
- };
1537
- /** Get your primary verified email address */
1538
- export const signupApiEmailGet = {
1627
+ /** Get your primary verified Email-Address */
1628
+ export const userGetEmail = {
1539
1629
  path: "/v2/signup/email",
1540
1630
  method: "GET",
1541
- operationId: "signup-api-email-get",
1631
+ operationId: "user-get-email",
1542
1632
  };
1543
- /** Change your email */
1544
- export const signupApiEmailChange = {
1633
+ /** Change your Email-Address */
1634
+ export const userChangeEmail = {
1545
1635
  path: "/v2/signup/email",
1546
1636
  method: "PUT",
1547
- operationId: "signup-api-email-change",
1548
- };
1549
- /** Resend the email address verification email */
1550
- export const signupApiEmailResend = {
1551
- path: "/v2/signup/email/resend",
1552
- method: "POST",
1553
- operationId: "signup-api-email-resend",
1637
+ operationId: "user-change-email",
1554
1638
  };
1555
- /** Verify an added email address */
1556
- export const signupApiEmailVerify = {
1557
- path: "/v2/signup/email/verify",
1558
- method: "POST",
1559
- operationId: "signup-api-email-verify",
1560
- };
1561
- /** Terminate session and invalidate access token */
1562
- export const signupApiLogout = {
1563
- path: "/v2/signup/logout",
1564
- method: "PUT",
1565
- operationId: "signup-api-logout",
1566
- };
1567
- /** Confirm Multi Factor Authentication */
1568
- export const signupApiMfaConfirm = {
1569
- path: "/v2/signup/mfa/confirm",
1570
- method: "POST",
1571
- operationId: "signup-api-mfa-confirm",
1572
- };
1573
- /** Get your current multi factor auth status */
1574
- export const signupApiMfaGetStatus = {
1575
- path: "/v2/signup/mfa",
1576
- method: "GET",
1577
- operationId: "signup-api-mfa-get-status",
1578
- };
1579
- /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
1580
- export const signupApiMfaInit = {
1581
- path: "/v2/signup/mfa",
1582
- method: "POST",
1583
- operationId: "signup-api-mfa-init",
1584
- };
1585
- /** Disable Multi Factor Authentication. */
1586
- export const signupApiMfaDisable = {
1587
- path: "/v2/signup/mfa",
1588
- method: "DELETE",
1589
- operationId: "signup-api-mfa-disable",
1590
- };
1591
- /** Get timestamp of your latest password change */
1592
- export const signupApiPasswordGetUpdatedAt = {
1639
+ /** The timestamp of your latest password change */
1640
+ export const userGetPasswordUpdatedAt = {
1593
1641
  path: "/v2/signup/password",
1594
1642
  method: "GET",
1595
- operationId: "signup-api-password-get-updated-at",
1643
+ operationId: "user-get-password-updated-at",
1596
1644
  };
1597
1645
  /** Change your password */
1598
- export const signupApiPasswordChange = {
1646
+ export const userChangePassword = {
1599
1647
  path: "/v2/signup/password",
1600
1648
  method: "PUT",
1601
- operationId: "signup-api-password-change",
1602
- };
1603
- /** Confirm password reset */
1604
- export const signupApiPasswordResetConfirm = {
1605
- path: "/v2/signup/password/reset/confirm",
1606
- method: "POST",
1607
- operationId: "signup-api-password-reset-confirm",
1608
- };
1609
- /** Initialize password reset process */
1610
- export const signupApiPasswordResetInit = {
1611
- path: "/v2/signup/password/reset",
1612
- method: "POST",
1613
- operationId: "signup-api-password-reset-init",
1614
- };
1615
- /** Get current phone number */
1616
- export const signupApiPhoneNumberGet = {
1617
- path: "/v2/signup/phone",
1618
- method: "GET",
1619
- operationId: "signup-api-phone-number-get",
1620
- };
1621
- /** Initialize phone number process */
1622
- export const signupApiPhoneNumberInitProcess = {
1623
- path: "/v2/signup/phone",
1624
- method: "POST",
1625
- operationId: "signup-api-phone-number-init-process",
1626
- };
1627
- /** Deletes phone number */
1628
- export const signupApiPhoneNumberDelete = {
1629
- path: "/v2/signup/phone",
1630
- method: "DELETE",
1631
- operationId: "signup-api-phone-number-delete",
1632
- };
1633
- /** Initialize phone number process */
1634
- export const signupApiPhoneNumberVerify = {
1635
- path: "/v2/signup/phone/verify",
1636
- method: "POST",
1637
- operationId: "signup-api-phone-number-verify",
1649
+ operationId: "user-change-password",
1638
1650
  };
1639
1651
  /** Get your profile information */
1640
- export const signupApiProfileGet = {
1652
+ export const userGetOwnProfile = {
1641
1653
  path: "/v2/signup/profile",
1642
1654
  method: "GET",
1643
- operationId: "signup-api-profile-get",
1655
+ operationId: "user-get-own-profile",
1644
1656
  };
1645
1657
  /** Change your profile information */
1646
- export const signupApiProfileChange = {
1658
+ export const userChangeProfile = {
1647
1659
  path: "/v2/signup/profile",
1648
1660
  method: "PUT",
1649
- operationId: "signup-api-profile-change",
1661
+ operationId: "user-change-profile",
1650
1662
  };
1651
1663
  /** Delete your profile and all your personal data */
1652
- export const signupApiProfileDelete = {
1664
+ export const userDeleteProfile = {
1653
1665
  path: "/v2/signup/profile",
1654
1666
  method: "DELETE",
1655
- operationId: "signup-api-profile-delete",
1667
+ operationId: "user-delete-profile",
1656
1668
  };
1657
- /** Reset Recovery-Codes for MFA */
1658
- export const signupApiRecoverycodesReset = {
1659
- path: "/v2/signup/mfa/reset-recoverycodes",
1660
- method: "PUT",
1661
- operationId: "signup-api-recoverycodes-reset",
1669
+ /** Check a token for validity */
1670
+ export const userCheckToken = {
1671
+ path: "/v2/signup/token/check",
1672
+ method: "POST",
1673
+ operationId: "user-check-token",
1662
1674
  };
1663
- /** Register with email and password.
1664
- */
1665
- export const signupApiRegister = {
1666
- path: "/v2/signup/registration",
1675
+ /** Confirm Multi Factor Authentication */
1676
+ export const userConfirmMfa = {
1677
+ path: "/v2/signup/mfa/confirm",
1667
1678
  method: "POST",
1668
- operationId: "signup-api-register",
1679
+ operationId: "user-confirm-mfa",
1669
1680
  };
1670
- /** Verify your registration */
1671
- export const signupApiRegistrationVerify = {
1672
- path: "/v2/signup/registration/verification",
1681
+ /** Confirm password reset */
1682
+ export const userConfirmPasswordReset = {
1683
+ path: "/v2/signup/password/reset/confirm",
1673
1684
  method: "POST",
1674
- operationId: "signup-api-registration-verify",
1685
+ operationId: "user-confirm-password-reset",
1675
1686
  };
1676
- /** Get a specific session of an authorized user */
1677
- export const signupApiSessionGet = {
1678
- path: "/v2/signup/sessions/{tokenId}",
1687
+ /** List all ApiTokens of the user */
1688
+ export const userListApiTokens = {
1689
+ path: "/v2/signup/token/api",
1679
1690
  method: "GET",
1680
- operationId: "signup-api-session-get",
1691
+ operationId: "user-list-api-tokens",
1681
1692
  };
1682
- /** Terminate a specific session of an authorized user */
1683
- export const signupApiSessionTerminate = {
1684
- path: "/v2/signup/sessions/{tokenId}",
1685
- method: "DELETE",
1686
- operationId: "signup-api-session-terminate",
1693
+ /** Store a new ApiToken */
1694
+ export const userCreateApiToken = {
1695
+ path: "/v2/signup/token/api",
1696
+ method: "POST",
1697
+ operationId: "user-create-api-token",
1687
1698
  };
1688
- /** List all active sessions of authorized user */
1689
- export const signupApiSessionsList = {
1690
- path: "/v2/signup/sessions",
1691
- method: "GET",
1692
- operationId: "signup-api-sessions-list",
1699
+ /** Submit your user feedback. */
1700
+ export const userCreateFeedback = {
1701
+ path: "/v2/users/self/feedback",
1702
+ method: "POST",
1703
+ operationId: "user-create-feedback",
1693
1704
  };
1694
- /** Terminate all session of an authorized user, except his current session */
1695
- export const signupApiSessionsTerminateAll = {
1696
- path: "/v2/signup/sessions",
1697
- method: "DELETE",
1698
- operationId: "signup-api-sessions-terminate-all",
1705
+ /** Create a new issue. */
1706
+ export const userCreateIssue = {
1707
+ path: "/v2/users/self/issues",
1708
+ method: "POST",
1709
+ operationId: "user-create-issue",
1699
1710
  };
1700
1711
  /** Get your stored ssh keys */
1701
- export const signupApiSshList = {
1712
+ export const userListSshKeys = {
1702
1713
  path: "/v2/signup/ssh",
1703
1714
  method: "GET",
1704
- operationId: "signup-api-ssh-list",
1715
+ operationId: "user-list-ssh-keys",
1705
1716
  };
1706
1717
  /** Store a new SSH key */
1707
- export const signupApiSshCreate = {
1718
+ export const userCreateSshKey = {
1708
1719
  path: "/v2/signup/ssh",
1709
1720
  method: "POST",
1710
- operationId: "signup-api-ssh-create",
1721
+ operationId: "user-create-ssh-key",
1711
1722
  };
1712
- /** Get your stored ssh keys */
1713
- export const signupApiSshGet = {
1723
+ /** Get a specific ApiToken */
1724
+ export const userGetApiToken = {
1725
+ path: "/v2/signup/token/api/{apiTokenId}",
1726
+ method: "GET",
1727
+ operationId: "user-get-api-token",
1728
+ };
1729
+ /** Update an existing `ApiToken` */
1730
+ export const userEditApiToken = {
1731
+ path: "/v2/signup/token/api/{apiTokenId}",
1732
+ method: "PUT",
1733
+ operationId: "user-edit-api-token",
1734
+ };
1735
+ /** Deletes an ApiToken */
1736
+ export const userDeleteApiToken = {
1737
+ path: "/v2/signup/token/api/{apiTokenId}",
1738
+ method: "DELETE",
1739
+ operationId: "user-delete-api-token",
1740
+ };
1741
+ /** Get a specific stored SshKey */
1742
+ export const userGetSshKey = {
1714
1743
  path: "/v2/signup/ssh/{sshKeyId}",
1715
1744
  method: "GET",
1716
- operationId: "signup-api-ssh-get",
1745
+ operationId: "user-get-ssh-key",
1717
1746
  };
1718
- /** Edit an existing SSH key */
1719
- export const signupApiSshEdit = {
1747
+ /** Edit a stored SshKey */
1748
+ export const userEditSshKey = {
1720
1749
  path: "/v2/signup/ssh/{sshKeyId}",
1721
1750
  method: "PUT",
1722
- operationId: "signup-api-ssh-edit",
1751
+ operationId: "user-edit-ssh-key",
1723
1752
  };
1724
- /** Remove an existing SSH Key */
1725
- export const signupApiSshDelete = {
1753
+ /** Remove a SSH-key */
1754
+ export const userDeleteSshKey = {
1726
1755
  path: "/v2/signup/ssh/{sshKeyId}",
1727
1756
  method: "DELETE",
1728
- operationId: "signup-api-ssh-delete",
1757
+ operationId: "user-delete-ssh-key",
1729
1758
  };
1730
- /** request a support code */
1731
- export const signupApiSupportCodeRequest = {
1732
- path: "/v2/signup/supportcode",
1759
+ /** Get your current multi factor auth status */
1760
+ export const userGetMfaStatus = {
1761
+ path: "/v2/signup/mfa",
1733
1762
  method: "GET",
1734
- operationId: "signup-api-support-code-request",
1763
+ operationId: "user-get-mfa-status",
1735
1764
  };
1736
- /** Check, if the current access token is valid */
1737
- export const signupApiTokenCheck = {
1738
- path: "/v2/signup/token/check",
1765
+ /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
1766
+ export const userInitMfa = {
1767
+ path: "/v2/signup/mfa",
1739
1768
  method: "POST",
1740
- operationId: "signup-api-token-check",
1769
+ operationId: "user-init-mfa",
1741
1770
  };
1742
- /** Get all SSHUsers for a Project. */
1743
- export const sshUserListSshUsers = {
1744
- path: "/v2/projects/{projectId}/ssh-users",
1745
- method: "GET",
1746
- operationId: "ssh-user-list-ssh-users",
1747
- };
1748
- /** Create an SSHUser for a Project. */
1749
- export const sshUserCreateSshUser = {
1750
- path: "/v2/projects/{projectId}/ssh-users",
1751
- method: "POST",
1752
- operationId: "ssh-user-create-ssh-user",
1771
+ /** Disable Multi Factor Authentication. */
1772
+ export const userDisableMfa = {
1773
+ path: "/v2/signup/mfa",
1774
+ method: "DELETE",
1775
+ operationId: "user-disable-mfa",
1753
1776
  };
1754
- /** Get an SSHUser. */
1755
- export const sshUserGetSshUser = {
1756
- path: "/v2/ssh-users/{sshUserId}",
1777
+ /** Get personalized settings. */
1778
+ export const userGetPersonalizedSettings = {
1779
+ path: "/v2/users/{userId}/settings",
1757
1780
  method: "GET",
1758
- operationId: "ssh-user-get-ssh-user",
1781
+ operationId: "user-get-personalized-settings",
1759
1782
  };
1760
- /** Delete an SSHUser. */
1761
- export const sshUserDeleteSshUser = {
1762
- path: "/v2/ssh-users/{sshUserId}",
1763
- method: "DELETE",
1764
- operationId: "ssh-user-delete-ssh-user",
1765
- };
1766
- /** Update an SSHUser. */
1767
- export const sshUserUpdateSshUser = {
1768
- path: "/v2/sshusers/{sshUserId}",
1769
- method: "PATCH",
1770
- operationId: "ssh-user-update-ssh-user",
1783
+ /** Update personalized GUI settings. */
1784
+ export const userUpdatePersonalizedSettings = {
1785
+ path: "/v2/users/{userId}/settings",
1786
+ method: "PUT",
1787
+ operationId: "user-update-personalized-settings",
1771
1788
  };
1772
- /** Request a new avatar upload */
1773
- export const userServiceAvatarRequestUpload = {
1774
- path: "/v2/user/{userId}/avatar",
1775
- method: "POST",
1776
- operationId: "user-service-avatar-request-upload",
1789
+ /** Get a specific Session */
1790
+ export const userGetSession = {
1791
+ path: "/v2/signup/sessions/{tokenId}",
1792
+ method: "GET",
1793
+ operationId: "user-get-session",
1777
1794
  };
1778
- /** Remove avatar */
1779
- export const userServiceAvatarRemove = {
1780
- path: "/v2/user/{userId}/avatar",
1795
+ /** Terminate a specific Session */
1796
+ export const userTerminateSession = {
1797
+ path: "/v2/signup/sessions/{tokenId}",
1781
1798
  method: "DELETE",
1782
- operationId: "user-service-avatar-remove",
1799
+ operationId: "user-terminate-session",
1783
1800
  };
1784
- /** Returns your given feedback. */
1785
- export const userServiceFeedbackList = {
1786
- path: "/v2/user/feedback",
1801
+ /** Get profile information for a user. */
1802
+ export const userGetUser = {
1803
+ path: "/v2/users/{userId}",
1787
1804
  method: "GET",
1788
- operationId: "user-service-feedback-list",
1805
+ operationId: "user-get-user",
1789
1806
  };
1790
- /** */
1791
- export const userServiceFeedbackCreate = {
1792
- path: "/v2/user/feedback",
1793
- method: "POST",
1794
- operationId: "user-service-feedback-create",
1807
+ /** Change personal information. */
1808
+ export const userUpdatePersonalInformation = {
1809
+ path: "/v2/users/{userId}",
1810
+ method: "PUT",
1811
+ operationId: "user-update-personal-information",
1795
1812
  };
1796
- /** create a new issue */
1797
- export const userServiceIssueNew = {
1798
- path: "/v2/user/issues",
1813
+ /** Initialize password reset process */
1814
+ export const userInitPasswordReset = {
1815
+ path: "/v2/signup/password/reset",
1799
1816
  method: "POST",
1800
- operationId: "user-service-issue-new",
1817
+ operationId: "user-init-password-reset",
1801
1818
  };
1802
- /** Get profile information for the specified user */
1803
- export const userServiceUserGet = {
1804
- path: "/v2/user/{userId}",
1819
+ /** Submitted feedback of the given user. */
1820
+ export const userListFeedback = {
1821
+ path: "/v2/users/{userId}/feedback",
1805
1822
  method: "GET",
1806
- operationId: "user-service-user-get",
1823
+ operationId: "user-list-feedback",
1807
1824
  };
1808
- /** Change your personal information */
1809
- export const userServicePersonalInformationUpdate = {
1810
- path: "/v2/user/{userId}",
1811
- method: "PUT",
1812
- operationId: "user-service-personal-information-update",
1813
- };
1814
- /** Get personalized settings for the specified user */
1815
- export const userServicePersonalizedSettingsGet = {
1816
- path: "/v2/user/settings",
1825
+ /** List all active sessions */
1826
+ export const userListSessions = {
1827
+ path: "/v2/signup/sessions",
1817
1828
  method: "GET",
1818
- operationId: "user-service-personalized-settings-get",
1829
+ operationId: "user-list-sessions",
1819
1830
  };
1820
- /** update personalized settings */
1821
- export const userServicePersonalizedSettingsUpdate = {
1822
- path: "/v2/user/settings",
1831
+ /** Terminate all sessions, except the current Session */
1832
+ export const userTerminateAllSessions = {
1833
+ path: "/v2/signup/sessions",
1834
+ method: "DELETE",
1835
+ operationId: "user-terminate-all-sessions",
1836
+ };
1837
+ /** Terminate session and invalidate access token */
1838
+ export const userLogout = {
1839
+ path: "/v2/signup/logout",
1823
1840
  method: "PUT",
1824
- operationId: "user-service-personalized-settings-update",
1841
+ operationId: "user-logout",
1825
1842
  };
1826
- /** Add phone number and init verification process */
1827
- export const userServicePhoneNumberAdd = {
1828
- path: "/v2/user/{userId}/phone",
1843
+ /** Register with email and password. */
1844
+ export const userRegister = {
1845
+ path: "/v2/signup/registration",
1829
1846
  method: "POST",
1830
- operationId: "user-service-phone-number-add",
1847
+ operationId: "user-register",
1831
1848
  };
1832
- /** Deletes phone number */
1833
- export const userServicePhoneNumberRemove = {
1834
- path: "/v2/user/{userId}/phone",
1849
+ /** Request a new avatar image upload. */
1850
+ export const userRequestAvatarUpload = {
1851
+ path: "/v2/users/{userId}/avatar",
1852
+ method: "POST",
1853
+ operationId: "user-request-avatar-upload",
1854
+ };
1855
+ /** Remove Avatar. */
1856
+ export const userRemoveAvatar = {
1857
+ path: "/v2/users/{userId}/avatar",
1835
1858
  method: "DELETE",
1836
- operationId: "user-service-phone-number-remove",
1859
+ operationId: "user-remove-avatar",
1837
1860
  };
1838
- /** Verify phone number */
1839
- export const userServicePhoneNumberVerify = {
1840
- path: "/v2/user/{userId}/phone/verify",
1861
+ /** Resend the Email-Address verification email */
1862
+ export const userResendVerificationEmail = {
1863
+ path: "/v2/signup/email/resend",
1841
1864
  method: "POST",
1842
- operationId: "user-service-phone-number-verify",
1865
+ operationId: "user-resend-verification-email",
1843
1866
  };
1844
- /** Get profile information for the specified user */
1845
- export const userServiceUserGetOwn = {
1846
- path: "/v2/user",
1847
- method: "GET",
1848
- operationId: "user-service-user-get-own",
1867
+ /** Reset RecoveryCodes for MFA */
1868
+ export const userResetRecoverycodes = {
1869
+ path: "/v2/signup/mfa/reset-recoverycodes",
1870
+ method: "PUT",
1871
+ operationId: "user-reset-recoverycodes",
1849
1872
  };
1850
- /** List all available validators. */
1851
- export const varnishServiceListValidators = {
1852
- path: "/v2/varnish/config/validate",
1873
+ /** Request a support code */
1874
+ export const userSupportCodeRequest = {
1875
+ path: "/v2/signup/supportcode",
1853
1876
  method: "GET",
1854
- operationId: "varnish-service-list-validators",
1877
+ operationId: "user-support-code-request",
1878
+ };
1879
+ /** Verify an added Email-Address */
1880
+ export const userVerifyEmail = {
1881
+ path: "/v2/signup/email/verify",
1882
+ method: "POST",
1883
+ operationId: "user-verify-email",
1855
1884
  };
1856
- /** validate a set of config files with a named validator against a specific version */
1857
- export const varnishServiceValidate = {
1858
- path: "/v2/varnish/config/validate",
1885
+ /** Verify phone number. */
1886
+ export const userVerifyPhoneNumber = {
1887
+ path: "/v2/users/{userId}/phone/verify",
1888
+ method: "POST",
1889
+ operationId: "user-verify-phone-number",
1890
+ };
1891
+ /** Verify your registration */
1892
+ export const userVerifyRegistration = {
1893
+ path: "/v2/signup/registration/verification",
1859
1894
  method: "POST",
1860
- operationId: "varnish-service-validate",
1895
+ operationId: "user-verify-registration",
1861
1896
  };