@connectedxm/admin-sdk 7.0.5 → 7.0.7
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/api.ts +5 -6
- package/dist/api.d.ts +5 -6
- package/dist/esm/api.d.ts +5 -6
- package/docs/BaseThreadMessage.md +0 -2
- package/docs/ThreadAccount.md +2 -0
- package/docs/ThreadMessage.md +0 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2538,8 +2538,7 @@ export interface BaseThread {
|
|
|
2538
2538
|
export interface BaseThreadMessage {
|
|
2539
2539
|
'id': string;
|
|
2540
2540
|
'body': string;
|
|
2541
|
-
'
|
|
2542
|
-
'threadAccount': ThreadAccount | null;
|
|
2541
|
+
'threadAccount': ThreadAccount;
|
|
2543
2542
|
'createdAt': string;
|
|
2544
2543
|
'editedAt': string | null;
|
|
2545
2544
|
'sentAt': string;
|
|
@@ -13625,12 +13624,13 @@ export interface Thread {
|
|
|
13625
13624
|
export interface ThreadAccount {
|
|
13626
13625
|
'id': string;
|
|
13627
13626
|
'threadId': string;
|
|
13628
|
-
'accountId': string;
|
|
13629
|
-
'account': BaseAccount;
|
|
13627
|
+
'accountId': string | null;
|
|
13628
|
+
'account': BaseAccount | null;
|
|
13630
13629
|
'lastReadAt': string | null;
|
|
13631
13630
|
'typingAt': string | null;
|
|
13632
13631
|
'notifications': boolean;
|
|
13633
13632
|
'blocked': boolean;
|
|
13633
|
+
'leftAt': string | null;
|
|
13634
13634
|
'createdAt': string;
|
|
13635
13635
|
'updatedAt': string;
|
|
13636
13636
|
}
|
|
@@ -13649,8 +13649,7 @@ export interface ThreadCreateInputs {
|
|
|
13649
13649
|
export interface ThreadMessage {
|
|
13650
13650
|
'id': string;
|
|
13651
13651
|
'body': string;
|
|
13652
|
-
'
|
|
13653
|
-
'threadAccount': ThreadAccount | null;
|
|
13652
|
+
'threadAccount': ThreadAccount;
|
|
13654
13653
|
'createdAt': string;
|
|
13655
13654
|
'editedAt': string | null;
|
|
13656
13655
|
'sentAt': string;
|
package/dist/api.d.ts
CHANGED
|
@@ -2356,8 +2356,7 @@ export interface BaseThread {
|
|
|
2356
2356
|
export interface BaseThreadMessage {
|
|
2357
2357
|
'id': string;
|
|
2358
2358
|
'body': string;
|
|
2359
|
-
'
|
|
2360
|
-
'threadAccount': ThreadAccount | null;
|
|
2359
|
+
'threadAccount': ThreadAccount;
|
|
2361
2360
|
'createdAt': string;
|
|
2362
2361
|
'editedAt': string | null;
|
|
2363
2362
|
'sentAt': string;
|
|
@@ -12128,12 +12127,13 @@ export interface Thread {
|
|
|
12128
12127
|
export interface ThreadAccount {
|
|
12129
12128
|
'id': string;
|
|
12130
12129
|
'threadId': string;
|
|
12131
|
-
'accountId': string;
|
|
12132
|
-
'account': BaseAccount;
|
|
12130
|
+
'accountId': string | null;
|
|
12131
|
+
'account': BaseAccount | null;
|
|
12133
12132
|
'lastReadAt': string | null;
|
|
12134
12133
|
'typingAt': string | null;
|
|
12135
12134
|
'notifications': boolean;
|
|
12136
12135
|
'blocked': boolean;
|
|
12136
|
+
'leftAt': string | null;
|
|
12137
12137
|
'createdAt': string;
|
|
12138
12138
|
'updatedAt': string;
|
|
12139
12139
|
}
|
|
@@ -12152,8 +12152,7 @@ export interface ThreadCreateInputs {
|
|
|
12152
12152
|
export interface ThreadMessage {
|
|
12153
12153
|
'id': string;
|
|
12154
12154
|
'body': string;
|
|
12155
|
-
'
|
|
12156
|
-
'threadAccount': ThreadAccount | null;
|
|
12155
|
+
'threadAccount': ThreadAccount;
|
|
12157
12156
|
'createdAt': string;
|
|
12158
12157
|
'editedAt': string | null;
|
|
12159
12158
|
'sentAt': string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2356,8 +2356,7 @@ export interface BaseThread {
|
|
|
2356
2356
|
export interface BaseThreadMessage {
|
|
2357
2357
|
'id': string;
|
|
2358
2358
|
'body': string;
|
|
2359
|
-
'
|
|
2360
|
-
'threadAccount': ThreadAccount | null;
|
|
2359
|
+
'threadAccount': ThreadAccount;
|
|
2361
2360
|
'createdAt': string;
|
|
2362
2361
|
'editedAt': string | null;
|
|
2363
2362
|
'sentAt': string;
|
|
@@ -12128,12 +12127,13 @@ export interface Thread {
|
|
|
12128
12127
|
export interface ThreadAccount {
|
|
12129
12128
|
'id': string;
|
|
12130
12129
|
'threadId': string;
|
|
12131
|
-
'accountId': string;
|
|
12132
|
-
'account': BaseAccount;
|
|
12130
|
+
'accountId': string | null;
|
|
12131
|
+
'account': BaseAccount | null;
|
|
12133
12132
|
'lastReadAt': string | null;
|
|
12134
12133
|
'typingAt': string | null;
|
|
12135
12134
|
'notifications': boolean;
|
|
12136
12135
|
'blocked': boolean;
|
|
12136
|
+
'leftAt': string | null;
|
|
12137
12137
|
'createdAt': string;
|
|
12138
12138
|
'updatedAt': string;
|
|
12139
12139
|
}
|
|
@@ -12152,8 +12152,7 @@ export interface ThreadCreateInputs {
|
|
|
12152
12152
|
export interface ThreadMessage {
|
|
12153
12153
|
'id': string;
|
|
12154
12154
|
'body': string;
|
|
12155
|
-
'
|
|
12156
|
-
'threadAccount': ThreadAccount | null;
|
|
12155
|
+
'threadAccount': ThreadAccount;
|
|
12157
12156
|
'createdAt': string;
|
|
12158
12157
|
'editedAt': string | null;
|
|
12159
12158
|
'sentAt': string;
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**body** | **string** | | [default to undefined]
|
|
10
|
-
**accountId** | **string** | | [default to undefined]
|
|
11
10
|
**threadAccount** | [**ThreadAccount**](ThreadAccount.md) | | [default to undefined]
|
|
12
11
|
**createdAt** | **string** | | [default to undefined]
|
|
13
12
|
**editedAt** | **string** | | [default to undefined]
|
|
@@ -22,7 +21,6 @@ import { BaseThreadMessage } from '@connectedxm/admin-sdk';
|
|
|
22
21
|
const instance: BaseThreadMessage = {
|
|
23
22
|
id,
|
|
24
23
|
body,
|
|
25
|
-
accountId,
|
|
26
24
|
threadAccount,
|
|
27
25
|
createdAt,
|
|
28
26
|
editedAt,
|
package/docs/ThreadAccount.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**typingAt** | **string** | | [default to undefined]
|
|
14
14
|
**notifications** | **boolean** | | [default to undefined]
|
|
15
15
|
**blocked** | **boolean** | | [default to undefined]
|
|
16
|
+
**leftAt** | **string** | | [default to undefined]
|
|
16
17
|
**createdAt** | **string** | | [default to undefined]
|
|
17
18
|
**updatedAt** | **string** | | [default to undefined]
|
|
18
19
|
|
|
@@ -30,6 +31,7 @@ const instance: ThreadAccount = {
|
|
|
30
31
|
typingAt,
|
|
31
32
|
notifications,
|
|
32
33
|
blocked,
|
|
34
|
+
leftAt,
|
|
33
35
|
createdAt,
|
|
34
36
|
updatedAt,
|
|
35
37
|
};
|
package/docs/ThreadMessage.md
CHANGED
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**body** | **string** | | [default to undefined]
|
|
10
|
-
**accountId** | **string** | | [default to undefined]
|
|
11
10
|
**threadAccount** | [**ThreadAccount**](ThreadAccount.md) | | [default to undefined]
|
|
12
11
|
**createdAt** | **string** | | [default to undefined]
|
|
13
12
|
**editedAt** | **string** | | [default to undefined]
|
|
@@ -31,7 +30,6 @@ import { ThreadMessage } from '@connectedxm/admin-sdk';
|
|
|
31
30
|
const instance: ThreadMessage = {
|
|
32
31
|
id,
|
|
33
32
|
body,
|
|
34
|
-
accountId,
|
|
35
33
|
threadAccount,
|
|
36
34
|
createdAt,
|
|
37
35
|
editedAt,
|