@azure/ai-language-conversations 1.0.0-alpha.20240110.1 → 1.0.0-alpha.20240112.1
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 +322 -130
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/conversationAnalysisClient.js +19 -10
- package/dist-esm/src/generated/conversationAnalysisClient.js.map +1 -1
- package/dist-esm/src/generated/lroImpl.js +6 -3
- package/dist-esm/src/generated/lroImpl.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +297 -117
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/test/public/analyze.spec.js +3 -6
- package/dist-esm/test/public/analyze.spec.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,6 @@ var coreTracing = require('@azure/core-tracing');
|
|
|
7
7
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
8
|
var coreClient = require('@azure/core-client');
|
|
9
9
|
var coreLro = require('@azure/core-lro');
|
|
10
|
-
var tslib = require('tslib');
|
|
11
10
|
|
|
12
11
|
function _interopNamespaceDefault(e) {
|
|
13
12
|
var n = Object.create(null);
|
|
@@ -53,8 +52,12 @@ class LroImpl {
|
|
|
53
52
|
return this.sendOperationFn(this.args, this.spec);
|
|
54
53
|
}
|
|
55
54
|
async sendPollRequest(path) {
|
|
56
|
-
const
|
|
57
|
-
return this.sendOperationFn(this.args,
|
|
55
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
56
|
+
return this.sendOperationFn(this.args, {
|
|
57
|
+
...restSpec,
|
|
58
|
+
path,
|
|
59
|
+
httpMethod: "GET"
|
|
60
|
+
});
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
|
|
@@ -1739,19 +1742,23 @@ const ConversationalTask = {
|
|
|
1739
1742
|
className: "ConversationalTask",
|
|
1740
1743
|
uberParent: "AnalyzeConversationTask",
|
|
1741
1744
|
polymorphicDiscriminator: AnalyzeConversationTask.type.polymorphicDiscriminator,
|
|
1742
|
-
modelProperties:
|
|
1745
|
+
modelProperties: {
|
|
1746
|
+
...AnalyzeConversationTask.type.modelProperties,
|
|
1747
|
+
analysisInput: {
|
|
1743
1748
|
serializedName: "analysisInput",
|
|
1744
1749
|
type: {
|
|
1745
1750
|
name: "Composite",
|
|
1746
1751
|
className: "ConversationAnalysisOptions"
|
|
1747
1752
|
}
|
|
1748
|
-
},
|
|
1753
|
+
},
|
|
1754
|
+
parameters: {
|
|
1749
1755
|
serializedName: "parameters",
|
|
1750
1756
|
type: {
|
|
1751
1757
|
name: "Composite",
|
|
1752
1758
|
className: "ConversationTaskParameters"
|
|
1753
1759
|
}
|
|
1754
|
-
}
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1755
1762
|
}
|
|
1756
1763
|
};
|
|
1757
1764
|
const ConversationalTaskResult = {
|
|
@@ -1761,13 +1768,16 @@ const ConversationalTaskResult = {
|
|
|
1761
1768
|
className: "ConversationalTaskResult",
|
|
1762
1769
|
uberParent: "AnalyzeConversationTaskResult",
|
|
1763
1770
|
polymorphicDiscriminator: AnalyzeConversationTaskResult.type.polymorphicDiscriminator,
|
|
1764
|
-
modelProperties:
|
|
1771
|
+
modelProperties: {
|
|
1772
|
+
...AnalyzeConversationTaskResult.type.modelProperties,
|
|
1773
|
+
result: {
|
|
1765
1774
|
serializedName: "result",
|
|
1766
1775
|
type: {
|
|
1767
1776
|
name: "Composite",
|
|
1768
1777
|
className: "AnalyzeConversationResult"
|
|
1769
1778
|
}
|
|
1770
|
-
}
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1771
1781
|
}
|
|
1772
1782
|
};
|
|
1773
1783
|
const TextConversation = {
|
|
@@ -1777,7 +1787,9 @@ const TextConversation = {
|
|
|
1777
1787
|
className: "TextConversation",
|
|
1778
1788
|
uberParent: "Conversation",
|
|
1779
1789
|
polymorphicDiscriminator: Conversation.type.polymorphicDiscriminator,
|
|
1780
|
-
modelProperties:
|
|
1790
|
+
modelProperties: {
|
|
1791
|
+
...Conversation.type.modelProperties,
|
|
1792
|
+
conversationItems: {
|
|
1781
1793
|
serializedName: "conversationItems",
|
|
1782
1794
|
required: true,
|
|
1783
1795
|
type: {
|
|
@@ -1789,7 +1801,8 @@ const TextConversation = {
|
|
|
1789
1801
|
}
|
|
1790
1802
|
}
|
|
1791
1803
|
}
|
|
1792
|
-
}
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1793
1806
|
}
|
|
1794
1807
|
};
|
|
1795
1808
|
const TranscriptConversation = {
|
|
@@ -1799,7 +1812,9 @@ const TranscriptConversation = {
|
|
|
1799
1812
|
className: "TranscriptConversation",
|
|
1800
1813
|
uberParent: "Conversation",
|
|
1801
1814
|
polymorphicDiscriminator: Conversation.type.polymorphicDiscriminator,
|
|
1802
|
-
modelProperties:
|
|
1815
|
+
modelProperties: {
|
|
1816
|
+
...Conversation.type.modelProperties,
|
|
1817
|
+
conversationItems: {
|
|
1803
1818
|
serializedName: "conversationItems",
|
|
1804
1819
|
required: true,
|
|
1805
1820
|
type: {
|
|
@@ -1811,7 +1826,8 @@ const TranscriptConversation = {
|
|
|
1811
1826
|
}
|
|
1812
1827
|
}
|
|
1813
1828
|
}
|
|
1814
|
-
}
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1815
1831
|
}
|
|
1816
1832
|
};
|
|
1817
1833
|
const AnalyzeConversationLROTask = {
|
|
@@ -1824,13 +1840,16 @@ const AnalyzeConversationLROTask = {
|
|
|
1824
1840
|
serializedName: "kind",
|
|
1825
1841
|
clientName: "kind"
|
|
1826
1842
|
},
|
|
1827
|
-
modelProperties:
|
|
1843
|
+
modelProperties: {
|
|
1844
|
+
...TaskIdentifier.type.modelProperties,
|
|
1845
|
+
kind: {
|
|
1828
1846
|
serializedName: "kind",
|
|
1829
1847
|
required: true,
|
|
1830
1848
|
type: {
|
|
1831
1849
|
name: "String"
|
|
1832
1850
|
}
|
|
1833
|
-
}
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1834
1853
|
}
|
|
1835
1854
|
};
|
|
1836
1855
|
const AnalyzeConversationJobResult = {
|
|
@@ -1843,20 +1862,28 @@ const AnalyzeConversationJobResult = {
|
|
|
1843
1862
|
serializedName: "kind",
|
|
1844
1863
|
clientName: "kind"
|
|
1845
1864
|
},
|
|
1846
|
-
modelProperties:
|
|
1865
|
+
modelProperties: {
|
|
1866
|
+
...TaskStateAutoGenerated.type.modelProperties,
|
|
1867
|
+
...TaskIdentifier.type.modelProperties,
|
|
1868
|
+
kind: {
|
|
1847
1869
|
serializedName: "kind",
|
|
1848
1870
|
required: true,
|
|
1849
1871
|
type: {
|
|
1850
1872
|
name: "String"
|
|
1851
1873
|
}
|
|
1852
|
-
}
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1853
1876
|
}
|
|
1854
1877
|
};
|
|
1855
1878
|
const AnalyzeConversationJobState = {
|
|
1856
1879
|
type: {
|
|
1857
1880
|
name: "Composite",
|
|
1858
1881
|
className: "AnalyzeConversationJobState",
|
|
1859
|
-
modelProperties:
|
|
1882
|
+
modelProperties: {
|
|
1883
|
+
...JobStateAutoGenerated.type.modelProperties,
|
|
1884
|
+
...ConversationTasksState.type.modelProperties,
|
|
1885
|
+
...AnalyzeConversationJobStatistics.type.modelProperties
|
|
1886
|
+
}
|
|
1860
1887
|
}
|
|
1861
1888
|
};
|
|
1862
1889
|
const ConversationRequestStatistics = {
|
|
@@ -1864,25 +1891,30 @@ const ConversationRequestStatistics = {
|
|
|
1864
1891
|
name: "Composite",
|
|
1865
1892
|
className: "ConversationRequestStatistics",
|
|
1866
1893
|
additionalProperties: { type: { name: "Object" } },
|
|
1867
|
-
modelProperties:
|
|
1894
|
+
modelProperties: {
|
|
1895
|
+
...RequestStatistics.type.modelProperties,
|
|
1896
|
+
conversationsCount: {
|
|
1868
1897
|
serializedName: "conversationsCount",
|
|
1869
1898
|
required: true,
|
|
1870
1899
|
type: {
|
|
1871
1900
|
name: "Number"
|
|
1872
1901
|
}
|
|
1873
|
-
},
|
|
1902
|
+
},
|
|
1903
|
+
validConversationsCount: {
|
|
1874
1904
|
serializedName: "validConversationsCount",
|
|
1875
1905
|
required: true,
|
|
1876
1906
|
type: {
|
|
1877
1907
|
name: "Number"
|
|
1878
1908
|
}
|
|
1879
|
-
},
|
|
1909
|
+
},
|
|
1910
|
+
erroneousConversationsCount: {
|
|
1880
1911
|
serializedName: "erroneousConversationsCount",
|
|
1881
1912
|
required: true,
|
|
1882
1913
|
type: {
|
|
1883
1914
|
name: "Number"
|
|
1884
1915
|
}
|
|
1885
|
-
}
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1886
1918
|
}
|
|
1887
1919
|
};
|
|
1888
1920
|
const TextConversationItem = {
|
|
@@ -1890,13 +1922,16 @@ const TextConversationItem = {
|
|
|
1890
1922
|
name: "Composite",
|
|
1891
1923
|
className: "TextConversationItem",
|
|
1892
1924
|
additionalProperties: { type: { name: "Object" } },
|
|
1893
|
-
modelProperties:
|
|
1925
|
+
modelProperties: {
|
|
1926
|
+
...ConversationItemBase.type.modelProperties,
|
|
1927
|
+
text: {
|
|
1894
1928
|
serializedName: "text",
|
|
1895
1929
|
required: true,
|
|
1896
1930
|
type: {
|
|
1897
1931
|
name: "String"
|
|
1898
1932
|
}
|
|
1899
|
-
}
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1900
1935
|
}
|
|
1901
1936
|
};
|
|
1902
1937
|
const TranscriptConversationItem = {
|
|
@@ -1904,27 +1939,33 @@ const TranscriptConversationItem = {
|
|
|
1904
1939
|
name: "Composite",
|
|
1905
1940
|
className: "TranscriptConversationItem",
|
|
1906
1941
|
additionalProperties: { type: { name: "Object" } },
|
|
1907
|
-
modelProperties:
|
|
1942
|
+
modelProperties: {
|
|
1943
|
+
...ConversationItemBase.type.modelProperties,
|
|
1944
|
+
itn: {
|
|
1908
1945
|
serializedName: "itn",
|
|
1909
1946
|
type: {
|
|
1910
1947
|
name: "String"
|
|
1911
1948
|
}
|
|
1912
|
-
},
|
|
1949
|
+
},
|
|
1950
|
+
maskedItn: {
|
|
1913
1951
|
serializedName: "maskedItn",
|
|
1914
1952
|
type: {
|
|
1915
1953
|
name: "String"
|
|
1916
1954
|
}
|
|
1917
|
-
},
|
|
1955
|
+
},
|
|
1956
|
+
text: {
|
|
1918
1957
|
serializedName: "text",
|
|
1919
1958
|
type: {
|
|
1920
1959
|
name: "String"
|
|
1921
1960
|
}
|
|
1922
|
-
},
|
|
1961
|
+
},
|
|
1962
|
+
lexical: {
|
|
1923
1963
|
serializedName: "lexical",
|
|
1924
1964
|
type: {
|
|
1925
1965
|
name: "String"
|
|
1926
1966
|
}
|
|
1927
|
-
},
|
|
1967
|
+
},
|
|
1968
|
+
audioTimings: {
|
|
1928
1969
|
serializedName: "audioTimings",
|
|
1929
1970
|
type: {
|
|
1930
1971
|
name: "Sequence",
|
|
@@ -1935,7 +1976,8 @@ const TranscriptConversationItem = {
|
|
|
1935
1976
|
}
|
|
1936
1977
|
}
|
|
1937
1978
|
}
|
|
1938
|
-
}
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1939
1981
|
}
|
|
1940
1982
|
};
|
|
1941
1983
|
const LuisParameters = {
|
|
@@ -1946,7 +1988,9 @@ const LuisParameters = {
|
|
|
1946
1988
|
uberParent: "AnalysisParameters",
|
|
1947
1989
|
additionalProperties: { type: { name: "Object" } },
|
|
1948
1990
|
polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
|
|
1949
|
-
modelProperties:
|
|
1991
|
+
modelProperties: {
|
|
1992
|
+
...AnalysisParameters.type.modelProperties,
|
|
1993
|
+
query: {
|
|
1950
1994
|
constraints: {
|
|
1951
1995
|
MaxLength: 500
|
|
1952
1996
|
},
|
|
@@ -1954,13 +1998,15 @@ const LuisParameters = {
|
|
|
1954
1998
|
type: {
|
|
1955
1999
|
name: "String"
|
|
1956
2000
|
}
|
|
1957
|
-
},
|
|
2001
|
+
},
|
|
2002
|
+
callingOptions: {
|
|
1958
2003
|
serializedName: "callingOptions",
|
|
1959
2004
|
type: {
|
|
1960
2005
|
name: "Composite",
|
|
1961
2006
|
className: "LuisCallingOptions"
|
|
1962
2007
|
}
|
|
1963
|
-
}
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
1964
2010
|
}
|
|
1965
2011
|
};
|
|
1966
2012
|
const ConversationParameters = {
|
|
@@ -1970,13 +2016,16 @@ const ConversationParameters = {
|
|
|
1970
2016
|
className: "ConversationParameters",
|
|
1971
2017
|
uberParent: "AnalysisParameters",
|
|
1972
2018
|
polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
|
|
1973
|
-
modelProperties:
|
|
2019
|
+
modelProperties: {
|
|
2020
|
+
...AnalysisParameters.type.modelProperties,
|
|
2021
|
+
callingOptions: {
|
|
1974
2022
|
serializedName: "callingOptions",
|
|
1975
2023
|
type: {
|
|
1976
2024
|
name: "Composite",
|
|
1977
2025
|
className: "ConversationCallingOptions"
|
|
1978
2026
|
}
|
|
1979
|
-
}
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
1980
2029
|
}
|
|
1981
2030
|
};
|
|
1982
2031
|
const QuestionAnsweringParameters = {
|
|
@@ -1986,13 +2035,16 @@ const QuestionAnsweringParameters = {
|
|
|
1986
2035
|
className: "QuestionAnsweringParameters",
|
|
1987
2036
|
uberParent: "AnalysisParameters",
|
|
1988
2037
|
polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
|
|
1989
|
-
modelProperties:
|
|
2038
|
+
modelProperties: {
|
|
2039
|
+
...AnalysisParameters.type.modelProperties,
|
|
2040
|
+
callingOptions: {
|
|
1990
2041
|
serializedName: "callingOptions",
|
|
1991
2042
|
type: {
|
|
1992
2043
|
name: "Composite",
|
|
1993
2044
|
className: "AnswersOptions"
|
|
1994
2045
|
}
|
|
1995
|
-
}
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
1996
2048
|
}
|
|
1997
2049
|
};
|
|
1998
2050
|
const ConversationPrediction = {
|
|
@@ -2002,7 +2054,9 @@ const ConversationPrediction = {
|
|
|
2002
2054
|
className: "ConversationPrediction",
|
|
2003
2055
|
uberParent: "BasePrediction",
|
|
2004
2056
|
polymorphicDiscriminator: BasePrediction.type.polymorphicDiscriminator,
|
|
2005
|
-
modelProperties:
|
|
2057
|
+
modelProperties: {
|
|
2058
|
+
...BasePrediction.type.modelProperties,
|
|
2059
|
+
intents: {
|
|
2006
2060
|
serializedName: "intents",
|
|
2007
2061
|
required: true,
|
|
2008
2062
|
type: {
|
|
@@ -2014,7 +2068,8 @@ const ConversationPrediction = {
|
|
|
2014
2068
|
}
|
|
2015
2069
|
}
|
|
2016
2070
|
}
|
|
2017
|
-
},
|
|
2071
|
+
},
|
|
2072
|
+
entities: {
|
|
2018
2073
|
serializedName: "entities",
|
|
2019
2074
|
required: true,
|
|
2020
2075
|
type: {
|
|
@@ -2026,7 +2081,8 @@ const ConversationPrediction = {
|
|
|
2026
2081
|
}
|
|
2027
2082
|
}
|
|
2028
2083
|
}
|
|
2029
|
-
}
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2030
2086
|
}
|
|
2031
2087
|
};
|
|
2032
2088
|
const OrchestrationPrediction = {
|
|
@@ -2036,7 +2092,9 @@ const OrchestrationPrediction = {
|
|
|
2036
2092
|
className: "OrchestrationPrediction",
|
|
2037
2093
|
uberParent: "BasePrediction",
|
|
2038
2094
|
polymorphicDiscriminator: BasePrediction.type.polymorphicDiscriminator,
|
|
2039
|
-
modelProperties:
|
|
2095
|
+
modelProperties: {
|
|
2096
|
+
...BasePrediction.type.modelProperties,
|
|
2097
|
+
intents: {
|
|
2040
2098
|
serializedName: "intents",
|
|
2041
2099
|
required: true,
|
|
2042
2100
|
type: {
|
|
@@ -2045,7 +2103,8 @@ const OrchestrationPrediction = {
|
|
|
2045
2103
|
type: { name: "Composite", className: "TargetIntentResult" }
|
|
2046
2104
|
}
|
|
2047
2105
|
}
|
|
2048
|
-
}
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2049
2108
|
}
|
|
2050
2109
|
};
|
|
2051
2110
|
const AgeResolution = {
|
|
@@ -2055,13 +2114,17 @@ const AgeResolution = {
|
|
|
2055
2114
|
className: "AgeResolution",
|
|
2056
2115
|
uberParent: "BaseResolution",
|
|
2057
2116
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2058
|
-
modelProperties:
|
|
2117
|
+
modelProperties: {
|
|
2118
|
+
...BaseResolution.type.modelProperties,
|
|
2119
|
+
...QuantityResolution.type.modelProperties,
|
|
2120
|
+
unit: {
|
|
2059
2121
|
serializedName: "unit",
|
|
2060
2122
|
required: true,
|
|
2061
2123
|
type: {
|
|
2062
2124
|
name: "String"
|
|
2063
2125
|
}
|
|
2064
|
-
}
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2065
2128
|
}
|
|
2066
2129
|
};
|
|
2067
2130
|
const VolumeResolution = {
|
|
@@ -2071,13 +2134,17 @@ const VolumeResolution = {
|
|
|
2071
2134
|
className: "VolumeResolution",
|
|
2072
2135
|
uberParent: "BaseResolution",
|
|
2073
2136
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2074
|
-
modelProperties:
|
|
2137
|
+
modelProperties: {
|
|
2138
|
+
...BaseResolution.type.modelProperties,
|
|
2139
|
+
...QuantityResolution.type.modelProperties,
|
|
2140
|
+
unit: {
|
|
2075
2141
|
serializedName: "unit",
|
|
2076
2142
|
required: true,
|
|
2077
2143
|
type: {
|
|
2078
2144
|
name: "String"
|
|
2079
2145
|
}
|
|
2080
|
-
}
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2081
2148
|
}
|
|
2082
2149
|
};
|
|
2083
2150
|
const SpeedResolution = {
|
|
@@ -2087,13 +2154,17 @@ const SpeedResolution = {
|
|
|
2087
2154
|
className: "SpeedResolution",
|
|
2088
2155
|
uberParent: "BaseResolution",
|
|
2089
2156
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2090
|
-
modelProperties:
|
|
2157
|
+
modelProperties: {
|
|
2158
|
+
...BaseResolution.type.modelProperties,
|
|
2159
|
+
...QuantityResolution.type.modelProperties,
|
|
2160
|
+
unit: {
|
|
2091
2161
|
serializedName: "unit",
|
|
2092
2162
|
required: true,
|
|
2093
2163
|
type: {
|
|
2094
2164
|
name: "String"
|
|
2095
2165
|
}
|
|
2096
|
-
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2097
2168
|
}
|
|
2098
2169
|
};
|
|
2099
2170
|
const AreaResolution = {
|
|
@@ -2103,13 +2174,17 @@ const AreaResolution = {
|
|
|
2103
2174
|
className: "AreaResolution",
|
|
2104
2175
|
uberParent: "BaseResolution",
|
|
2105
2176
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2106
|
-
modelProperties:
|
|
2177
|
+
modelProperties: {
|
|
2178
|
+
...BaseResolution.type.modelProperties,
|
|
2179
|
+
...QuantityResolution.type.modelProperties,
|
|
2180
|
+
unit: {
|
|
2107
2181
|
serializedName: "unit",
|
|
2108
2182
|
required: true,
|
|
2109
2183
|
type: {
|
|
2110
2184
|
name: "String"
|
|
2111
2185
|
}
|
|
2112
|
-
}
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2113
2188
|
}
|
|
2114
2189
|
};
|
|
2115
2190
|
const LengthResolution = {
|
|
@@ -2119,13 +2194,17 @@ const LengthResolution = {
|
|
|
2119
2194
|
className: "LengthResolution",
|
|
2120
2195
|
uberParent: "BaseResolution",
|
|
2121
2196
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2122
|
-
modelProperties:
|
|
2197
|
+
modelProperties: {
|
|
2198
|
+
...BaseResolution.type.modelProperties,
|
|
2199
|
+
...QuantityResolution.type.modelProperties,
|
|
2200
|
+
unit: {
|
|
2123
2201
|
serializedName: "unit",
|
|
2124
2202
|
required: true,
|
|
2125
2203
|
type: {
|
|
2126
2204
|
name: "String"
|
|
2127
2205
|
}
|
|
2128
|
-
}
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2129
2208
|
}
|
|
2130
2209
|
};
|
|
2131
2210
|
const InformationResolution = {
|
|
@@ -2135,13 +2214,17 @@ const InformationResolution = {
|
|
|
2135
2214
|
className: "InformationResolution",
|
|
2136
2215
|
uberParent: "BaseResolution",
|
|
2137
2216
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2138
|
-
modelProperties:
|
|
2217
|
+
modelProperties: {
|
|
2218
|
+
...BaseResolution.type.modelProperties,
|
|
2219
|
+
...QuantityResolution.type.modelProperties,
|
|
2220
|
+
unit: {
|
|
2139
2221
|
serializedName: "unit",
|
|
2140
2222
|
required: true,
|
|
2141
2223
|
type: {
|
|
2142
2224
|
name: "String"
|
|
2143
2225
|
}
|
|
2144
|
-
}
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2145
2228
|
}
|
|
2146
2229
|
};
|
|
2147
2230
|
const TemperatureResolution = {
|
|
@@ -2151,13 +2234,17 @@ const TemperatureResolution = {
|
|
|
2151
2234
|
className: "TemperatureResolution",
|
|
2152
2235
|
uberParent: "BaseResolution",
|
|
2153
2236
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2154
|
-
modelProperties:
|
|
2237
|
+
modelProperties: {
|
|
2238
|
+
...BaseResolution.type.modelProperties,
|
|
2239
|
+
...QuantityResolution.type.modelProperties,
|
|
2240
|
+
unit: {
|
|
2155
2241
|
serializedName: "unit",
|
|
2156
2242
|
required: true,
|
|
2157
2243
|
type: {
|
|
2158
2244
|
name: "String"
|
|
2159
2245
|
}
|
|
2160
|
-
}
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2161
2248
|
}
|
|
2162
2249
|
};
|
|
2163
2250
|
const WeightResolution = {
|
|
@@ -2167,13 +2254,17 @@ const WeightResolution = {
|
|
|
2167
2254
|
className: "WeightResolution",
|
|
2168
2255
|
uberParent: "BaseResolution",
|
|
2169
2256
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2170
|
-
modelProperties:
|
|
2257
|
+
modelProperties: {
|
|
2258
|
+
...BaseResolution.type.modelProperties,
|
|
2259
|
+
...QuantityResolution.type.modelProperties,
|
|
2260
|
+
unit: {
|
|
2171
2261
|
serializedName: "unit",
|
|
2172
2262
|
required: true,
|
|
2173
2263
|
type: {
|
|
2174
2264
|
name: "String"
|
|
2175
2265
|
}
|
|
2176
|
-
}
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2177
2268
|
}
|
|
2178
2269
|
};
|
|
2179
2270
|
const CurrencyResolution = {
|
|
@@ -2183,18 +2274,23 @@ const CurrencyResolution = {
|
|
|
2183
2274
|
className: "CurrencyResolution",
|
|
2184
2275
|
uberParent: "BaseResolution",
|
|
2185
2276
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2186
|
-
modelProperties:
|
|
2277
|
+
modelProperties: {
|
|
2278
|
+
...BaseResolution.type.modelProperties,
|
|
2279
|
+
...QuantityResolution.type.modelProperties,
|
|
2280
|
+
iso4217: {
|
|
2187
2281
|
serializedName: "ISO4217",
|
|
2188
2282
|
type: {
|
|
2189
2283
|
name: "String"
|
|
2190
2284
|
}
|
|
2191
|
-
},
|
|
2285
|
+
},
|
|
2286
|
+
unit: {
|
|
2192
2287
|
serializedName: "unit",
|
|
2193
2288
|
required: true,
|
|
2194
2289
|
type: {
|
|
2195
2290
|
name: "String"
|
|
2196
2291
|
}
|
|
2197
|
-
}
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2198
2294
|
}
|
|
2199
2295
|
};
|
|
2200
2296
|
const BooleanResolution = {
|
|
@@ -2204,13 +2300,16 @@ const BooleanResolution = {
|
|
|
2204
2300
|
className: "BooleanResolution",
|
|
2205
2301
|
uberParent: "BaseResolution",
|
|
2206
2302
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2207
|
-
modelProperties:
|
|
2303
|
+
modelProperties: {
|
|
2304
|
+
...BaseResolution.type.modelProperties,
|
|
2305
|
+
value: {
|
|
2208
2306
|
serializedName: "value",
|
|
2209
2307
|
required: true,
|
|
2210
2308
|
type: {
|
|
2211
2309
|
name: "Boolean"
|
|
2212
2310
|
}
|
|
2213
|
-
}
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2214
2313
|
}
|
|
2215
2314
|
};
|
|
2216
2315
|
const DateTimeResolution = {
|
|
@@ -2220,30 +2319,36 @@ const DateTimeResolution = {
|
|
|
2220
2319
|
className: "DateTimeResolution",
|
|
2221
2320
|
uberParent: "BaseResolution",
|
|
2222
2321
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2223
|
-
modelProperties:
|
|
2322
|
+
modelProperties: {
|
|
2323
|
+
...BaseResolution.type.modelProperties,
|
|
2324
|
+
timex: {
|
|
2224
2325
|
serializedName: "timex",
|
|
2225
2326
|
required: true,
|
|
2226
2327
|
type: {
|
|
2227
2328
|
name: "String"
|
|
2228
2329
|
}
|
|
2229
|
-
},
|
|
2330
|
+
},
|
|
2331
|
+
dateTimeSubKind: {
|
|
2230
2332
|
serializedName: "dateTimeSubKind",
|
|
2231
2333
|
required: true,
|
|
2232
2334
|
type: {
|
|
2233
2335
|
name: "String"
|
|
2234
2336
|
}
|
|
2235
|
-
},
|
|
2337
|
+
},
|
|
2338
|
+
value: {
|
|
2236
2339
|
serializedName: "value",
|
|
2237
2340
|
required: true,
|
|
2238
2341
|
type: {
|
|
2239
2342
|
name: "String"
|
|
2240
2343
|
}
|
|
2241
|
-
},
|
|
2344
|
+
},
|
|
2345
|
+
modifier: {
|
|
2242
2346
|
serializedName: "modifier",
|
|
2243
2347
|
type: {
|
|
2244
2348
|
name: "String"
|
|
2245
2349
|
}
|
|
2246
|
-
}
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2247
2352
|
}
|
|
2248
2353
|
};
|
|
2249
2354
|
const NumberResolution = {
|
|
@@ -2253,19 +2358,23 @@ const NumberResolution = {
|
|
|
2253
2358
|
className: "NumberResolution",
|
|
2254
2359
|
uberParent: "BaseResolution",
|
|
2255
2360
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2256
|
-
modelProperties:
|
|
2361
|
+
modelProperties: {
|
|
2362
|
+
...BaseResolution.type.modelProperties,
|
|
2363
|
+
numberKind: {
|
|
2257
2364
|
serializedName: "numberKind",
|
|
2258
2365
|
required: true,
|
|
2259
2366
|
type: {
|
|
2260
2367
|
name: "String"
|
|
2261
2368
|
}
|
|
2262
|
-
},
|
|
2369
|
+
},
|
|
2370
|
+
value: {
|
|
2263
2371
|
serializedName: "value",
|
|
2264
2372
|
required: true,
|
|
2265
2373
|
type: {
|
|
2266
2374
|
name: "String"
|
|
2267
2375
|
}
|
|
2268
|
-
}
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2269
2378
|
}
|
|
2270
2379
|
};
|
|
2271
2380
|
const OrdinalResolution = {
|
|
@@ -2275,25 +2384,30 @@ const OrdinalResolution = {
|
|
|
2275
2384
|
className: "OrdinalResolution",
|
|
2276
2385
|
uberParent: "BaseResolution",
|
|
2277
2386
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2278
|
-
modelProperties:
|
|
2387
|
+
modelProperties: {
|
|
2388
|
+
...BaseResolution.type.modelProperties,
|
|
2389
|
+
offset: {
|
|
2279
2390
|
serializedName: "offset",
|
|
2280
2391
|
required: true,
|
|
2281
2392
|
type: {
|
|
2282
2393
|
name: "String"
|
|
2283
2394
|
}
|
|
2284
|
-
},
|
|
2395
|
+
},
|
|
2396
|
+
relativeTo: {
|
|
2285
2397
|
serializedName: "relativeTo",
|
|
2286
2398
|
required: true,
|
|
2287
2399
|
type: {
|
|
2288
2400
|
name: "String"
|
|
2289
2401
|
}
|
|
2290
|
-
},
|
|
2402
|
+
},
|
|
2403
|
+
value: {
|
|
2291
2404
|
serializedName: "value",
|
|
2292
2405
|
required: true,
|
|
2293
2406
|
type: {
|
|
2294
2407
|
name: "String"
|
|
2295
2408
|
}
|
|
2296
|
-
}
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2297
2411
|
}
|
|
2298
2412
|
};
|
|
2299
2413
|
const TemporalSpanResolution = {
|
|
@@ -2303,27 +2417,33 @@ const TemporalSpanResolution = {
|
|
|
2303
2417
|
className: "TemporalSpanResolution",
|
|
2304
2418
|
uberParent: "BaseResolution",
|
|
2305
2419
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2306
|
-
modelProperties:
|
|
2420
|
+
modelProperties: {
|
|
2421
|
+
...BaseResolution.type.modelProperties,
|
|
2422
|
+
begin: {
|
|
2307
2423
|
serializedName: "begin",
|
|
2308
2424
|
type: {
|
|
2309
2425
|
name: "String"
|
|
2310
2426
|
}
|
|
2311
|
-
},
|
|
2427
|
+
},
|
|
2428
|
+
end: {
|
|
2312
2429
|
serializedName: "end",
|
|
2313
2430
|
type: {
|
|
2314
2431
|
name: "String"
|
|
2315
2432
|
}
|
|
2316
|
-
},
|
|
2433
|
+
},
|
|
2434
|
+
duration: {
|
|
2317
2435
|
serializedName: "duration",
|
|
2318
2436
|
type: {
|
|
2319
2437
|
name: "String"
|
|
2320
2438
|
}
|
|
2321
|
-
},
|
|
2439
|
+
},
|
|
2440
|
+
modifier: {
|
|
2322
2441
|
serializedName: "modifier",
|
|
2323
2442
|
type: {
|
|
2324
2443
|
name: "String"
|
|
2325
2444
|
}
|
|
2326
|
-
}
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2327
2447
|
}
|
|
2328
2448
|
};
|
|
2329
2449
|
const NumericRangeResolution = {
|
|
@@ -2333,25 +2453,30 @@ const NumericRangeResolution = {
|
|
|
2333
2453
|
className: "NumericRangeResolution",
|
|
2334
2454
|
uberParent: "BaseResolution",
|
|
2335
2455
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
|
2336
|
-
modelProperties:
|
|
2456
|
+
modelProperties: {
|
|
2457
|
+
...BaseResolution.type.modelProperties,
|
|
2458
|
+
rangeKind: {
|
|
2337
2459
|
serializedName: "rangeKind",
|
|
2338
2460
|
required: true,
|
|
2339
2461
|
type: {
|
|
2340
2462
|
name: "String"
|
|
2341
2463
|
}
|
|
2342
|
-
},
|
|
2464
|
+
},
|
|
2465
|
+
minimum: {
|
|
2343
2466
|
serializedName: "minimum",
|
|
2344
2467
|
required: true,
|
|
2345
2468
|
type: {
|
|
2346
2469
|
name: "Number"
|
|
2347
2470
|
}
|
|
2348
|
-
},
|
|
2471
|
+
},
|
|
2472
|
+
maximum: {
|
|
2349
2473
|
serializedName: "maximum",
|
|
2350
2474
|
required: true,
|
|
2351
2475
|
type: {
|
|
2352
2476
|
name: "Number"
|
|
2353
2477
|
}
|
|
2354
|
-
}
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2355
2480
|
}
|
|
2356
2481
|
};
|
|
2357
2482
|
const EntitySubtype = {
|
|
@@ -2361,12 +2486,15 @@ const EntitySubtype = {
|
|
|
2361
2486
|
className: "EntitySubtype",
|
|
2362
2487
|
uberParent: "BaseExtraInformation",
|
|
2363
2488
|
polymorphicDiscriminator: BaseExtraInformation.type.polymorphicDiscriminator,
|
|
2364
|
-
modelProperties:
|
|
2489
|
+
modelProperties: {
|
|
2490
|
+
...BaseExtraInformation.type.modelProperties,
|
|
2491
|
+
value: {
|
|
2365
2492
|
serializedName: "value",
|
|
2366
2493
|
type: {
|
|
2367
2494
|
name: "String"
|
|
2368
2495
|
}
|
|
2369
|
-
}
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2370
2498
|
}
|
|
2371
2499
|
};
|
|
2372
2500
|
const ListKey = {
|
|
@@ -2376,12 +2504,15 @@ const ListKey = {
|
|
|
2376
2504
|
className: "ListKey",
|
|
2377
2505
|
uberParent: "BaseExtraInformation",
|
|
2378
2506
|
polymorphicDiscriminator: BaseExtraInformation.type.polymorphicDiscriminator,
|
|
2379
|
-
modelProperties:
|
|
2507
|
+
modelProperties: {
|
|
2508
|
+
...BaseExtraInformation.type.modelProperties,
|
|
2509
|
+
key: {
|
|
2380
2510
|
serializedName: "key",
|
|
2381
2511
|
type: {
|
|
2382
2512
|
name: "String"
|
|
2383
2513
|
}
|
|
2384
|
-
}
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2385
2516
|
}
|
|
2386
2517
|
};
|
|
2387
2518
|
const NoneLinkedTargetIntentResult = {
|
|
@@ -2391,13 +2522,16 @@ const NoneLinkedTargetIntentResult = {
|
|
|
2391
2522
|
className: "NoneLinkedTargetIntentResult",
|
|
2392
2523
|
uberParent: "TargetIntentResult",
|
|
2393
2524
|
polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
|
|
2394
|
-
modelProperties:
|
|
2525
|
+
modelProperties: {
|
|
2526
|
+
...TargetIntentResult.type.modelProperties,
|
|
2527
|
+
result: {
|
|
2395
2528
|
serializedName: "result",
|
|
2396
2529
|
type: {
|
|
2397
2530
|
name: "Composite",
|
|
2398
2531
|
className: "ConversationResult"
|
|
2399
2532
|
}
|
|
2400
|
-
}
|
|
2533
|
+
}
|
|
2534
|
+
}
|
|
2401
2535
|
}
|
|
2402
2536
|
};
|
|
2403
2537
|
const ConversationTargetIntentResult = {
|
|
@@ -2407,13 +2541,16 @@ const ConversationTargetIntentResult = {
|
|
|
2407
2541
|
className: "ConversationTargetIntentResult",
|
|
2408
2542
|
uberParent: "TargetIntentResult",
|
|
2409
2543
|
polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
|
|
2410
|
-
modelProperties:
|
|
2544
|
+
modelProperties: {
|
|
2545
|
+
...TargetIntentResult.type.modelProperties,
|
|
2546
|
+
result: {
|
|
2411
2547
|
serializedName: "result",
|
|
2412
2548
|
type: {
|
|
2413
2549
|
name: "Composite",
|
|
2414
2550
|
className: "ConversationResult"
|
|
2415
2551
|
}
|
|
2416
|
-
}
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2417
2554
|
}
|
|
2418
2555
|
};
|
|
2419
2556
|
const LuisTargetIntentResult = {
|
|
@@ -2423,13 +2560,16 @@ const LuisTargetIntentResult = {
|
|
|
2423
2560
|
className: "LuisTargetIntentResult",
|
|
2424
2561
|
uberParent: "TargetIntentResult",
|
|
2425
2562
|
polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
|
|
2426
|
-
modelProperties:
|
|
2563
|
+
modelProperties: {
|
|
2564
|
+
...TargetIntentResult.type.modelProperties,
|
|
2565
|
+
result: {
|
|
2427
2566
|
serializedName: "result",
|
|
2428
2567
|
type: {
|
|
2429
2568
|
name: "Dictionary",
|
|
2430
2569
|
value: { type: { name: "any" } }
|
|
2431
2570
|
}
|
|
2432
|
-
}
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2433
2573
|
}
|
|
2434
2574
|
};
|
|
2435
2575
|
const QuestionAnsweringTargetIntentResult = {
|
|
@@ -2439,59 +2579,76 @@ const QuestionAnsweringTargetIntentResult = {
|
|
|
2439
2579
|
className: "QuestionAnsweringTargetIntentResult",
|
|
2440
2580
|
uberParent: "TargetIntentResult",
|
|
2441
2581
|
polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
|
|
2442
|
-
modelProperties:
|
|
2582
|
+
modelProperties: {
|
|
2583
|
+
...TargetIntentResult.type.modelProperties,
|
|
2584
|
+
result: {
|
|
2443
2585
|
serializedName: "result",
|
|
2444
2586
|
type: {
|
|
2445
2587
|
name: "Composite",
|
|
2446
2588
|
className: "AnswersResult"
|
|
2447
2589
|
}
|
|
2448
|
-
}
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2449
2592
|
}
|
|
2450
2593
|
};
|
|
2451
2594
|
const PreBuiltTaskParameters = {
|
|
2452
2595
|
type: {
|
|
2453
2596
|
name: "Composite",
|
|
2454
2597
|
className: "PreBuiltTaskParameters",
|
|
2455
|
-
modelProperties:
|
|
2598
|
+
modelProperties: {
|
|
2599
|
+
...TaskParameters.type.modelProperties,
|
|
2600
|
+
modelVersion: {
|
|
2456
2601
|
defaultValue: "latest",
|
|
2457
2602
|
serializedName: "modelVersion",
|
|
2458
2603
|
type: {
|
|
2459
2604
|
name: "String"
|
|
2460
2605
|
}
|
|
2461
|
-
}
|
|
2606
|
+
}
|
|
2607
|
+
}
|
|
2462
2608
|
}
|
|
2463
2609
|
};
|
|
2464
2610
|
const WordLevelTiming = {
|
|
2465
2611
|
type: {
|
|
2466
2612
|
name: "Composite",
|
|
2467
2613
|
className: "WordLevelTiming",
|
|
2468
|
-
modelProperties:
|
|
2614
|
+
modelProperties: {
|
|
2615
|
+
...AudioTiming.type.modelProperties,
|
|
2616
|
+
word: {
|
|
2469
2617
|
serializedName: "word",
|
|
2470
2618
|
type: {
|
|
2471
2619
|
name: "String"
|
|
2472
2620
|
}
|
|
2473
|
-
}
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2474
2623
|
}
|
|
2475
2624
|
};
|
|
2476
2625
|
const ConversationPIIResultsConversationsItem = {
|
|
2477
2626
|
type: {
|
|
2478
2627
|
name: "Composite",
|
|
2479
2628
|
className: "ConversationPIIResultsConversationsItem",
|
|
2480
|
-
modelProperties:
|
|
2629
|
+
modelProperties: {
|
|
2630
|
+
...ConversationPIIResult.type.modelProperties,
|
|
2631
|
+
...ConversationResultBase.type.modelProperties
|
|
2632
|
+
}
|
|
2481
2633
|
}
|
|
2482
2634
|
};
|
|
2483
2635
|
const SummaryResultConversationsItem = {
|
|
2484
2636
|
type: {
|
|
2485
2637
|
name: "Composite",
|
|
2486
2638
|
className: "SummaryResultConversationsItem",
|
|
2487
|
-
modelProperties:
|
|
2639
|
+
modelProperties: {
|
|
2640
|
+
...ConversationsSummaryResult.type.modelProperties,
|
|
2641
|
+
...ConversationResultBase.type.modelProperties
|
|
2642
|
+
}
|
|
2488
2643
|
}
|
|
2489
2644
|
};
|
|
2490
2645
|
const ConversationPIIResults = {
|
|
2491
2646
|
type: {
|
|
2492
2647
|
name: "Composite",
|
|
2493
2648
|
className: "ConversationPIIResults",
|
|
2494
|
-
modelProperties:
|
|
2649
|
+
modelProperties: {
|
|
2650
|
+
...PreBuiltResult.type.modelProperties,
|
|
2651
|
+
conversations: {
|
|
2495
2652
|
serializedName: "conversations",
|
|
2496
2653
|
required: true,
|
|
2497
2654
|
type: {
|
|
@@ -2503,14 +2660,17 @@ const ConversationPIIResults = {
|
|
|
2503
2660
|
}
|
|
2504
2661
|
}
|
|
2505
2662
|
}
|
|
2506
|
-
}
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2507
2665
|
}
|
|
2508
2666
|
};
|
|
2509
2667
|
const SummaryResult = {
|
|
2510
2668
|
type: {
|
|
2511
2669
|
name: "Composite",
|
|
2512
2670
|
className: "SummaryResult",
|
|
2513
|
-
modelProperties:
|
|
2671
|
+
modelProperties: {
|
|
2672
|
+
...PreBuiltResult.type.modelProperties,
|
|
2673
|
+
conversations: {
|
|
2514
2674
|
serializedName: "conversations",
|
|
2515
2675
|
required: true,
|
|
2516
2676
|
type: {
|
|
@@ -2522,14 +2682,17 @@ const SummaryResult = {
|
|
|
2522
2682
|
}
|
|
2523
2683
|
}
|
|
2524
2684
|
}
|
|
2525
|
-
}
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2526
2687
|
}
|
|
2527
2688
|
};
|
|
2528
2689
|
const ConversationsSummaryResultSummariesItem = {
|
|
2529
2690
|
type: {
|
|
2530
2691
|
name: "Composite",
|
|
2531
2692
|
className: "ConversationsSummaryResultSummariesItem",
|
|
2532
|
-
modelProperties:
|
|
2693
|
+
modelProperties: {
|
|
2694
|
+
...SummaryResultItem.type.modelProperties
|
|
2695
|
+
}
|
|
2533
2696
|
}
|
|
2534
2697
|
};
|
|
2535
2698
|
const AnalyzeConversationPIITask = {
|
|
@@ -2539,13 +2702,16 @@ const AnalyzeConversationPIITask = {
|
|
|
2539
2702
|
className: "AnalyzeConversationPIITask",
|
|
2540
2703
|
uberParent: "TaskIdentifier",
|
|
2541
2704
|
polymorphicDiscriminator: TaskIdentifier.type.polymorphicDiscriminator,
|
|
2542
|
-
modelProperties:
|
|
2705
|
+
modelProperties: {
|
|
2706
|
+
...AnalyzeConversationLROTask.type.modelProperties,
|
|
2707
|
+
parameters: {
|
|
2543
2708
|
serializedName: "parameters",
|
|
2544
2709
|
type: {
|
|
2545
2710
|
name: "Composite",
|
|
2546
2711
|
className: "ConversationPIITaskParameters"
|
|
2547
2712
|
}
|
|
2548
|
-
}
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2549
2715
|
}
|
|
2550
2716
|
};
|
|
2551
2717
|
const AnalyzeConversationSummarizationTask = {
|
|
@@ -2555,13 +2721,16 @@ const AnalyzeConversationSummarizationTask = {
|
|
|
2555
2721
|
className: "AnalyzeConversationSummarizationTask",
|
|
2556
2722
|
uberParent: "TaskIdentifier",
|
|
2557
2723
|
polymorphicDiscriminator: TaskIdentifier.type.polymorphicDiscriminator,
|
|
2558
|
-
modelProperties:
|
|
2724
|
+
modelProperties: {
|
|
2725
|
+
...AnalyzeConversationLROTask.type.modelProperties,
|
|
2726
|
+
parameters: {
|
|
2559
2727
|
serializedName: "parameters",
|
|
2560
2728
|
type: {
|
|
2561
2729
|
name: "Composite",
|
|
2562
2730
|
className: "ConversationSummarizationTaskParameters"
|
|
2563
2731
|
}
|
|
2564
|
-
}
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2565
2734
|
}
|
|
2566
2735
|
};
|
|
2567
2736
|
const AnalyzeConversationPIIResult = {
|
|
@@ -2571,13 +2740,16 @@ const AnalyzeConversationPIIResult = {
|
|
|
2571
2740
|
className: "AnalyzeConversationPIIResult",
|
|
2572
2741
|
uberParent: "TaskStateAutoGenerated",
|
|
2573
2742
|
polymorphicDiscriminator: TaskStateAutoGenerated.type.polymorphicDiscriminator,
|
|
2574
|
-
modelProperties:
|
|
2743
|
+
modelProperties: {
|
|
2744
|
+
...AnalyzeConversationJobResult.type.modelProperties,
|
|
2745
|
+
results: {
|
|
2575
2746
|
serializedName: "results",
|
|
2576
2747
|
type: {
|
|
2577
2748
|
name: "Composite",
|
|
2578
2749
|
className: "ConversationPIIResults"
|
|
2579
2750
|
}
|
|
2580
|
-
}
|
|
2751
|
+
}
|
|
2752
|
+
}
|
|
2581
2753
|
}
|
|
2582
2754
|
};
|
|
2583
2755
|
const AnalyzeConversationSummarizationResult = {
|
|
@@ -2587,20 +2759,25 @@ const AnalyzeConversationSummarizationResult = {
|
|
|
2587
2759
|
className: "AnalyzeConversationSummarizationResult",
|
|
2588
2760
|
uberParent: "TaskStateAutoGenerated",
|
|
2589
2761
|
polymorphicDiscriminator: TaskStateAutoGenerated.type.polymorphicDiscriminator,
|
|
2590
|
-
modelProperties:
|
|
2762
|
+
modelProperties: {
|
|
2763
|
+
...AnalyzeConversationJobResult.type.modelProperties,
|
|
2764
|
+
results: {
|
|
2591
2765
|
serializedName: "results",
|
|
2592
2766
|
type: {
|
|
2593
2767
|
name: "Composite",
|
|
2594
2768
|
className: "SummaryResult"
|
|
2595
2769
|
}
|
|
2596
|
-
}
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2597
2772
|
}
|
|
2598
2773
|
};
|
|
2599
2774
|
const ConversationPIITaskParameters = {
|
|
2600
2775
|
type: {
|
|
2601
2776
|
name: "Composite",
|
|
2602
2777
|
className: "ConversationPIITaskParameters",
|
|
2603
|
-
modelProperties:
|
|
2778
|
+
modelProperties: {
|
|
2779
|
+
...PreBuiltTaskParameters.type.modelProperties,
|
|
2780
|
+
piiCategories: {
|
|
2604
2781
|
constraints: {
|
|
2605
2782
|
UniqueItems: true
|
|
2606
2783
|
},
|
|
@@ -2613,25 +2790,30 @@ const ConversationPIITaskParameters = {
|
|
|
2613
2790
|
}
|
|
2614
2791
|
}
|
|
2615
2792
|
}
|
|
2616
|
-
},
|
|
2793
|
+
},
|
|
2794
|
+
includeAudioRedaction: {
|
|
2617
2795
|
defaultValue: false,
|
|
2618
2796
|
serializedName: "includeAudioRedaction",
|
|
2619
2797
|
type: {
|
|
2620
2798
|
name: "Boolean"
|
|
2621
2799
|
}
|
|
2622
|
-
},
|
|
2800
|
+
},
|
|
2801
|
+
redactionSource: {
|
|
2623
2802
|
serializedName: "redactionSource",
|
|
2624
2803
|
type: {
|
|
2625
2804
|
name: "String"
|
|
2626
2805
|
}
|
|
2627
|
-
}
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2628
2808
|
}
|
|
2629
2809
|
};
|
|
2630
2810
|
const ConversationSummarizationTaskParameters = {
|
|
2631
2811
|
type: {
|
|
2632
2812
|
name: "Composite",
|
|
2633
2813
|
className: "ConversationSummarizationTaskParameters",
|
|
2634
|
-
modelProperties:
|
|
2814
|
+
modelProperties: {
|
|
2815
|
+
...PreBuiltTaskParameters.type.modelProperties,
|
|
2816
|
+
summaryAspects: {
|
|
2635
2817
|
serializedName: "summaryAspects",
|
|
2636
2818
|
required: true,
|
|
2637
2819
|
type: {
|
|
@@ -2642,7 +2824,8 @@ const ConversationSummarizationTaskParameters = {
|
|
|
2642
2824
|
}
|
|
2643
2825
|
}
|
|
2644
2826
|
}
|
|
2645
|
-
}
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2646
2829
|
}
|
|
2647
2830
|
};
|
|
2648
2831
|
const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
|
|
@@ -2906,7 +3089,6 @@ let ConversationAnalysisClient$1 = class ConversationAnalysisClient extends core
|
|
|
2906
3089
|
* @param options The parameter options
|
|
2907
3090
|
*/
|
|
2908
3091
|
constructor(endpoint, options) {
|
|
2909
|
-
var _a, _b;
|
|
2910
3092
|
if (endpoint === undefined) {
|
|
2911
3093
|
throw new Error("'endpoint' cannot be null");
|
|
2912
3094
|
}
|
|
@@ -2921,11 +3103,16 @@ let ConversationAnalysisClient$1 = class ConversationAnalysisClient extends core
|
|
|
2921
3103
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2922
3104
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2923
3105
|
: `${packageDetails}`;
|
|
2924
|
-
const optionsWithDefaults =
|
|
3106
|
+
const optionsWithDefaults = {
|
|
3107
|
+
...defaults,
|
|
3108
|
+
...options,
|
|
3109
|
+
userAgentOptions: {
|
|
2925
3110
|
userAgentPrefix
|
|
2926
|
-
},
|
|
3111
|
+
},
|
|
3112
|
+
baseUri: options.endpoint ?? options.baseUri ?? "{Endpoint}/language"
|
|
3113
|
+
};
|
|
2927
3114
|
super(optionsWithDefaults);
|
|
2928
|
-
if (
|
|
3115
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
2929
3116
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
2930
3117
|
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
2931
3118
|
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
@@ -2990,14 +3177,19 @@ let ConversationAnalysisClient$1 = class ConversationAnalysisClient extends core
|
|
|
2990
3177
|
return this.sendOperationRequest(args, spec);
|
|
2991
3178
|
};
|
|
2992
3179
|
const sendOperation = async (args, spec) => {
|
|
2993
|
-
var _a;
|
|
2994
3180
|
let currentRawResponse = undefined;
|
|
2995
|
-
const providedCallback =
|
|
3181
|
+
const providedCallback = args.options?.onResponse;
|
|
2996
3182
|
const callback = (rawResponse, flatResponse) => {
|
|
2997
3183
|
currentRawResponse = rawResponse;
|
|
2998
|
-
providedCallback
|
|
3184
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
3185
|
+
};
|
|
3186
|
+
const updatedArgs = {
|
|
3187
|
+
...args,
|
|
3188
|
+
options: {
|
|
3189
|
+
...args.options,
|
|
3190
|
+
onResponse: callback
|
|
3191
|
+
}
|
|
2999
3192
|
};
|
|
3000
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3001
3193
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
3002
3194
|
return {
|
|
3003
3195
|
flatResponse,
|
|
@@ -3010,8 +3202,8 @@ let ConversationAnalysisClient$1 = class ConversationAnalysisClient extends core
|
|
|
3010
3202
|
};
|
|
3011
3203
|
const lro = new LroImpl(sendOperation, { task, options }, conversationAnalysisOperationSpec);
|
|
3012
3204
|
const poller = new coreLro.LroEngine(lro, {
|
|
3013
|
-
resumeFrom: options
|
|
3014
|
-
intervalInMs: options
|
|
3205
|
+
resumeFrom: options?.resumeFrom,
|
|
3206
|
+
intervalInMs: options?.updateIntervalInMs
|
|
3015
3207
|
});
|
|
3016
3208
|
await poller.poll();
|
|
3017
3209
|
return poller;
|