@mittwald/api-client 1.0.3 → 1.0.4

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.
@@ -1,33 +1,10 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.MittwaldAPIV2Client = void 0;
27
4
  /* eslint-disable */
28
5
  /* prettier-ignore */
29
6
  /* This file is auto-generated with acg (@mittwald/api-code-generator) */
30
- const descriptors = __importStar(require("./descriptors.js"));
7
+ const descriptors = require("./descriptors.js");
31
8
  const api_client_commons_1 = require("@mittwald/api-client-commons");
32
9
  class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
33
10
  constructor() {
@@ -135,12 +112,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
135
112
  getNextTerminationDateForItem: this.requestFunctionFactory(descriptors.contractGetNextTerminationDateForItem),
136
113
  /** Return a list of Contracts for the given Customer. */
137
114
  listContracts: this.requestFunctionFactory(descriptors.contractListContracts),
138
- /** Return the Contract for the given Domain. */
139
- deprecatedContractGetDetailOfContractByDomain: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByDomain),
140
- /** Return the Contract for the given Project. */
141
- deprecatedContractGetDetailOfContractByProject: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByProject),
142
- /** Return the Contract for the given Server. */
143
- deprecatedContractGetDetailOfContractByServer: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByServer),
144
115
  /** Get details of an Invoice. */
145
116
  invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice),
146
117
  /** Get InvoiceSettings of a Customer. */
@@ -217,10 +188,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
217
188
  /** Accept a CustomerInvite. */
218
189
  acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
219
190
  /** Get all customer categories. */
220
- listOfCustomerCategoriesDeprecated: this.requestFunctionFactory(descriptors.customerListOfCustomerCategoriesDeprecated),
221
- /** Create a new customer category. */
222
- createCategoryDeprecated: this.requestFunctionFactory(descriptors.customerCreateCategoryDeprecated),
223
- /** Get all customer categories. */
224
191
  listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories),
225
192
  /** Create a new customer category. */
226
193
  createCategory: this.requestFunctionFactory(descriptors.customerCreateCategory),
@@ -233,12 +200,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
233
200
  /** Decline a CustomerInvite. */
234
201
  declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
235
202
  /** Get a customer category. */
236
- detailOfCustomerCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDetailOfCustomerCategoryDeprecated),
237
- /** Update a customer category. */
238
- updateCategoryDeprecated: this.requestFunctionFactory(descriptors.customerUpdateCategoryDeprecated),
239
- /** Delete a customer category. */
240
- deleteCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDeleteCategoryDeprecated),
241
- /** Get a customer category. */
242
203
  getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory),
243
204
  /** Update a customer category. */
244
205
  updateCategory: this.requestFunctionFactory(descriptors.customerUpdateCategory),
@@ -330,156 +291,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
330
291
  /** Update a RedisDatabase's description. */
331
292
  updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
332
293
  };
