@azure/communication-chat 1.1.0-beta.2 → 1.1.0
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 +6 -2
- package/dist/index.js +91 -194
- package/dist/index.js.map +1 -1
- package/dist-esm/src/chatClient.js +11 -25
- package/dist-esm/src/chatClient.js.map +1 -1
- package/dist-esm/src/chatThreadClient.js +19 -35
- package/dist-esm/src/chatThreadClient.js.map +1 -1
- package/dist-esm/src/credential/communicationTokenCredentialPolicy.js +8 -4
- package/dist-esm/src/credential/communicationTokenCredentialPolicy.js.map +1 -1
- package/dist-esm/src/generated/src/chatApiClient.js +3 -3
- package/dist-esm/src/generated/src/chatApiClient.js.map +1 -1
- package/dist-esm/src/generated/src/chatApiClientContext.js +14 -12
- package/dist-esm/src/generated/src/chatApiClientContext.js.map +1 -1
- package/dist-esm/src/generated/src/index.js +1 -0
- package/dist-esm/src/generated/src/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js +7 -1
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +1 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/chat.js +8 -23
- package/dist-esm/src/generated/src/operations/chat.js.map +1 -1
- package/dist-esm/src/generated/src/operations/chatThread.js +20 -96
- package/dist-esm/src/generated/src/operations/chatThread.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/chat.js +9 -0
- package/dist-esm/src/generated/src/operationsInterfaces/chat.js.map +1 -0
- package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js +9 -0
- package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js.map +1 -0
- package/dist-esm/src/generated/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/models/options.js.map +1 -1
- package/dist-esm/src/models/uuid.js +13 -0
- package/dist-esm/src/models/uuid.js.map +1 -0
- package/package.json +12 -13
- package/types/communication-chat.d.ts +8 -8
- package/types/src/chatClient.d.ts +0 -1
- package/types/src/chatClient.d.ts.map +1 -1
- package/types/src/chatThreadClient.d.ts.map +1 -1
- package/types/src/credential/communicationTokenCredentialPolicy.d.ts +2 -2
- package/types/src/credential/communicationTokenCredentialPolicy.d.ts.map +1 -1
- package/types/src/generated/src/chatApiClient.d.ts +1 -1
- package/types/src/generated/src/chatApiClient.d.ts.map +1 -1
- package/types/src/generated/src/chatApiClientContext.d.ts +2 -2
- package/types/src/generated/src/chatApiClientContext.d.ts.map +1 -1
- package/types/src/generated/src/index.d.ts +1 -0
- package/types/src/generated/src/index.d.ts.map +1 -1
- package/types/src/generated/src/models/index.d.ts +57 -131
- package/types/src/generated/src/models/index.d.ts.map +1 -1
- package/types/src/generated/src/models/mappers.d.ts +27 -27
- package/types/src/generated/src/models/mappers.d.ts.map +1 -1
- package/types/src/generated/src/models/parameters.d.ts +1 -1
- package/types/src/generated/src/models/parameters.d.ts.map +1 -1
- package/types/src/generated/src/operations/chat.d.ts +7 -7
- package/types/src/generated/src/operations/chat.d.ts.map +1 -1
- package/types/src/generated/src/operations/chatThread.d.ts +16 -16
- package/types/src/generated/src/operations/chatThread.d.ts.map +1 -1
- package/types/src/generated/src/operationsInterfaces/chat.d.ts +28 -0
- package/types/src/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
- package/types/src/generated/src/operationsInterfaces/chatThread.d.ts +113 -0
- package/types/src/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
- package/types/src/generated/src/operationsInterfaces/index.d.ts +3 -0
- package/types/src/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/types/src/models/options.d.ts +2 -2
- package/types/src/models/options.d.ts.map +1 -1
- package/types/src/models/uuid.d.ts +8 -0
- package/types/src/models/uuid.d.ts.map +1 -0
- package/types/test/internal/utils/mockClient.d.ts +1 -1
- package/types/test/internal/utils/mockClient.d.ts.map +1 -1
- package/types/test/public/utils/connectionUtils.d.ts +1 -1
- package/types/test/public/utils/connectionUtils.d.ts.map +1 -1
- package/types/test/public/utils/recordedClient.d.ts +1 -1
- package/types/test/public/utils/recordedClient.d.ts.map +1 -1
- package/dist-esm/src/constants.js +0 -4
- package/dist-esm/src/constants.js.map +0 -1
- package/types/src/constants.d.ts +0 -2
- package/types/src/constants.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/chat.ts"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/chat.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAEnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;OAIG;IACH,gBAAgB,CACd,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;OAGG;IACH,eAAe,CACb,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;OAIG;IACH,gBAAgB,CACd,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAM5C"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ChatThreadListChatReadReceiptsOptionalParams, ChatThreadListChatReadReceiptsResponse, SendReadReceiptRequest, SendChatMessageRequest, ChatThreadSendChatMessageResponse, ChatThreadListChatMessagesOptionalParams, ChatThreadListChatMessagesResponse, ChatThreadGetChatMessageResponse, UpdateChatMessageRequest, ChatThreadListChatParticipantsOptionalParams, ChatThreadListChatParticipantsResponse, CommunicationIdentifierModel, AddChatParticipantsRequest, ChatThreadAddChatParticipantsResponse, UpdateChatThreadRequest, ChatThreadGetChatThreadPropertiesResponse, ChatThreadSendTypingNotificationOptionalParams, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, ChatThreadListChatMessagesNextResponse, ChatThreadListChatParticipantsNextOptionalParams, ChatThreadListChatParticipantsNextResponse } from "../models";
|
|
4
|
-
/** Class
|
|
5
|
-
export declare class ChatThread {
|
|
1
|
+
import { ChatThread } from "../operationsInterfaces";
|
|
2
|
+
import { ChatApiClientContext } from "../chatApiClientContext";
|
|
3
|
+
import { ChatThreadListChatReadReceiptsOptionalParams, ChatThreadListChatReadReceiptsResponse, SendReadReceiptRequest, ChatThreadSendChatReadReceiptOptionalParams, SendChatMessageRequest, ChatThreadSendChatMessageOptionalParams, ChatThreadSendChatMessageResponse, ChatThreadListChatMessagesOptionalParams, ChatThreadListChatMessagesResponse, ChatThreadGetChatMessageOptionalParams, ChatThreadGetChatMessageResponse, UpdateChatMessageRequest, ChatThreadUpdateChatMessageOptionalParams, ChatThreadDeleteChatMessageOptionalParams, ChatThreadListChatParticipantsOptionalParams, ChatThreadListChatParticipantsResponse, CommunicationIdentifierModel, ChatThreadRemoveChatParticipantOptionalParams, AddChatParticipantsRequest, ChatThreadAddChatParticipantsOptionalParams, ChatThreadAddChatParticipantsResponse, UpdateChatThreadRequest, ChatThreadUpdateChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesResponse, ChatThreadSendTypingNotificationOptionalParams, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, ChatThreadListChatMessagesNextResponse, ChatThreadListChatParticipantsNextOptionalParams, ChatThreadListChatParticipantsNextResponse } from "../models";
|
|
4
|
+
/** Class containing ChatThread operations. */
|
|
5
|
+
export declare class ChatThreadImpl implements ChatThread {
|
|
6
6
|
private readonly client;
|
|
7
7
|
/**
|
|
8
8
|
* Initialize a new instance of the class ChatThread class.
|
|
9
9
|
* @param client Reference to the service client
|
|
10
10
|
*/
|
|
11
|
-
constructor(client:
|
|
11
|
+
constructor(client: ChatApiClientContext);
|
|
12
12
|
/**
|
|
13
13
|
* Gets chat message read receipts for a thread.
|
|
14
14
|
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
@@ -21,14 +21,14 @@ export declare class ChatThread {
|
|
|
21
21
|
* @param sendReadReceiptRequest Read receipt details.
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
24
|
-
sendChatReadReceipt(chatThreadId: string, sendReadReceiptRequest: SendReadReceiptRequest, options?:
|
|
24
|
+
sendChatReadReceipt(chatThreadId: string, sendReadReceiptRequest: SendReadReceiptRequest, options?: ChatThreadSendChatReadReceiptOptionalParams): Promise<void>;
|
|
25
25
|
/**
|
|
26
26
|
* Sends a message to a thread.
|
|
27
27
|
* @param chatThreadId The thread id to send the message to.
|
|
28
28
|
* @param sendChatMessageRequest Details of the message to send.
|
|
29
29
|
* @param options The options parameters.
|
|
30
30
|
*/
|
|
31
|
-
sendChatMessage(chatThreadId: string, sendChatMessageRequest: SendChatMessageRequest, options?:
|
|
31
|
+
sendChatMessage(chatThreadId: string, sendChatMessageRequest: SendChatMessageRequest, options?: ChatThreadSendChatMessageOptionalParams): Promise<ChatThreadSendChatMessageResponse>;
|
|
32
32
|
/**
|
|
33
33
|
* Gets a list of messages from a thread.
|
|
34
34
|
* @param chatThreadId The thread id of the message.
|
|
@@ -41,7 +41,7 @@ export declare class ChatThread {
|
|
|
41
41
|
* @param chatMessageId The message id.
|
|
42
42
|
* @param options The options parameters.
|
|
43
43
|
*/
|
|
44
|
-
getChatMessage(chatThreadId: string, chatMessageId: string, options?:
|
|
44
|
+
getChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadGetChatMessageOptionalParams): Promise<ChatThreadGetChatMessageResponse>;
|
|
45
45
|
/**
|
|
46
46
|
* Updates a message.
|
|
47
47
|
* @param chatThreadId The thread id to which the message was sent.
|
|
@@ -49,14 +49,14 @@ export declare class ChatThread {
|
|
|
49
49
|
* @param updateChatMessageRequest Details of the request to update the message.
|
|
50
50
|
* @param options The options parameters.
|
|
51
51
|
*/
|
|
52
|
-
updateChatMessage(chatThreadId: string, chatMessageId: string, updateChatMessageRequest: UpdateChatMessageRequest, options?:
|
|
52
|
+
updateChatMessage(chatThreadId: string, chatMessageId: string, updateChatMessageRequest: UpdateChatMessageRequest, options?: ChatThreadUpdateChatMessageOptionalParams): Promise<void>;
|
|
53
53
|
/**
|
|
54
54
|
* Deletes a message.
|
|
55
55
|
* @param chatThreadId The thread id to which the message was sent.
|
|
56
56
|
* @param chatMessageId The message id.
|
|
57
57
|
* @param options The options parameters.
|
|
58
58
|
*/
|
|
59
|
-
deleteChatMessage(chatThreadId: string, chatMessageId: string, options?:
|
|
59
|
+
deleteChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadDeleteChatMessageOptionalParams): Promise<void>;
|
|
60
60
|
/**
|
|
61
61
|
* Gets the participants of a thread.
|
|
62
62
|
* @param chatThreadId Thread id to get participants for.
|
|
@@ -69,33 +69,33 @@ export declare class ChatThread {
|
|
|
69
69
|
* @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.
|
|
70
70
|
* @param options The options parameters.
|
|
71
71
|
*/
|
|
72
|
-
removeChatParticipant(chatThreadId: string, participantCommunicationIdentifier: CommunicationIdentifierModel, options?:
|
|
72
|
+
removeChatParticipant(chatThreadId: string, participantCommunicationIdentifier: CommunicationIdentifierModel, options?: ChatThreadRemoveChatParticipantOptionalParams): Promise<void>;
|
|
73
73
|
/**
|
|
74
74
|
* Adds thread participants to a thread. If participants already exist, no change occurs.
|
|
75
75
|
* @param chatThreadId Id of the thread to add participants to.
|
|
76
76
|
* @param addChatParticipantsRequest Thread participants to be added to the thread.
|
|
77
77
|
* @param options The options parameters.
|
|
78
78
|
*/
|
|
79
|
-
addChatParticipants(chatThreadId: string, addChatParticipantsRequest: AddChatParticipantsRequest, options?:
|
|
79
|
+
addChatParticipants(chatThreadId: string, addChatParticipantsRequest: AddChatParticipantsRequest, options?: ChatThreadAddChatParticipantsOptionalParams): Promise<ChatThreadAddChatParticipantsResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* Updates a thread's properties.
|
|
82
82
|
* @param chatThreadId The id of the thread to update.
|
|
83
83
|
* @param updateChatThreadRequest Request payload for updating a chat thread.
|
|
84
84
|
* @param options The options parameters.
|
|
85
85
|
*/
|
|
86
|
-
updateChatThreadProperties(chatThreadId: string, updateChatThreadRequest: UpdateChatThreadRequest, options?:
|
|
86
|
+
updateChatThreadProperties(chatThreadId: string, updateChatThreadRequest: UpdateChatThreadRequest, options?: ChatThreadUpdateChatThreadPropertiesOptionalParams): Promise<void>;
|
|
87
87
|
/**
|
|
88
88
|
* Gets a chat thread's properties.
|
|
89
89
|
* @param chatThreadId Id of the thread.
|
|
90
90
|
* @param options The options parameters.
|
|
91
91
|
*/
|
|
92
|
-
getChatThreadProperties(chatThreadId: string, options?:
|
|
92
|
+
getChatThreadProperties(chatThreadId: string, options?: ChatThreadGetChatThreadPropertiesOptionalParams): Promise<ChatThreadGetChatThreadPropertiesResponse>;
|
|
93
93
|
/**
|
|
94
94
|
* Posts a typing event to a thread, on behalf of a user.
|
|
95
95
|
* @param chatThreadId Id of the thread.
|
|
96
96
|
* @param options The options parameters.
|
|
97
97
|
*/
|
|
98
|
-
sendTypingNotification(chatThreadId: string, options?: ChatThreadSendTypingNotificationOptionalParams): Promise<
|
|
98
|
+
sendTypingNotification(chatThreadId: string, options?: ChatThreadSendTypingNotificationOptionalParams): Promise<void>;
|
|
99
99
|
/**
|
|
100
100
|
* ListChatReadReceiptsNext
|
|
101
101
|
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatThread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/chatThread.ts"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":3,"file":"chatThread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/chatThread.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,sBAAsB,EACtB,2CAA2C,EAC3C,sBAAsB,EACtB,uCAAuC,EACvC,iCAAiC,EACjC,wCAAwC,EACxC,kCAAkC,EAClC,sCAAsC,EACtC,gCAAgC,EAChC,wBAAwB,EACxB,yCAAyC,EACzC,yCAAyC,EACzC,4CAA4C,EAC5C,sCAAsC,EACtC,4BAA4B,EAC5B,6CAA6C,EAC7C,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,uBAAuB,EACvB,kDAAkD,EAClD,+CAA+C,EAC/C,yCAAyC,EACzC,8CAA8C,EAC9C,gDAAgD,EAChD,0CAA0C,EAC1C,4CAA4C,EAC5C,sCAAsC,EACtC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,WAAW,CAAC;AAEnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU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YAAY,EAAE,MAAM,EACpB,kCAAkC,EAAE,4BAA4B,EAChE,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,mBAAmB,CACjB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;OAKG;IACH,0BAA0B,CACxB,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,uBAAuB,CACrB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;OAIG;IACH,sBAAsB,CACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;OAKG;IACH,oBAAoB,CAClB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;CAMvD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CreateChatThreadRequest, ChatCreateChatThreadOptionalParams, ChatCreateChatThreadResponse, ChatListChatThreadsOptionalParams, ChatListChatThreadsResponse, ChatDeleteChatThreadOptionalParams, ChatListChatThreadsNextOptionalParams, ChatListChatThreadsNextResponse } from "../models";
|
|
2
|
+
/** Interface representing a Chat. */
|
|
3
|
+
export interface Chat {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a chat thread.
|
|
6
|
+
* @param createChatThreadRequest Request payload for creating a chat thread.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
createChatThread(createChatThreadRequest: CreateChatThreadRequest, options?: ChatCreateChatThreadOptionalParams): Promise<ChatCreateChatThreadResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Gets the list of chat threads of a user.
|
|
12
|
+
* @param options The options parameters.
|
|
13
|
+
*/
|
|
14
|
+
listChatThreads(options?: ChatListChatThreadsOptionalParams): Promise<ChatListChatThreadsResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Deletes a thread.
|
|
17
|
+
* @param chatThreadId Id of the thread to be deleted.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
deleteChatThread(chatThreadId: string, options?: ChatDeleteChatThreadOptionalParams): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* ListChatThreadsNext
|
|
23
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatThreads method.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listChatThreadsNext(nextLink: string, options?: ChatListChatThreadsNextOptionalParams): Promise<ChatListChatThreadsNextResponse>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chat.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAEnB,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;;OAIG;IACH,gBAAgB,CACd,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;OAGG;IACH,eAAe,CACb,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;OAIG;IACH,gBAAgB,CACd,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC7C"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ChatThreadListChatReadReceiptsOptionalParams, ChatThreadListChatReadReceiptsResponse, SendReadReceiptRequest, ChatThreadSendChatReadReceiptOptionalParams, SendChatMessageRequest, ChatThreadSendChatMessageOptionalParams, ChatThreadSendChatMessageResponse, ChatThreadListChatMessagesOptionalParams, ChatThreadListChatMessagesResponse, ChatThreadGetChatMessageOptionalParams, ChatThreadGetChatMessageResponse, UpdateChatMessageRequest, ChatThreadUpdateChatMessageOptionalParams, ChatThreadDeleteChatMessageOptionalParams, ChatThreadListChatParticipantsOptionalParams, ChatThreadListChatParticipantsResponse, CommunicationIdentifierModel, ChatThreadRemoveChatParticipantOptionalParams, AddChatParticipantsRequest, ChatThreadAddChatParticipantsOptionalParams, ChatThreadAddChatParticipantsResponse, UpdateChatThreadRequest, ChatThreadUpdateChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesResponse, ChatThreadSendTypingNotificationOptionalParams, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, ChatThreadListChatMessagesNextResponse, ChatThreadListChatParticipantsNextOptionalParams, ChatThreadListChatParticipantsNextResponse } from "../models";
|
|
2
|
+
/** Interface representing a ChatThread. */
|
|
3
|
+
export interface ChatThread {
|
|
4
|
+
/**
|
|
5
|
+
* Gets chat message read receipts for a thread.
|
|
6
|
+
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
listChatReadReceipts(chatThreadId: string, options?: ChatThreadListChatReadReceiptsOptionalParams): Promise<ChatThreadListChatReadReceiptsResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Sends a read receipt event to a thread, on behalf of a user.
|
|
12
|
+
* @param chatThreadId Thread id to send the read receipt event to.
|
|
13
|
+
* @param sendReadReceiptRequest Read receipt details.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
sendChatReadReceipt(chatThreadId: string, sendReadReceiptRequest: SendReadReceiptRequest, options?: ChatThreadSendChatReadReceiptOptionalParams): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Sends a message to a thread.
|
|
19
|
+
* @param chatThreadId The thread id to send the message to.
|
|
20
|
+
* @param sendChatMessageRequest Details of the message to send.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
sendChatMessage(chatThreadId: string, sendChatMessageRequest: SendChatMessageRequest, options?: ChatThreadSendChatMessageOptionalParams): Promise<ChatThreadSendChatMessageResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets a list of messages from a thread.
|
|
26
|
+
* @param chatThreadId The thread id of the message.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listChatMessages(chatThreadId: string, options?: ChatThreadListChatMessagesOptionalParams): Promise<ChatThreadListChatMessagesResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Gets a message by id.
|
|
32
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
33
|
+
* @param chatMessageId The message id.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
getChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadGetChatMessageOptionalParams): Promise<ChatThreadGetChatMessageResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Updates a message.
|
|
39
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
40
|
+
* @param chatMessageId The message id.
|
|
41
|
+
* @param updateChatMessageRequest Details of the request to update the message.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
updateChatMessage(chatThreadId: string, chatMessageId: string, updateChatMessageRequest: UpdateChatMessageRequest, options?: ChatThreadUpdateChatMessageOptionalParams): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a message.
|
|
47
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
48
|
+
* @param chatMessageId The message id.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
deleteChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadDeleteChatMessageOptionalParams): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Gets the participants of a thread.
|
|
54
|
+
* @param chatThreadId Thread id to get participants for.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
listChatParticipants(chatThreadId: string, options?: ChatThreadListChatParticipantsOptionalParams): Promise<ChatThreadListChatParticipantsResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Remove a participant from a thread.
|
|
60
|
+
* @param chatThreadId Thread id to remove the participant from.
|
|
61
|
+
* @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
removeChatParticipant(chatThreadId: string, participantCommunicationIdentifier: CommunicationIdentifierModel, options?: ChatThreadRemoveChatParticipantOptionalParams): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Adds thread participants to a thread. If participants already exist, no change occurs.
|
|
67
|
+
* @param chatThreadId Id of the thread to add participants to.
|
|
68
|
+
* @param addChatParticipantsRequest Thread participants to be added to the thread.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
addChatParticipants(chatThreadId: string, addChatParticipantsRequest: AddChatParticipantsRequest, options?: ChatThreadAddChatParticipantsOptionalParams): Promise<ChatThreadAddChatParticipantsResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Updates a thread's properties.
|
|
74
|
+
* @param chatThreadId The id of the thread to update.
|
|
75
|
+
* @param updateChatThreadRequest Request payload for updating a chat thread.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
updateChatThreadProperties(chatThreadId: string, updateChatThreadRequest: UpdateChatThreadRequest, options?: ChatThreadUpdateChatThreadPropertiesOptionalParams): Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* Gets a chat thread's properties.
|
|
81
|
+
* @param chatThreadId Id of the thread.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
getChatThreadProperties(chatThreadId: string, options?: ChatThreadGetChatThreadPropertiesOptionalParams): Promise<ChatThreadGetChatThreadPropertiesResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Posts a typing event to a thread, on behalf of a user.
|
|
87
|
+
* @param chatThreadId Id of the thread.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
sendTypingNotification(chatThreadId: string, options?: ChatThreadSendTypingNotificationOptionalParams): Promise<void>;
|
|
91
|
+
/**
|
|
92
|
+
* ListChatReadReceiptsNext
|
|
93
|
+
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
94
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
listChatReadReceiptsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatReadReceiptsNextOptionalParams): Promise<ChatThreadListChatReadReceiptsNextResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* ListChatMessagesNext
|
|
100
|
+
* @param chatThreadId The thread id of the message.
|
|
101
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatMessages method.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
listChatMessagesNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatMessagesNextOptionalParams): Promise<ChatThreadListChatMessagesNextResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* ListChatParticipantsNext
|
|
107
|
+
* @param chatThreadId Thread id to get participants for.
|
|
108
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
listChatParticipantsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatParticipantsNextOptionalParams): Promise<ChatThreadListChatParticipantsNextResponse>;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=chatThread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatThread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chatThread.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,sBAAsB,EACtB,2CAA2C,EAC3C,sBAAsB,EACtB,uCAAuC,EACvC,iCAAiC,EACjC,wCAAwC,EACxC,kCAAkC,EAClC,sCAAsC,EACtC,gCAAgC,EAChC,wBAAwB,EACxB,yCAAyC,EACzC,yCAAyC,EACzC,4CAA4C,EAC5C,sCAAsC,EACtC,4BAA4B,EAC5B,6CAA6C,EAC7C,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,uBAAuB,EACvB,kDAAkD,EAClD,+CAA+C,EAC/C,yCAAyC,EACzC,8CAA8C,EAC9C,gDAAgD,EAChD,0CAA0C,EAC1C,4CAA4C,EAC5C,sCAAsC,EACtC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,WAAW,CAAC;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AAE,MAAM,EACpB,kCAAkC,EAAE,4BAA4B,EAChE,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,mBAAmB,CACjB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;OAKG;IACH,0BAA0B,CACxB,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,uBAAuB,CACrB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;OAIG;IACH,sBAAsB,CACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;;OAKG;IACH,oBAAoB,CAClB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonClientOptions, OperationOptions } from "@azure/core-client";
|
|
2
2
|
import { ChatThreadListChatMessagesOptionalParams as RestListMessagesOptions, ChatListChatThreadsOptionalParams as RestListChatThreadsOptions, ChatThreadListChatReadReceiptsOptionalParams as RestListReadReceiptsOptions, ChatThreadListChatParticipantsOptionalParams as RestListParticipantsOptions, ChatMessageType } from "../generated/src/models";
|
|
3
3
|
import { ChatParticipant } from "./models";
|
|
4
4
|
export { RestListMessagesOptions, RestListChatThreadsOptions, RestListParticipantsOptions, RestListReadReceiptsOptions };
|
|
5
5
|
/**
|
|
6
6
|
* Options to create chat client.
|
|
7
7
|
*/
|
|
8
|
-
export interface ChatClientOptions extends
|
|
8
|
+
export interface ChatClientOptions extends CommonClientOptions {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Options to create chat thread client.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,wCAAwC,IAAI,uBAAuB,EACnE,iCAAiC,IAAI,0BAA0B,EAC/D,4CAA4C,IAAI,2BAA2B,EAC3E,4CAA4C,IAAI,2BAA2B,EAC3E,eAAe,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iBAAk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B,GAAG,gBAAgB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE,gIAAgI;IAChI,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG,gBAAgB,CAAC;AAEtD;;GAEG;AACH,oBAAY,uBAAuB,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../../src/models/uuid.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAErC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient } from "@azure/core-
|
|
1
|
+
import { HttpClient } from "@azure/core-rest-pipeline";
|
|
2
2
|
import * as RestModel from "../../../src/generated/src/models";
|
|
3
3
|
import { ChatClient, ChatParticipant, ChatThreadClient } from "../../../src";
|
|
4
4
|
import { CommunicationIdentifierModel } from "../../../src/generated/src";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockClient.d.ts","sourceRoot":"","sources":["../../../../test/internal/utils/mockClient.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"mockClient.d.ts","sourceRoot":"","sources":["../../../../test/internal/utils/mockClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,UAAU,EAGX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAG1E,eAAO,MAAM,2BAA2B,EAAE,4BAEzC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,eAIvC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,eAMrC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,SAAS,CAAC,oBAKlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,sBAG9C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,CAAC,cAItC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAcnC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,SAAS,CAAC,sBAIlD,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,MAAM,eAAe,OAAO,KAAG,UAYzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,mBAAoB,UAAU,KAAG,UAI7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,aACvB,MAAM,kBACA,UAAU,KACzB,gBASF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectionUtils.d.ts","sourceRoot":"","sources":["../../../../test/public/utils/connectionUtils.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"connectionUtils.d.ts","sourceRoot":"","sources":["../../../../test/public/utils/connectionUtils.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAIlD,eAAO,MAAM,aAAa,QAAO,MAMhC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from "mocha";
|
|
2
|
-
import { Recorder, RecorderEnvironmentSetup } from "@azure/test-
|
|
2
|
+
import { Recorder, RecorderEnvironmentSetup } from "@azure-tools/test-recorder";
|
|
3
3
|
import { ChatClient } from "../../../src";
|
|
4
4
|
import { CommunicationUserIdentifier } from "@azure/communication-common";
|
|
5
5
|
import { CommunicationUserToken } from "@azure/communication-identity";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordedClient.d.ts","sourceRoot":"","sources":["../../../../test/public/utils/recordedClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAO,QAAQ,EAAU,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"recordedClient.d.ts","sourceRoot":"","sources":["../../../../test/public/utils/recordedClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAO,QAAQ,EAAU,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE7F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,2BAA2B,EAG5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAA+B,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAOpG,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAMD,eAAO,MAAM,gBAAgB,EAAE,wBAQ9B,CAAC;AAEF,wBAAsB,cAAc,IAAI,OAAO,CAAC,sBAAsB,CAAC,CAKtE;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,2BAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,CAOzF;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CAGzD;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAO9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.1.0-beta.2\";\n"]}
|
package/types/src/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,MAAuB,CAAC"}
|