@mittwald/api-client 4.88.0 → 4.89.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/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.88.0';
|
|
@@ -655,7 +655,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
655
655
|
headers?: {
|
|
656
656
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
657
657
|
} | undefined;
|
|
658
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
|
|
658
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[]>;
|
|
659
659
|
/** Get a specific conversation category. */
|
|
660
660
|
getCategory: (conf: {
|
|
661
661
|
categoryId: string;
|
|
@@ -5382,7 +5382,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5382
5382
|
pathParameters: {
|
|
5383
5383
|
conversationId: string;
|
|
5384
5384
|
};
|
|
5385
|
-
}, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5385
|
+
}, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5386
5386
|
[x: string]: unknown;
|
|
5387
5387
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5388
5388
|
[x: string]: unknown;
|
|
@@ -5396,7 +5396,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5396
5396
|
pathParameters: {
|
|
5397
5397
|
conversationId: string;
|
|
5398
5398
|
};
|
|
5399
|
-
}, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5399
|
+
}, import("@mittwald/api-client-commons").Response<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5400
5400
|
[x: string]: unknown;
|
|
5401
5401
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5402
5402
|
[x: string]: unknown;
|
|
@@ -1780,10 +1780,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1780
1780
|
shortId: string;
|
|
1781
1781
|
}
|
|
1782
1782
|
type ConversationDepartment = "development" | "mail" | "accounting" | "cloudHosting" | "customerService" | "generic";
|
|
1783
|
-
interface ConversationDepartmentWithStatus {
|
|
1784
|
-
department: MittwaldAPIV2.Components.Schemas.ConversationDepartment;
|
|
1785
|
-
status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
1786
|
-
}
|
|
1787
1783
|
interface ConversationError {
|
|
1788
1784
|
message: string;
|
|
1789
1785
|
type: string;
|
|
@@ -1809,7 +1805,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1809
1805
|
messageId: string;
|
|
1810
1806
|
type: "MESSAGE";
|
|
1811
1807
|
}
|
|
1812
|
-
type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "
|
|
1808
|
+
type ConversationNotificationRole = "customer_owner" | "customer_accountant" | "customer_member" | "project_owner" | "project_emailadmin" | "project_external";
|
|
1813
1809
|
type ConversationRelatedAggregateReference = {
|
|
1814
1810
|
aggregate: "user";
|
|
1815
1811
|
domain: "user";
|
|
@@ -4006,6 +4002,62 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4006
4002
|
name: string;
|
|
4007
4003
|
value: string;
|
|
4008
4004
|
}
|
|
4005
|
+
interface TaskAggregateReference {
|
|
4006
|
+
aggregate: string;
|
|
4007
|
+
domain: string;
|
|
4008
|
+
id: string;
|
|
4009
|
+
}
|
|
4010
|
+
interface ConversationServiceRequest {
|
|
4011
|
+
conversationId: string;
|
|
4012
|
+
createdAt: string;
|
|
4013
|
+
/**
|
|
4014
|
+
* @maxItems 0
|
|
4015
|
+
*/
|
|
4016
|
+
files?: [];
|
|
4017
|
+
internal: boolean;
|
|
4018
|
+
messageContent: "relocation" | "call";
|
|
4019
|
+
messageId: string;
|
|
4020
|
+
meta: MittwaldAPIV2.Components.Schemas.ConversationServiceRequestRelocationPayload;
|
|
4021
|
+
type: "SERVICE_REQUEST";
|
|
4022
|
+
}
|
|
4023
|
+
interface ConversationServiceRequestRelocationPayload {
|
|
4024
|
+
contact: {
|
|
4025
|
+
email: string;
|
|
4026
|
+
firstname: string;
|
|
4027
|
+
lastname: string;
|
|
4028
|
+
phone?: string;
|
|
4029
|
+
};
|
|
4030
|
+
domain?: {
|
|
4031
|
+
allDomains?: boolean;
|
|
4032
|
+
domains?: {
|
|
4033
|
+
authCode?: string;
|
|
4034
|
+
domainName?: string;
|
|
4035
|
+
}[];
|
|
4036
|
+
};
|
|
4037
|
+
notes?: string;
|
|
4038
|
+
preferredRelocationDate?: string;
|
|
4039
|
+
redirectusKey: number;
|
|
4040
|
+
source: {
|
|
4041
|
+
providerName: string;
|
|
4042
|
+
providerPassword: string;
|
|
4043
|
+
providerUrl: string;
|
|
4044
|
+
providerUsername: string;
|
|
4045
|
+
sourceAccount: string;
|
|
4046
|
+
};
|
|
4047
|
+
target: {
|
|
4048
|
+
accountShortId: string;
|
|
4049
|
+
application?: string;
|
|
4050
|
+
articleType: string;
|
|
4051
|
+
organisation: string;
|
|
4052
|
+
prices?: {
|
|
4053
|
+
name?: string;
|
|
4054
|
+
price?: number;
|
|
4055
|
+
}[];
|
|
4056
|
+
product: string;
|
|
4057
|
+
withDataCompare?: boolean;
|
|
4058
|
+
};
|
|
4059
|
+
userId: string;
|
|
4060
|
+
}
|
|
4009
4061
|
interface CommonsAddress {
|
|
4010
4062
|
street: string;
|
|
4011
4063
|
houseNumber: string;
|
|
@@ -6698,7 +6750,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6698
6750
|
namespace Responses {
|
|
6699
6751
|
namespace $200 {
|
|
6700
6752
|
namespace Content {
|
|
6701
|
-
type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[];
|
|
6753
|
+
type ApplicationJson = (MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate | MittwaldAPIV2.Components.Schemas.ConversationServiceRequest)[];
|
|
6702
6754
|
}
|
|
6703
6755
|
}
|
|
6704
6756
|
namespace $403 {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.88.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.89.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "f5befe8768968824b41e873160a28f9fdfa6dbfb"
|
|
84
84
|
}
|