@mittwald/api-client 0.0.0-development-860f5d6-20261009 → 0.0.0-development-172be3a-20261013

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.
@@ -408,6 +408,8 @@ const buildNotificationApi = (baseClient) => ({
408
408
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
409
409
  /** Get the counts for unread notifications of the user. */
410
410
  scountUnreadNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsCountUnreadNotifications, baseClient.notification.scountUnreadNotifications).getApiResource,
411
+ /** Get notification settings for a user. */
412
+ sgetNotificationSettings: new ApiCallAsyncResourceFactory(descriptors.notificationsGetNotificationSettings, baseClient.notification.sgetNotificationSettings).getApiResource,
411
413
  /** List all unread notifications. */
412
414
  slistNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
413
415
  });
@@ -26,7 +26,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
26
26
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
27
27
  /** Get ai hosting plan and usages of a customer by planId. */
28
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
- /** Renames an AI hosting plan. */
29
+ /** Updates an AI hosting plan. */
30
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
31
  /** Rotates a customer's key. */
32
32
  customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
@@ -635,8 +635,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
635
635
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
636
636
  /** Order a Domain-Migration from a pAccount into a Project. */
637
637
  migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
638
- /** Resends a Contact-Verification email. */
639
- resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
640
638
  /** Resend a Domain email. */
641
639
  resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
642
640
  /** Suggest a list of domains based on a prompt using AI. */
@@ -753,14 +751,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
753
751
  newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
754
752
  /** Unsubscribe a user from the mStudio newsletter. */
755
753
  newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
754
+ /** Adjust notification settings for message type. */
755
+ sadjustNotificationMessageTypeSettings: this.requestFunctionFactory(descriptors.notificationsAdjustNotificationMessageTypeSettings),
756
756
  /** Get the counts for unread notifications of the user. */
757
757
  scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
758
+ /** Get notification settings for a user. */
759
+ sgetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsGetNotificationSettings),
758
760
  /** List all unread notifications. */
759
761
  slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
760
762
  /** Mark all notifications as read. */
761
763
  sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
762
- /** Mark notification as read. */
763
- sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
764
+ /** Update a notification's read status. */
765
+ supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
764
766
  };
765
767
  /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
766
768
  user = {
@@ -1044,8 +1046,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
1044
1046
  };
1045
1047
  /** The relocation API allows you to manage your relocations. */
1046
1048
  relocation = {
1047
- /** Register a tariff change for a legacy tariff. */
1048
- createLegacyTariffChange: this.requestFunctionFactory(descriptors.relocationCreateLegacyTariffChange),
1049
1049
  /** Relocate an external Project to mittwald. */
1050
1050
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
1051
1051
  };
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
58
58
  method: "GET",
59
59
  operationId: "ai-hosting-customer-get-plan",
60
60
  };
