@wireapp/api-client 24.20.3 → 24.21.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.
@@ -1,7 +1,8 @@
1
1
  import { CONVERSATION_EVENT } from './ConversationEvent';
2
+ import { FEDERATION_EVENT } from './FederationEvent';
2
3
  import { TEAM_EVENT } from './TeamEvent';
3
4
  import { USER_EVENT } from './UserEvent';
4
- import { ConversationEvent, TeamEvent, UserEvent } from '.';
5
- export type BackendEvent = ConversationEvent | UserEvent | TeamEvent;
6
- export type BackendEventType = CONVERSATION_EVENT | USER_EVENT | TEAM_EVENT;
5
+ import { ConversationEvent, TeamEvent, UserEvent, FederationEvent } from '.';
6
+ export type BackendEvent = ConversationEvent | UserEvent | TeamEvent | FederationEvent;
7
+ export type BackendEventType = CONVERSATION_EVENT | USER_EVENT | TEAM_EVENT | FEDERATION_EVENT;
7
8
  //# sourceMappingURL=BackendEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackendEvent.d.ts","sourceRoot":"","sources":["../../src/event/BackendEvent.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG,UAAU,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"BackendEvent.d.ts","sourceRoot":"","sources":["../../src/event/BackendEvent.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAC,MAAM,GAAG,CAAC;AAE3E,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,eAAe,CAAC;AACvF,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG,UAAU,GAAG,UAAU,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { FederationDeleteData, FederationConnectionRemovedData } from '../federation/data';
2
+ export declare enum FEDERATION_EVENT {
3
+ FEDERATION_DELETE = "federation.delete",
4
+ FEDERATION_CONNECTION_REMOVED = "federation.connectionRemoved"
5
+ }
6
+ export type FederationEventData = FederationDeleteData | FederationConnectionRemovedData | null;
7
+ export type FederationEvent = FederationDeleteEvent | FederationConnectionRemovedEvent;
8
+ export interface BaseFederationEvent {
9
+ data: FederationEventData;
10
+ time: string;
11
+ type: FEDERATION_EVENT;
12
+ }
13
+ export interface FederationDeleteEvent extends BaseFederationEvent {
14
+ data: FederationDeleteData;
15
+ type: FEDERATION_EVENT.FEDERATION_DELETE;
16
+ }
17
+ export interface FederationConnectionRemovedEvent extends BaseFederationEvent {
18
+ data: FederationConnectionRemovedData;
19
+ type: FEDERATION_EVENT.FEDERATION_CONNECTION_REMOVED;
20
+ }
21
+ //# sourceMappingURL=FederationEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FederationEvent.d.ts","sourceRoot":"","sources":["../../src/event/FederationEvent.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,oBAAoB,EAAE,+BAA+B,EAAC,MAAM,oBAAoB,CAAC;AAEzF,oBAAY,gBAAgB;IAC1B,iBAAiB,sBAAsB;IACvC,6BAA6B,iCAAiC;CAC/D;AAED,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG,+BAA+B,GAAG,IAAI,CAAC;AAEhG,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG,gCAAgC,CAAC;AAEvF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,oBAAoB,CAAC;IAC3B,IAAI,EAAE,gBAAgB,CAAC,iBAAiB,CAAC;CAC1C;AAED,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB;IAC3E,IAAI,EAAE,+BAA+B,CAAC;IACtC,IAAI,EAAE,gBAAgB,CAAC,6BAA6B,CAAC;CACtD"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2023 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.FEDERATION_EVENT = void 0;
22
+ var FEDERATION_EVENT;
23
+ (function (FEDERATION_EVENT) {
24
+ FEDERATION_EVENT["FEDERATION_DELETE"] = "federation.delete";
25
+ FEDERATION_EVENT["FEDERATION_CONNECTION_REMOVED"] = "federation.connectionRemoved";
26
+ })(FEDERATION_EVENT || (exports.FEDERATION_EVENT = FEDERATION_EVENT = {}));
@@ -2,4 +2,5 @@ export * from './ConversationEvent';
2
2
  export * from './BackendEvent';
3
3
  export * from './TeamEvent';
4
4
  export * from './UserEvent';
5
+ export * from './FederationEvent';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/event/index.ts"],"names":[],"mappings":"AAmBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/event/index.ts"],"names":[],"mappings":"AAmBA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
@@ -36,3 +36,4 @@ __exportStar(require("./ConversationEvent"), exports);
36
36
  __exportStar(require("./BackendEvent"), exports);
37
37
  __exportStar(require("./TeamEvent"), exports);
38
38
  __exportStar(require("./UserEvent"), exports);
39
+ __exportStar(require("./FederationEvent"), exports);
@@ -0,0 +1,4 @@
1
+ export interface FederationConnectionRemovedData {
2
+ domains: string[];
3
+ }
4
+ //# sourceMappingURL=FederationConnectionRemovedData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FederationConnectionRemovedData.d.ts","sourceRoot":"","sources":["../../../src/federation/data/FederationConnectionRemovedData.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2023 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface FederationDeleteData {
2
+ domain: string;
3
+ }
4
+ //# sourceMappingURL=FederationDeleteData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FederationDeleteData.d.ts","sourceRoot":"","sources":["../../../src/federation/data/FederationDeleteData.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2023 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from './FederationDeleteData';
2
+ export * from './FederationConnectionRemovedData';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/federation/data/index.ts"],"names":[],"mappings":"AAmBA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2023 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
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);
27
+ }) : (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ o[k2] = m[k];
30
+ }));
31
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
32
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ __exportStar(require("./FederationDeleteData"), exports);
36
+ __exportStar(require("./FederationConnectionRemovedData"), exports);
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "watch": "webpack serve --config webpack.browser.js",
64
64
  "prepare": "yarn dist"
65
65
  },
66
- "version": "24.20.3",
67
- "gitHead": "e77935cabdc5e3f90bcb1b821761ce2f57f78921"
66
+ "version": "24.21.0",
67
+ "gitHead": "c134249fb524943318eae5b5126a0c714dd58147"
68
68
  }