itlab-internal-services 1.12.0 → 1.12.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.
@@ -12,8 +12,7 @@ export declare enum Targets {
12
12
  HACKSCHOOL_COURSE = "hackschool-course",
13
13
  TEAM_MEMBER = "team-member",
14
14
  HUB_USER = "hub-user",
15
- HUB_FILE = "hub-file",
16
- UNKNOWN = "unknown"
15
+ HUB_FILE = "hub-file"
17
16
  }
18
17
  export declare class InvalidTargetException extends HttpException {
19
18
  constructor(param: string);
@@ -18,7 +18,6 @@ var Targets;
18
18
  Targets["TEAM_MEMBER"] = "team-member";
19
19
  Targets["HUB_USER"] = "hub-user";
20
20
  Targets["HUB_FILE"] = "hub-file";
21
- Targets["UNKNOWN"] = "unknown";
22
21
  })(Targets = exports.Targets || (exports.Targets = {}));
23
22
  function generateExamples() {
24
23
  const map = {};
@@ -4,6 +4,5 @@ export declare class AccountService {
4
4
  protected readonly instance: AxiosInstance;
5
5
  constructor(instance?: AxiosInstance);
6
6
  protected prefix: string;
7
- create(accountId: string, email: string): Promise<void>;
8
7
  get(accountId: string): Promise<AccountInformation>;
9
8
  }
@@ -33,16 +33,6 @@ let AccountService = class AccountService {
33
33
  this.instance = instance;
34
34
  this.prefix = 'account/internal';
35
35
  }
36
- create(accountId, email) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- return new Promise((resolve, reject) => {
39
- this.instance
40
- .post(`${this.prefix}`, { accountId, email })
41
- .then(() => resolve())
42
- .catch(({ response }) => reject(new common_1.HttpException(response.data, response.status)));
43
- });
44
- });
45
- }
46
36
  get(accountId) {
47
37
  return __awaiter(this, void 0, void 0, function* () {
48
38
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "timo.scheuermann@sv-informatik.de",
6
6
  "url": "https://timos.design"
7
7
  },
8
- "version": "1.12.0",
8
+ "version": "1.12.1",
9
9
  "type": "commonjs",
10
10
  "files": [
11
11
  "dist"