@wireapp/api-client 13.9.0 → 13.9.1
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [13.9.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/compare/@wireapp/api-client@13.9.0...@wireapp/api-client@13.9.1) (2021-09-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **api-client:** Update backend conversation types with latest definitions ([#4143](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/issues/4143)) ([610a5b3](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/commit/610a5b31a0efcd8c62f4feb80fa1dda67e9cddeb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [13.9.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/compare/@wireapp/api-client@13.8.2...@wireapp/api-client@13.9.0) (2021-09-28)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -19,16 +19,38 @@ export declare enum CONVERSATION_ACCESS {
|
|
|
19
19
|
LINK = "link",
|
|
20
20
|
PRIVATE = "private"
|
|
21
21
|
}
|
|
22
|
+
declare type UUID = string;
|
|
23
|
+
/**
|
|
24
|
+
* A conversation object as returned from the server
|
|
25
|
+
*/
|
|
22
26
|
export interface Conversation {
|
|
27
|
+
qualified_id: QualifiedId;
|
|
28
|
+
/** @deprecated Use qualified_id instead */
|
|
29
|
+
id: UUID;
|
|
30
|
+
type: CONVERSATION_TYPE;
|
|
31
|
+
creator: UUID;
|
|
23
32
|
access: CONVERSATION_ACCESS[];
|
|
33
|
+
/** How users can join conversations */
|
|
24
34
|
access_role: CONVERSATION_ACCESS_ROLE;
|
|
25
|
-
|
|
26
|
-
|
|
35
|
+
name?: string;
|
|
36
|
+
last_event?: string;
|
|
37
|
+
last_event_time?: string;
|
|
38
|
+
team?: UUID;
|
|
39
|
+
/**
|
|
40
|
+
* Per-conversation message timer (can be null)
|
|
41
|
+
* @format int64
|
|
42
|
+
* @min -9223372036854776000
|
|
43
|
+
* @max 9223372036854776000
|
|
44
|
+
*/
|
|
45
|
+
message_timer?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Conversation receipt mode
|
|
48
|
+
* @format int32
|
|
49
|
+
* @min -2147483648
|
|
50
|
+
* @max 2147483647
|
|
51
|
+
*/
|
|
52
|
+
receipt_mode?: RECEIPT_MODE;
|
|
53
|
+
/** Users of a conversation */
|
|
27
54
|
members: ConversationMembers;
|
|
28
|
-
message_timer: number | null;
|
|
29
|
-
name: string;
|
|
30
|
-
qualified_id?: QualifiedId;
|
|
31
|
-
receipt_mode: RECEIPT_MODE | null;
|
|
32
|
-
team: string | null;
|
|
33
|
-
type: CONVERSATION_TYPE;
|
|
34
55
|
}
|
|
56
|
+
export {};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { Conversation } from '../Conversation';
|
|
2
|
-
import { RECEIPT_MODE } from './ConversationReceiptModeUpdateData';
|
|
3
2
|
export interface ConversationCreateData extends Conversation {
|
|
4
3
|
/** @deprecated */
|
|
5
4
|
last_event: string;
|
|
6
5
|
/** @deprecated */
|
|
7
6
|
last_event_time: string;
|
|
8
|
-
receipt_mode: RECEIPT_MODE | null;
|
|
9
7
|
}
|