@mittwald/api-client 4.495.1 → 4.496.0
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/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.js +6 -2
- package/dist/esm/generated/v2/descriptors.js +15 -3
- package/dist/esm/generated/v3-next/client-react.js +2 -0
- package/dist/esm/generated/v3-next/client.js +6 -2
- package/dist/esm/generated/v3-next/descriptors.js +15 -3
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +30 -0
- package/dist/types/generated/v2/client.d.ts +163 -2
- package/dist/types/generated/v2/descriptors.d.ts +6 -2
- package/dist/types/generated/v2/types.d.ts +244 -26
- package/dist/types/generated/v3-next/client-react.d.ts +30 -0
- package/dist/types/generated/v3-next/client.d.ts +163 -2
- package/dist/types/generated/v3-next/descriptors.d.ts +6 -2
- package/dist/types/generated/v3-next/types.d.ts +244 -26
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -402,6 +402,8 @@ const buildNotificationApi = (baseClient) => ({
|
|
|
402
402
|
newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
|
|
403
403
|
/** Get the counts for unread notifications of the user. */
|
|
404
404
|
scountUnreadNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsCountUnreadNotifications, baseClient.notification.scountUnreadNotifications).getApiResource,
|
|
405
|
+
/** Get notification settings for a user. */
|
|
406
|
+
sgetNotificationSettings: new ApiCallAsyncResourceFactory(descriptors.notificationsGetNotificationSettings, baseClient.notification.sgetNotificationSettings).getApiResource,
|
|
405
407
|
/** List all unread notifications. */
|
|
406
408
|
slistNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
|
|
407
409
|
});
|
|
@@ -737,14 +737,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
737
737
|
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
738
738
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
739
739
|
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
740
|
+
/** Adjust notification settings for message type. */
|
|
741
|
+
sadjustNotificationMessageTypeSettings: this.requestFunctionFactory(descriptors.notificationsAdjustNotificationMessageTypeSettings),
|
|
740
742
|
/** Get the counts for unread notifications of the user. */
|
|
741
743
|
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
744
|
+
/** Get notification settings for a user. */
|
|
745
|
+
sgetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsGetNotificationSettings),
|
|
742
746
|
/** List all unread notifications. */
|
|
743
747
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
744
748
|
/** Mark all notifications as read. */
|
|
745
749
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
746
|
-
/**
|
|
747
|
-
|
|
750
|
+
/** Update a notification's read status. */
|
|
751
|
+
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
748
752
|
};
|
|
749
753
|
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
750
754
|
user = {
|
|
@@ -2128,12 +2128,24 @@ export const newsletterUnsubscribeUser = {
|
|
|
2128
2128
|
method: "DELETE",
|
|
2129
2129
|
operationId: "newsletter-unsubscribe-user",
|
|
2130
2130
|
};
|
|
2131
|
+
/** Adjust notification settings for message type. */
|
|
2132
|
+
export const notificationsAdjustNotificationMessageTypeSettings = {
|
|
2133
|
+
path: "/v2/notification-settings/{messageType}",
|
|
2134
|
+
method: "PATCH",
|
|
2135
|
+
operationId: "notifications-adjust-notification-message-type-settings",
|
|
2136
|
+
};
|
|
2131
2137
|
/** Get the counts for unread notifications of the user. */
|
|
2132
2138
|
export const notificationsCountUnreadNotifications = {
|
|
2133
2139
|
path: "/v2/notification-unread-counts",
|
|
2134
2140
|
method: "GET",
|
|
2135
2141
|
operationId: "notifications-count-unread-notifications",
|
|
2136
2142
|
};
|
|
2143
|
+
/** Get notification settings for a user. */
|
|
2144
|
+
export const notificationsGetNotificationSettings = {
|
|
2145
|
+
path: "/v2/notification-settings",
|
|
2146
|
+
method: "GET",
|
|
2147
|
+
operationId: "notifications-get-notification-settings",
|
|
2148
|
+
};
|
|
2137
2149
|
/** List all unread notifications. */
|
|
2138
2150
|
export const notificationsListNotifications = {
|
|
2139
2151
|
path: "/v2/notifications",
|
|
@@ -2146,11 +2158,11 @@ export const notificationsReadAllNotifications = {
|
|
|
2146
2158
|
method: "POST",
|
|
2147
2159
|
operationId: "notifications-read-all-notifications",
|
|
2148
2160
|
};
|
|
2149
|
-
/**
|
|
2150
|
-
export const
|
|
2161
|
+
/** Update a notification's read status. */
|
|
2162
|
+
export const notificationsUpdateNotificationStatus = {
|
|
2151
2163
|
path: "/v2/notifications/{notificationId}/status",
|
|
2152
2164
|
method: "PUT",
|
|
2153
|
-
operationId: "notifications-
|
|
2165
|
+
operationId: "notifications-update-notification-status",
|
|
2154
2166
|
};
|
|
2155
2167
|
/** Get list of Orders. */
|
|
2156
2168
|
export const orderListOrders = {
|
|
@@ -402,6 +402,8 @@ const buildNotificationApi = (baseClient) => ({
|
|
|
402
402
|
newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
|
|
403
403
|
/** Get the counts for unread notifications of the user. */
|
|
404
404
|
scountUnreadNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsCountUnreadNotifications, baseClient.notification.scountUnreadNotifications).getApiResource,
|
|
405
|
+
/** Get notification settings for a user. */
|
|
406
|
+
sgetNotificationSettings: new ApiCallAsyncResourceFactory(descriptors.notificationsGetNotificationSettings, baseClient.notification.sgetNotificationSettings).getApiResource,
|
|
405
407
|
/** List all unread notifications. */
|
|
406
408
|
slistNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
|
|
407
409
|
});
|
|
@@ -737,14 +737,18 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
737
737
|
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
738
738
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
739
739
|
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
740
|
+
/** Adjust notification settings for message type. */
|
|
741
|
+
sadjustNotificationMessageTypeSettings: this.requestFunctionFactory(descriptors.notificationsAdjustNotificationMessageTypeSettings),
|
|
740
742
|
/** Get the counts for unread notifications of the user. */
|
|
741
743
|
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
744
|
+
/** Get notification settings for a user. */
|
|
745
|
+
sgetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsGetNotificationSettings),
|
|
742
746
|
/** List all unread notifications. */
|
|
743
747
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
744
748
|
/** Mark all notifications as read. */
|
|
745
749
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
746
|
-
/**
|
|
747
|
-
|
|
750
|
+
/** Update a notification's read status. */
|
|
751
|
+
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
748
752
|
};
|
|
749
753
|
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
750
754
|
user = {
|
|
@@ -2128,12 +2128,24 @@ export const newsletterUnsubscribeUser = {
|
|
|
2128
2128
|
method: "DELETE",
|
|
2129
2129
|
operationId: "newsletter-unsubscribe-user",
|
|
2130
2130
|
};
|
|
2131
|
+
/** Adjust notification settings for message type. */
|
|
2132
|
+
export const notificationsAdjustNotificationMessageTypeSettings = {
|
|
2133
|
+
path: "/v3-next/notification-settings/{messageType}",
|
|
2134
|
+
method: "PATCH",
|
|
2135
|
+
operationId: "notifications-adjust-notification-message-type-settings",
|
|
2136
|
+
};
|
|
2131
2137
|
/** Get the counts for unread notifications of the user. */
|
|
2132
2138
|
export const notificationsCountUnreadNotifications = {
|
|
2133
2139
|
path: "/v3-next/notification-unread-counts",
|
|
2134
2140
|
method: "GET",
|
|
2135
2141
|
operationId: "notifications-count-unread-notifications",
|
|
2136
2142
|
};
|
|
2143
|
+
/** Get notification settings for a user. */
|
|
2144
|
+
export const notificationsGetNotificationSettings = {
|
|
2145
|
+
path: "/v3-next/notification-settings",
|
|
2146
|
+
method: "GET",
|
|
2147
|
+
operationId: "notifications-get-notification-settings",
|
|
2148
|
+
};
|
|
2137
2149
|
/** List all unread notifications. */
|
|
2138
2150
|
export const notificationsListNotifications = {
|
|
2139
2151
|
path: "/v3-next/notifications",
|
|
@@ -2146,11 +2158,11 @@ export const notificationsReadAllNotifications = {
|
|
|
2146
2158
|
method: "POST",
|
|
2147
2159
|
operationId: "notifications-read-all-notifications",
|
|
2148
2160
|
};
|
|
2149
|
-
/**
|
|
2150
|
-
export const
|
|
2161
|
+
/** Update a notification's read status. */
|
|
2162
|
+
export const notificationsUpdateNotificationStatus = {
|
|
2151
2163
|
path: "/v3-next/notifications/{notificationId}/status",
|
|
2152
2164
|
method: "PUT",
|
|
2153
|
-
operationId: "notifications-
|
|
2165
|
+
operationId: "notifications-update-notification-status",
|
|
2154
2166
|
};
|
|
2155
2167
|
/** Get list of Orders. */
|
|
2156
2168
|
export const orderListOrders = {
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.495.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.495.1';
|
|
@@ -284,6 +284,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
284
284
|
hostname?: string | undefined;
|
|
285
285
|
id: string;
|
|
286
286
|
installationPath: string;
|
|
287
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
287
288
|
lastError?: string | undefined;
|
|
288
289
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
289
290
|
lockedBy?: {
|
|
@@ -328,6 +329,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
328
329
|
recommended?: boolean | undefined;
|
|
329
330
|
requestHandler?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement | undefined;
|
|
330
331
|
systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
332
|
+
updateConstraint?: string | undefined;
|
|
331
333
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
332
334
|
}>;
|
|
333
335
|
/** Get the missing requirements of an appInstallation for a specific target AppVersion. */
|
|
@@ -389,6 +391,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
389
391
|
appIds?: string[] | undefined;
|
|
390
392
|
searchTerm?: string | undefined;
|
|
391
393
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
394
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
395
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
392
396
|
limit?: number | undefined;
|
|
393
397
|
skip?: number | undefined;
|
|
394
398
|
page?: number | undefined;
|
|
@@ -406,6 +410,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
406
410
|
appIds?: string[] | undefined;
|
|
407
411
|
searchTerm?: string | undefined;
|
|
408
412
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
413
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
414
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
409
415
|
limit?: number | undefined;
|
|
410
416
|
skip?: number | undefined;
|
|
411
417
|
page?: number | undefined;
|
|
@@ -3236,6 +3242,28 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3236
3242
|
total: number;
|
|
3237
3243
|
warning: number;
|
|
3238
3244
|
}>;
|
|
3245
|
+
/** Get notification settings for a user. */
|
|
3246
|
+
sgetNotificationSettings: (conf?: {
|
|
3247
|
+
headers?: {
|
|
3248
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3249
|
+
"x-access-token"?: string | undefined;
|
|
3250
|
+
} | undefined;
|
|
3251
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3252
|
+
messageTypes: {
|
|
3253
|
+
[k: string]: {
|
|
3254
|
+
channels: {
|
|
3255
|
+
email: {
|
|
3256
|
+
active: boolean;
|
|
3257
|
+
editable: boolean;
|
|
3258
|
+
};
|
|
3259
|
+
frontendNotification: {
|
|
3260
|
+
active: boolean;
|
|
3261
|
+
editable: boolean;
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
};
|
|
3265
|
+
};
|
|
3266
|
+
}>;
|
|
3239
3267
|
/** List all unread notifications. */
|
|
3240
3268
|
slistNotifications: (conf?: {
|
|
3241
3269
|
headers?: {
|
|
@@ -3254,6 +3282,8 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3254
3282
|
limit?: number | undefined;
|
|
3255
3283
|
skip?: number | undefined;
|
|
3256
3284
|
page?: number | undefined;
|
|
3285
|
+
sort?: "createdAt" | "severity" | undefined;
|
|
3286
|
+
order?: "asc" | "desc" | undefined;
|
|
3257
3287
|
} | undefined;
|
|
3258
3288
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
|
|
3259
3289
|
};
|
|
@@ -1906,6 +1906,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1906
1906
|
hostname?: string | undefined;
|
|
1907
1907
|
id: string;
|
|
1908
1908
|
installationPath: string;
|
|
1909
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
1909
1910
|
lastError?: string | undefined;
|
|
1910
1911
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
1911
1912
|
lockedBy?: {
|
|
@@ -1959,6 +1960,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1959
1960
|
hostname?: string | undefined;
|
|
1960
1961
|
id: string;
|
|
1961
1962
|
installationPath: string;
|
|
1963
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
1962
1964
|
lastError?: string | undefined;
|
|
1963
1965
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
1964
1966
|
lockedBy?: {
|
|
@@ -2155,6 +2157,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2155
2157
|
recommended?: boolean | undefined;
|
|
2156
2158
|
requestHandler?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement | undefined;
|
|
2157
2159
|
systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
2160
|
+
updateConstraint?: string | undefined;
|
|
2158
2161
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
2159
2162
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2160
2163
|
[x: string]: unknown;
|
|
@@ -2189,6 +2192,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2189
2192
|
recommended?: boolean | undefined;
|
|
2190
2193
|
requestHandler?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement | undefined;
|
|
2191
2194
|
systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
2195
|
+
updateConstraint?: string | undefined;
|
|
2192
2196
|
userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
2193
2197
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2194
2198
|
[x: string]: unknown;
|
|
@@ -2395,6 +2399,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2395
2399
|
appIds?: string[] | undefined;
|
|
2396
2400
|
searchTerm?: string | undefined;
|
|
2397
2401
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2402
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2403
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2398
2404
|
limit?: number | undefined;
|
|
2399
2405
|
skip?: number | undefined;
|
|
2400
2406
|
page?: number | undefined;
|
|
@@ -2408,6 +2414,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2408
2414
|
appIds?: string[] | undefined;
|
|
2409
2415
|
searchTerm?: string | undefined;
|
|
2410
2416
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2417
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2418
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2411
2419
|
limit?: number | undefined;
|
|
2412
2420
|
skip?: number | undefined;
|
|
2413
2421
|
page?: number | undefined;
|
|
@@ -2431,6 +2439,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2431
2439
|
appIds?: string[] | undefined;
|
|
2432
2440
|
searchTerm?: string | undefined;
|
|
2433
2441
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2442
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2443
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2434
2444
|
limit?: number | undefined;
|
|
2435
2445
|
skip?: number | undefined;
|
|
2436
2446
|
page?: number | undefined;
|
|
@@ -2458,6 +2468,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2458
2468
|
appIds?: string[] | undefined;
|
|
2459
2469
|
searchTerm?: string | undefined;
|
|
2460
2470
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2471
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2472
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2461
2473
|
limit?: number | undefined;
|
|
2462
2474
|
skip?: number | undefined;
|
|
2463
2475
|
page?: number | undefined;
|
|
@@ -2475,6 +2487,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2475
2487
|
appIds?: string[] | undefined;
|
|
2476
2488
|
searchTerm?: string | undefined;
|
|
2477
2489
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2490
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2491
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2478
2492
|
limit?: number | undefined;
|
|
2479
2493
|
skip?: number | undefined;
|
|
2480
2494
|
page?: number | undefined;
|
|
@@ -2502,6 +2516,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2502
2516
|
appIds?: string[] | undefined;
|
|
2503
2517
|
searchTerm?: string | undefined;
|
|
2504
2518
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
2519
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
2520
|
+
autoUpdatesSupported?: boolean | undefined;
|
|
2505
2521
|
limit?: number | undefined;
|
|
2506
2522
|
skip?: number | undefined;
|
|
2507
2523
|
page?: number | undefined;
|
|
@@ -23701,6 +23717,80 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23701
23717
|
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
23702
23718
|
[x: string]: unknown;
|
|
23703
23719
|
}, 429, "application/json">>>;
|
|
23720
|
+
/** Adjust notification settings for message type. */
|
|
23721
|
+
sadjustNotificationMessageTypeSettings: (request: {
|
|
23722
|
+
messageType: string;
|
|
23723
|
+
data?: {
|
|
23724
|
+
email?: {
|
|
23725
|
+
active: boolean;
|
|
23726
|
+
} | undefined;
|
|
23727
|
+
frontendNotification?: {
|
|
23728
|
+
active: boolean;
|
|
23729
|
+
} | undefined;
|
|
23730
|
+
} | undefined;
|
|
23731
|
+
headers?: {
|
|
23732
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
23733
|
+
"x-access-token"?: string | undefined;
|
|
23734
|
+
} | undefined;
|
|
23735
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
23736
|
+
data: {
|
|
23737
|
+
email?: {
|
|
23738
|
+
active: boolean;
|
|
23739
|
+
} | undefined;
|
|
23740
|
+
frontendNotification?: {
|
|
23741
|
+
active: boolean;
|
|
23742
|
+
} | undefined;
|
|
23743
|
+
};
|
|
23744
|
+
} & {
|
|
23745
|
+
pathParameters: {
|
|
23746
|
+
messageType: string;
|
|
23747
|
+
};
|
|
23748
|
+
} & {
|
|
23749
|
+
headers?: Partial<{
|
|
23750
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23751
|
+
}>;
|
|
23752
|
+
} & {
|
|
23753
|
+
headers: {
|
|
23754
|
+
"x-access-token"?: string | undefined;
|
|
23755
|
+
} & Partial<{
|
|
23756
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23757
|
+
}>;
|
|
23758
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
23759
|
+
[x: string]: unknown;
|
|
23760
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23761
|
+
[x: string]: unknown;
|
|
23762
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23763
|
+
[x: string]: unknown;
|
|
23764
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
23765
|
+
data: {
|
|
23766
|
+
email?: {
|
|
23767
|
+
active: boolean;
|
|
23768
|
+
} | undefined;
|
|
23769
|
+
frontendNotification?: {
|
|
23770
|
+
active: boolean;
|
|
23771
|
+
} | undefined;
|
|
23772
|
+
};
|
|
23773
|
+
} & {
|
|
23774
|
+
pathParameters: {
|
|
23775
|
+
messageType: string;
|
|
23776
|
+
};
|
|
23777
|
+
} & {
|
|
23778
|
+
headers?: Partial<{
|
|
23779
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23780
|
+
}>;
|
|
23781
|
+
} & {
|
|
23782
|
+
headers: {
|
|
23783
|
+
"x-access-token"?: string | undefined;
|
|
23784
|
+
} & Partial<{
|
|
23785
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23786
|
+
}>;
|
|
23787
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
23788
|
+
[x: string]: unknown;
|
|
23789
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23790
|
+
[x: string]: unknown;
|
|
23791
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23792
|
+
[x: string]: unknown;
|
|
23793
|
+
}, 429, "application/json">>>;
|
|
23704
23794
|
/** Get the counts for unread notifications of the user. */
|
|
23705
23795
|
scountUnreadNotifications: (request?: {
|
|
23706
23796
|
headers?: {
|
|
@@ -23744,6 +23834,71 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23744
23834
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23745
23835
|
[x: string]: unknown;
|
|
23746
23836
|
}, 429, "application/json">>>;
|
|
23837
|
+
/** Get notification settings for a user. */
|
|
23838
|
+
sgetNotificationSettings: (request?: {
|
|
23839
|
+
headers?: {
|
|
23840
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
23841
|
+
"x-access-token"?: string | undefined;
|
|
23842
|
+
} | undefined;
|
|
23843
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
23844
|
+
headers?: Partial<{
|
|
23845
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23846
|
+
}>;
|
|
23847
|
+
} & {
|
|
23848
|
+
headers: {
|
|
23849
|
+
"x-access-token"?: string | undefined;
|
|
23850
|
+
} & Partial<{
|
|
23851
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23852
|
+
}>;
|
|
23853
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
23854
|
+
messageTypes: {
|
|
23855
|
+
[k: string]: {
|
|
23856
|
+
channels: {
|
|
23857
|
+
email: {
|
|
23858
|
+
active: boolean;
|
|
23859
|
+
editable: boolean;
|
|
23860
|
+
};
|
|
23861
|
+
frontendNotification: {
|
|
23862
|
+
active: boolean;
|
|
23863
|
+
editable: boolean;
|
|
23864
|
+
};
|
|
23865
|
+
};
|
|
23866
|
+
};
|
|
23867
|
+
};
|
|
23868
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23869
|
+
[x: string]: unknown;
|
|
23870
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23871
|
+
[x: string]: unknown;
|
|
23872
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
23873
|
+
headers?: Partial<{
|
|
23874
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23875
|
+
}>;
|
|
23876
|
+
} & {
|
|
23877
|
+
headers: {
|
|
23878
|
+
"x-access-token"?: string | undefined;
|
|
23879
|
+
} & Partial<{
|
|
23880
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23881
|
+
}>;
|
|
23882
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
23883
|
+
messageTypes: {
|
|
23884
|
+
[k: string]: {
|
|
23885
|
+
channels: {
|
|
23886
|
+
email: {
|
|
23887
|
+
active: boolean;
|
|
23888
|
+
editable: boolean;
|
|
23889
|
+
};
|
|
23890
|
+
frontendNotification: {
|
|
23891
|
+
active: boolean;
|
|
23892
|
+
editable: boolean;
|
|
23893
|
+
};
|
|
23894
|
+
};
|
|
23895
|
+
};
|
|
23896
|
+
};
|
|
23897
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23898
|
+
[x: string]: unknown;
|
|
23899
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23900
|
+
[x: string]: unknown;
|
|
23901
|
+
}, 429, "application/json">>>;
|
|
23747
23902
|
/** List all unread notifications. */
|
|
23748
23903
|
slistNotifications: (request?: {
|
|
23749
23904
|
headers?: {
|
|
@@ -23762,6 +23917,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23762
23917
|
limit?: number | undefined;
|
|
23763
23918
|
skip?: number | undefined;
|
|
23764
23919
|
page?: number | undefined;
|
|
23920
|
+
sort?: "createdAt" | "severity" | undefined;
|
|
23921
|
+
order?: "asc" | "desc" | undefined;
|
|
23765
23922
|
} | undefined;
|
|
23766
23923
|
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
23767
23924
|
headers?: Partial<{
|
|
@@ -23779,6 +23936,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23779
23936
|
limit?: number | undefined;
|
|
23780
23937
|
skip?: number | undefined;
|
|
23781
23938
|
page?: number | undefined;
|
|
23939
|
+
sort?: "createdAt" | "severity" | undefined;
|
|
23940
|
+
order?: "asc" | "desc" | undefined;
|
|
23782
23941
|
} & Partial<{
|
|
23783
23942
|
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23784
23943
|
}>;
|
|
@@ -23806,6 +23965,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23806
23965
|
limit?: number | undefined;
|
|
23807
23966
|
skip?: number | undefined;
|
|
23808
23967
|
page?: number | undefined;
|
|
23968
|
+
sort?: "createdAt" | "severity" | undefined;
|
|
23969
|
+
order?: "asc" | "desc" | undefined;
|
|
23809
23970
|
} & Partial<{
|
|
23810
23971
|
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
23811
23972
|
}>;
|
|
@@ -23884,8 +24045,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23884
24045
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
23885
24046
|
[x: string]: unknown;
|
|
23886
24047
|
}, 429, "application/json">>>;
|
|
23887
|
-
/**
|
|
23888
|
-
|
|
24048
|
+
/** Update a notification's read status. */
|
|
24049
|
+
supdateNotificationStatus: (request: {
|
|
23889
24050
|
data: {
|
|
23890
24051
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
|
|
23891
24052
|
};
|
|
@@ -713,14 +713,18 @@ export declare const miscellaneousListTimeZones: OpenAPIOperation<RequestType<Si
|
|
|
713
713
|
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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
714
714
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
715
715
|
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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
716
|
+
/** Adjust notification settings for message type. */
|
|
717
|
+
export declare const notificationsAdjustNotificationMessageTypeSettings: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettingsMessageType.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
716
718
|
/** Get the counts for unread notifications of the user. */
|
|
717
719
|
export declare const notificationsCountUnreadNotifications: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationUnreadCounts.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
720
|
+
/** Get notification settings for a user. */
|
|
721
|
+
export declare const notificationsGetNotificationSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
718
722
|
/** List all unread notifications. */
|
|
719
723
|
export declare const notificationsListNotifications: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Notifications.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
720
724
|
/** Mark all notifications as read. */
|
|
721
725
|
export declare const notificationsReadAllNotifications: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsActionsReadAll.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
722
|
-
/**
|
|
723
|
-
export declare const
|
|
726
|
+
/** Update a notification's read status. */
|
|
727
|
+
export declare const notificationsUpdateNotificationStatus: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NotificationsNotificationIdStatus.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
724
728
|
/** Get list of Orders. */
|
|
725
729
|
export declare const orderListOrders: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Orders.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
726
730
|
/** Create an Order. */
|