@mittwald/api-client 3.0.9 → 3.0.11

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.
@@ -730,6 +730,12 @@ export const databaseUpdateRedisDatabaseDescription = {
730
730
  method: "PATCH",
731
731
  operationId: "database-update-redis-database-description",
732
732
  };
733
+ /** Subscribe a user to the mStudio newsletter. */
734
+ export const newsletterSubscribeUser = {
735
+ path: "/v2/newsletter-subscriptions",
736
+ method: "POST",
737
+ operationId: "newsletter-subscribe-user",
738
+ };
733
739
  /** updates a-records for a specific zone */
734
740
  export const dnsRecordAsetCustom = {
735
741
  path: "/v2/dns/zones/{zoneId}/recordset/acombined/custom",
@@ -1120,12 +1126,6 @@ export const mailProjectsettingUpdateWhitelist = {
1120
1126
  method: "PUT",
1121
1127
  operationId: "mail-projectsetting-update-whitelist",
1122
1128
  };
1123
- /** List Metrics. */
1124
- export const metricsListMetricsInternal = {
1125
- path: "/internal-v2/metrics",
1126
- method: "GET",
1127
- operationId: "metrics-list-metrics-internal",
1128
- };
1129
1129
  /** Getting the subscription status of the subscription. */
1130
1130
  export const newsletterGetInfo = {
1131
1131
  path: "/v2/newsletter-subscriptions/self",
@@ -1138,12 +1138,6 @@ export const newsletterUnsubscribeUser = {
1138
1138
  method: "DELETE",
1139
1139
  operationId: "newsletter-unsubscribe-user",
1140
1140
  };
1141
- /** Subscribe a user to the mStudio newsletter. */
1142
- export const newsletterSubscribeUser = {
1143
- path: "/v2/newsletter-subscriptions",
1144
- method: "POST",
1145
- operationId: "newsletter-subscribe-user",
1146
- };
1147
1141
  /** Get the counts for unread notifications of the user. */
1148
1142
  export const notificationsCountUnreadNotifications = {
1149
1143
  path: "/v2/notifications/unread-counts",
@@ -629,7 +629,6 @@ export declare module MittwaldAPIV2 {
629
629
  isShared: boolean;
630
630
  name: string;
631
631
  projectId: string;
632
- size: number;
633
632
  updatedAt: string;
634
633
  version: string;
635
634
  }
@@ -1450,8 +1449,8 @@ export declare module MittwaldAPIV2 {
1450
1449
  jwt: string;
1451
1450
  }
1452
1451
  interface ProjectHardwareSpec {
1453
- cpu: string;
1454
- mem: string;
1452
+ cpu?: string;
1453
+ mem?: string;
1455
1454
  storage: string;
1456
1455
  }
1457
1456
  interface ProjectMachineType {
@@ -6644,8 +6643,44 @@ export declare module MittwaldAPIV2 {
6644
6643
  namespace V2DomainsDomainIdContracts { }
6645
6644
  namespace V2ProjectsProjectIdContracts { }
6646
6645
  namespace V2ServersServerIdContracts { }
6647
- namespace V2NewsletterSubscriptionsEmail { }
6648
- namespace V2NewsletterSubscriptions { }
6646
+ namespace V2NewsletterSubscriptions {
6647
+ namespace Post {
6648
+ namespace Parameters {
6649
+ type Path = {};
6650
+ interface RequestBody {
6651
+ firstName?: string;
6652
+ lastName?: string;
6653
+ }
6654
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
6655
+ type Query = {};
6656
+ }
6657
+ namespace Responses {
6658
+ namespace $200 {
6659
+ namespace Content {
6660
+ interface ApplicationJson {
6661
+ active: boolean;
6662
+ email: string;
6663
+ registered: boolean;
6664
+ }
6665
+ }
6666
+ }
6667
+ namespace $400 {
6668
+ namespace Content {
6669
+ interface ApplicationJson {
6670
+ [k: string]: unknown;
6671
+ }
6672
+ }
6673
+ }
6674
+ namespace Default {
6675
+ namespace Content {
6676
+ interface ApplicationJson {
6677
+ [k: string]: unknown;
6678
+ }
6679
+ }
6680
+ }
6681
+ }
6682
+ }
6683
+ }
6649
6684
  namespace V2SignupEmail { }
6650
6685
  namespace V2SignupPasswordResetConfirm { }
6651
6686
  namespace V2UsersSelfIssues { }
@@ -9202,36 +9237,6 @@ export declare module MittwaldAPIV2 {
9202
9237
  }
9203
9238
  }
9204
9239
  }
9205
- namespace InternalV2Metrics {
9206
- namespace Get {
9207
- namespace Parameters {
9208
- type Path = {};
9209
- type Header = {};
9210
- type Query = {};
9211
- }
9212
- namespace Responses {
9213
- namespace $200 {
9214
- namespace Content {
9215
- type ApplicationOctetStream = string;
9216
- }
9217
- }
9218
- namespace $500 {
9219
- namespace Content {
9220
- interface ApplicationJson {
9221
- [k: string]: unknown;
9222
- }
9223
- }
9224
- }
9225
- namespace Default {
9226
- namespace Content {
9227
- interface ApplicationJson {
9228
- [k: string]: unknown;
9229
- }
9230
- }
9231
- }
9232
- }
9233
- }
9234
- }
9235
9240
  namespace V2NewsletterSubscriptionsSelf {
9236
9241
  namespace Get {
9237
9242
  namespace Parameters {
@@ -9280,43 +9285,6 @@ export declare module MittwaldAPIV2 {
9280
9285
  }
9281
9286
  }
9282
9287
  }
9283
- namespace V2NewsletterSubscriptions {
9284
- namespace Post {
9285
- namespace Parameters {
9286
- type Path = {};
9287
- interface RequestBody {
9288
- email: string;
9289
- }
9290
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9291
- type Query = {};
9292
- }
9293
- namespace Responses {
9294
- namespace $200 {
9295
- namespace Content {
9296
- interface ApplicationJson {
9297
- active: boolean;
9298
- email: string;
9299
- registered: boolean;
9300
- }
9301
- }
9302
- }
9303
- namespace $400 {
9304
- namespace Content {
9305
- interface ApplicationJson {
9306
- [k: string]: unknown;
9307
- }
9308
- }
9309
- }
9310
- namespace Default {
9311
- namespace Content {
9312
- interface ApplicationJson {
9313
- [k: string]: unknown;
9314
- }
9315
- }
9316
- }
9317
- }
9318
- }
9319
- }
9320
9288
  namespace V2NotificationsUnreadCounts {
9321
9289
  namespace Get {
9322
9290
  namespace Parameters {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.0.9';
1
+ export declare const MittwaldAPIClientVersion = '3.0.11';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.0.9';
1
+ export const MittwaldAPIClientVersion = '3.0.11';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",