@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.
- package/dist/cjs/generated/v2/client-react.d.ts +0 -1
- package/dist/cjs/generated/v2/client.d.ts +183 -181
- package/dist/cjs/generated/v2/client.js +17 -17
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -4
- package/dist/cjs/generated/v2/descriptors.js +10 -16
- package/dist/cjs/generated/v2/types.d.ts +40 -72
- package/dist/esm/generated/v2/client-react.d.ts +0 -1
- package/dist/esm/generated/v2/client.d.ts +183 -181
- package/dist/esm/generated/v2/client.js +17 -17
- package/dist/esm/generated/v2/descriptors.d.ts +2 -4
- package/dist/esm/generated/v2/descriptors.js +6 -12
- package/dist/esm/generated/v2/types.d.ts +40 -72
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
1454
|
-
mem
|
|
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
|
|
6648
|
-
|
|
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 {
|
|
@@ -4058,7 +4058,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4058
4058
|
isShared: boolean;
|
|
4059
4059
|
name: string;
|
|
4060
4060
|
projectId: string;
|
|
4061
|
-
size: number;
|
|
4062
4061
|
updatedAt: string;
|
|
4063
4062
|
version: string;
|
|
4064
4063
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -4633,6 +4632,183 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4633
4632
|
[x: string]: unknown;
|
|
4634
4633
|
}, 404, "application/json">>>;
|
|
4635
4634
|
};
|
|
4635
|
+
/** The notification API allows you to manage your notifications. */
|
|
4636
|
+
readonly notification: {
|
|
4637
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
4638
|
+
newsletterSubscribeUser: (request?: {
|
|
4639
|
+
data?: {
|
|
4640
|
+
firstName?: string | undefined;
|
|
4641
|
+
lastName?: string | undefined;
|
|
4642
|
+
} | undefined;
|
|
4643
|
+
headers?: {
|
|
4644
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4645
|
+
"x-access-token"?: string | undefined;
|
|
4646
|
+
} | undefined;
|
|
4647
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4648
|
+
data: {
|
|
4649
|
+
firstName?: string | undefined;
|
|
4650
|
+
lastName?: string | undefined;
|
|
4651
|
+
};
|
|
4652
|
+
} & {
|
|
4653
|
+
headers?: Partial<{
|
|
4654
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4655
|
+
}> | undefined;
|
|
4656
|
+
} & {
|
|
4657
|
+
headers: {
|
|
4658
|
+
"x-access-token"?: string | undefined;
|
|
4659
|
+
} & Partial<{
|
|
4660
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4661
|
+
}>;
|
|
4662
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4663
|
+
active: boolean;
|
|
4664
|
+
email: string;
|
|
4665
|
+
registered: boolean;
|
|
4666
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4667
|
+
[x: string]: unknown;
|
|
4668
|
+
}, 400, "application/json">>>;
|
|
4669
|
+
/** Getting the subscription status of the subscription. */
|
|
4670
|
+
newsletterGetInfo: (request?: {
|
|
4671
|
+
headers?: {
|
|
4672
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4673
|
+
"x-access-token"?: string | undefined;
|
|
4674
|
+
} | undefined;
|
|
4675
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4676
|
+
headers?: Partial<{
|
|
4677
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4678
|
+
}> | undefined;
|
|
4679
|
+
} & {
|
|
4680
|
+
headers: {
|
|
4681
|
+
"x-access-token"?: string | undefined;
|
|
4682
|
+
} & Partial<{
|
|
4683
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4684
|
+
}>;
|
|
4685
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4686
|
+
active: boolean;
|
|
4687
|
+
email: string;
|
|
4688
|
+
registered: boolean;
|
|
4689
|
+
}, 200, "application/json">>>;
|
|
4690
|
+
/** Unsubscribe a user from the mStudio newsletter. */
|
|
4691
|
+
newsletterUnsubscribeUser: (request?: {
|
|
4692
|
+
headers?: {
|
|
4693
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4694
|
+
"x-access-token"?: string | undefined;
|
|
4695
|
+
} | undefined;
|
|
4696
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4697
|
+
headers?: Partial<{
|
|
4698
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4699
|
+
}> | undefined;
|
|
4700
|
+
} & {
|
|
4701
|
+
headers: {
|
|
4702
|
+
"x-access-token"?: string | undefined;
|
|
4703
|
+
} & Partial<{
|
|
4704
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4705
|
+
}>;
|
|
4706
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
|
|
4707
|
+
/** Get the counts for unread notifications of the user. */
|
|
4708
|
+
scountUnreadNotifications: (request?: {
|
|
4709
|
+
headers?: {
|
|
4710
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4711
|
+
"x-access-token"?: string | undefined;
|
|
4712
|
+
} | undefined;
|
|
4713
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4714
|
+
headers?: Partial<{
|
|
4715
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4716
|
+
}> | undefined;
|
|
4717
|
+
} & {
|
|
4718
|
+
headers: {
|
|
4719
|
+
"x-access-token"?: string | undefined;
|
|
4720
|
+
} & Partial<{
|
|
4721
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4722
|
+
}>;
|
|
4723
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4724
|
+
error: number;
|
|
4725
|
+
info: number;
|
|
4726
|
+
success: number;
|
|
4727
|
+
total: number;
|
|
4728
|
+
warning: number;
|
|
4729
|
+
}, 200, "application/json">>>;
|
|
4730
|
+
/** List all unread notifications */
|
|
4731
|
+
slistNotifications: (request?: {
|
|
4732
|
+
headers?: {
|
|
4733
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4734
|
+
"x-access-token"?: string | undefined;
|
|
4735
|
+
} | undefined;
|
|
4736
|
+
queryParameters?: {
|
|
4737
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4738
|
+
status?: "read" | "unread" | undefined;
|
|
4739
|
+
} | undefined;
|
|
4740
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4741
|
+
headers?: Partial<{
|
|
4742
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4743
|
+
}> | undefined;
|
|
4744
|
+
} & {
|
|
4745
|
+
queryParameters: {
|
|
4746
|
+
status?: "read" | "unread" | undefined;
|
|
4747
|
+
} & Partial<{
|
|
4748
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4749
|
+
}>;
|
|
4750
|
+
} & {
|
|
4751
|
+
headers: {
|
|
4752
|
+
"x-access-token"?: string | undefined;
|
|
4753
|
+
} & Partial<{
|
|
4754
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4755
|
+
}>;
|
|
4756
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
|
|
4757
|
+
/** Mark all notifications as read. */
|
|
4758
|
+
sreadAllNotifications: (request?: {
|
|
4759
|
+
headers?: {
|
|
4760
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4761
|
+
"x-access-token"?: string | undefined;
|
|
4762
|
+
} | undefined;
|
|
4763
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4764
|
+
headers?: Partial<{
|
|
4765
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4766
|
+
}> | undefined;
|
|
4767
|
+
} & {
|
|
4768
|
+
headers: {
|
|
4769
|
+
"x-access-token"?: string | undefined;
|
|
4770
|
+
} & Partial<{
|
|
4771
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4772
|
+
}>;
|
|
4773
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4774
|
+
status: "read";
|
|
4775
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4776
|
+
[x: string]: unknown;
|
|
4777
|
+
}, 403, "application/json">>>;
|
|
4778
|
+
/** Mark notification as read. */
|
|
4779
|
+
sreadNotification: (request: {
|
|
4780
|
+
data: {
|
|
4781
|
+
status: "read";
|
|
4782
|
+
};
|
|
4783
|
+
messageId: string;
|
|
4784
|
+
headers?: {
|
|
4785
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4786
|
+
"x-access-token"?: string | undefined;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4789
|
+
data: {
|
|
4790
|
+
status: "read";
|
|
4791
|
+
};
|
|
4792
|
+
} & {
|
|
4793
|
+
pathParameters: {
|
|
4794
|
+
messageId: string;
|
|
4795
|
+
};
|
|
4796
|
+
} & {
|
|
4797
|
+
headers?: Partial<{
|
|
4798
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4799
|
+
}> | undefined;
|
|
4800
|
+
} & {
|
|
4801
|
+
headers: {
|
|
4802
|
+
"x-access-token"?: string | undefined;
|
|
4803
|
+
} & Partial<{
|
|
4804
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4805
|
+
}>;
|
|
4806
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4807
|
+
status: "read";
|
|
4808
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4809
|
+
[x: string]: unknown;
|
|
4810
|
+
}, 404, "application/json">>>;
|
|
4811
|
+
};
|
|
4636
4812
|
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
4637
4813
|
readonly domain: {
|
|
4638
4814
|
/** updates a-records for a specific zone */
|
|
@@ -4991,6 +5167,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4991
5167
|
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
4992
5168
|
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
4993
5169
|
srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
5170
|
+
/** Enable or disable the catchAll flag for a specific mail address */
|
|
4994
5171
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
4995
5172
|
};
|
|
4996
5173
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -5908,7 +6085,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5908
6085
|
imageDimensions?: {
|
|
5909
6086
|
max?: {
|
|
5910
6087
|
height?: number | undefined;
|
|
5911
|
-
width?: number | undefined;
|
|
6088
|
+
width?: number | undefined;
|
|
5912
6089
|
} | undefined;
|
|
5913
6090
|
min?: {
|
|
5914
6091
|
height?: number | undefined;
|
|
@@ -5942,7 +6119,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5942
6119
|
imageDimensions?: {
|
|
5943
6120
|
max?: {
|
|
5944
6121
|
height?: number | undefined;
|
|
5945
|
-
width?: number | undefined;
|
|
6122
|
+
width?: number | undefined;
|
|
5946
6123
|
} | undefined;
|
|
5947
6124
|
min?: {
|
|
5948
6125
|
height?: number | undefined;
|
|
@@ -6262,7 +6439,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6262
6439
|
autoResponder: {
|
|
6263
6440
|
active: boolean;
|
|
6264
6441
|
expiresAt?: string | undefined;
|
|
6265
|
-
message: string;
|
|
6442
|
+
message: string;
|
|
6266
6443
|
startsAt?: string | undefined;
|
|
6267
6444
|
};
|
|
6268
6445
|
forwardAddresses: string[];
|
|
@@ -6274,7 +6451,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6274
6451
|
sendingEnabled: boolean;
|
|
6275
6452
|
spamProtection: {
|
|
6276
6453
|
active: boolean;
|
|
6277
|
-
autoDeleteSpam: boolean;
|
|
6454
|
+
autoDeleteSpam: boolean;
|
|
6278
6455
|
folder: "spam" | "inbox";
|
|
6279
6456
|
relocationMinSpamScore: number;
|
|
6280
6457
|
};
|
|
@@ -6282,7 +6459,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6282
6459
|
current: {
|
|
6283
6460
|
updatedAt: string;
|
|
6284
6461
|
value: number;
|
|
6285
|
-
};
|
|
6462
|
+
};
|
|
6286
6463
|
limit: number;
|
|
6287
6464
|
};
|
|
6288
6465
|
} | undefined;
|
|
@@ -6622,181 +6799,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6622
6799
|
}>;
|
|
6623
6800
|
}, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{}, 403, "empty"> | import("@mittwald/api-client-commons").Response<{}, 404, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{}, 503, "empty">>>;
|
|
6624
6801
|
};
|
|
6625
|
-
/** The notification API allows you to manage your notifications. */
|
|
6626
|
-
readonly notification: {
|
|
6627
|
-
/** Getting the subscription status of the subscription. */
|
|
6628
|
-
newsletterGetInfo: (request?: {
|
|
6629
|
-
headers?: {
|
|
6630
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6631
|
-
"x-access-token"?: string | undefined;
|
|
6632
|
-
} | undefined;
|
|
6633
|
-
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6634
|
-
headers?: Partial<{
|
|
6635
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6636
|
-
}> | undefined;
|
|
6637
|
-
} & {
|
|
6638
|
-
headers: {
|
|
6639
|
-
"x-access-token"?: string | undefined;
|
|
6640
|
-
} & Partial<{
|
|
6641
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6642
|
-
}>;
|
|
6643
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
6644
|
-
active: boolean;
|
|
6645
|
-
email: string;
|
|
6646
|
-
registered: boolean;
|
|
6647
|
-
}, 200, "application/json">>>;
|
|
6648
|
-
/** Unsubscribe a user from the mStudio newsletter. */
|
|
6649
|
-
newsletterUnsubscribeUser: (request?: {
|
|
6650
|
-
headers?: {
|
|
6651
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6652
|
-
"x-access-token"?: string | undefined;
|
|
6653
|
-
} | undefined;
|
|
6654
|
-
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6655
|
-
headers?: Partial<{
|
|
6656
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6657
|
-
}> | undefined;
|
|
6658
|
-
} & {
|
|
6659
|
-
headers: {
|
|
6660
|
-
"x-access-token"?: string | undefined;
|
|
6661
|
-
} & Partial<{
|
|
6662
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6663
|
-
}>;
|
|
6664
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
|
|
6665
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
6666
|
-
newsletterSubscribeUser: (request: {
|
|
6667
|
-
data: {
|
|
6668
|
-
email: string;
|
|
6669
|
-
};
|
|
6670
|
-
headers?: {
|
|
6671
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6672
|
-
"x-access-token"?: string | undefined;
|
|
6673
|
-
} | undefined;
|
|
6674
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6675
|
-
data: {
|
|
6676
|
-
email: string;
|
|
6677
|
-
};
|
|
6678
|
-
} & {
|
|
6679
|
-
headers?: Partial<{
|
|
6680
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6681
|
-
}> | undefined;
|
|
6682
|
-
} & {
|
|
6683
|
-
headers: {
|
|
6684
|
-
"x-access-token"?: string | undefined;
|
|
6685
|
-
} & Partial<{
|
|
6686
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6687
|
-
}>;
|
|
6688
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
6689
|
-
active: boolean;
|
|
6690
|
-
email: string;
|
|
6691
|
-
registered: boolean;
|
|
6692
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6693
|
-
[x: string]: unknown;
|
|
6694
|
-
}, 400, "application/json">>>;
|
|
6695
|
-
/** Get the counts for unread notifications of the user. */
|
|
6696
|
-
scountUnreadNotifications: (request?: {
|
|
6697
|
-
headers?: {
|
|
6698
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6699
|
-
"x-access-token"?: string | undefined;
|
|
6700
|
-
} | undefined;
|
|
6701
|
-
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6702
|
-
headers?: Partial<{
|
|
6703
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6704
|
-
}> | undefined;
|
|
6705
|
-
} & {
|
|
6706
|
-
headers: {
|
|
6707
|
-
"x-access-token"?: string | undefined;
|
|
6708
|
-
} & Partial<{
|
|
6709
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6710
|
-
}>;
|
|
6711
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
6712
|
-
error: number;
|
|
6713
|
-
info: number;
|
|
6714
|
-
success: number;
|
|
6715
|
-
total: number;
|
|
6716
|
-
warning: number;
|
|
6717
|
-
}, 200, "application/json">>>;
|
|
6718
|
-
/** List all unread notifications */
|
|
6719
|
-
slistNotifications: (request?: {
|
|
6720
|
-
headers?: {
|
|
6721
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6722
|
-
"x-access-token"?: string | undefined;
|
|
6723
|
-
} | undefined;
|
|
6724
|
-
queryParameters?: {
|
|
6725
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6726
|
-
status?: "read" | "unread" | undefined;
|
|
6727
|
-
} | undefined;
|
|
6728
|
-
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6729
|
-
headers?: Partial<{
|
|
6730
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6731
|
-
}> | undefined;
|
|
6732
|
-
} & {
|
|
6733
|
-
queryParameters: {
|
|
6734
|
-
status?: "read" | "unread" | undefined;
|
|
6735
|
-
} & Partial<{
|
|
6736
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6737
|
-
}>;
|
|
6738
|
-
} & {
|
|
6739
|
-
headers: {
|
|
6740
|
-
"x-access-token"?: string | undefined;
|
|
6741
|
-
} & Partial<{
|
|
6742
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6743
|
-
}>;
|
|
6744
|
-
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
|
|
6745
|
-
/** Mark all notifications as read. */
|
|
6746
|
-
sreadAllNotifications: (request?: {
|
|
6747
|
-
headers?: {
|
|
6748
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6749
|
-
"x-access-token"?: string | undefined;
|
|
6750
|
-
} | undefined;
|
|
6751
|
-
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6752
|
-
headers?: Partial<{
|
|
6753
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6754
|
-
}> | undefined;
|
|
6755
|
-
} & {
|
|
6756
|
-
headers: {
|
|
6757
|
-
"x-access-token"?: string | undefined;
|
|
6758
|
-
} & Partial<{
|
|
6759
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6760
|
-
}>;
|
|
6761
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
6762
|
-
status: "read";
|
|
6763
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6764
|
-
[x: string]: unknown;
|
|
6765
|
-
}, 403, "application/json">>>;
|
|
6766
|
-
/** Mark notification as read. */
|
|
6767
|
-
sreadNotification: (request: {
|
|
6768
|
-
data: {
|
|
6769
|
-
status: "read";
|
|
6770
|
-
};
|
|
6771
|
-
messageId: string;
|
|
6772
|
-
headers?: {
|
|
6773
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6774
|
-
"x-access-token"?: string | undefined;
|
|
6775
|
-
} | undefined;
|
|
6776
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6777
|
-
data: {
|
|
6778
|
-
status: "read";
|
|
6779
|
-
};
|
|
6780
|
-
} & {
|
|
6781
|
-
pathParameters: {
|
|
6782
|
-
messageId: string;
|
|
6783
|
-
};
|
|
6784
|
-
} & {
|
|
6785
|
-
headers?: Partial<{
|
|
6786
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6787
|
-
}> | undefined;
|
|
6788
|
-
} & {
|
|
6789
|
-
headers: {
|
|
6790
|
-
"x-access-token"?: string | undefined;
|
|
6791
|
-
} & Partial<{
|
|
6792
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6793
|
-
}>;
|
|
6794
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
6795
|
-
status: "read";
|
|
6796
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6797
|
-
[x: string]: unknown;
|
|
6798
|
-
}, 404, "application/json">>>;
|
|
6799
|
-
};
|
|
6800
6802
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
6801
6803
|
readonly project: {
|
|
6802
6804
|
/** Accept a ProjectInvite. */
|
|
@@ -294,6 +294,23 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
294
294
|
/** Update a RedisDatabase's description. */
|
|
295
295
|
updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
|
|
296
296
|
};
|
|
297
|
+
/** The notification API allows you to manage your notifications. */
|
|
298
|
+
notification = {
|
|
299
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
300
|
+
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
|
|
301
|
+
/** Getting the subscription status of the subscription. */
|
|
302
|
+
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
303
|
+
/** Unsubscribe a user from the mStudio newsletter. */
|
|
304
|
+
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
305
|
+
/** Get the counts for unread notifications of the user. */
|
|
306
|
+
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
307
|
+
/** List all unread notifications */
|
|
308
|
+
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
309
|
+
/** Mark all notifications as read. */
|
|
310
|
+
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
311
|
+
/** Mark notification as read. */
|
|
312
|
+
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
313
|
+
};
|
|
297
314
|
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
298
315
|
domain = {
|
|
299
316
|
/** updates a-records for a specific zone */
|
|
@@ -425,23 +442,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
425
442
|
/** Update whitelist for a given project ID */
|
|
426
443
|
projectsettingUpdateWhitelist: this.requestFunctionFactory(descriptors.mailProjectsettingUpdateWhitelist),
|
|
427
444
|
};
|
|
428
|
-
/** The notification API allows you to manage your notifications. */
|
|
429
|
-
notification = {
|
|
430
|
-
/** Getting the subscription status of the subscription. */
|
|
431
|
-
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
432
|
-
/** Unsubscribe a user from the mStudio newsletter. */
|
|
433
|
-
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
434
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
435
|
-
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
|
|
436
|
-
/** Get the counts for unread notifications of the user. */
|
|
437
|
-
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
438
|
-
/** List all unread notifications */
|
|
439
|
-
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
440
|
-
/** Mark all notifications as read. */
|
|
441
|
-
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
442
|
-
/** Mark notification as read. */
|
|
443
|
-
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
444
|
-
};
|
|
445
445
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
446
446
|
project = {
|
|
447
447
|
/** Accept a ProjectInvite. */
|
|
@@ -247,6 +247,8 @@ export declare const databaseUpdateMysqlUserPassword: OpenAPIOperation<RequestTy
|
|
|
247
247
|
export declare const databaseUpdateRedisDatabaseConfiguration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdConfiguration.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
248
248
|
/** Update a RedisDatabase's description. */
|
|
249
249
|
export declare const databaseUpdateRedisDatabaseDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2RedisDatabasesIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
250
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
251
|
+
export declare const newsletterSubscribeUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
250
252
|
/** updates a-records for a specific zone */
|
|
251
253
|
export declare const dnsRecordAsetCustom: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DnsZonesZoneIdRecordsetAcombinedCustom.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
252
254
|
/** set a-records managed by ingress for a specific zone */
|
|
@@ -377,14 +379,10 @@ export declare const mailProjectsettingGetSpecific: OpenAPIOperation<RequestType
|
|
|
377
379
|
export declare const mailProjectsettingUpdateBlacklist: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Responses.$403.Content.Empty>, 403, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Responses.$404.Content.Empty>, 404, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsBlacklist.Put.Responses.$503.Content.Empty>, 503, "empty">>;
|
|
378
380
|
/** Update whitelist for a given project ID */
|
|
379
381
|
export declare const mailProjectsettingUpdateWhitelist: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Responses.$403.Content.Empty>, 403, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Responses.$404.Content.Empty>, 404, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailsettingsWhitelist.Put.Responses.$503.Content.Empty>, 503, "empty">>;
|
|
380
|
-
/** List Metrics. */
|
|
381
|
-
export declare const metricsListMetricsInternal: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.InternalV2Metrics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
382
382
|
/** Getting the subscription status of the subscription. */
|
|
383
383
|
export declare const newsletterGetInfo: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
384
384
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
385
385
|
export declare const newsletterUnsubscribeUser: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
386
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
387
|
-
export declare const newsletterSubscribeUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptions.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
388
386
|
/** Get the counts for unread notifications of the user. */
|
|
389
387
|
export declare const notificationsCountUnreadNotifications: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsUnreadCounts.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
390
388
|
/** List all unread notifications */
|