61
- /** Renames an AI hosting plan. */
61
+ /** Updates an AI hosting plan. */
62
62
  export const aiHostingCustomerUpdatePlan = {
63
63
  path: "/v2/customers/{customerId}/ai-hostings/{planId}",
64
64
  method: "PUT",
@@ -1462,12 +1462,6 @@ export const domainMigrationOrderDomainMigration = {
1462
1462
  method: "POST",
1463
1463
  operationId: "domain-migration-order-domain-migration",
1464
1464
  };
1465
- /** Resends a Contact-Verification email. */
1466
- export const domainResendContactVerificationEmail = {
1467
- path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
1468
- method: "POST",
1469
- operationId: "domain-resend-contact-verification-email",
1470
- };
1471
1465
  /** Resend a Domain email. */
1472
1466
  export const domainResendDomainEmail = {
1473
1467
  path: "/v2/domains/{domainId}/actions/resend-email",
@@ -2170,12 +2164,24 @@ export const newsletterUnsubscribeUser = {
2170
2164
  method: "DELETE",
2171
2165
  operationId: "newsletter-unsubscribe-user",
2172
2166
  };
2167
+ /** Adjust notification settings for message type. */
2168
+ export const notificationsAdjustNotificationMessageTypeSettings = {
2169
+ path: "/v2/notification-settings/{messageType}",
2170
+ method: "PATCH",
2171
+ operationId: "notifications-adjust-notification-message-type-settings",
2172
+ };
2173
2173
  /** Get the counts for unread notifications of the user. */
2174
2174
  export const notificationsCountUnreadNotifications = {
2175
2175
  path: "/v2/notification-unread-counts",
2176
2176
  method: "GET",
2177
2177
  operationId: "notifications-count-unread-notifications",
2178
2178
  };
2179
+ /** Get notification settings for a user. */
2180
+ export const notificationsGetNotificationSettings = {
2181
+ path: "/v2/notification-settings",
2182
+ method: "GET",
2183
+ operationId: "notifications-get-notification-settings",
2184
+ };
2179
2185
  /** List all unread notifications. */
2180
2186
  export const notificationsListNotifications = {
2181
2187
  path: "/v2/notifications",
@@ -2188,11 +2194,11 @@ export const notificationsReadAllNotifications = {
2188
2194
  method: "POST",
2189
2195
  operationId: "notifications-read-all-notifications",
2190
2196
  };
2191
- /** Mark notification as read. */
2192
- export const notificationsReadNotification = {
2197
+ /** Update a notification's read status. */
2198
+ export const notificationsUpdateNotificationStatus = {
2193
2199
  path: "/v2/notifications/{notificationId}/status",
2194
2200
  method: "PUT",
2195
- operationId: "notifications-read-notification",
2201
+ operationId: "notifications-update-notification-status",
2196
2202
  };
2197
2203
  /** Get list of Orders. */
2198
2204
  export const orderListOrders = {
@@ -2476,12 +2482,6 @@ export const projectResendProjectInviteMail = {
2476
2482
  method: "POST",
2477
2483
  operationId: "project-resend-project-invite-mail",
2478
2484
  };
2479
- /** Register a tariff change for a legacy tariff. */
2480
- export const relocationCreateLegacyTariffChange = {
2481
- path: "/v2/legacy-tariff-change",
2482
- method: "POST",
2483
- operationId: "relocation-create-legacy-tariff-change",
2484
- };
2485
2485
  /** Relocate an external Project to mittwald. */
2486
2486
  export const relocationCreateRelocation = {
2487
2487
  path: "/v2/relocation",
@@ -408,6 +408,8 @@ const buildNotificationApi = (baseClient) => ({
408
408
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
409
409
  /** Get the counts for unread notifications of the user. */
410
410
  scountUnreadNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsCountUnreadNotifications, baseClient.notification.scountUnreadNotifications).getApiResource,
411
+ /** Get notification settings for a user. */
412
+ sgetNotificationSettings: new ApiCallAsyncResourceFactory(descriptors.notificationsGetNotificationSettings, baseClient.notification.sgetNotificationSettings).getApiResource,
411
413
  /** List all unread notifications. */
412
414
  slistNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
413
415
  });
@@ -26,7 +26,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
26
26
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
27
27
  /** Get ai hosting plan and usages of a customer by planId. */
28
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
- /** Renames an AI hosting plan. */
29
+ /** Updates an AI hosting plan. */
30
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
31
  /** Rotates a customer's key. */
32
32
  customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
@@ -635,8 +635,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
635
635
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
636
636
  /** Order a Domain-Migration from a pAccount into a Project. */
637
637
  migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
638
- /** Resends a Contact-Verification email. */
639
- resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
640
638
  /** Resend a Domain email. */
641
639
  resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
642
640
  /** Suggest a list of domains based on a prompt using AI. */
@@ -753,14 +751,18 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
753
751
  newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
754
752
  /** Unsubscribe a user from the mStudio newsletter. */
755
753
  newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
754
+ /** Adjust notification settings for message type. */
755
+ sadjustNotificationMessageTypeSettings: this.requestFunctionFactory(descriptors.notificationsAdjustNotificationMessageTypeSettings),
756
756
  /** Get the counts for unread notifications of the user. */
757
757
  scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
758
+ /** Get notification settings for a user. */
759
+ sgetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsGetNotificationSettings),
758
760
  /** List all unread notifications. */
759
761
  slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
760
762
  /** Mark all notifications as read. */
761
763
  sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
762
- /** Mark notification as read. */
763
- sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
764
+ /** Update a notification's read status. */
765
+ supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
764
766
  };
765
767
  /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
766
768
  user = {
@@ -1044,8 +1046,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
1044
1046
  };
1045
1047
  /** The relocation API allows you to manage your relocations. */
1046
1048
  relocation = {
1047
- /** Register a tariff change for a legacy tariff. */
1048
- createLegacyTariffChange: this.requestFunctionFactory(descriptors.relocationCreateLegacyTariffChange),
1049
1049
  /** Relocate an external Project to mittwald. */
1050
1050
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
1051
1051
  };
@@ -58,7 +58,7 @@ export const aiHostingCustomerGetPlan = {
58
58
  method: "GET",
59
59
  operationId: "ai-hosting-customer-get-plan",
60
60
  };
61
- /** Renames an AI hosting plan. */
61
+ /** Updates an AI hosting plan. */
62
62
  export const aiHostingCustomerUpdatePlan = {
63
63
  path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
64
64
  method: "PUT",
@@ -1462,12 +1462,6 @@ export const domainMigrationOrderDomainMigration = {
1462
1462
  method: "POST",
1463
1463
  operationId: "domain-migration-order-domain-migration",
1464
1464
  };
1465
- /** Resends a Contact-Verification email. */
1466
- export const domainResendContactVerificationEmail = {
1467
- path: "/v3-next/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
1468
- method: "POST",
1469
- operationId: "domain-resend-contact-verification-email",
1470
- };
1471
1465
  /** Resend a Domain email. */
1472
1466
  export const domainResendDomainEmail = {
1473
1467
  path: "/v3-next/domains/{domainId}/actions/resend-email",
@@ -2170,12 +2164,24 @@ export const newsletterUnsubscribeUser = {
2170
2164
  method: "DELETE",
2171
2165
  operationId: "newsletter-unsubscribe-user",
2172
2166
  };
2167
+ /** Adjust notification settings for message type. */
2168
+ export const notificationsAdjustNotificationMessageTypeSettings = {
2169
+ path: "/v3-next/notification-settings/{messageType}",
2170
+ method: "PATCH",
2171
+ operationId: "notifications-adjust-notification-message-type-settings",
2172
+ };
2173
2173
  /** Get the counts for unread notifications of the user. */
2174
2174
  export const notificationsCountUnreadNotifications = {
2175
2175
  path: "/v3-next/notification-unread-counts",
2176
2176
  method: "GET",
2177
2177
  operationId: "notifications-count-unread-notifications",
2178
2178
  };
2179
+ /** Get notification settings for a user. */
2180
+ export const notificationsGetNotificationSettings = {
2181
+ path: "/v3-next/notification-settings",
2182
+ method: "GET",
2183
+ operationId: "notifications-get-notification-settings",
2184
+ };
2179
2185
  /** List all unread notifications. */
2180
2186
  export const notificationsListNotifications = {
2181
2187
  path: "/v3-next/notifications",
@@ -2188,11 +2194,11 @@ export const notificationsReadAllNotifications = {
2188
2194
  method: "POST",
2189
2195
  operationId: "notifications-read-all-notifications",
2190
2196
  };
2191
- /** Mark notification as read. */
2192
- export const notificationsReadNotification = {
2197
+ /** Update a notification's read status. */
2198
+ export const notificationsUpdateNotificationStatus = {
2193
2199
  path: "/v3-next/notifications/{notificationId}/status",
2194
2200
  method: "PUT",
2195
- operationId: "notifications-read-notification",
2201
+ operationId: "notifications-update-notification-status",
2196
2202
  };
2197
2203
  /** Get list of Orders. */
2198
2204
  export const orderListOrders = {
@@ -2476,12 +2482,6 @@ export const projectResendProjectInviteMail = {
2476
2482
  method: "POST",
2477
2483
  operationId: "project-resend-project-invite-mail",
2478
2484
  };
2479
- /** Register a tariff change for a legacy tariff. */
2480
- export const relocationCreateLegacyTariffChange = {
2481
- path: "/v3-next/legacy-tariff-change",
2482
- method: "POST",
2483
- operationId: "relocation-create-legacy-tariff-change",
2484
- };
2485
2485
  /** Relocate an external Project to mittwald. */
2486
2486
  export const relocationCreateRelocation = {
2487
2487
  path: "/v3-next/relocation",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.491.0';
1
+ export const MittwaldAPIClientVersion = '4.495.1';
@@ -79,6 +79,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
79
79
  modelTermsApprovalRequired: boolean;
80
80
  nextTokenReset: string;
81
81
  planId: string;
82
+ projectKeyCreationBlocked?: boolean | undefined;
82
83
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
83
84
  tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
84
85
  topUsages?: {
@@ -206,6 +207,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
206
207
  nextTokenReset?: string | undefined;
207
208
  planId: string;
208
209
  projectId: string;
210
+ projectKeyCreationBlocked?: boolean | undefined;
209
211
  }>;
210
212
  /** Get all ai hosting plans and usages of a project. */
211
213
  projectGetPlans: (conf: {
@@ -391,6 +393,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
391
393
  appIds?: string[] | undefined;
392
394
  searchTerm?: string | undefined;
393
395
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
396
+ autoUpdatesActivated?: boolean | undefined;
397
+ autoUpdatesSupported?: boolean | undefined;
394
398
  limit?: number | undefined;
395
399
  skip?: number | undefined;
396
400
  page?: number | undefined;
@@ -408,6 +412,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
408
412
  appIds?: string[] | undefined;
409
413
  searchTerm?: string | undefined;
410
414
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
415
+ autoUpdatesActivated?: boolean | undefined;
416
+ autoUpdatesSupported?: boolean | undefined;
411
417
  limit?: number | undefined;
412
418
  skip?: number | undefined;
413
419
  page?: number | undefined;
@@ -2500,6 +2506,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2500
2506
  ownerC: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
2501
2507
  };
2502
2508
  nameservers: string[];
2509
+ ownerVerification?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainOwnerVerification | undefined;
2503
2510
  processes?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
2504
2511
  projectId: string;
2505
2512
  scheduledDeletionDate?: string | undefined;
@@ -3277,6 +3284,28 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
3277
3284
  total: number;
3278
3285
  warning: number;
3279
3286
  }>;
3287
+ /** Get notification settings for a user. */
3288
+ sgetNotificationSettings: (conf?: {
3289
+ headers?: {
3290
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3291
+ "x-access-token"?: string | undefined;
3292
+ } | undefined;
3293
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3294
+ messageTypes: {
3295
+ [k: string]: {
3296
+ channels: {
3297
+ email: {
3298
+ active: boolean;
3299
+ editable: boolean;
3300
+ };
3301
+ frontendNotification: {
3302
+ active: boolean;
3303
+ editable: boolean;
3304
+ };
3305
+ };
3306
+ };
3307
+ };
3308
+ }>;
3280
3309
  /** List all unread notifications. */
3281
3310
  slistNotifications: (conf?: {
3282
3311
  headers?: {
@@ -3295,6 +3324,8 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
3295
3324
  limit?: number | undefined;
3296
3325
  skip?: number | undefined;
3297
3326
  page?: number | undefined;
3327
+ sort?: "createdAt" | "severity" | undefined;
3328
+ order?: "asc" | "desc" | undefined;
3298
3329
  } | undefined;
3299
3330
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
3300
3331
  };