Compare commits
2 Commits
0c7adece3c
...
33f78a0063
| Author | SHA1 | Date | |
|---|---|---|---|
| 33f78a0063 | |||
| a87d36e1ec |
Generated
+4
-4
@@ -12,7 +12,7 @@
|
||||
"@huggingface/transformers": "^4.2.0",
|
||||
"@imgly/background-removal": "^1.7.0",
|
||||
"@insignia/iios-kernel-client": "^0.1.4",
|
||||
"@insignia/iios-messaging-ui": "^0.1.7",
|
||||
"@insignia/iios-messaging-ui": "^0.1.9",
|
||||
"@photo-gallery/sdk": "file:./vendor/photo-gallery-sdk",
|
||||
"@tensorflow-models/coco-ssd": "^2.2.3",
|
||||
"@tensorflow/tfjs": "^4.22.0",
|
||||
@@ -1087,9 +1087,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@insignia/iios-messaging-ui": {
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.7/iios-messaging-ui-0.1.7.tgz",
|
||||
"integrity": "sha512-ZE4fLeSTSa5AFZnvSRT7G/TEaw+Jm5qH8rWaDjns6Vu9zBnDTVYdF8CMEisBrtgSDj+jDQBo9xlwZmr++5qehw==",
|
||||
"version": "0.1.9",
|
||||
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.9/iios-messaging-ui-0.1.9.tgz",
|
||||
"integrity": "sha512-9kHCoYHkz1rsqJGI9l1JLQOEickUE7ujuEihM0Wx+TYowir25WTN+j5ukf04Tse3ZmyMEtgd2BNE1zmKgNGD6Q==",
|
||||
"peerDependencies": {
|
||||
"@insignia/iios-kernel-client": "*",
|
||||
"react": ">=18",
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
"@huggingface/transformers": "^4.2.0",
|
||||
"@imgly/background-removal": "^1.7.0",
|
||||
"@insignia/iios-kernel-client": "^0.1.4",
|
||||
"@insignia/iios-messaging-ui": "^0.1.7",
|
||||
"@insignia/iios-messaging-ui": "^0.1.9",
|
||||
"@photo-gallery/sdk": "file:./vendor/photo-gallery-sdk",
|
||||
"@tensorflow-models/coco-ssd": "^2.2.3",
|
||||
"@tensorflow/tfjs": "^4.22.0",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
import type {
|
||||
Attachment,
|
||||
BulkAddResult,
|
||||
ChannelSummary,
|
||||
ChannelVisibility,
|
||||
Conversation,
|
||||
@@ -247,6 +248,12 @@ export class CrmMessagingAdapter implements MessagingAdapter {
|
||||
await this.sdk.command("crm.messenger.participant.add", { threadId, userId });
|
||||
}
|
||||
|
||||
/** Bulk import (e.g. everyone from another channel). IIOS governs both ends: you must belong to
|
||||
* the source channel to read its roster, and OPA re-checks who may add to this thread. */
|
||||
async addMembers(threadId: string, userIds: string[]): Promise<BulkAddResult> {
|
||||
return this.sdk.command<BulkAddResult>("crm.messenger.participant.addMany", { threadId, userIds });
|
||||
}
|
||||
|
||||
async removeMember(threadId: string, userId: string): Promise<void> {
|
||||
await this.sdk.command("crm.messenger.participant.remove", { threadId, userId });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user