333
- /** The notification API allows you to manage your notifications. */
334
- this.notification = {
335
- /** getting the subscription status of the subscription */
336
- deprecatedNewsletterGetInfo: this.requestFunctionFactory(descriptors.deprecatedNewsletterGetInfo),
337
- /** Unsubscribe a user from the mStudio newsletter. */
338
- deprecatedNewsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterUnsubscribeUser),
339
- /** subscribe a user to the mStudio newsletter */
340
- deprecatedNewsletterSubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterSubscribeUser),
341
- /** Getting the subscription status of the subscription. */
342
- newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
343
- /** Unsubscribe a user from the mStudio newsletter. */
344
- newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
345
- /** Subscribe a user to the mStudio newsletter. */
346
- newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
347
- /** Get the counts for unread notifications of the user. */
348
- scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
349
- /** List all unread notifications */
350
- slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
351
- /** Mark all notifications as read. */
352
- sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
353
- /** Mark notification as read. */
354
- sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
355
- };
356
- /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
357
- this.user = {
358
- /** Request a new avatar upload */
359
- deprecatedUserServiceAvatarRequestUpload: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRequestUpload),
360
- /** Remove Avatar */
361
- deprecatedUserServiceAvatarRemove: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRemove),
362
- /** Returns your submitted feedback */
363
- deprecatedUserServiceFeedbackList: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackList),
364
- /** Submit user feedback */
365
- deprecatedUserServiceFeedbackCreate: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackCreate),
366
- /** create a new issue */
367
- deprecatedUserServiceIssueNew: this.requestFunctionFactory(descriptors.deprecatedUserServiceIssueNew),
368
- /** Get profile information for the specified user if the user is related to the executing user */
369
- deprecatedUserServiceUserGet: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGet),
370
- /** Change your personal information */
371
- deprecatedUserServicePersonalInformationUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalInformationUpdate),
372
- /** Get personalized settings for the user executing the request */
373
- deprecatedUserServicePersonalizedSettingsGet: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsGet),
374
- /** update personalized settings */
375
- deprecatedUserServicePersonalizedSettingsUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsUpdate),
376
- /** Add phone number and init verification process */
377
- deprecatedUserServicePhoneNumberAdd: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberAdd),
378
- /** remove your PhoneNumber */
379
- deprecatedUserServicePhoneNumberRemove: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberRemove),
380
- /** Verify phone number */
381
- deprecatedUserServicePhoneNumberVerify: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberVerify),
382
- /** Get profile information for the executing user */
383
- deprecatedUserServiceUserGetOwn: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGetOwn),
384
- /** Add phone number and start verification process. */
385
- addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
386
- /** Remove phone number. */
387
- removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
388
- /** Authenticate yourself to get an access token. */
389
- authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
390
- /** Validate your second factor. */
391
- authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
392
- /** Get your primary verified Email-Address */
393
- getEmail: this.requestFunctionFactory(descriptors.userGetEmail),
394
- /** Change your Email-Address */
395
- changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
396
- /** The timestamp of your latest password change */
397
- getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
398
- /** Change your password */
399
- changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
400
- /** Get your profile information */
401
- getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile),
402
- /** Change your profile information */
403
- changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile),
404
- /** Delete your profile and all your personal data */
405
- deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile),
406
- /** Check a token for validity */
407
- checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
408
- /** Confirm Multi Factor Authentication */
409
- confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa),
410
- /** Confirm password reset */
411
- confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset),
412
- /** List all ApiTokens of the user */
413
- listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens),
414
- /** Store a new ApiToken */
415
- createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
416
- /** Submit your user feedback. */
417
- createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
418
- /** Create a new issue. */
419
- createIssue: this.requestFunctionFactory(descriptors.userCreateIssue),
420
- /** Get your stored ssh keys */
421
- listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
422
- /** Store a new SSH key */
423
- createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey),
424
- /** Get a specific ApiToken */
425
- getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken),
426
- /** Update an existing `ApiToken` */
427
- editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
428
- /** Deletes an ApiToken */
429
- deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
430
- /** Get a specific stored SshKey */
431
- getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
432
- /** Edit a stored SshKey */
433
- editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey),
434
- /** Remove a SSH-key */
435
- deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
436
- /** Get your current multi factor auth status */
437
- getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
438
- /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
439
- initMfa: this.requestFunctionFactory(descriptors.userInitMfa),
440
- /** Disable Multi Factor Authentication. */
441
- disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa),
442
- /** Get personalized settings. */
443
- getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
444
- /** Update personalized GUI settings. */
445
- updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
446
- /** Get a specific Session */
447
- getSession: this.requestFunctionFactory(descriptors.userGetSession),
448
- /** Terminate a specific Session */
449
- terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
450
- /** Get profile information for a user. */
451
- getUser: this.requestFunctionFactory(descriptors.userGetUser),
452
- /** Change personal information. */
453
- updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation),
454
- /** Initialize password reset process */
455
- initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset),
456
- /** Submitted feedback of the given user. */
457
- listFeedback: this.requestFunctionFactory(descriptors.userListFeedback),
458
- /** List all active sessions */
459
- listSessions: this.requestFunctionFactory(descriptors.userListSessions),
460
- /** Terminate all sessions, except the current Session */
461
- terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions),
462
- /** Terminate session and invalidate access token */
463
- logout: this.requestFunctionFactory(descriptors.userLogout),
464
- /** Register with email and password. */
465
- register: this.requestFunctionFactory(descriptors.userRegister),
466
- /** Request a new avatar image upload. */
467
- requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload),
468
- /** Remove Avatar. */
469
- removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
470
- /** Resend the Email-Address verification email */
471
- resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
472
- /** Reset RecoveryCodes for MFA */
473
- resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes),
474
- /** Request a support code */
475
- supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
476
- /** Verify an added Email-Address */
477
- verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail),
478
- /** Verify phone number. */
479
- verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
480
- /** Verify your registration */
481
- verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
482
- };
483
294
  /** The domain API allows you to manage your domains, DNS records and ingress resources. */
484
295
  this.domain = {
485
296
  /** updates a-records for a specific zone */
@@ -607,6 +418,23 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
607
418
  /** Update whitelist for a given project ID */
608
419
  projectsettingUpdateWhitelist: this.requestFunctionFactory(descriptors.mailProjectsettingUpdateWhitelist),
609
420
  };
