@wireapp/api-client 13.8.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,47 @@
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
+
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)
18
+
19
+
20
+ ### Features
21
+
22
+ * **api-client:** Add billing status 'incomplete' ([#4142](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/issues/4142)) ([122288d](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/commit/122288df17a5851500d755e75524b02e858efd6f))
23
+
24
+
25
+
26
+
27
+
28
+ ## [13.8.2](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/compare/@wireapp/api-client@13.8.1...@wireapp/api-client@13.8.2) (2021-09-28)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **api-client:** Align ConversationOthMessageData with backend definitions ([#4141](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/issues/4141)) ([b25a931](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/commit/b25a931d4982c9827b484754127a1eb0a1b93cd9))
34
+
35
+
36
+
37
+
38
+
39
+ ## [13.8.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/compare/@wireapp/api-client@13.8.0...@wireapp/api-client@13.8.1) (2021-09-23)
40
+
41
+ **Note:** Version bump only for package @wireapp/api-client
42
+
43
+
44
+
45
+
46
+
6
47
  # [13.8.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/api-client/compare/@wireapp/api-client@13.7.1...@wireapp/api-client@13.8.0) (2021-09-23)
7
48
 
8
49
 
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "@types/node": "~14",
8
8
  "@types/spark-md5": "3.0.2",
9
9
  "@types/tough-cookie": "4.0.1",
10
- "@wireapp/commons": "4.2.11",
10
+ "@wireapp/commons": "4.2.12",
11
11
  "@wireapp/priority-queue": "1.6.37",
12
12
  "@wireapp/protocol-messaging": "1.35.0",
13
13
  "axios": "0.21.4",
@@ -90,6 +90,6 @@
90
90
  "test:types": "tsc --noEmit",
91
91
  "watch": "webpack serve --config webpack.browser.js"
92
92
  },
93
- "version": "13.8.0",
94
- "gitHead": "621aa32851f2e145df8db7e71d17322597764b25"
93
+ "version": "13.9.1",
94
+ "gitHead": "cef36eaf8f035d8cdf6b397a958193ba6369dccf"
95
95
  }
@@ -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
- creator: string;
26
- id: string;
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
  }
@@ -2,4 +2,5 @@ export interface ConversationOtrMessageAddData {
2
2
  recipient: string;
3
3
  sender: string;
4
4
  text: string;
5
+ data?: string;
5
6
  }
@@ -1,6 +1,7 @@
1
1
  export declare enum BillingStatus {
2
2
  ACTIVE = "active",
3
3
  CANCELED = "canceled",
4
+ INCOMPLETE = "incomplete",
4
5
  PAST_DUE = "past_due",
5
6
  TRIALING = "trialing",
6
7
  UNPAID = "unpaid"
@@ -23,6 +23,7 @@ var BillingStatus;
23
23
  (function (BillingStatus) {
24
24
  BillingStatus["ACTIVE"] = "active";
25
25
  BillingStatus["CANCELED"] = "canceled";
26
+ BillingStatus["INCOMPLETE"] = "incomplete";
26
27
  BillingStatus["PAST_DUE"] = "past_due";
27
28
  BillingStatus["TRIALING"] = "trialing";
28
29
  BillingStatus["UNPAID"] = "unpaid";
@@ -1 +1 @@
1
- {"version":3,"file":"BillingTeamData.js","sourceRoot":"","sources":["BillingTeamData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}
1
+ {"version":3,"file":"BillingTeamData.js","sourceRoot":"","sources":["BillingTeamData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB"}