@unblu/embedded-app-component 7.44.1 → 8.1.2
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/lib/index.d.ts +8 -5
- package/dist/lib/index.js +5 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/shared/conversation.d.ts +1 -64
- package/dist/lib/shared/conversation.js +1 -76
- package/dist/lib/shared/conversation.js.map +1 -1
- package/dist/lib/shared/internal/module/base-general-module.d.ts +7 -3
- package/dist/lib/shared/internal/module/base-general-module.js +8 -0
- package/dist/lib/shared/internal/module/base-general-module.js.map +1 -1
- package/dist/lib/shared/internal/module/conversation-module.d.ts +0 -15
- package/dist/lib/shared/internal/module/conversation-module.js +0 -15
- package/dist/lib/shared/internal/module/conversation-module.js.map +1 -1
- package/dist/lib/shared/internal/{unblu-api-factory.d.ts → unblu-floating-api.d.ts} +7 -1
- package/dist/lib/shared/internal/unblu-floating-api.js +2 -0
- package/dist/lib/shared/internal/unblu-floating-api.js.map +1 -0
- package/dist/lib/shared/internal/unblu-util.d.ts +2 -2
- package/dist/lib/shared/internal/unblu-util.js +2 -2
- package/dist/lib/shared/internal/unblu-util.js.map +1 -1
- package/dist/lib/shared/model/conversation-info.d.ts +18 -14
- package/dist/lib/shared/model/conversation-participant.d.ts +15 -0
- package/dist/lib/shared/model/conversation-participant.js +2 -0
- package/dist/lib/shared/model/conversation-participant.js.map +1 -0
- package/dist/lib/shared/model/conversation-participation-type.d.ts +18 -0
- package/dist/lib/shared/model/conversation-participation-type.js +20 -0
- package/dist/lib/shared/model/conversation-participation-type.js.map +1 -0
- package/dist/lib/shared/model/conversation-recipient-type.d.ts +11 -3
- package/dist/lib/shared/model/conversation-recipient-type.js +10 -2
- package/dist/lib/shared/model/conversation-recipient-type.js.map +1 -1
- package/dist/lib/shared/model/conversation-recipient.d.ts +6 -2
- package/dist/lib/shared/model/new-conversation-interceptor-result.d.ts +2 -2
- package/dist/lib/shared/model/new-conversation-recipient-type.d.ts +10 -0
- package/dist/lib/shared/model/new-conversation-recipient-type.js +12 -0
- package/dist/lib/shared/model/new-conversation-recipient-type.js.map +1 -0
- package/dist/lib/shared/model/new-conversation-recipient.d.ts +14 -0
- package/dist/lib/shared/model/new-conversation-recipient.js +2 -0
- package/dist/lib/shared/model/new-conversation-recipient.js.map +1 -0
- package/dist/lib/shared/model/person-info.d.ts +1 -0
- package/dist/lib/shared/new-conversation-interceptor.d.ts +8 -8
- package/dist/lib/shared/unblu-api-error.d.ts +3 -3
- package/dist/lib/shared/unblu-api-error.js +3 -3
- package/dist/lib/unblu-embedded-api.d.ts +14 -2
- package/dist/lib/unblu-embedded-api.js +18 -0
- package/dist/lib/unblu-embedded-api.js.map +1 -1
- package/dist/lib/unblu-embedded-app-element.d.ts +1 -1
- package/dist/lib/unblu-embedded-app-element.js +1 -1
- package/dist/lib/web-types.json +1 -1
- package/package.json +2 -3
- package/dist/lib/shared/internal/unblu-api-factory.js +0 -2
- package/dist/lib/shared/internal/unblu-api-factory.js.map +0 -1
- package/dist/lib/shared/model/invitation-status.d.ts +0 -14
- package/dist/lib/shared/model/invitation-status.js +0 -16
- package/dist/lib/shared/model/invitation-status.js.map +0 -1
- package/dist/lib/shared/model/invitation.d.ts +0 -24
- package/dist/lib/shared/model/invitation.js +0 -2
- package/dist/lib/shared/model/invitation.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-participant.js","sourceRoot":"","sources":["../../../../src/shared/model/conversation-participant.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum ConversationParticipationType {
|
|
2
|
+
/**
|
|
3
|
+
* The main agent of the conversation. There can only be one per conversation at any given point in time.
|
|
4
|
+
*/
|
|
5
|
+
ASSIGNED_AGENT = "ASSIGNED_AGENT",
|
|
6
|
+
/**
|
|
7
|
+
* The main visitor of the conversation. There can only be one per conversation at any given point in time.
|
|
8
|
+
*/
|
|
9
|
+
CONTEXT_PERSON = "CONTEXT_PERSON",
|
|
10
|
+
/**
|
|
11
|
+
* A secondary agent. Multiple instances per conversation possible.
|
|
12
|
+
*/
|
|
13
|
+
SECONDARY_AGENT = "SECONDARY_AGENT",
|
|
14
|
+
/**
|
|
15
|
+
* A secondary visitor. Multiple instances per conversation possible.
|
|
16
|
+
*/
|
|
17
|
+
SECONDARY_VISITOR = "SECONDARY_VISITOR"
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export var ConversationParticipationType;
|
|
2
|
+
(function (ConversationParticipationType) {
|
|
3
|
+
/**
|
|
4
|
+
* The main agent of the conversation. There can only be one per conversation at any given point in time.
|
|
5
|
+
*/
|
|
6
|
+
ConversationParticipationType["ASSIGNED_AGENT"] = "ASSIGNED_AGENT";
|
|
7
|
+
/**
|
|
8
|
+
* The main visitor of the conversation. There can only be one per conversation at any given point in time.
|
|
9
|
+
*/
|
|
10
|
+
ConversationParticipationType["CONTEXT_PERSON"] = "CONTEXT_PERSON";
|
|
11
|
+
/**
|
|
12
|
+
* A secondary agent. Multiple instances per conversation possible.
|
|
13
|
+
*/
|
|
14
|
+
ConversationParticipationType["SECONDARY_AGENT"] = "SECONDARY_AGENT";
|
|
15
|
+
/**
|
|
16
|
+
* A secondary visitor. Multiple instances per conversation possible.
|
|
17
|
+
*/
|
|
18
|
+
ConversationParticipationType["SECONDARY_VISITOR"] = "SECONDARY_VISITOR";
|
|
19
|
+
})(ConversationParticipationType || (ConversationParticipationType = {}));
|
|
20
|
+
//# sourceMappingURL=conversation-participation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-participation-type.js","sourceRoot":"","sources":["../../../../src/shared/model/conversation-participation-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,6BAiBX;AAjBD,WAAY,6BAA6B;IACrC;;OAEG;IACH,kEAAgC,CAAA;IAChC;;OAEG;IACH,kEAAiC,CAAA;IACjC;;OAEG;IACH,oEAAmC,CAAA;IACnC;;OAEG;IACH,wEAAuC,CAAA;AAC3C,CAAC,EAjBW,6BAA6B,KAA7B,6BAA6B,QAiBxC"}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
export declare enum ConversationRecipientType {
|
|
2
2
|
/**
|
|
3
|
-
* The recipient type for a conversation is
|
|
3
|
+
* The recipient type for a conversation is the account
|
|
4
|
+
*/
|
|
5
|
+
ACCOUNT = "ACCOUNT",
|
|
6
|
+
/**
|
|
7
|
+
* The recipient type for a conversation is a named area
|
|
4
8
|
*/
|
|
5
|
-
|
|
9
|
+
NAMED_AREA = "NAMED_AREA",
|
|
6
10
|
/**
|
|
7
11
|
* The recipient type for a conversation is a team
|
|
8
12
|
*/
|
|
9
|
-
TEAM = "TEAM"
|
|
13
|
+
TEAM = "TEAM",
|
|
14
|
+
/**
|
|
15
|
+
* The recipient type for a conversation is an agent
|
|
16
|
+
*/
|
|
17
|
+
AGENT = "AGENT"
|
|
10
18
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
export var ConversationRecipientType;
|
|
2
2
|
(function (ConversationRecipientType) {
|
|
3
3
|
/**
|
|
4
|
-
* The recipient type for a conversation is
|
|
4
|
+
* The recipient type for a conversation is the account
|
|
5
5
|
*/
|
|
6
|
-
ConversationRecipientType["
|
|
6
|
+
ConversationRecipientType["ACCOUNT"] = "ACCOUNT";
|
|
7
|
+
/**
|
|
8
|
+
* The recipient type for a conversation is a named area
|
|
9
|
+
*/
|
|
10
|
+
ConversationRecipientType["NAMED_AREA"] = "NAMED_AREA";
|
|
7
11
|
/**
|
|
8
12
|
* The recipient type for a conversation is a team
|
|
9
13
|
*/
|
|
10
14
|
ConversationRecipientType["TEAM"] = "TEAM";
|
|
15
|
+
/**
|
|
16
|
+
* The recipient type for a conversation is an agent
|
|
17
|
+
*/
|
|
18
|
+
ConversationRecipientType["AGENT"] = "AGENT";
|
|
11
19
|
})(ConversationRecipientType || (ConversationRecipientType = {}));
|
|
12
20
|
//# sourceMappingURL=conversation-recipient-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-recipient-type.js","sourceRoot":"","sources":["../../../../src/shared/model/conversation-recipient-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"conversation-recipient-type.js","sourceRoot":"","sources":["../../../../src/shared/model/conversation-recipient-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,yBAiBX;AAjBD,WAAY,yBAAyB;IACjC;;OAEG;IACH,gDAAmB,CAAA;IACnB;;OAEG;IACH,sDAAyB,CAAA;IACzB;;OAEG;IACH,0CAAa,CAAA;IACb;;OAEG;IACH,4CAAe,CAAA;AACnB,CAAC,EAjBW,yBAAyB,KAAzB,yBAAyB,QAiBpC"}
|
|
@@ -8,7 +8,11 @@ export interface ConversationRecipient {
|
|
|
8
8
|
*/
|
|
9
9
|
id: string;
|
|
10
10
|
/**
|
|
11
|
-
* The type
|
|
11
|
+
* The recipient type
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
recipientType: ConversationRecipientType;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the recipient
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
14
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NewConversationRecipient } from "./new-conversation-recipient";
|
|
2
2
|
/**
|
|
3
3
|
* The result of calling a {@link NewConversationInterceptor}.
|
|
4
4
|
*/
|
|
@@ -10,5 +10,5 @@ export interface NewConversationInterceptorResult {
|
|
|
10
10
|
/**
|
|
11
11
|
* The team or agent recipient of the conversation. This overwrites any named area that may be set on the web page.
|
|
12
12
|
*/
|
|
13
|
-
recipient?:
|
|
13
|
+
recipient?: NewConversationRecipient;
|
|
14
14
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var NewConversationRecipientType;
|
|
2
|
+
(function (NewConversationRecipientType) {
|
|
3
|
+
/**
|
|
4
|
+
* The recipient type for a conversation is an agent
|
|
5
|
+
*/
|
|
6
|
+
NewConversationRecipientType["AGENT"] = "AGENT";
|
|
7
|
+
/**
|
|
8
|
+
* The recipient type for a conversation is a team
|
|
9
|
+
*/
|
|
10
|
+
NewConversationRecipientType["TEAM"] = "TEAM";
|
|
11
|
+
})(NewConversationRecipientType || (NewConversationRecipientType = {}));
|
|
12
|
+
//# sourceMappingURL=new-conversation-recipient-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-conversation-recipient-type.js","sourceRoot":"","sources":["../../../../src/shared/model/new-conversation-recipient-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,4BASX;AATD,WAAY,4BAA4B;IACpC;;OAEG;IACH,+CAAe,CAAA;IACf;;OAEG;IACH,6CAAa,CAAA;AACjB,CAAC,EATW,4BAA4B,KAA5B,4BAA4B,QASvC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NewConversationRecipientType } from "./new-conversation-recipient-type";
|
|
2
|
+
/**
|
|
3
|
+
* The recipient of a conversation
|
|
4
|
+
*/
|
|
5
|
+
export interface NewConversationRecipient {
|
|
6
|
+
/**
|
|
7
|
+
* The ID of the recipient. Depending on the recipient type, this refers either to an agent person ID or a team ID.
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The recipient type
|
|
12
|
+
*/
|
|
13
|
+
recipientType: NewConversationRecipientType;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-conversation-recipient.js","sourceRoot":"","sources":["../../../../src/shared/model/new-conversation-recipient.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationType } from "./model/conversation-type";
|
|
2
|
-
import {
|
|
2
|
+
import { NewConversationRecipient } from "./model/new-conversation-recipient";
|
|
3
3
|
import { NewConversationInterceptorResult } from "./model/new-conversation-interceptor-result";
|
|
4
4
|
/**
|
|
5
5
|
* Interceptor function which is called every time a new conversation is started from the UI or JS API.
|
|
@@ -8,17 +8,17 @@ import { NewConversationInterceptorResult } from "./model/new-conversation-inter
|
|
|
8
8
|
* - If the interceptor rejects the Promise, starting the conversation will be cancelled.
|
|
9
9
|
* - If the interceptor resolves the Promise with a String, the value of the String will be used and set as "visitorData" for the conversation created.
|
|
10
10
|
* - If the interceptor resolves the Promise with a {@link NewConversationInterceptorResult}, the values from it will be used for the "visitorData" and the "recipient" for the conversation created.
|
|
11
|
-
* - If the resolved value is undefined, the value passed into the
|
|
12
|
-
* - If the resolved value is set to null, any value passed into
|
|
11
|
+
* - If the resolved value is undefined, the value passed into the {@link UnbluApi.startConversation} method will be used.
|
|
12
|
+
* - If the resolved value is set to null, any value passed into {@link UnbluApi.startConversation} will be discarded.
|
|
13
13
|
* - If the resolved value is neither a {@link NewConversationInterceptorResult}, nor a String, nor undefined, the conversation is started without any visitorData.
|
|
14
14
|
* - If the interceptor resolves the Promise with something other than a {@link NewConversationInterceptorResult} or a String, the conversation is started without any visitorData.
|
|
15
15
|
*
|
|
16
|
-
* Any values of {@link NewConversationInterceptorResult} that are undefined are replaced by the corresponding values passed to
|
|
17
|
-
* Any values of {@link NewConversationInterceptorResult} that are null discard the corresponding values passed to
|
|
16
|
+
* Any values of {@link NewConversationInterceptorResult} that are undefined are replaced by the corresponding values passed to {@link UnbluApi.startConversation}.
|
|
17
|
+
* Any values of {@link NewConversationInterceptorResult} that are null discard the corresponding values passed to {@link UnbluApi.startConversation}.
|
|
18
18
|
*
|
|
19
19
|
* @param conversationType The type of the conversation being started.
|
|
20
|
-
* @param visitorData Optional visitorData, only present if passed to the
|
|
21
|
-
* @param recipient Optional recipient, only present if passed to the
|
|
20
|
+
* @param visitorData Optional visitorData, only present if passed to the {@link UnbluApi.startConversation} method
|
|
21
|
+
* @param recipient Optional recipient, only present if passed to the {@link UnbluApi.startConversation} method
|
|
22
22
|
* @return A Promise deferring the start of the conversation until it resolves.
|
|
23
23
|
*/
|
|
24
|
-
export type NewConversationInterceptor = (conversationType: ConversationType, visitorData?: String, recipient?:
|
|
24
|
+
export type NewConversationInterceptor = (conversationType: ConversationType, visitorData?: String, recipient?: NewConversationRecipient) => Promise<String | NewConversationInterceptorResult>;
|
|
@@ -61,9 +61,9 @@ export declare enum UnbluErrorType {
|
|
|
61
61
|
*
|
|
62
62
|
* Check the documentation of {@link UnbluErrorType} for more details on the different error types.
|
|
63
63
|
*
|
|
64
|
-
* Example:
|
|
64
|
+
* Example for the Floating API:
|
|
65
65
|
* ```ts
|
|
66
|
-
* unblu.api.initialize().then(api => {
|
|
66
|
+
* unblu.floating.api.initialize().then(api => {
|
|
67
67
|
* // use the api
|
|
68
68
|
* }).catch(e => {
|
|
69
69
|
* if(e.type === 'INITIALIZATION_TIMEOUT') {
|
|
@@ -80,7 +80,7 @@ export declare enum UnbluErrorType {
|
|
|
80
80
|
*
|
|
81
81
|
* ```ts
|
|
82
82
|
* try {
|
|
83
|
-
* const api = await unblu.api.initialize()
|
|
83
|
+
* const api = await unblu.floating.api.initialize()
|
|
84
84
|
* // use the api
|
|
85
85
|
* } catch(e) {
|
|
86
86
|
* if(e.type === 'INITIALIZATION_TIMEOUT') {
|
|
@@ -62,9 +62,9 @@ export var UnbluErrorType;
|
|
|
62
62
|
*
|
|
63
63
|
* Check the documentation of {@link UnbluErrorType} for more details on the different error types.
|
|
64
64
|
*
|
|
65
|
-
* Example:
|
|
65
|
+
* Example for the Floating API:
|
|
66
66
|
* ```ts
|
|
67
|
-
* unblu.api.initialize().then(api => {
|
|
67
|
+
* unblu.floating.api.initialize().then(api => {
|
|
68
68
|
* // use the api
|
|
69
69
|
* }).catch(e => {
|
|
70
70
|
* if(e.type === 'INITIALIZATION_TIMEOUT') {
|
|
@@ -81,7 +81,7 @@ export var UnbluErrorType;
|
|
|
81
81
|
*
|
|
82
82
|
* ```ts
|
|
83
83
|
* try {
|
|
84
|
-
* const api = await unblu.api.initialize()
|
|
84
|
+
* const api = await unblu.floating.api.initialize()
|
|
85
85
|
* // use the api
|
|
86
86
|
* } catch(e) {
|
|
87
87
|
* if(e.type === 'INITIALIZATION_TIMEOUT') {
|
|
@@ -10,7 +10,7 @@ import { ViewMode } from "./view-mode";
|
|
|
10
10
|
import { NewConversationInterceptor } from "./shared/new-conversation-interceptor";
|
|
11
11
|
import { ConversationType } from "./shared/model/conversation-type";
|
|
12
12
|
import { GeneralEventType } from "./internal/module/general-module";
|
|
13
|
-
import {
|
|
13
|
+
import { NewConversationRecipient } from "./shared/model/new-conversation-recipient";
|
|
14
14
|
/**
|
|
15
15
|
* Listener called whenever the active conversation changes.
|
|
16
16
|
*
|
|
@@ -436,6 +436,18 @@ export declare class UnbluEmbeddedApi implements InitializedUnbluApi {
|
|
|
436
436
|
* @throws {@link UnbluApiError} with type {@link UnbluErrorType.ILLEGAL_STATE} when the API instance is deinitialized.
|
|
437
437
|
*/
|
|
438
438
|
setPersonNickname(nickname: string): Promise<void>;
|
|
439
|
+
/**
|
|
440
|
+
* Adds the label with the given labelName to the current visitor.
|
|
441
|
+
* This only adds the label as long as it exists, can be set on visitors and the visitor is allowed to set the label.
|
|
442
|
+
* @returns A promise that resolves empty when the operation is done or is rejected if it failed.
|
|
443
|
+
*/
|
|
444
|
+
addPersonLabel(labelName: string): Promise<void>;
|
|
445
|
+
/**
|
|
446
|
+
* Removes the label with the given labelName from the current visitor.
|
|
447
|
+
* This only removes the label as long as the visitor has the label applied to themselves and the visitor is allowed to remove the label.
|
|
448
|
+
* @returns A promise that resolves empty when the operation is done or is rejected if it failed.
|
|
449
|
+
*/
|
|
450
|
+
removePersonLabel(labelName: string): Promise<void>;
|
|
439
451
|
/**
|
|
440
452
|
* Logs the current visitor in with the access token provided.
|
|
441
453
|
* Depending on the configuration, existing conversation may will be transferred to the authenticated user.
|
|
@@ -522,7 +534,7 @@ export declare class UnbluEmbeddedApi implements InitializedUnbluApi {
|
|
|
522
534
|
*
|
|
523
535
|
* @throws {@link UnbluApiError} of type {@link UnbluErrorType.ILLEGAL_STATE} when the API instance is deinitialized or if the conversation type may not be started.
|
|
524
536
|
*/
|
|
525
|
-
startConversation(type: ConversationType, visitorName?: string, visitorData?: string, recipient?:
|
|
537
|
+
startConversation(type: ConversationType, visitorName?: string, visitorData?: string, recipient?: NewConversationRecipient): Promise<Conversation>;
|
|
526
538
|
private buildConversation;
|
|
527
539
|
private assertNotDeinitialized;
|
|
528
540
|
/**
|
|
@@ -227,6 +227,24 @@ export class UnbluEmbeddedApi {
|
|
|
227
227
|
// noinspection JSIgnoredPromiseFromCall
|
|
228
228
|
return this._internalApi.general.setPersonNickname(nickname);
|
|
229
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Adds the label with the given labelName to the current visitor.
|
|
232
|
+
* This only adds the label as long as it exists, can be set on visitors and the visitor is allowed to set the label.
|
|
233
|
+
* @returns A promise that resolves empty when the operation is done or is rejected if it failed.
|
|
234
|
+
*/
|
|
235
|
+
async addPersonLabel(labelName) {
|
|
236
|
+
this.assertNotDeinitialized();
|
|
237
|
+
return this._internalApi.general.addPersonLabel(labelName);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Removes the label with the given labelName from the current visitor.
|
|
241
|
+
* This only removes the label as long as the visitor has the label applied to themselves and the visitor is allowed to remove the label.
|
|
242
|
+
* @returns A promise that resolves empty when the operation is done or is rejected if it failed.
|
|
243
|
+
*/
|
|
244
|
+
async removePersonLabel(labelName) {
|
|
245
|
+
this.assertNotDeinitialized();
|
|
246
|
+
return this._internalApi.general.removePersonLabel(labelName);
|
|
247
|
+
}
|
|
230
248
|
/**
|
|
231
249
|
* Logs the current visitor in with the access token provided.
|
|
232
250
|
* Depending on the configuration, existing conversation may will be transferred to the authenticated user.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unblu-embedded-api.js","sourceRoot":"","sources":["../../src/unblu-embedded-api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,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B,GAAyB,oBAAoB,CAAA;AAE7F;;;;;;GAMG;AACoB,kCAAiB,GAAuB,kBAAkB,CAAA;AAEjF;;;;;;GAMG;AACoB,iCAAgB,GAAqB,gBAAgB,CAAA;AAE5E;;;;;;GAMG;AACoB,+BAAc,GAAqB,gBAAgB,CAAA;AAE1E;;;;;;;;GAQG;AACoB,8BAAa,GAAoB,eAAe,CAAA"}
|
|
@@ -172,7 +172,7 @@ export declare interface ViewModeChangeEvent extends CustomEvent<ViewMode> {
|
|
|
172
172
|
*
|
|
173
173
|
* The Unblu UI inside the custom element will always fill the whole content of the unblu-embedded-app independent of what size it is given.
|
|
174
174
|
*
|
|
175
|
-
* **Note**: if
|
|
175
|
+
* **Note**: if an Unblu Floating UI is already integrated on the website via the Floating JS API, the embedded app will automatically deinitialize it as there can always only one active instance of Unblu on the page.
|
|
176
176
|
*
|
|
177
177
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements | MDN Custom Element}
|
|
178
178
|
* @noInheritDoc
|
|
@@ -50,7 +50,7 @@ import { UnbluEmbeddedApi } from "./unblu-embedded-api";
|
|
|
50
50
|
*
|
|
51
51
|
* The Unblu UI inside the custom element will always fill the whole content of the unblu-embedded-app independent of what size it is given.
|
|
52
52
|
*
|
|
53
|
-
* **Note**: if
|
|
53
|
+
* **Note**: if an Unblu Floating UI is already integrated on the website via the Floating JS API, the embedded app will automatically deinitialize it as there can always only one active instance of Unblu on the page.
|
|
54
54
|
*
|
|
55
55
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements | MDN Custom Element}
|
|
56
56
|
* @noInheritDoc
|
package/dist/lib/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@unblu/embedded-app-component","version":"7.44.1","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"unblu-embedded-app","description":"Unblu Embedded App Component allows to integrate Unblu into a website using a web component","attributes":[{"name":"server-url","description":"The URL to the collaboration server.\n\nIf not specified it is assumed that the server is reachable on the domain of the current webpage at the defined {@link UnbluEmbeddedAppElement.entryPath}\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.serverUrl} to set or get this via a property\n"},{"name":"entry-path","description":"The path pointing to the root of the Unblu collaboration server.\n\n@default \"/unblu\".\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.entryPath} to set or get this via a property\n"},{"name":"api-key","description":"The API Key to connect this app with a specific Unblu account\nThis is the minimum configuration that has to be done to trigger the initialization of Unblu.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.apiKey} to set or get this via a property\n"},{"name":"locale","description":"The locale (language) used for all Unblu UIs.\nIf not specified this is derived from the webpage or the browser.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see [https://www.unblu.com/en/docs/4.3/articles/installation-and-operation/selecting-the-language.html | Setting the Language / Locale] for more information on the detection.\n@see {@link UnbluEmbeddedAppElement.locale} to set or get this via a property\n"},{"name":"named-area","description":"The named area for which the configuration should be loaded and with which new queue requests will be labeled.\nIf not specified this can be derived from the corresponding meta tag on the webpage or the domain.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\nIf this is not desired it can be prevented by changing the named area via a meta tag, however in this case this will only effect the queue routing and not the configuration.\nAlternatively you can disable the automatic initialization.\n\n@see {@link https://www.unblu.com/en/docs/latest/knowledge-base/named-areas.html | Named Area} for further details.\n@see {@link UnbluEmbeddedAppElement.namedArea} to set or get this via a property\n"},{"name":"access-token","description":"The access token used to log the user in before initializing Unblu.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.accessToken} to set or get this via a property\n"},{"name":"conversation-id","description":"Opens the conversation with the specified ID.\nIf Unblu is not initialized yet, it will wait for the initialization and then automatically open the specified conversation.\nIf Unblu is already initialized, the conversation will be opened directly.\n\nIf the conversation doesn't exist or the user doesn't have the right to access it, a dialog will be displayed with the respective error message.\n\n@see {@link UnbluEmbeddedAppElement.openConversation} to set this value and also retrieve a promise to know, when the conversation was opened.\n@see {@link UnbluEmbeddedAppElement.conversationId} to read the value as property. This will always represent the currently opened conversation.\n"},{"name":"view-mode","description":"Sets the view mode of the embedded app element.\n\nDepending on the view mode the UI is displayed the following way:\n- {@link ViewMode.SPLIT}: The UI will be divided into two parts.\nThe list of conversations is displayed on the left and the active conversation on the right side.\n\n- {@link ViewMode.SINGLE}: Both the conversation list and the active conversation will be displayed in the same view using UI navigation to switch between them.\n\n- {@link ViewMode.AUTO}: The UI will automatically switch back and forth between the two other modes depending on the available width.\nThe trigger point when to switch between the two modes can be configured on the Unblu collaboration server.\n\nThis value can be set even if the API is not initialized yet.\nThe value will then be applied on initialization.\n\n@see {@link UnbluEmbeddedAppElement.viewMode} to set or get this via a property\n@default {@link ViewMode.AUTO}\n"},{"name":"fullscreen","description":"When this attribute is set to true, the embedded app will ignore the position and size set to its element and will used fixed positioning to display itself to cover the whole website.\n\nThis is useful when the user is currently in a call.\n\nThis can be set even if the API is not initialized yet.\nThe value will then be applied on initialization.\n\n**Note**: The user itself can also toggle this inside the UI.\n\n@see {@link UnbluEmbeddedAppElement.fullscreen} to set or get this via a property\n@default false\n"},{"name":"init-timeout","description":"The timeout im milliseconds that should be waited for the Unblu integration to load.\n\n@default 30'000 (30 seconds).\n\n@see {@link UnbluEmbeddedAppElement.initTimeout} to set or get this via a property\n"},{"name":"auto-init","description":"Defines if Unblu automatically tries to (re-)initialize as soon as an attribute or property changes that triggers (re-)initialization.\n\nTo trigger a initialization at least the attribute {@link ATTR_API_KEY} or property {@link UnbluEmbeddedAppElement.apiKey}.\n\n@default true.\n\n@see {@link UnbluEmbeddedAppElement.autoInit} to set or get this via a property\n"}],"js":{"events":[{"name":"stateChange","description":"Event emitted whenever the API state changes\n\n@see {@link StateChangeEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"ready","description":"Event emitted as soon as the API is initialized.\n\nIt usually makes sense to use this event to wait for APIs on this element to be ready. E.g. the {@link UnbluEmbeddedAppElement.personInfo} or {@link UnbluEmbeddedAppElement.agentAvailable}.\nYou will find a note in the documentation of the properties when they are only available after initialization.\n\n@see {@link ReadyEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"error","description":"Event emitted if the API initialization fails.\n\nIt usually makes sense to use this event if there is some general action that has to be triggered when the API initialization fails.\n\n@see {@link ErrorEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"deinitializing","description":"Event emitted when the de-initialization of the API is started..\n\nIt usually makes sense to use this event to clean up resources and/or unregistering of listeners so they don't try to use the API again until it is initialized again.\n\n@see {@link DeinitializationStartedEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.DEINITIALIZING} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"deinitialized","description":"Event emitted when the de-initialization of the API has finished.\n\nIt usually makes sense to use this event if a re-initialization is required after de-init.\n\n@see {@link DeinitializationFinishedEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.DEINITIALIZED} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"activeConversationChange","description":"Event emitted every time one of the conversations accessible to the current user changes or one is added or removed.\n\n@see {@link ActiveConversationChangeEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.ACTIVE_CONVERSATION_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"fullscreenChange","description":"Event emitted every time the embedded app switches to fullscreen mode or back.\n\n@see {@link UnbluEmbeddedAppElement.FULLSCREEN_CHANGE}\n@see {@link UnbluEmbeddedAppElement.addEventListener}\n@see {@link UnbluEmbeddedAppElement.removeEventListener}\n@see {@link UnbluEmbeddedApi.FULLSCREEN_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"viewModeChange","description":"Event emitted every time the view mode changes.\n\n@see {@link UnbluEmbeddedAppElement.VIEW_MODE_CHANGE}\n@see {@link UnbluEmbeddedAppElement.addEventListener}\n@see {@link UnbluEmbeddedAppElement.removeEventListener}\n@see {@link UnbluEmbeddedApi.VIEW_MODE_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"}]}}]}}}
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@unblu/embedded-app-component","version":"8.1.2","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"unblu-embedded-app","description":"Unblu Embedded App Component allows to integrate Unblu into a website using a web component","attributes":[{"name":"server-url","description":"The URL to the collaboration server.\n\nIf not specified it is assumed that the server is reachable on the domain of the current webpage at the defined {@link UnbluEmbeddedAppElement.entryPath}\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.serverUrl} to set or get this via a property\n"},{"name":"entry-path","description":"The path pointing to the root of the Unblu collaboration server.\n\n@default \"/unblu\".\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.entryPath} to set or get this via a property\n"},{"name":"api-key","description":"The API Key to connect this app with a specific Unblu account\nThis is the minimum configuration that has to be done to trigger the initialization of Unblu.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.apiKey} to set or get this via a property\n"},{"name":"locale","description":"The locale (language) used for all Unblu UIs.\nIf not specified this is derived from the webpage or the browser.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see [https://www.unblu.com/en/docs/4.3/articles/installation-and-operation/selecting-the-language.html | Setting the Language / Locale] for more information on the detection.\n@see {@link UnbluEmbeddedAppElement.locale} to set or get this via a property\n"},{"name":"named-area","description":"The named area for which the configuration should be loaded and with which new queue requests will be labeled.\nIf not specified this can be derived from the corresponding meta tag on the webpage or the domain.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\nIf this is not desired it can be prevented by changing the named area via a meta tag, however in this case this will only effect the queue routing and not the configuration.\nAlternatively you can disable the automatic initialization.\n\n@see {@link https://www.unblu.com/en/docs/latest/knowledge-base/named-areas.html | Named Area} for further details.\n@see {@link UnbluEmbeddedAppElement.namedArea} to set or get this via a property\n"},{"name":"access-token","description":"The access token used to log the user in before initializing Unblu.\n\n**Note**: Changes to this attribute trigger a reinitialization of Unblu if {@link UnbluEmbeddedAppElement.ATTR_AUTO_INIT} is true.\n\n@see {@link UnbluEmbeddedAppElement.accessToken} to set or get this via a property\n"},{"name":"conversation-id","description":"Opens the conversation with the specified ID.\nIf Unblu is not initialized yet, it will wait for the initialization and then automatically open the specified conversation.\nIf Unblu is already initialized, the conversation will be opened directly.\n\nIf the conversation doesn't exist or the user doesn't have the right to access it, a dialog will be displayed with the respective error message.\n\n@see {@link UnbluEmbeddedAppElement.openConversation} to set this value and also retrieve a promise to know, when the conversation was opened.\n@see {@link UnbluEmbeddedAppElement.conversationId} to read the value as property. This will always represent the currently opened conversation.\n"},{"name":"view-mode","description":"Sets the view mode of the embedded app element.\n\nDepending on the view mode the UI is displayed the following way:\n- {@link ViewMode.SPLIT}: The UI will be divided into two parts.\nThe list of conversations is displayed on the left and the active conversation on the right side.\n\n- {@link ViewMode.SINGLE}: Both the conversation list and the active conversation will be displayed in the same view using UI navigation to switch between them.\n\n- {@link ViewMode.AUTO}: The UI will automatically switch back and forth between the two other modes depending on the available width.\nThe trigger point when to switch between the two modes can be configured on the Unblu collaboration server.\n\nThis value can be set even if the API is not initialized yet.\nThe value will then be applied on initialization.\n\n@see {@link UnbluEmbeddedAppElement.viewMode} to set or get this via a property\n@default {@link ViewMode.AUTO}\n"},{"name":"fullscreen","description":"When this attribute is set to true, the embedded app will ignore the position and size set to its element and will used fixed positioning to display itself to cover the whole website.\n\nThis is useful when the user is currently in a call.\n\nThis can be set even if the API is not initialized yet.\nThe value will then be applied on initialization.\n\n**Note**: The user itself can also toggle this inside the UI.\n\n@see {@link UnbluEmbeddedAppElement.fullscreen} to set or get this via a property\n@default false\n"},{"name":"init-timeout","description":"The timeout im milliseconds that should be waited for the Unblu integration to load.\n\n@default 30'000 (30 seconds).\n\n@see {@link UnbluEmbeddedAppElement.initTimeout} to set or get this via a property\n"},{"name":"auto-init","description":"Defines if Unblu automatically tries to (re-)initialize as soon as an attribute or property changes that triggers (re-)initialization.\n\nTo trigger a initialization at least the attribute {@link ATTR_API_KEY} or property {@link UnbluEmbeddedAppElement.apiKey}.\n\n@default true.\n\n@see {@link UnbluEmbeddedAppElement.autoInit} to set or get this via a property\n"}],"js":{"events":[{"name":"stateChange","description":"Event emitted whenever the API state changes\n\n@see {@link StateChangeEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"ready","description":"Event emitted as soon as the API is initialized.\n\nIt usually makes sense to use this event to wait for APIs on this element to be ready. E.g. the {@link UnbluEmbeddedAppElement.personInfo} or {@link UnbluEmbeddedAppElement.agentAvailable}.\nYou will find a note in the documentation of the properties when they are only available after initialization.\n\n@see {@link ReadyEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"error","description":"Event emitted if the API initialization fails.\n\nIt usually makes sense to use this event if there is some general action that has to be triggered when the API initialization fails.\n\n@see {@link ErrorEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n"},{"name":"deinitializing","description":"Event emitted when the de-initialization of the API is started..\n\nIt usually makes sense to use this event to clean up resources and/or unregistering of listeners so they don't try to use the API again until it is initialized again.\n\n@see {@link DeinitializationStartedEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.DEINITIALIZING} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"deinitialized","description":"Event emitted when the de-initialization of the API has finished.\n\nIt usually makes sense to use this event if a re-initialization is required after de-init.\n\n@see {@link DeinitializationFinishedEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.DEINITIALIZED} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"activeConversationChange","description":"Event emitted every time one of the conversations accessible to the current user changes or one is added or removed.\n\n@see {@link ActiveConversationChangeEvent} for the event type\n@see {@link UnbluEmbeddedAppElement.addEventListener} for listener registration\n@see {@link UnbluEmbeddedAppElement.removeEventListener} to remove a listener\n@see {@link UnbluEmbeddedApi.ACTIVE_CONVERSATION_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"fullscreenChange","description":"Event emitted every time the embedded app switches to fullscreen mode or back.\n\n@see {@link UnbluEmbeddedAppElement.FULLSCREEN_CHANGE}\n@see {@link UnbluEmbeddedAppElement.addEventListener}\n@see {@link UnbluEmbeddedAppElement.removeEventListener}\n@see {@link UnbluEmbeddedApi.FULLSCREEN_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"},{"name":"viewModeChange","description":"Event emitted every time the view mode changes.\n\n@see {@link UnbluEmbeddedAppElement.VIEW_MODE_CHANGE}\n@see {@link UnbluEmbeddedAppElement.addEventListener}\n@see {@link UnbluEmbeddedAppElement.removeEventListener}\n@see {@link UnbluEmbeddedApi.VIEW_MODE_CHANGE} for the event on the initialized {@link UnbluEmbeddedApi} instance\n"}]}}]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unblu/embedded-app-component",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"description": "Unblu Embedded App Component allows to integrate Unblu into a website using a web component",
|
|
5
5
|
"homepage": "https://www.unblu.com/en/docs/latest/reference/unblu-embedded-js-api/",
|
|
6
6
|
"author": "Denis Trueby",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"api"
|
|
20
20
|
],
|
|
21
21
|
"files": [
|
|
22
|
-
"dist/lib"
|
|
23
|
-
"web-types.json"
|
|
22
|
+
"dist/lib"
|
|
24
23
|
]
|
|
25
24
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unblu-api-factory.js","sourceRoot":"","sources":["../../../../src/shared/internal/unblu-api-factory.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export var InvitationStatus;
|
|
2
|
-
(function (InvitationStatus) {
|
|
3
|
-
/**
|
|
4
|
-
* Invitation is open however it may have expired.
|
|
5
|
-
*/
|
|
6
|
-
InvitationStatus["OPEN"] = "OPEN";
|
|
7
|
-
/**
|
|
8
|
-
* Invitation is redeemed.
|
|
9
|
-
*/
|
|
10
|
-
InvitationStatus["REDEEMED"] = "REDEEMED";
|
|
11
|
-
/**
|
|
12
|
-
* Invitation is revoked.
|
|
13
|
-
*/
|
|
14
|
-
InvitationStatus["REVOKED"] = "REVOKED";
|
|
15
|
-
})(InvitationStatus || (InvitationStatus = {}));
|
|
16
|
-
//# sourceMappingURL=invitation-status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invitation-status.js","sourceRoot":"","sources":["../../../../src/shared/model/invitation-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IACxB;;OAEG;IACH,iCAAa,CAAA;IACb;;OAEG;IACH,yCAAqB,CAAA;IACrB;;OAEG;IACH,uCAAmB,CAAA;AACvB,CAAC,EAbW,gBAAgB,KAAhB,gBAAgB,QAa3B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { InvitationStatus } from "./invitation-status";
|
|
2
|
-
/**
|
|
3
|
-
* An Invitation belongs to a conversation. A Conversation can have multiple invitations.
|
|
4
|
-
* The invitation has different metadata like the status or the token. This information could
|
|
5
|
-
* be further used for example to join a conversation with the provided PIN (token).
|
|
6
|
-
*/
|
|
7
|
-
export interface Invitation {
|
|
8
|
-
/**
|
|
9
|
-
* The Id of the invitation.
|
|
10
|
-
*/
|
|
11
|
-
id: string;
|
|
12
|
-
/**
|
|
13
|
-
* Status of the the Invitation.
|
|
14
|
-
*/
|
|
15
|
-
status: InvitationStatus;
|
|
16
|
-
/**
|
|
17
|
-
* Token for the invitation, the PIN Number.
|
|
18
|
-
*/
|
|
19
|
-
token: string;
|
|
20
|
-
/**
|
|
21
|
-
* Expiration timestamp in milliseconds of the invitation elapsed since January 1, 1970 00:00:00 UTC.
|
|
22
|
-
*/
|
|
23
|
-
expirationTimestamp: number;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../../src/shared/model/invitation.ts"],"names":[],"mappings":""}
|