@allthings/sdk 6.6.0 → 6.7.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,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { EnumCommunicationMethodType, EnumInputChannel, IAllthingsRestClient } from '../types';
3
4
  export interface IConversation {
4
5
  readonly createdAt: string;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { IAllthingsRestClient } from '../types';
3
4
  export type FileResult = Promise<IFile>;
4
5
  interface IFileUrl {
@@ -12,8 +12,9 @@ export interface IGroup {
12
12
  }>;
13
13
  readonly billingPeriodEndDate: string;
14
14
  readonly billingPeriodStartDate: string;
15
- readonly description: string | null;
16
- readonly externalId: string | null;
15
+ readonly dataSource?: string;
16
+ readonly description?: string;
17
+ readonly externalId?: string;
17
18
  readonly id: string;
18
19
  readonly name: string;
19
20
  readonly propertyManagerId: string;
@@ -3,7 +3,8 @@ export interface IProperty {
3
3
  readonly _embedded: any;
4
4
  readonly billingPeriodEndDate: string;
5
5
  readonly billingPeriodStartDate: string;
6
- readonly externalId: string;
6
+ readonly dataSource?: string;
7
+ readonly externalId?: string;
7
8
  readonly id: string;
8
9
  readonly label: string;
9
10
  readonly name: string;
@@ -5,6 +5,7 @@ export interface IRegistrationCodeTenant {
5
5
  readonly phone?: string;
6
6
  }
7
7
  export interface IRegistrationCodeOptions {
8
+ readonly dataSource?: string;
8
9
  readonly externalId?: string;
9
10
  readonly instantTenantInviteActive?: boolean;
10
11
  readonly permanent?: boolean;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { IAllthingsRestClient } from '../types';
3
4
  import { IMessage } from './conversation';
4
5
  import { IFile } from './file';
@@ -78,6 +78,7 @@ export declare enum EnumUnitType {
78
78
  export interface IUnit {
79
79
  readonly billingPeriodEndDate: string;
80
80
  readonly billingPeriodStartDate: string;
81
+ readonly dataSource?: string;
81
82
  readonly externalId?: string;
82
83
  readonly id: string;
83
84
  readonly name: string;
@@ -16,6 +16,12 @@ export declare enum EnumCommunicationPreferenceChannel {
16
16
  push = "push",
17
17
  email = "email"
18
18
  }
19
+ export interface IExternalData {
20
+ dataSource: string;
21
+ externalId: string;
22
+ name?: string;
23
+ phoneNumber?: string;
24
+ }
19
25
  export interface IUser {
20
26
  readonly communicationPreferences: readonly {
21
27
  readonly channels: readonly EnumCommunicationPreferenceChannel[];
@@ -26,7 +32,9 @@ export interface IUser {
26
32
  readonly description: string;
27
33
  readonly email: string;
28
34
  readonly emailValidated: boolean;
35
+ readonly externalAgentsData: IExternalData[] | null;
29
36
  readonly externalId: string | null;
37
+ readonly externalTenantsData: IExternalData[] | null;
30
38
  readonly gender: EnumGender;
31
39
  readonly id: string;
32
40
  readonly inviteEmailSent: boolean;
@@ -11,8 +11,9 @@ export interface IUtilisationPeriod {
11
11
  readonly [key: string]: any;
12
12
  readonly invitations: readonly any[];
13
13
  };
14
+ readonly dataSource?: string;
14
15
  readonly endDate: string | null;
15
- readonly externalId: string | null;
16
+ readonly externalId?: string;
16
17
  readonly id: string;
17
18
  readonly invitations: readonly IUtilisationPeriodInvite[];
18
19
  readonly name: string;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { IAllthingsRestClient } from '..';
3
4
  import { IFile } from '../rest/methods/file';
4
5
  export declare const createManyFiles: (attachments: readonly {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allthings/sdk",
3
- "version": "6.6.0",
3
+ "version": "6.7.0",
4
4
  "description": "",
5
5
  "author": "Allthings GmbH",
6
6
  "keywords": [
@@ -52,7 +52,7 @@
52
52
  "test:authorization-code": "open http://localhost:3333/test/fixtures/authorization-code?clientId=$ALLTHINGS_OAUTH_CLIENT_ID&clientSecret=$ALLTHINGS_OAUTH_CLIENT_SECRET"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/client-ssm": "3.654.0",
55
+ "@aws-sdk/client-ssm": "3.665.0",
56
56
  "bottleneck": "2.19.5",
57
57
  "cross-fetch": "4.0.0",
58
58
  "query-string": "7.1.3"
@@ -61,16 +61,16 @@
61
61
  "@allthings/eslint-config": "1.1.0",
62
62
  "@commitlint/cli": "19.5.0",
63
63
  "@commitlint/config-conventional": "19.5.0",
64
- "@rollup/plugin-commonjs": "26.0.1",
64
+ "@rollup/plugin-commonjs": "28.0.0",
65
65
  "@rollup/plugin-json": "6.1.0",
66
- "@rollup/plugin-node-resolve": "15.2.3",
67
- "@rollup/plugin-replace": "5.0.7",
66
+ "@rollup/plugin-node-resolve": "15.3.0",
67
+ "@rollup/plugin-replace": "6.0.1",
68
68
  "@rollup/plugin-terser": "0.4.4",
69
69
  "@types/form-data": "2.5.0",
70
70
  "@types/jest": "26.0.24",
71
- "@types/node": "18.19.48",
71
+ "@types/node": "18.19.54",
72
72
  "@types/query-string": "6.3.0",
73
- "aws-sdk-client-mock": "4.0.1",
73
+ "aws-sdk-client-mock": "4.0.2",
74
74
  "coveralls": "3.1.1",
75
75
  "eslint": "8.57.1",
76
76
  "form-data": "4.0.0",
@@ -81,7 +81,7 @@
81
81
  "nanoid": "3.3.7",
82
82
  "prettier": "3.3.3",
83
83
  "rimraf": "5.0.10",
84
- "rollup": "4.22.4",
84
+ "rollup": "4.24.0",
85
85
  "rollup-plugin-hashbang": "2.2.2",
86
86
  "semantic-release": "19.0.5",
87
87
  "ts-jest": "26.5.6",