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