@mittwald/api-client 3.0.9 → 3.0.10
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.d.ts +177 -175
- package/dist/cjs/generated/v2/client.js +17 -17
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -2
- package/dist/cjs/generated/v2/descriptors.js +8 -8
- package/dist/cjs/generated/v2/types.d.ts +38 -39
- package/dist/esm/generated/v2/client.d.ts +177 -175
- package/dist/esm/generated/v2/client.js +17 -17
- package/dist/esm/generated/v2/descriptors.d.ts +2 -2
- package/dist/esm/generated/v2/descriptors.js +6 -6
- package/dist/esm/generated/v2/types.d.ts +38 -39
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -4633,6 +4633,183 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4633
4633
|
[x: string]: unknown;
|
|
4634
4634
|
}, 404, "application/json">>>;
|
|
4635
4635
|
};
|
|
4636
|
+
/** The notification API allows you to manage your notifications. */
|
|
4637
|
+
readonly notification: {
|
|
4638
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
4639
|
+
newsletterSubscribeUser: (request?: {
|
|
4640
|
+
data?: {
|
|
4641
|
+
firstName?: string | undefined;
|
|
4642
|
+
lastName?: string | undefined;
|
|
4643
|
+
} | undefined;
|
|
4644
|
+
headers?: {
|
|
4645
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4646
|
+
"x-access-token"?: string | undefined;
|
|
4647
|
+
} | undefined;
|
|
4648
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4649
|
+
data: {
|
|
4650
|
+
firstName?: string | undefined;
|
|
4651
|
+
lastName?: string | undefined;
|
|
4652
|
+
};
|
|
4653
|
+
} & {
|
|
4654
|
+
headers?: Partial<{
|
|
4655
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4656
|
+
}> | undefined;
|
|
4657
|
+
} & {
|
|
4658
|
+
headers: {
|
|
4659
|
+
"x-access-token"?: string | undefined;
|
|
4660
|
+
} & Partial<{
|
|
4661
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4662
|
+
}>;
|
|
4663
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4664
|
+
active: boolean;
|
|
4665
|
+
email: string;
|
|
4666
|
+
registered: boolean;
|
|
4667
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4668
|
+
[x: string]: unknown;
|
|
4669
|
+
}, 400, "application/json">>>;
|
|
4670
|
+
/** Getting the subscription status of the subscription. */
|
|
4671
|
+
newsletterGetInfo: (request?: {
|
|
4672
|
+
headers?: {
|
|
4673
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4674
|
+
"x-access-token"?: string | undefined;
|
|
4675
|
+
} | undefined;
|
|
4676
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4677
|
+
headers?: Partial<{
|
|
4678
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4679
|
+
}> | undefined;
|
|
4680
|
+
} & {
|
|
4681
|
+
headers: {
|
|
4682
|
+
"x-access-token"?: string | undefined;
|
|
4683
|
+
} & Partial<{
|
|
4684
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4685
|
+
}>;
|
|
4686
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4687
|
+
active: boolean;
|
|
4688
|
+
email: string;
|
|
4689
|
+
registered: boolean;
|
|
4690
|
+
}, 200, "application/json">>>;
|
|
4691
|
+
/** Unsubscribe a user from the mStudio newsletter. */
|
|
4692
|
+
newsletterUnsubscribeUser: (request?: {
|
|
4693
|
+
headers?: {
|
|
4694
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4695
|
+
"x-access-token"?: string | undefined;
|
|
4696
|
+
} | undefined;
|
|
4697
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4698
|
+
headers?: Partial<{
|
|
4699
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4700
|
+
}> | undefined;
|
|
4701
|
+
} & {
|
|
4702
|
+
headers: {
|
|
4703
|
+
"x-access-token"?: string | undefined;
|
|
4704
|
+
} & Partial<{
|
|
4705
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4706
|
+
}>;
|
|
4707
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
|
|
4708
|
+
/** Get the counts for unread notifications of the user. */
|
|
4709
|
+
scountUnreadNotifications: (request?: {
|
|
4710
|
+
headers?: {
|
|
4711
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4712
|
+
"x-access-token"?: string | undefined;
|
|
4713
|
+
} | undefined;
|
|
4714
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4715
|
+
headers?: Partial<{
|
|
4716
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4717
|
+
}> | undefined;
|
|
4718
|
+
} & {
|
|
4719
|
+
headers: {
|
|
4720
|
+
"x-access-token"?: string | undefined;
|
|
4721
|
+
} & Partial<{
|
|
4722
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4723
|
+
}>;
|
|
4724
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4725
|
+
error: number;
|
|
4726
|
+
info: number;
|
|
4727
|
+
success: number;
|
|
4728
|
+
total: number;
|
|
4729
|
+
warning: number;
|
|
4730
|
+
}, 200, "application/json">>>;
|
|
4731
|
+
/** List all unread notifications */
|
|
4732
|
+
slistNotifications: (request?: {
|
|
4733
|
+
headers?: {
|
|
4734
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4735
|
+
"x-access-token"?: string | undefined;
|
|
4736
|
+
} | undefined;
|
|
4737
|
+
queryParameters?: {
|
|
4738
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4739
|
+
status?: "read" | "unread" | undefined;
|
|
4740
|
+
} | undefined;
|
|
4741
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4742
|
+
headers?: Partial<{
|
|
4743
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4744
|
+
}> | undefined;
|
|
4745
|
+
} & {
|
|
4746
|
+
queryParameters: {
|
|
4747
|
+
status?: "read" | "unread" | undefined;
|
|
4748
|
+
} & Partial<{
|
|
4749
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4750
|
+
}>;
|
|
4751
|
+
} & {
|
|
4752
|
+
headers: {
|
|
4753
|
+
"x-access-token"?: string | undefined;
|
|
4754
|
+
} & Partial<{
|
|
4755
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4756
|
+
}>;
|
|
4757
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
|
|
4758
|
+
/** Mark all notifications as read. */
|
|
4759
|
+
sreadAllNotifications: (request?: {
|
|
4760
|
+
headers?: {
|
|
4761
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4762
|
+
"x-access-token"?: string | undefined;
|
|
4763
|
+
} | undefined;
|
|
4764
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4765
|
+
headers?: Partial<{
|
|
4766
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4767
|
+
}> | undefined;
|
|
4768
|
+
} & {
|
|
4769
|
+
headers: {
|
|
4770
|
+
"x-access-token"?: string | undefined;
|
|
4771
|
+
} & Partial<{
|
|
4772
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4773
|
+
}>;
|
|
4774
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4775
|
+
status: "read";
|
|
4776
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4777
|
+
[x: string]: unknown;
|
|
4778
|
+
}, 403, "application/json">>>;
|
|
4779
|
+
/** Mark notification as read. */
|
|
4780
|
+
sreadNotification: (request: {
|
|
4781
|
+
data: {
|
|
4782
|
+
status: "read";
|
|
4783
|
+
};
|
|
4784
|
+
messageId: string;
|
|
4785
|
+
headers?: {
|
|
4786
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4787
|
+
"x-access-token"?: string | undefined;
|
|
4788
|
+
} | undefined;
|
|
4789
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4790
|
+
data: {
|
|
4791
|
+
status: "read";
|
|
4792
|
+
};
|
|
4793
|
+
} & {
|
|
4794
|
+
pathParameters: {
|
|
4795
|
+
messageId: string;
|
|
4796
|
+
};
|
|
4797
|
+
} & {
|
|
4798
|
+
headers?: Partial<{
|
|
4799
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4800
|
+
}> | undefined;
|
|
4801
|
+
} & {
|
|
4802
|
+
headers: {
|
|
4803
|
+
"x-access-token"?: string | undefined;
|
|
4804
|
+
} & Partial<{
|
|
4805
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4806
|
+
}>;
|
|
4807
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4808
|
+
status: "read";
|
|
4809
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4810
|
+
[x: string]: unknown;
|
|
4811
|
+
}, 404, "application/json">>>;
|
|
4812
|
+
};
|
|
4636
4813
|
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
4637
4814
|
readonly domain: {
|
|
4638
4815
|
/** updates a-records for a specific zone */
|
|
@@ -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. */
|
|
@@ -322,6 +322,23 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
322
322
|
/** Update a RedisDatabase's description. */
|
|
323
323
|
updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
|
|
324
324
|
};
|
|
325
|
+
/** The notification API allows you to manage your notifications. */
|
|
326
|
+
this.notification = {
|
|
327
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
328
|
+
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
|
|
329
|
+
/** Getting the subscription status of the subscription. */
|
|
330
|
+
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
331
|
+
/** Unsubscribe a user from the mStudio newsletter. */
|
|
332
|
+
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
333
|
+
/** Get the counts for unread notifications of the user. */
|
|
334
|
+
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
335
|
+
/** List all unread notifications */
|
|
336
|
+
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
337
|
+
/** Mark all notifications as read. */
|
|
338
|
+
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
339
|
+
/** Mark notification as read. */
|
|
340
|
+
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
341
|
+
};
|
|
325
342
|
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
326
343
|
this.domain = {
|
|
327
344
|
/** updates a-records for a specific zone */
|
|
@@ -453,23 +470,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
453
470
|
/** Update whitelist for a given project ID */
|
|
454
471
|
projectsettingUpdateWhitelist: this.requestFunctionFactory(descriptors.mailProjectsettingUpdateWhitelist),
|
|
455
472
|
};
|
|
456
|
-
/** The notification API allows you to manage your notifications. */
|
|
457
|
-
this.notification = {
|
|
458
|
-
/** Getting the subscription status of the subscription. */
|
|
459
|
-
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
460
|
-
/** Unsubscribe a user from the mStudio newsletter. */
|
|
461
|
-
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
462
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
463
|
-
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
|
|
464
|
-
/** Get the counts for unread notifications of the user. */
|
|
465
|
-
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
466
|
-
/** List all unread notifications */
|
|
467
|
-
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
468
|
-
/** Mark all notifications as read. */
|
|
469
|
-
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
470
|
-
/** Mark notification as read. */
|
|
471
|
-
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
472
|
-
};
|
|
473
473
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
474
474
|
this.project = {
|
|
475
475
|
/** 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 */
|
|
@@ -383,8 +385,6 @@ export declare const metricsListMetricsInternal: OpenAPIOperation<RequestType<Si
|
|
|
383
385
|
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
386
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
385
387
|
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
388
|
/** Get the counts for unread notifications of the user. */
|
|
389
389
|
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
390
|
/** List all unread notifications */
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appReconcileDetectedApps = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
|
|
4
4
|
exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = exports.conversationCreateConversation = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.
|
|
5
|
+
exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetScreenshotForDomain = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsSubZoneCreate = exports.dnsRecordTxtSet = exports.dnsRecordSrvSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
|
|
6
|
+
exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.metricsListMetricsInternal = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressRequestAcmeCertificateIssuance = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainResendDomainEmail = void 0;
|
|
7
7
|
exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = void 0;
|
|
8
8
|
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
@@ -738,6 +738,12 @@ exports.databaseUpdateRedisDatabaseDescription = {
|
|
|
738
738
|
method: "PATCH",
|
|
739
739
|
operationId: "database-update-redis-database-description",
|
|
740
740
|
};
|
|
741
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
742
|
+
exports.newsletterSubscribeUser = {
|
|
743
|
+
path: "/v2/newsletter-subscriptions",
|
|
744
|
+
method: "POST",
|
|
745
|
+
operationId: "newsletter-subscribe-user",
|
|
746
|
+
};
|
|
741
747
|
/** updates a-records for a specific zone */
|
|
742
748
|
exports.dnsRecordAsetCustom = {
|
|
743
749
|
path: "/v2/dns/zones/{zoneId}/recordset/acombined/custom",
|
|
@@ -1146,12 +1152,6 @@ exports.newsletterUnsubscribeUser = {
|
|
|
1146
1152
|
method: "DELETE",
|
|
1147
1153
|
operationId: "newsletter-unsubscribe-user",
|
|
1148
1154
|
};
|
|
1149
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
1150
|
-
exports.newsletterSubscribeUser = {
|
|
1151
|
-
path: "/v2/newsletter-subscriptions",
|
|
1152
|
-
method: "POST",
|
|
1153
|
-
operationId: "newsletter-subscribe-user",
|
|
1154
|
-
};
|
|
1155
1155
|
/** Get the counts for unread notifications of the user. */
|
|
1156
1156
|
exports.notificationsCountUnreadNotifications = {
|
|
1157
1157
|
path: "/v2/notifications/unread-counts",
|
|
@@ -6644,8 +6644,44 @@ export declare module MittwaldAPIV2 {
|
|
|
6644
6644
|
namespace V2DomainsDomainIdContracts { }
|
|
6645
6645
|
namespace V2ProjectsProjectIdContracts { }
|
|
6646
6646
|
namespace V2ServersServerIdContracts { }
|
|
6647
|
-
namespace
|
|
6648
|
-
|
|
6647
|
+
namespace V2NewsletterSubscriptions {
|
|
6648
|
+
namespace Post {
|
|
6649
|
+
namespace Parameters {
|
|
6650
|
+
type Path = {};
|
|
6651
|
+
interface RequestBody {
|
|
6652
|
+
firstName?: string;
|
|
6653
|
+
lastName?: string;
|
|
6654
|
+
}
|
|
6655
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
6656
|
+
type Query = {};
|
|
6657
|
+
}
|
|
6658
|
+
namespace Responses {
|
|
6659
|
+
namespace $200 {
|
|
6660
|
+
namespace Content {
|
|
6661
|
+
interface ApplicationJson {
|
|
6662
|
+
active: boolean;
|
|
6663
|
+
email: string;
|
|
6664
|
+
registered: boolean;
|
|
6665
|
+
}
|
|
6666
|
+
}
|
|
6667
|
+
}
|
|
6668
|
+
namespace $400 {
|
|
6669
|
+
namespace Content {
|
|
6670
|
+
interface ApplicationJson {
|
|
6671
|
+
[k: string]: unknown;
|
|
6672
|
+
}
|
|
6673
|
+
}
|
|
6674
|
+
}
|
|
6675
|
+
namespace Default {
|
|
6676
|
+
namespace Content {
|
|
6677
|
+
interface ApplicationJson {
|
|
6678
|
+
[k: string]: unknown;
|
|
6679
|
+
}
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
}
|
|
6684
|
+
}
|
|
6649
6685
|
namespace V2SignupEmail { }
|
|
6650
6686
|
namespace V2SignupPasswordResetConfirm { }
|
|
6651
6687
|
namespace V2UsersSelfIssues { }
|
|
@@ -9280,43 +9316,6 @@ export declare module MittwaldAPIV2 {
|
|
|
9280
9316
|
}
|
|
9281
9317
|
}
|
|
9282
9318
|
}
|
|
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
9319
|
namespace V2NotificationsUnreadCounts {
|
|
9321
9320
|
namespace Get {
|
|
9322
9321
|
namespace Parameters {
|
|
@@ -4633,6 +4633,183 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4633
4633
|
[x: string]: unknown;
|
|
4634
4634
|
}, 404, "application/json">>>;
|
|
4635
4635
|
};
|
|
4636
|
+
/** The notification API allows you to manage your notifications. */
|
|
4637
|
+
readonly notification: {
|
|
4638
|
+
/** Subscribe a user to the mStudio newsletter. */
|
|
4639
|
+
newsletterSubscribeUser: (request?: {
|
|
4640
|
+
data?: {
|
|
4641
|
+
firstName?: string | undefined;
|
|
4642
|
+
lastName?: string | undefined;
|
|
4643
|
+
} | undefined;
|
|
4644
|
+
headers?: {
|
|
4645
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4646
|
+
"x-access-token"?: string | undefined;
|
|
4647
|
+
} | undefined;
|
|
4648
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4649
|
+
data: {
|
|
4650
|
+
firstName?: string | undefined;
|
|
4651
|
+
lastName?: string | undefined;
|
|
4652
|
+
};
|
|
4653
|
+
} & {
|
|
4654
|
+
headers?: Partial<{
|
|
4655
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4656
|
+
}> | undefined;
|
|
4657
|
+
} & {
|
|
4658
|
+
headers: {
|
|
4659
|
+
"x-access-token"?: string | undefined;
|
|
4660
|
+
} & Partial<{
|
|
4661
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4662
|
+
}>;
|
|
4663
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4664
|
+
active: boolean;
|
|
4665
|
+
email: string;
|
|
4666
|
+
registered: boolean;
|
|
4667
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4668
|
+
[x: string]: unknown;
|
|
4669
|
+
}, 400, "application/json">>>;
|
|
4670
|
+
/** Getting the subscription status of the subscription. */
|
|
4671
|
+
newsletterGetInfo: (request?: {
|
|
4672
|
+
headers?: {
|
|
4673
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4674
|
+
"x-access-token"?: string | undefined;
|
|
4675
|
+
} | undefined;
|
|
4676
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4677
|
+
headers?: Partial<{
|
|
4678
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4679
|
+
}> | undefined;
|
|
4680
|
+
} & {
|
|
4681
|
+
headers: {
|
|
4682
|
+
"x-access-token"?: string | undefined;
|
|
4683
|
+
} & Partial<{
|
|
4684
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4685
|
+
}>;
|
|
4686
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4687
|
+
active: boolean;
|
|
4688
|
+
email: string;
|
|
4689
|
+
registered: boolean;
|
|
4690
|
+
}, 200, "application/json">>>;
|
|
4691
|
+
/** Unsubscribe a user from the mStudio newsletter. */
|
|
4692
|
+
newsletterUnsubscribeUser: (request?: {
|
|
4693
|
+
headers?: {
|
|
4694
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4695
|
+
"x-access-token"?: string | undefined;
|
|
4696
|
+
} | undefined;
|
|
4697
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4698
|
+
headers?: Partial<{
|
|
4699
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4700
|
+
}> | undefined;
|
|
4701
|
+
} & {
|
|
4702
|
+
headers: {
|
|
4703
|
+
"x-access-token"?: string | undefined;
|
|
4704
|
+
} & Partial<{
|
|
4705
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4706
|
+
}>;
|
|
4707
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
|
|
4708
|
+
/** Get the counts for unread notifications of the user. */
|
|
4709
|
+
scountUnreadNotifications: (request?: {
|
|
4710
|
+
headers?: {
|
|
4711
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4712
|
+
"x-access-token"?: string | undefined;
|
|
4713
|
+
} | undefined;
|
|
4714
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4715
|
+
headers?: Partial<{
|
|
4716
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4717
|
+
}> | undefined;
|
|
4718
|
+
} & {
|
|
4719
|
+
headers: {
|
|
4720
|
+
"x-access-token"?: string | undefined;
|
|
4721
|
+
} & Partial<{
|
|
4722
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4723
|
+
}>;
|
|
4724
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4725
|
+
error: number;
|
|
4726
|
+
info: number;
|
|
4727
|
+
success: number;
|
|
4728
|
+
total: number;
|
|
4729
|
+
warning: number;
|
|
4730
|
+
}, 200, "application/json">>>;
|
|
4731
|
+
/** List all unread notifications */
|
|
4732
|
+
slistNotifications: (request?: {
|
|
4733
|
+
headers?: {
|
|
4734
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4735
|
+
"x-access-token"?: string | undefined;
|
|
4736
|
+
} | undefined;
|
|
4737
|
+
queryParameters?: {
|
|
4738
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4739
|
+
status?: "read" | "unread" | undefined;
|
|
4740
|
+
} | undefined;
|
|
4741
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4742
|
+
headers?: Partial<{
|
|
4743
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4744
|
+
}> | undefined;
|
|
4745
|
+
} & {
|
|
4746
|
+
queryParameters: {
|
|
4747
|
+
status?: "read" | "unread" | undefined;
|
|
4748
|
+
} & Partial<{
|
|
4749
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4750
|
+
}>;
|
|
4751
|
+
} & {
|
|
4752
|
+
headers: {
|
|
4753
|
+
"x-access-token"?: string | undefined;
|
|
4754
|
+
} & Partial<{
|
|
4755
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4756
|
+
}>;
|
|
4757
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[], 200, "application/json">>>;
|
|
4758
|
+
/** Mark all notifications as read. */
|
|
4759
|
+
sreadAllNotifications: (request?: {
|
|
4760
|
+
headers?: {
|
|
4761
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4762
|
+
"x-access-token"?: string | undefined;
|
|
4763
|
+
} | undefined;
|
|
4764
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4765
|
+
headers?: Partial<{
|
|
4766
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4767
|
+
}> | undefined;
|
|
4768
|
+
} & {
|
|
4769
|
+
headers: {
|
|
4770
|
+
"x-access-token"?: string | undefined;
|
|
4771
|
+
} & Partial<{
|
|
4772
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4773
|
+
}>;
|
|
4774
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4775
|
+
status: "read";
|
|
4776
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4777
|
+
[x: string]: unknown;
|
|
4778
|
+
}, 403, "application/json">>>;
|
|
4779
|
+
/** Mark notification as read. */
|
|
4780
|
+
sreadNotification: (request: {
|
|
4781
|
+
data: {
|
|
4782
|
+
status: "read";
|
|
4783
|
+
};
|
|
4784
|
+
messageId: string;
|
|
4785
|
+
headers?: {
|
|
4786
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4787
|
+
"x-access-token"?: string | undefined;
|
|
4788
|
+
} | undefined;
|
|
4789
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4790
|
+
data: {
|
|
4791
|
+
status: "read";
|
|
4792
|
+
};
|
|
4793
|
+
} & {
|
|
4794
|
+
pathParameters: {
|
|
4795
|
+
messageId: string;
|
|
4796
|
+
};
|
|
4797
|
+
} & {
|
|
4798
|
+
headers?: Partial<{
|
|
4799
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4800
|
+
}> | undefined;
|
|
4801
|
+
} & {
|
|
4802
|
+
headers: {
|
|
4803
|
+
"x-access-token"?: string | undefined;
|
|
4804
|
+
} & Partial<{
|
|
4805
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4806
|
+
}>;
|
|
4807
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
4808
|
+
status: "read";
|
|
4809
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
4810
|
+
[x: string]: unknown;
|
|
4811
|
+
}, 404, "application/json">>>;
|
|
4812
|
+
};
|
|
4636
4813
|
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
4637
4814
|
readonly domain: {
|
|
4638
4815
|
/** updates a-records for a specific zone */
|
|
@@ -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 */
|
|
@@ -383,8 +385,6 @@ export declare const metricsListMetricsInternal: OpenAPIOperation<RequestType<Si
|
|
|
383
385
|
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
386
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
385
387
|
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
388
|
/** Get the counts for unread notifications of the user. */
|
|
389
389
|
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
390
|
/** List all unread notifications */
|
|
@@ -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",
|
|
@@ -1138,12 +1144,6 @@ export const newsletterUnsubscribeUser = {
|
|
|
1138
1144
|
method: "DELETE",
|
|
1139
1145
|
operationId: "newsletter-unsubscribe-user",
|
|
1140
1146
|
};
|
|
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
1147
|
/** Get the counts for unread notifications of the user. */
|
|
1148
1148
|
export const notificationsCountUnreadNotifications = {
|
|
1149
1149
|
path: "/v2/notifications/unread-counts",
|
|
@@ -6644,8 +6644,44 @@ export declare module MittwaldAPIV2 {
|
|
|
6644
6644
|
namespace V2DomainsDomainIdContracts { }
|
|
6645
6645
|
namespace V2ProjectsProjectIdContracts { }
|
|
6646
6646
|
namespace V2ServersServerIdContracts { }
|
|
6647
|
-
namespace
|
|
6648
|
-
|
|
6647
|
+
namespace V2NewsletterSubscriptions {
|
|
6648
|
+
namespace Post {
|
|
6649
|
+
namespace Parameters {
|
|
6650
|
+
type Path = {};
|
|
6651
|
+
interface RequestBody {
|
|
6652
|
+
firstName?: string;
|
|
6653
|
+
lastName?: string;
|
|
6654
|
+
}
|
|
6655
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
6656
|
+
type Query = {};
|
|
6657
|
+
}
|
|
6658
|
+
namespace Responses {
|
|
6659
|
+
namespace $200 {
|
|
6660
|
+
namespace Content {
|
|
6661
|
+
interface ApplicationJson {
|
|
6662
|
+
active: boolean;
|
|
6663
|
+
email: string;
|
|
6664
|
+
registered: boolean;
|
|
6665
|
+
}
|
|
6666
|
+
}
|
|
6667
|
+
}
|
|
6668
|
+
namespace $400 {
|
|
6669
|
+
namespace Content {
|
|
6670
|
+
interface ApplicationJson {
|
|
6671
|
+
[k: string]: unknown;
|
|
6672
|
+
}
|
|
6673
|
+
}
|
|
6674
|
+
}
|
|
6675
|
+
namespace Default {
|
|
6676
|
+
namespace Content {
|
|
6677
|
+
interface ApplicationJson {
|
|
6678
|
+
[k: string]: unknown;
|
|
6679
|
+
}
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
}
|
|
6684
|
+
}
|
|
6649
6685
|
namespace V2SignupEmail { }
|
|
6650
6686
|
namespace V2SignupPasswordResetConfirm { }
|
|
6651
6687
|
namespace V2UsersSelfIssues { }
|
|
@@ -9280,43 +9316,6 @@ export declare module MittwaldAPIV2 {
|
|
|
9280
9316
|
}
|
|
9281
9317
|
}
|
|
9282
9318
|
}
|
|
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
9319
|
namespace V2NotificationsUnreadCounts {
|
|
9321
9320
|
namespace Get {
|
|
9322
9321
|
namespace Parameters {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '3.0.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '3.0.10';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '3.0.
|
|
1
|
+
export const MittwaldAPIClientVersion = '3.0.10';
|