421
+ /** The notification API allows you to manage your notifications. */
422
+ this.notification = {
423
+ /** Getting the subscription status of the subscription. */
424
+ newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
425
+ /** Unsubscribe a user from the mStudio newsletter. */
426
+ newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
427
+ /** Subscribe a user to the mStudio newsletter. */
428
+ newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
429
+ /** Get the counts for unread notifications of the user. */
430
+ scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
431
+ /** List all unread notifications */
432
+ slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
433
+ /** Mark all notifications as read. */
434
+ sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
435
+ /** Mark notification as read. */
436
+ sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
437
+ };
610
438
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
611
439
  this.project = {
612
440
  /** Accept a ProjectInvite. */
@@ -702,6 +530,107 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
702
530
  /** Update an SSHUser. */
703
531
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
704
532
  };
533
+ /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
534
+ this.user = {
535
+ /** Add phone number and start verification process. */
536
+ addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
537
+ /** Remove phone number. */
538
+ removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
539
+ /** Authenticate yourself to get an access token. */
540
+ authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
541
+ /** Validate your second factor. */
542
+ authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
543
+ /** Get your primary verified Email-Address */
544
+ getEmail: this.requestFunctionFactory(descriptors.userGetEmail),
545
+ /** Change your Email-Address */
546
+ changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
547
+ /** The timestamp of your latest password change */
548
+ getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
549
+ /** Change your password */
550
+ changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
551
+ /** Get your profile information */
552
+ getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile),
553
+ /** Change your profile information */
554
+ changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile),
555
+ /** Delete your profile and all your personal data */
556
+ deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile),
557
+ /** Check a token for validity */
558
+ checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
559
+ /** Confirm Multi Factor Authentication */
560
+ confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa),
561
+ /** Confirm password reset */
562
+ confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset),
563
+ /** List all ApiTokens of the user */
564
+ listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens),
565
+ /** Store a new ApiToken */
566
+ createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
567
+ /** Submit your user feedback. */
568
+ createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
569
+ /** Create a new issue. */
570
+ createIssue: this.requestFunctionFactory(descriptors.userCreateIssue),
571
+ /** Get your stored ssh keys */
572
+ listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
573
+ /** Store a new SSH key */
574
+ createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey),
575
+ /** Get a specific ApiToken */
576
+ getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken),
577
+ /** Update an existing `ApiToken` */
578
+ editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
579
+ /** Deletes an ApiToken */
580
+ deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
581
+ /** Get a specific stored SshKey */
582
+ getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
583
+ /** Edit a stored SshKey */
584
+ editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey),
585
+ /** Remove a SSH-key */
586
+ deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
587
+ /** Get your current multi factor auth status */
588
+ getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
589
+ /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
590
+ initMfa: this.requestFunctionFactory(descriptors.userInitMfa),
591
+ /** Disable Multi Factor Authentication. */
592
+ disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa),
593
+ /** Get personalized settings. */
594
+ getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
595
+ /** Update personalized GUI settings. */
596
+ updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
597
+ /** Get a specific Session */
598
+ getSession: this.requestFunctionFactory(descriptors.userGetSession),
599
+ /** Terminate a specific Session */
600
+ terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
601
+ /** Get profile information for a user. */
602
+ getUser: this.requestFunctionFactory(descriptors.userGetUser),
603
+ /** Change personal information. */
604
+ updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation),
605
+ /** Initialize password reset process */
606
+ initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset),
607
+ /** Submitted feedback of the given user. */
608
+ listFeedback: this.requestFunctionFactory(descriptors.userListFeedback),
609
+ /** List all active sessions */
610
+ listSessions: this.requestFunctionFactory(descriptors.userListSessions),
611
+ /** Terminate all sessions, except the current Session */
612
+ terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions),
613
+ /** Terminate session and invalidate access token */
614
+ logout: this.requestFunctionFactory(descriptors.userLogout),
615
+ /** Register with email and password. */
616
+ register: this.requestFunctionFactory(descriptors.userRegister),
617
+ /** Request a new avatar image upload. */
618
+ requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload),
619
+ /** Remove Avatar. */
620
+ removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
621
+ /** Resend the Email-Address verification email */
622
+ resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
623
+ /** Reset RecoveryCodes for MFA */
624
+ resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes),
625
+ /** Request a support code */
626
+ supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
627
+ /** Verify an added Email-Address */
628
+ verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail),
629
+ /** Verify phone number. */
630
+ verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
631
+ /** Verify your registration */
632
+ verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
633
+ };
705
634
  }
706
635
  }
707
636
  exports.MittwaldAPIV2Client = MittwaldAPIV2Client;