@safetech/inheriti-client-sdk 1.17.21 → 1.17.22
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/dist/automation.js +1 -1
- package/dist/browser.js +1 -1
- package/dist/inbox.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inheriti-client-sdk.umd.js +22 -22
- package/dist/node-base.js +1 -1
- package/dist/node.js +1 -1
- package/dist/sdk-types.d.ts +11 -0
- package/dist/src/business/inbox/types.d.ts +11 -0
- package/package.json +2 -2
package/dist/sdk-types.d.ts
CHANGED
|
@@ -470,6 +470,7 @@ interface InboxMessageMetadata {
|
|
|
470
470
|
recipientStatuses?: Array<{
|
|
471
471
|
memberId: string;
|
|
472
472
|
status: NonNullable<InboxMessageMetadata['recipientStatus']>;
|
|
473
|
+
consumedAt?: string | null;
|
|
473
474
|
}>;
|
|
474
475
|
status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
|
|
475
476
|
senderMemberId: string;
|
|
@@ -524,6 +525,16 @@ interface NormalInboxMessageMetadata {
|
|
|
524
525
|
senderDeviceId: string;
|
|
525
526
|
participantRevision: number;
|
|
526
527
|
createdAt: string;
|
|
528
|
+
recipientStatuses?: Array<{
|
|
529
|
+
memberId: string;
|
|
530
|
+
read?: boolean;
|
|
531
|
+
readAt?: string | null;
|
|
532
|
+
secrets?: Array<{
|
|
533
|
+
position: number;
|
|
534
|
+
status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
|
|
535
|
+
revealedAt?: string | null;
|
|
536
|
+
}>;
|
|
537
|
+
}>;
|
|
527
538
|
}
|
|
528
539
|
interface NormalInboxMessagePage {
|
|
529
540
|
items: NormalInboxMessageMetadata[];
|
|
@@ -168,6 +168,7 @@ export interface InboxMessageMetadata {
|
|
|
168
168
|
recipientStatuses?: Array<{
|
|
169
169
|
memberId: string;
|
|
170
170
|
status: NonNullable<InboxMessageMetadata['recipientStatus']>;
|
|
171
|
+
consumedAt?: string | null;
|
|
171
172
|
}>;
|
|
172
173
|
status: Exclude<PublishedInboxMessage['status'], 'DELETED'>;
|
|
173
174
|
senderMemberId: string;
|
|
@@ -222,6 +223,16 @@ export interface NormalInboxMessageMetadata {
|
|
|
222
223
|
senderDeviceId: string;
|
|
223
224
|
participantRevision: number;
|
|
224
225
|
createdAt: string;
|
|
226
|
+
recipientStatuses?: Array<{
|
|
227
|
+
memberId: string;
|
|
228
|
+
read?: boolean;
|
|
229
|
+
readAt?: string | null;
|
|
230
|
+
secrets?: Array<{
|
|
231
|
+
position: number;
|
|
232
|
+
status: 'UNREAD' | 'LEASED' | 'CONSUMED' | 'EXPIRED' | 'REVOKED' | 'DELETED';
|
|
233
|
+
revealedAt?: string | null;
|
|
234
|
+
}>;
|
|
235
|
+
}>;
|
|
225
236
|
}
|
|
226
237
|
export interface NormalInboxMessagePage {
|
|
227
238
|
items: NormalInboxMessageMetadata[];
|
package/package.json
CHANGED