@wireapp/api-client 20.4.0 → 20.5.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/package.json +22 -22
- package/src/APIClient.d.ts +1 -1
- package/src/Config.d.ts +1 -1
- package/src/account/AccountAPI.d.ts +4 -4
- package/src/account/index.js +5 -1
- package/src/account/index.js.map +1 -1
- package/src/asset/AssetAPI.d.ts +1 -1
- package/src/asset/index.js +5 -1
- package/src/asset/index.js.map +1 -1
- package/src/auth/AccessTokenStore.d.ts +1 -1
- package/src/auth/AuthAPI.d.ts +6 -6
- package/src/auth/ClientPreKey.d.ts +1 -1
- package/src/auth/Context.d.ts +1 -1
- package/src/auth/CookieStore.d.ts +1 -1
- package/src/auth/LoginData.d.ts +1 -1
- package/src/auth/PreKeyBundle.d.ts +2 -2
- package/src/auth/RegisterData.d.ts +2 -2
- package/src/auth/SendLoginCode.d.ts +1 -1
- package/src/auth/index.js +5 -1
- package/src/auth/index.js.map +1 -1
- package/src/broadcast/BroadcastAPI.d.ts +2 -2
- package/src/broadcast/index.js +5 -1
- package/src/broadcast/index.js.map +1 -1
- package/src/client/ClientAPI.d.ts +2 -2
- package/src/client/NewClient.d.ts +2 -2
- package/src/client/PublicClient.d.ts +1 -1
- package/src/client/RegisteredClient.d.ts +1 -1
- package/src/client/index.js +5 -1
- package/src/client/index.js.map +1 -1
- package/src/connection/Connection.d.ts +1 -1
- package/src/connection/ConnectionAPI.d.ts +1 -1
- package/src/connection/ConnectionUpdate.d.ts +1 -1
- package/src/connection/UserConnectionList.d.ts +1 -1
- package/src/connection/index.js +5 -1
- package/src/connection/index.js.map +1 -1
- package/src/conversation/ClientMismatch.d.ts +1 -1
- package/src/conversation/Conversation.d.ts +3 -3
- package/src/conversation/ConversationAPI/ConversationAPI.d.ts +2 -2
- package/src/conversation/ConversationAPI/index.js +5 -1
- package/src/conversation/ConversationAPI/index.js.map +1 -1
- package/src/conversation/ConversationMembers.d.ts +1 -1
- package/src/conversation/Conversations.d.ts +1 -1
- package/src/conversation/Member.d.ts +1 -1
- package/src/conversation/NewConversation.d.ts +5 -5
- package/src/conversation/NewOTRMessage.d.ts +1 -1
- package/src/conversation/OTRRecipients.d.ts +1 -1
- package/src/conversation/OtherMember.d.ts +3 -3
- package/src/conversation/QualifiedConversationIds.d.ts +1 -1
- package/src/conversation/data/ConversationAccessUpdateData.d.ts +1 -1
- package/src/conversation/data/ConversationCodeUpdateData.d.ts +1 -1
- package/src/conversation/data/ConversationCreateData.d.ts +1 -1
- package/src/conversation/data/ConversationMemberUpdateData.d.ts +2 -2
- package/src/conversation/data/index.js +5 -1
- package/src/conversation/data/index.js.map +1 -1
- package/src/conversation/index.js +5 -1
- package/src/conversation/index.js.map +1 -1
- package/src/env/index.js +5 -1
- package/src/env/index.js.map +1 -1
- package/src/event/BackendEvent.d.ts +4 -4
- package/src/event/ConversationEvent.d.ts +1 -1
- package/src/event/TeamEvent.d.ts +1 -1
- package/src/event/UserEvent.d.ts +1 -1
- package/src/event/index.js +5 -1
- package/src/event/index.js.map +1 -1
- package/src/giphy/GiphyAPI.d.ts +3 -3
- package/src/giphy/GiphyResult.d.ts +1 -1
- package/src/giphy/index.js +5 -1
- package/src/giphy/index.js.map +1 -1
- package/src/http/BackendError.d.ts +2 -2
- package/src/http/HttpClient.js +5 -1
- package/src/http/HttpClient.js.map +1 -1
- package/src/http/RequestProgressHandler.d.ts +1 -1
- package/src/http/index.js +5 -1
- package/src/http/index.js.map +1 -1
- package/src/notification/Notification.d.ts +1 -1
- package/src/notification/NotificationAPI.d.ts +1 -1
- package/src/notification/NotificationList.d.ts +1 -1
- package/src/notification/index.js +5 -1
- package/src/notification/index.js.map +1 -1
- package/src/obfuscation/ObfuscationUtil.d.ts +2 -2
- package/src/obfuscation/index.js +5 -1
- package/src/obfuscation/index.js.map +1 -1
- package/src/self/Consent.d.ts +1 -1
- package/src/self/ConsentResults.d.ts +1 -1
- package/src/self/Self.d.ts +2 -2
- package/src/self/SelfAPI.d.ts +4 -4
- package/src/self/index.js +5 -1
- package/src/self/index.js.map +1 -1
- package/src/serviceProvider/LoginServiceProviderData.d.ts +1 -1
- package/src/serviceProvider/NewServiceProvider.d.ts +1 -1
- package/src/serviceProvider/ServiceProviderAPI.d.ts +6 -6
- package/src/serviceProvider/UpdateServiceProviderData.d.ts +1 -1
- package/src/serviceProvider/index.js +5 -1
- package/src/serviceProvider/index.js.map +1 -1
- package/src/services/Service.d.ts +5 -5
- package/src/services/ServicesAPI.d.ts +3 -3
- package/src/services/index.js +5 -1
- package/src/services/index.js.map +1 -1
- package/src/shims/browser/buffer.js +5 -1
- package/src/shims/browser/buffer.js.map +1 -1
- package/src/shims/browser/cookie.d.ts +3 -3
- package/src/shims/node/cookie.d.ts +2 -2
- package/src/tcp/ReconnectingWebsocket.js +5 -1
- package/src/tcp/ReconnectingWebsocket.js.map +1 -1
- package/src/tcp/WebSocketClient.d.ts +2 -2
- package/src/tcp/index.js +5 -1
- package/src/tcp/index.js.map +1 -1
- package/src/team/billing/BillingAPI.d.ts +1 -1
- package/src/team/billing/InvoiceData.d.ts +1 -1
- package/src/team/billing/InvoiceUpcomingData.d.ts +1 -1
- package/src/team/billing/index.js +5 -1
- package/src/team/billing/index.js.map +1 -1
- package/src/team/conversation/TeamConversationAPI.d.ts +3 -3
- package/src/team/conversation/index.js +5 -1
- package/src/team/conversation/index.js.map +1 -1
- package/src/team/data/TeamMemberUpdateData.d.ts +1 -1
- package/src/team/data/index.js +5 -1
- package/src/team/data/index.js.map +1 -1
- package/src/team/feature/FeatureAPI.d.ts +2 -2
- package/src/team/feature/FeatureList.d.ts +1 -1
- package/src/team/feature/index.js +5 -1
- package/src/team/feature/index.js.map +1 -1
- package/src/team/identityprovider/IdentityProviderAPI.d.ts +3 -3
- package/src/team/identityprovider/IdentityProviders.d.ts +1 -1
- package/src/team/identityprovider/index.js +5 -1
- package/src/team/identityprovider/index.js.map +1 -1
- package/src/team/index.js +5 -1
- package/src/team/index.js.map +1 -1
- package/src/team/invitation/NewTeamInvitation.d.ts +1 -1
- package/src/team/invitation/TeamInvitation.d.ts +1 -1
- package/src/team/invitation/TeamInvitationAPI.d.ts +1 -1
- package/src/team/invitation/TeamInvitationChunk.d.ts +1 -1
- package/src/team/invitation/index.js +5 -1
- package/src/team/invitation/index.js.map +1 -1
- package/src/team/legalhold/LegalHoldAPI.d.ts +4 -4
- package/src/team/legalhold/LegalHoldMemberStatus.d.ts +1 -1
- package/src/team/legalhold/index.js +5 -1
- package/src/team/legalhold/index.js.map +1 -1
- package/src/team/member/MemberAPI.d.ts +1 -1
- package/src/team/member/MemberData.d.ts +2 -2
- package/src/team/member/Members.d.ts +1 -1
- package/src/team/member/PermissionsData.d.ts +1 -1
- package/src/team/member/Role.d.ts +1 -1
- package/src/team/member/index.js +5 -1
- package/src/team/member/index.js.map +1 -1
- package/src/team/payment/InvoiceData.d.ts +1 -1
- package/src/team/payment/PaymentAPI.d.ts +2 -2
- package/src/team/payment/PaymentBillingData.d.ts +1 -1
- package/src/team/payment/PaymentData.d.ts +2 -2
- package/src/team/payment/PaymentDataUpdate.d.ts +1 -1
- package/src/team/payment/PaymentPlan.d.ts +1 -1
- package/src/team/payment/PaymentStripeCharge.d.ts +1 -1
- package/src/team/payment/PaymentStripeInvoice.d.ts +1 -1
- package/src/team/payment/PaymentStripeInvoices.d.ts +1 -1
- package/src/team/payment/PaymentStripePlan.d.ts +1 -1
- package/src/team/payment/index.js +5 -1
- package/src/team/payment/index.js.map +1 -1
- package/src/team/scim/ScimAPI.d.ts +1 -1
- package/src/team/scim/index.js +5 -1
- package/src/team/scim/index.js.map +1 -1
- package/src/team/search/TeamContact.d.ts +2 -2
- package/src/team/search/TeamSearchOptions.d.ts +1 -1
- package/src/team/search/TeamSearchResult.d.ts +1 -1
- package/src/team/search/index.js +5 -1
- package/src/team/search/index.js.map +1 -1
- package/src/team/service/Service.d.ts +1 -1
- package/src/team/service/ServiceAPI.d.ts +2 -2
- package/src/team/service/Services.d.ts +1 -1
- package/src/team/service/index.js +5 -1
- package/src/team/service/index.js.map +1 -1
- package/src/team/team/NewTeamData.d.ts +1 -1
- package/src/team/team/TeamAPI.d.ts +3 -3
- package/src/team/team/TeamChunkData.d.ts +1 -1
- package/src/team/team/TeamData.d.ts +1 -1
- package/src/team/team/index.js +5 -1
- package/src/team/team/index.js.map +1 -1
- package/src/user/Contact.d.ts +1 -1
- package/src/user/RTCConfiguration.d.ts +1 -1
- package/src/user/SearchResult.d.ts +1 -1
- package/src/user/User.d.ts +5 -5
- package/src/user/UserAPI.d.ts +6 -6
- package/src/user/UserPreKeyBundleMap.d.ts +1 -1
- package/src/user/UserUpdate.d.ts +1 -1
- package/src/user/data/UserActivateData.d.ts +1 -1
- package/src/user/data/UserClientAddData.d.ts +1 -1
- package/src/user/data/UserConnectionData.d.ts +1 -1
- package/src/user/data/UserLegalHoldRequestData.d.ts +1 -1
- package/src/user/data/UserPushRemoveData.d.ts +1 -1
- package/src/user/data/UserUpdateData.d.ts +1 -1
- package/src/user/data/index.js +5 -1
- package/src/user/data/index.js.map +1 -1
- package/src/user/index.js +5 -1
- package/src/user/index.js.map +1 -1
- package/src/validation/index.js +5 -1
- package/src/validation/index.js.map +1 -1
- package/CHANGELOG.md +0 -10188
package/package.json
CHANGED
|
@@ -4,12 +4,9 @@
|
|
|
4
4
|
"./src/shims/node/cookie": "./src/shims/browser/cookie.js"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"@wireapp/commons": "4.3.0",
|
|
11
|
-
"@wireapp/priority-queue": "1.7.0",
|
|
12
|
-
"@wireapp/protocol-messaging": "1.37.0",
|
|
7
|
+
"@wireapp/commons": "workspace:^",
|
|
8
|
+
"@wireapp/priority-queue": "workspace:^",
|
|
9
|
+
"@wireapp/protocol-messaging": "1.38.0",
|
|
13
10
|
"axios": "0.21.4",
|
|
14
11
|
"axios-retry": "3.1.9",
|
|
15
12
|
"http-status-codes": "2.1.4",
|
|
@@ -27,11 +24,14 @@
|
|
|
27
24
|
"@babel/preset-react": "7.14.5",
|
|
28
25
|
"@babel/preset-typescript": "7.14.5",
|
|
29
26
|
"@types/jasmine": "3.8.2",
|
|
30
|
-
"@types/karma": "6.3.
|
|
27
|
+
"@types/karma": "6.3.3",
|
|
28
|
+
"@types/node": "^14.18.29",
|
|
29
|
+
"@types/spark-md5": "3.0.2",
|
|
30
|
+
"@types/tough-cookie": "4.0.1",
|
|
31
31
|
"@types/ws": "7.4.7",
|
|
32
|
-
"@wireapp/react-ui-kit": "
|
|
33
|
-
"@wireapp/store-engine": "
|
|
34
|
-
"@wireapp/store-engine-fs": "
|
|
32
|
+
"@wireapp/react-ui-kit": "workspace:^",
|
|
33
|
+
"@wireapp/store-engine": "workspace:^",
|
|
34
|
+
"@wireapp/store-engine-fs": "workspace:^",
|
|
35
35
|
"babel-loader": "8.2.2",
|
|
36
36
|
"browser-sync": "2.27.5",
|
|
37
37
|
"concurrently": "6.2.0",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"dotenv": "10.0.0",
|
|
40
40
|
"istanbul": "1.1.0-alpha.1",
|
|
41
41
|
"jasmine": "3.8.0",
|
|
42
|
-
"karma": "6.
|
|
43
|
-
"karma-chrome-launcher": "3.1.
|
|
44
|
-
"karma-jasmine": "4.0.
|
|
42
|
+
"karma": "6.4.1",
|
|
43
|
+
"karma-chrome-launcher": "3.1.1",
|
|
44
|
+
"karma-jasmine": "4.0.2",
|
|
45
45
|
"karma-jasmine-diff-reporter": "2.0.1",
|
|
46
46
|
"karma-sourcemap-loader": "0.3.8",
|
|
47
|
-
"karma-spec-reporter": "0.0.
|
|
47
|
+
"karma-spec-reporter": "0.0.34",
|
|
48
48
|
"karma-webpack": "4.0.2",
|
|
49
49
|
"nock": "13.1.1",
|
|
50
50
|
"nyc": "15.1.0",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"rimraf": "3.0.2",
|
|
55
55
|
"sinon": "11.1.2",
|
|
56
56
|
"sinon-har-server": "0.3.0",
|
|
57
|
-
"ts-node": "9.1
|
|
58
|
-
"typescript": "4.
|
|
57
|
+
"ts-node": "^10.9.1",
|
|
58
|
+
"typescript": "4.8.3",
|
|
59
59
|
"webpack": "4.46.0",
|
|
60
60
|
"webpack-cli": "4.7.2",
|
|
61
61
|
"webpack-dev-server": "3.11.2",
|
|
@@ -78,18 +78,18 @@
|
|
|
78
78
|
"build:node": "tsc",
|
|
79
79
|
"clean": "rimraf \"src/**/*.{js?(.map),d.ts}\"",
|
|
80
80
|
"coverage": "istanbul cover --report html ./node_modules/jasmine/bin/jasmine.js",
|
|
81
|
-
"demo:http401": "cross-env NODE_DEBUG
|
|
82
|
-
"demo:self": "cross-env NODE_DEBUG
|
|
81
|
+
"demo:http401": "cross-env NODE_DEBUG='@wireapp/api-client*' ts-node src/demo/http401.ts",
|
|
82
|
+
"demo:self": "cross-env NODE_DEBUG='@wireapp/api-client*' ts-node src/demo/self.ts",
|
|
83
83
|
"dist": "yarn clean && yarn build",
|
|
84
84
|
"start": "yarn build:node && concurrently \"tsc -w\" \"webpack -w\" \"browser-sync start -c bs-config.js\"",
|
|
85
|
-
"start:node": "cross-env NODE_DEBUG
|
|
85
|
+
"start:node": "cross-env NODE_DEBUG='@wireapp*' node --inspect -r ts-node/register demo.ts",
|
|
86
86
|
"test": "yarn test:node && yarn test:browser",
|
|
87
87
|
"test:browser": "karma start",
|
|
88
|
-
"test:node": "cross-env NODE_DEBUG
|
|
88
|
+
"test:node": "cross-env NODE_DEBUG='@wireapp/api-client*' nyc jasmine --config=jasmine.json",
|
|
89
89
|
"test:project": "yarn dist && yarn test",
|
|
90
90
|
"test:types": "tsc --noEmit",
|
|
91
91
|
"watch": "webpack serve --config webpack.browser.js"
|
|
92
92
|
},
|
|
93
|
-
"version": "20.
|
|
94
|
-
"gitHead": "
|
|
93
|
+
"version": "20.5.0",
|
|
94
|
+
"gitHead": "a23001a062060cec72d2e3687e381c8ae6ca31a7"
|
|
95
95
|
}
|
package/src/APIClient.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { ServiceProviderAPI } from './serviceProvider';
|
|
|
16
16
|
import { ServicesAPI } from './services';
|
|
17
17
|
import { FeatureAPI, IdentityProviderAPI, LegalHoldAPI, MemberAPI, PaymentAPI, BillingAPI, ServiceAPI, TeamAPI, TeamConversationAPI, TeamInvitationAPI } from './team/';
|
|
18
18
|
import { UserAPI } from './user/';
|
|
19
|
-
import
|
|
19
|
+
import { Config } from './Config';
|
|
20
20
|
import { TeamSearchAPI } from './team/search';
|
|
21
21
|
import { ScimAPI } from './team/scim/ScimAPI';
|
|
22
22
|
declare enum TOPIC {
|
package/src/Config.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HttpClient } from '../http';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { BackendConfigData } from './BackendConfigData';
|
|
3
|
+
import { CallConfigData } from './CallConfigData';
|
|
4
|
+
import { DomainData } from './DomainData';
|
|
5
|
+
import { SSOSettings } from './SSOSettings';
|
|
6
6
|
export declare class AccountAPI {
|
|
7
7
|
private readonly client;
|
|
8
8
|
constructor(client: HttpClient);
|
package/src/account/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
package/src/account/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,sDAAoC;AACpC,mDAAiC"}
|
package/src/asset/AssetAPI.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { AssetRetentionPolicy } from './AssetRetentionPolicy';
|
|
3
3
|
import { HttpClient, ProgressCallback, RequestCancelable } from '../http/';
|
|
4
|
-
import
|
|
4
|
+
import { AssetUploadData } from './AssetUploadData';
|
|
5
5
|
import { BackendFeatures } from '../APIClient';
|
|
6
6
|
export interface CipherOptions {
|
|
7
7
|
/** Set a custom algorithm for encryption */
|
package/src/asset/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
package/src/asset/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,6CAA2B;AAC3B,yDAAuC;AACvC,oDAAkC;AAClC,8CAA4B"}
|
package/src/auth/AuthAPI.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../http/';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import { AccessTokenData, LoginData, SendLoginCode } from '../auth/';
|
|
4
|
+
import { CookieList } from './CookieList';
|
|
5
|
+
import { LoginCodeResponse } from './LoginCodeResponse';
|
|
6
|
+
import { RegisterData } from './RegisterData';
|
|
7
|
+
import { User } from '../user/';
|
|
8
8
|
export declare class AuthAPI {
|
|
9
9
|
private readonly client;
|
|
10
10
|
constructor(client: HttpClient);
|
package/src/auth/Context.d.ts
CHANGED
package/src/auth/LoginData.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ClientPreKey } from '../auth/';
|
|
2
|
+
import { QualifiedId } from '../user';
|
|
3
3
|
export interface PreKeyBundleBase {
|
|
4
4
|
/** PreKeys of all clients */
|
|
5
5
|
clients: ClientPreKey[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { TeamData } from '../team/team/TeamData';
|
|
2
|
+
import { User } from '../user/';
|
|
3
3
|
export declare type RegisterData = Pick<User, 'accent_id' | 'assets' | 'email' | 'name'> & {
|
|
4
4
|
/** Email activation code */
|
|
5
5
|
email_code?: string;
|
package/src/auth/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
package/src/auth/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;AAEU,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,eAAe,GAAG,gBAAgB,CAAC;AAEhD,oDAAkC;AAClC,qDAAmC;AACnC,4CAA0B;AAC1B,wDAAsC;AACtC,iDAA+B;AAC/B,4CAA0B;AAC1B,2CAAyB;AACzB,gDAA8B;AAC9B,sDAAoC;AACpC,8CAA4B;AAC5B,2CAAyB;AACzB,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proteus as ProtobufOTR } from '@wireapp/protocol-messaging/web/otr';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import { ClientMismatch, MessageSendingStatus, NewOTRMessage } from '../conversation/';
|
|
3
|
+
import { HttpClient } from '../http/';
|
|
4
4
|
export declare class BroadcastAPI {
|
|
5
5
|
private readonly client;
|
|
6
6
|
constructor(client: HttpClient);
|
package/src/broadcast/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,iDAA+B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { PreKeyBundle } from '../auth/';
|
|
2
|
+
import { CreateClientPayload, RegisteredClient, UpdateClientPayload } from '../client/';
|
|
3
3
|
import { HttpClient } from '../http/';
|
|
4
4
|
import { ClientCapabilityData } from './ClientCapabilityData';
|
|
5
5
|
declare type ClaimedKeyPackages = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { PreKey } from '../auth/';
|
|
2
|
+
import { ClientClassification, ClientType, Location } from './';
|
|
3
3
|
import { ClientCapabilityData } from './ClientCapabilityData';
|
|
4
4
|
declare type BaseUpdatePayload = ClientCapabilityData & {
|
|
5
5
|
label?: string;
|
package/src/client/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
package/src/client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,8CAA4B;AAC5B,qDAAmC;AACnC,yDAAuC;AACvC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,iDAA+B;AAC/B,2DAAyC;AACzC,qDAAmC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BackendFeatures } from '../APIClient';
|
|
2
|
-
import
|
|
2
|
+
import { Connection, ConnectionUpdate, UserConnectionList } from '../connection/';
|
|
3
3
|
import { HttpClient } from '../http/';
|
|
4
4
|
import { QualifiedId } from '../user';
|
|
5
5
|
export declare class ConnectionAPI {
|
package/src/connection/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,kDAAgC;AAChC,sDAAoC;AACpC,qDAAmC;AACnC,qDAAmC;AACnC,uDAAqC;AACrC,oDAAkC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ConversationMembers, ConversationProtocol } from './';
|
|
2
|
+
import { QualifiedId } from '../user';
|
|
3
|
+
import { RECEIPT_MODE } from './data';
|
|
4
4
|
export declare enum CONVERSATION_TYPE {
|
|
5
5
|
REGULAR = 0,
|
|
6
6
|
SELF = 1,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { proteus as ProtobufOTR } from '@wireapp/protocol-messaging/web/otr';
|
|
2
2
|
import { ClientMismatch, Conversation, ConversationCode, ConversationIds, ConversationRolesList, Conversations, Invite, Member, MessageSendingStatus, NewConversation, NewOTRMessage, RemoteConversations } from '..';
|
|
3
|
-
import
|
|
3
|
+
import { ConversationAccessUpdateEvent, ConversationCodeDeleteEvent, ConversationCodeUpdateEvent, ConversationEvent, ConversationMemberJoinEvent, ConversationMemberLeaveEvent, ConversationMessageTimerUpdateEvent, ConversationReceiptModeUpdateEvent, ConversationRenameEvent } from '../../event';
|
|
4
4
|
import { HttpClient } from '../../http';
|
|
5
|
-
import
|
|
5
|
+
import { ConversationAccessUpdateData, ConversationAccessV2UpdateData, ConversationJoinData, ConversationMemberUpdateData, ConversationMessageTimerUpdateData, ConversationNameUpdateData, ConversationOtherMemberUpdateData, ConversationReceiptModeUpdateData, ConversationTypingData } from '../data';
|
|
6
6
|
import { QualifiedId } from '../../user';
|
|
7
7
|
import { BackendFeatures } from '../../APIClient';
|
|
8
8
|
import { MlsEvent } from '../data/MlsEventData';
|
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,oDAAkC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QualifiedId } from '../user';
|
|
2
|
-
import
|
|
2
|
+
import { DefaultConversationRoleName, MutedStatus, ServiceRef } from './';
|
|
3
3
|
export interface Member {
|
|
4
4
|
/**
|
|
5
5
|
* Role name, between 2 and 128 chars, 'wire_' prefix is reserved for
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { TeamInfo } from '../team/';
|
|
2
|
+
import { QualifiedId } from '../user/';
|
|
3
|
+
import { Conversation } from './Conversation';
|
|
4
|
+
import { DefaultConversationRoleName } from './ConversationRole';
|
|
5
|
+
import { RECEIPT_MODE } from './data/ConversationReceiptModeUpdateData';
|
|
6
6
|
export declare enum ConversationProtocol {
|
|
7
7
|
MLS = "mls",
|
|
8
8
|
PROTEUS = "proteus"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ConversationOtherMemberUpdateData } from './data';
|
|
2
|
+
import { ServiceRef } from './';
|
|
3
|
+
import { QualifiedId } from '../user/QualifiedId';
|
|
4
4
|
export interface OtherMember extends Partial<ConversationOtherMemberUpdateData> {
|
|
5
5
|
/** The user ID. */
|
|
6
6
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ACCESS_ROLE_V2, CONVERSATION_ACCESS, CONVERSATION_ACCESS_ROLE } from '../Conversation';
|
|
2
2
|
/**@deprecated */
|
|
3
3
|
export interface ConversationAccessUpdateData {
|
|
4
4
|
access: CONVERSATION_ACCESS[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ConversationCode } from '../ConversationCode';
|
|
2
2
|
export declare type ConversationCodeUpdateData = Required<ConversationCode>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { MutedStatus } from '../MutedStatus';
|
|
2
|
+
import { DefaultConversationRoleName } from '../ConversationRole';
|
|
3
3
|
import { QualifiedId } from '../../user';
|
|
4
4
|
export interface ConversationMemberUpdateData extends Partial<ConversationOtherMemberUpdateData> {
|
|
5
5
|
/** The userId concerned by this update */
|
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,iEAA+C;AAC/C,+DAA6C;AAC7C,mEAAiD;AACjD,2DAAyC;AACzC,yDAAuC;AACvC,+DAA6C;AAC7C,gEAA8C;AAC9C,iEAA+C;AAC/C,uEAAqD;AACrD,+DAA6C;AAC7C,kEAAgD;AAChD,+DAA6C;AAC7C,kEAAgD;AAChD,sEAAoD;AACpD,2DAAyC;AACzC,2DAAyC"}
|
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,kDAAgC;AAChC,qDAAmC;AACnC,2CAAyB;AACzB,2CAAyB;AACzB,yDAAuC;AACvC,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,gDAA8B;AAC9B,iDAA+B;AAC/B,kDAAgC;AAChC,yDAAuC;AACvC,6DAA2C;AAC3C,wDAAsC;AACtC,+CAA6B;AAC7B,gDAA8B"}
|
package/src/env/index.js
CHANGED
|
@@ -19,7 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
21
|
if (k2 === undefined) k2 = k;
|
|
22
|
-
Object.
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
23
27
|
}) : (function(o, m, k, k2) {
|
|
24
28
|
if (k2 === undefined) k2 = k;
|
|
25
29
|
o[k2] = m[k];
|