@azure/communication-chat 1.3.2-beta.1 → 1.3.2-beta.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/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/src/chatApiClient.js +2 -2
- package/dist-esm/src/generated/src/chatApiClient.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js +3 -3
- 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/tracing.js +1 -1
- package/dist-esm/src/generated/src/tracing.js.map +1 -1
- package/dist-esm/src/models/models.js.map +1 -1
- package/package.json +2 -2
- package/types/communication-chat.d.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -139,7 +139,7 @@ const mapToReadReceiptSdkModel = (readReceipt) => {
|
|
|
139
139
|
const tracingClient = coreTracing.createTracingClient({
|
|
140
140
|
namespace: "Azure.Communication",
|
|
141
141
|
packageName: "@azure/communication-chat",
|
|
142
|
-
packageVersion: "1.3.2-beta.
|
|
142
|
+
packageVersion: "1.3.2-beta.2"
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
/*
|
|
@@ -641,11 +641,11 @@ const ChatAttachment = {
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
attachmentType: {
|
|
644
|
-
defaultValue: "teamsInlineImage",
|
|
645
|
-
isConstant: true,
|
|
646
644
|
serializedName: "attachmentType",
|
|
645
|
+
required: true,
|
|
647
646
|
type: {
|
|
648
|
-
name: "
|
|
647
|
+
name: "Enum",
|
|
648
|
+
allowedValues: ["teamsInlineImage", "teamsImage", "file"]
|
|
649
649
|
}
|
|
650
650
|
},
|
|
651
651
|
contentType: {
|
|
@@ -1047,7 +1047,7 @@ const skip = {
|
|
|
1047
1047
|
const apiVersion = {
|
|
1048
1048
|
parameterPath: "apiVersion",
|
|
1049
1049
|
mapper: {
|
|
1050
|
-
defaultValue: "2023-
|
|
1050
|
+
defaultValue: "2023-07-01-preview",
|
|
1051
1051
|
isConstant: true,
|
|
1052
1052
|
serializedName: "api-version",
|
|
1053
1053
|
type: {
|
|
@@ -2047,7 +2047,7 @@ class ChatApiClient extends coreClient__namespace.ServiceClient {
|
|
|
2047
2047
|
const defaults = {
|
|
2048
2048
|
requestContentType: "application/json; charset=utf-8"
|
|
2049
2049
|
};
|
|
2050
|
-
const packageDetails = `azsdk-js-communication-chat/1.3.2-beta.
|
|
2050
|
+
const packageDetails = `azsdk-js-communication-chat/1.3.2-beta.2`;
|
|
2051
2051
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2052
2052
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2053
2053
|
: `${packageDetails}`;
|
|
@@ -2058,7 +2058,7 @@ class ChatApiClient extends coreClient__namespace.ServiceClient {
|
|
|
2058
2058
|
// Parameter assignments
|
|
2059
2059
|
this.endpoint = endpoint;
|
|
2060
2060
|
// Assigning values to Constant parameters
|
|
2061
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
2061
|
+
this.apiVersion = options.apiVersion || "2023-07-01-preview";
|
|
2062
2062
|
this.chatThread = new ChatThreadImpl(this);
|
|
2063
2063
|
this.chat = new ChatImpl(this);
|
|
2064
2064
|
this.addCustomApiVersionPolicy(options.apiVersion);
|