crisp-api 10.0.15 → 10.0.17
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/CHANGELOG.md
CHANGED
package/dist/crisp.js
CHANGED
|
@@ -153,6 +153,7 @@ export interface ConversationMessage {
|
|
|
153
153
|
edited?: boolean;
|
|
154
154
|
translated?: boolean;
|
|
155
155
|
automated?: boolean;
|
|
156
|
+
stamped?: boolean;
|
|
156
157
|
fingerprint?: number;
|
|
157
158
|
timestamp?: number;
|
|
158
159
|
user?: ConversationMessageUser;
|
|
@@ -375,13 +376,15 @@ export interface ConversationVerify {
|
|
|
375
376
|
verified?: boolean;
|
|
376
377
|
verifications?: ConversationVerification[];
|
|
377
378
|
}
|
|
379
|
+
export type ConversationVerifyIdentity = "email" | "phone" | `urn:${string}`;
|
|
380
|
+
export type ConversationVerifyMethod = "link";
|
|
378
381
|
export interface ConversationVerifyIdentityRequest {
|
|
379
|
-
identity?:
|
|
380
|
-
method?:
|
|
382
|
+
identity?: ConversationVerifyIdentity;
|
|
383
|
+
method?: ConversationVerifyMethod;
|
|
381
384
|
recipient?: string;
|
|
382
385
|
}
|
|
383
386
|
export interface ConversationVerifyIdentityRedeem {
|
|
384
|
-
identity?:
|
|
387
|
+
identity?: ConversationVerifyIdentity;
|
|
385
388
|
token?: string;
|
|
386
389
|
recipient?: string;
|
|
387
390
|
}
|
|
@@ -207,6 +207,7 @@ export interface ConversationMessage {
|
|
|
207
207
|
edited?: boolean;
|
|
208
208
|
translated?: boolean;
|
|
209
209
|
automated?: boolean;
|
|
210
|
+
stamped?: boolean;
|
|
210
211
|
fingerprint?: number;
|
|
211
212
|
timestamp?: number;
|
|
212
213
|
user?: ConversationMessageUser;
|
|
@@ -484,14 +485,18 @@ export interface ConversationVerify {
|
|
|
484
485
|
verifications?: ConversationVerification[];
|
|
485
486
|
}
|
|
486
487
|
|
|
488
|
+
export type ConversationVerifyIdentity = "email" | "phone" | `urn:${string}`;
|
|
489
|
+
|
|
490
|
+
export type ConversationVerifyMethod = "link";
|
|
491
|
+
|
|
487
492
|
export interface ConversationVerifyIdentityRequest {
|
|
488
|
-
identity?:
|
|
489
|
-
method?:
|
|
493
|
+
identity?: ConversationVerifyIdentity;
|
|
494
|
+
method?: ConversationVerifyMethod;
|
|
490
495
|
recipient?: string;
|
|
491
496
|
}
|
|
492
497
|
|
|
493
498
|
export interface ConversationVerifyIdentityRedeem {
|
|
494
|
-
identity?:
|
|
499
|
+
identity?: ConversationVerifyIdentity;
|
|
495
500
|
token?: string;
|
|
496
501
|
recipient?: string;
|
|
497
502
|
}
|
package/package.json
CHANGED