@azure/ai-language-text 1.1.0-alpha.20221101.3 → 1.1.0-alpha.20221102.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 +92 -140
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +0 -17
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +13 -13
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +77 -107
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/textAnalysisClient.js.map +1 -1
- package/dist-esm/src/transforms.js.map +1 -1
- package/package.json +1 -1
- package/types/ai-language-text.d.ts +52 -55
package/dist/index.js
CHANGED
@@ -30,7 +30,6 @@ function _interopNamespace(e) {
|
|
30
30
|
}
|
31
31
|
|
32
32
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
33
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
34
33
|
|
35
34
|
// Copyright (c) Microsoft Corporation.
|
36
35
|
// Licensed under the MIT license.
|
@@ -1630,41 +1629,6 @@ const AbstractiveSummarizationTaskParametersBase = {
|
|
1630
1629
|
type: {
|
1631
1630
|
name: "String"
|
1632
1631
|
}
|
1633
|
-
},
|
1634
|
-
phraseControls: {
|
1635
|
-
serializedName: "phraseControls",
|
1636
|
-
type: {
|
1637
|
-
name: "Sequence",
|
1638
|
-
element: {
|
1639
|
-
type: {
|
1640
|
-
name: "Composite",
|
1641
|
-
className: "PhraseControl"
|
1642
|
-
}
|
1643
|
-
}
|
1644
|
-
}
|
1645
|
-
}
|
1646
|
-
}
|
1647
|
-
}
|
1648
|
-
};
|
1649
|
-
const PhraseControl = {
|
1650
|
-
type: {
|
1651
|
-
name: "Composite",
|
1652
|
-
className: "PhraseControl",
|
1653
|
-
modelProperties: {
|
1654
|
-
targetPhrase: {
|
1655
|
-
serializedName: "targetPhrase",
|
1656
|
-
required: true,
|
1657
|
-
type: {
|
1658
|
-
name: "String"
|
1659
|
-
}
|
1660
|
-
},
|
1661
|
-
strategy: {
|
1662
|
-
serializedName: "strategy",
|
1663
|
-
required: true,
|
1664
|
-
type: {
|
1665
|
-
name: "Enum",
|
1666
|
-
allowedValues: ["encourage", "discourage", "disallow"]
|
1667
|
-
}
|
1668
1632
|
}
|
1669
1633
|
}
|
1670
1634
|
}
|
@@ -1682,7 +1646,7 @@ const AbstractiveSummarizationResultBase = {
|
|
1682
1646
|
element: {
|
1683
1647
|
type: {
|
1684
1648
|
name: "Composite",
|
1685
|
-
className: "
|
1649
|
+
className: "AbstractiveSummaryDocumentResultWithDetectedLanguage"
|
1686
1650
|
}
|
1687
1651
|
}
|
1688
1652
|
}
|
@@ -2436,6 +2400,11 @@ const TemporalSpanResolution = {
|
|
2436
2400
|
type: {
|
2437
2401
|
name: "String"
|
2438
2402
|
}
|
2403
|
+
}, timex: {
|
2404
|
+
serializedName: "timex",
|
2405
|
+
type: {
|
2406
|
+
name: "String"
|
2407
|
+
}
|
2439
2408
|
} })
|
2440
2409
|
}
|
2441
2410
|
};
|
@@ -2754,10 +2723,10 @@ const PiiResultDocumentsItem = {
|
|
2754
2723
|
modelProperties: Object.assign(Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2755
2724
|
}
|
2756
2725
|
};
|
2757
|
-
const
|
2726
|
+
const ExtractedSummaryDocumentResultWithDetectedLanguage = {
|
2758
2727
|
type: {
|
2759
2728
|
name: "Composite",
|
2760
|
-
className: "
|
2729
|
+
className: "ExtractedSummaryDocumentResultWithDetectedLanguage",
|
2761
2730
|
modelProperties: Object.assign(Object.assign({}, ExtractedSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2762
2731
|
}
|
2763
2732
|
};
|
@@ -2768,10 +2737,10 @@ const KeyPhraseResultDocumentsItem = {
|
|
2768
2737
|
modelProperties: Object.assign(Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2769
2738
|
}
|
2770
2739
|
};
|
2771
|
-
const
|
2740
|
+
const AbstractiveSummaryDocumentResultWithDetectedLanguage = {
|
2772
2741
|
type: {
|
2773
2742
|
name: "Composite",
|
2774
|
-
className: "
|
2743
|
+
className: "AbstractiveSummaryDocumentResultWithDetectedLanguage",
|
2775
2744
|
modelProperties: Object.assign(Object.assign({}, AbstractiveSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2776
2745
|
}
|
2777
2746
|
};
|
@@ -2882,7 +2851,7 @@ const ExtractiveSummarizationResult = {
|
|
2882
2851
|
element: {
|
2883
2852
|
type: {
|
2884
2853
|
name: "Composite",
|
2885
|
-
className: "
|
2854
|
+
className: "ExtractedSummaryDocumentResultWithDetectedLanguage"
|
2886
2855
|
}
|
2887
2856
|
}
|
2888
2857
|
}
|
@@ -2965,8 +2934,8 @@ const CustomEntitiesLROTask = {
|
|
2965
2934
|
type: {
|
2966
2935
|
name: "Composite",
|
2967
2936
|
className: "CustomEntitiesLROTask",
|
2968
|
-
uberParent: "
|
2969
|
-
polymorphicDiscriminator:
|
2937
|
+
uberParent: "AnalyzeBatchAction",
|
2938
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
2970
2939
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
2971
2940
|
serializedName: "parameters",
|
2972
2941
|
type: {
|
@@ -2981,8 +2950,8 @@ const CustomSingleLabelClassificationLROTask = {
|
|
2981
2950
|
type: {
|
2982
2951
|
name: "Composite",
|
2983
2952
|
className: "CustomSingleLabelClassificationLROTask",
|
2984
|
-
uberParent: "
|
2985
|
-
polymorphicDiscriminator:
|
2953
|
+
uberParent: "AnalyzeBatchAction",
|
2954
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
2986
2955
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
2987
2956
|
serializedName: "parameters",
|
2988
2957
|
type: {
|
@@ -2997,8 +2966,8 @@ const CustomMultiLabelClassificationLROTask = {
|
|
2997
2966
|
type: {
|
2998
2967
|
name: "Composite",
|
2999
2968
|
className: "CustomMultiLabelClassificationLROTask",
|
3000
|
-
uberParent: "
|
3001
|
-
polymorphicDiscriminator:
|
2969
|
+
uberParent: "AnalyzeBatchAction",
|
2970
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3002
2971
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3003
2972
|
serializedName: "parameters",
|
3004
2973
|
type: {
|
@@ -3013,8 +2982,8 @@ const HealthcareLROTask = {
|
|
3013
2982
|
type: {
|
3014
2983
|
name: "Composite",
|
3015
2984
|
className: "HealthcareLROTask",
|
3016
|
-
uberParent: "
|
3017
|
-
polymorphicDiscriminator:
|
2985
|
+
uberParent: "AnalyzeBatchAction",
|
2986
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3018
2987
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3019
2988
|
serializedName: "parameters",
|
3020
2989
|
type: {
|
@@ -3029,8 +2998,8 @@ const SentimentAnalysisLROTask = {
|
|
3029
2998
|
type: {
|
3030
2999
|
name: "Composite",
|
3031
3000
|
className: "SentimentAnalysisLROTask",
|
3032
|
-
uberParent: "
|
3033
|
-
polymorphicDiscriminator:
|
3001
|
+
uberParent: "AnalyzeBatchAction",
|
3002
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3034
3003
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3035
3004
|
serializedName: "parameters",
|
3036
3005
|
type: {
|
@@ -3045,8 +3014,8 @@ const EntitiesLROTask = {
|
|
3045
3014
|
type: {
|
3046
3015
|
name: "Composite",
|
3047
3016
|
className: "EntitiesLROTask",
|
3048
|
-
uberParent: "
|
3049
|
-
polymorphicDiscriminator:
|
3017
|
+
uberParent: "AnalyzeBatchAction",
|
3018
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3050
3019
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3051
3020
|
serializedName: "parameters",
|
3052
3021
|
type: {
|
@@ -3061,8 +3030,8 @@ const EntityLinkingLROTask = {
|
|
3061
3030
|
type: {
|
3062
3031
|
name: "Composite",
|
3063
3032
|
className: "EntityLinkingLROTask",
|
3064
|
-
uberParent: "
|
3065
|
-
polymorphicDiscriminator:
|
3033
|
+
uberParent: "AnalyzeBatchAction",
|
3034
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3066
3035
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3067
3036
|
serializedName: "parameters",
|
3068
3037
|
type: {
|
@@ -3077,8 +3046,8 @@ const PiiLROTask = {
|
|
3077
3046
|
type: {
|
3078
3047
|
name: "Composite",
|
3079
3048
|
className: "PiiLROTask",
|
3080
|
-
uberParent: "
|
3081
|
-
polymorphicDiscriminator:
|
3049
|
+
uberParent: "AnalyzeBatchAction",
|
3050
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3082
3051
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3083
3052
|
serializedName: "parameters",
|
3084
3053
|
type: {
|
@@ -3093,8 +3062,8 @@ const ExtractiveSummarizationLROTask = {
|
|
3093
3062
|
type: {
|
3094
3063
|
name: "Composite",
|
3095
3064
|
className: "ExtractiveSummarizationLROTask",
|
3096
|
-
uberParent: "
|
3097
|
-
polymorphicDiscriminator:
|
3065
|
+
uberParent: "AnalyzeBatchAction",
|
3066
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3098
3067
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3099
3068
|
serializedName: "parameters",
|
3100
3069
|
type: {
|
@@ -3109,8 +3078,8 @@ const KeyPhraseLROTask = {
|
|
3109
3078
|
type: {
|
3110
3079
|
name: "Composite",
|
3111
3080
|
className: "KeyPhraseLROTask",
|
3112
|
-
uberParent: "
|
3113
|
-
polymorphicDiscriminator:
|
3081
|
+
uberParent: "AnalyzeBatchAction",
|
3082
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3114
3083
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3115
3084
|
serializedName: "parameters",
|
3116
3085
|
type: {
|
@@ -3125,8 +3094,8 @@ const AbstractiveSummarizationLROTask = {
|
|
3125
3094
|
type: {
|
3126
3095
|
name: "Composite",
|
3127
3096
|
className: "AbstractiveSummarizationLROTask",
|
3128
|
-
uberParent: "
|
3129
|
-
polymorphicDiscriminator:
|
3097
|
+
uberParent: "AnalyzeBatchAction",
|
3098
|
+
polymorphicDiscriminator: AnalyzeBatchAction.type.polymorphicDiscriminator,
|
3130
3099
|
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3131
3100
|
serializedName: "parameters",
|
3132
3101
|
type: {
|
@@ -3141,8 +3110,8 @@ const EntityRecognitionLROResult = {
|
|
3141
3110
|
type: {
|
3142
3111
|
name: "Composite",
|
3143
3112
|
className: "EntityRecognitionLROResult",
|
3144
|
-
uberParent: "
|
3145
|
-
polymorphicDiscriminator:
|
3113
|
+
uberParent: "AnalyzeTextLROResult",
|
3114
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3146
3115
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3147
3116
|
serializedName: "results",
|
3148
3117
|
type: {
|
@@ -3157,8 +3126,8 @@ const CustomEntityRecognitionLROResult = {
|
|
3157
3126
|
type: {
|
3158
3127
|
name: "Composite",
|
3159
3128
|
className: "CustomEntityRecognitionLROResult",
|
3160
|
-
uberParent: "
|
3161
|
-
polymorphicDiscriminator:
|
3129
|
+
uberParent: "AnalyzeTextLROResult",
|
3130
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3162
3131
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3163
3132
|
serializedName: "results",
|
3164
3133
|
type: {
|
@@ -3173,8 +3142,8 @@ const CustomSingleLabelClassificationLROResult = {
|
|
3173
3142
|
type: {
|
3174
3143
|
name: "Composite",
|
3175
3144
|
className: "CustomSingleLabelClassificationLROResult",
|
3176
|
-
uberParent: "
|
3177
|
-
polymorphicDiscriminator:
|
3145
|
+
uberParent: "AnalyzeTextLROResult",
|
3146
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3178
3147
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3179
3148
|
serializedName: "results",
|
3180
3149
|
type: {
|
@@ -3189,8 +3158,8 @@ const CustomMultiLabelClassificationLROResult = {
|
|
3189
3158
|
type: {
|
3190
3159
|
name: "Composite",
|
3191
3160
|
className: "CustomMultiLabelClassificationLROResult",
|
3192
|
-
uberParent: "
|
3193
|
-
polymorphicDiscriminator:
|
3161
|
+
uberParent: "AnalyzeTextLROResult",
|
3162
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3194
3163
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3195
3164
|
serializedName: "results",
|
3196
3165
|
type: {
|
@@ -3205,8 +3174,8 @@ const EntityLinkingLROResult = {
|
|
3205
3174
|
type: {
|
3206
3175
|
name: "Composite",
|
3207
3176
|
className: "EntityLinkingLROResult",
|
3208
|
-
uberParent: "
|
3209
|
-
polymorphicDiscriminator:
|
3177
|
+
uberParent: "AnalyzeTextLROResult",
|
3178
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3210
3179
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3211
3180
|
serializedName: "results",
|
3212
3181
|
type: {
|
@@ -3221,8 +3190,8 @@ const PiiEntityRecognitionLROResult = {
|
|
3221
3190
|
type: {
|
3222
3191
|
name: "Composite",
|
3223
3192
|
className: "PiiEntityRecognitionLROResult",
|
3224
|
-
uberParent: "
|
3225
|
-
polymorphicDiscriminator:
|
3193
|
+
uberParent: "AnalyzeTextLROResult",
|
3194
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3226
3195
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3227
3196
|
serializedName: "results",
|
3228
3197
|
type: {
|
@@ -3237,8 +3206,8 @@ const ExtractiveSummarizationLROResult = {
|
|
3237
3206
|
type: {
|
3238
3207
|
name: "Composite",
|
3239
3208
|
className: "ExtractiveSummarizationLROResult",
|
3240
|
-
uberParent: "
|
3241
|
-
polymorphicDiscriminator:
|
3209
|
+
uberParent: "AnalyzeTextLROResult",
|
3210
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3242
3211
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3243
3212
|
serializedName: "results",
|
3244
3213
|
type: {
|
@@ -3253,8 +3222,8 @@ const HealthcareLROResult = {
|
|
3253
3222
|
type: {
|
3254
3223
|
name: "Composite",
|
3255
3224
|
className: "HealthcareLROResult",
|
3256
|
-
uberParent: "
|
3257
|
-
polymorphicDiscriminator:
|
3225
|
+
uberParent: "AnalyzeTextLROResult",
|
3226
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3258
3227
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3259
3228
|
serializedName: "results",
|
3260
3229
|
type: {
|
@@ -3269,8 +3238,8 @@ const SentimentLROResult = {
|
|
3269
3238
|
type: {
|
3270
3239
|
name: "Composite",
|
3271
3240
|
className: "SentimentLROResult",
|
3272
|
-
uberParent: "
|
3273
|
-
polymorphicDiscriminator:
|
3241
|
+
uberParent: "AnalyzeTextLROResult",
|
3242
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3274
3243
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3275
3244
|
serializedName: "results",
|
3276
3245
|
type: {
|
@@ -3285,8 +3254,8 @@ const KeyPhraseExtractionLROResult = {
|
|
3285
3254
|
type: {
|
3286
3255
|
name: "Composite",
|
3287
3256
|
className: "KeyPhraseExtractionLROResult",
|
3288
|
-
uberParent: "
|
3289
|
-
polymorphicDiscriminator:
|
3257
|
+
uberParent: "AnalyzeTextLROResult",
|
3258
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3290
3259
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3291
3260
|
serializedName: "results",
|
3292
3261
|
type: {
|
@@ -3301,8 +3270,8 @@ const AbstractiveSummarizationLROResult = {
|
|
3301
3270
|
type: {
|
3302
3271
|
name: "Composite",
|
3303
3272
|
className: "AbstractiveSummarizationLROResult",
|
3304
|
-
uberParent: "
|
3305
|
-
polymorphicDiscriminator:
|
3273
|
+
uberParent: "AnalyzeTextLROResult",
|
3274
|
+
polymorphicDiscriminator: AnalyzeTextLROResult.type.polymorphicDiscriminator,
|
3306
3275
|
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3307
3276
|
serializedName: "results",
|
3308
3277
|
type: {
|
@@ -3572,28 +3541,28 @@ let discriminators = {
|
|
3572
3541
|
"BaseResolution.OrdinalResolution": OrdinalResolution,
|
3573
3542
|
"BaseResolution.TemporalSpanResolution": TemporalSpanResolution,
|
3574
3543
|
"BaseResolution.NumericRangeResolution": NumericRangeResolution,
|
3575
|
-
"
|
3576
|
-
"
|
3577
|
-
"
|
3578
|
-
"
|
3579
|
-
"
|
3580
|
-
"
|
3581
|
-
"
|
3582
|
-
"
|
3583
|
-
"
|
3584
|
-
"
|
3585
|
-
"
|
3586
|
-
"
|
3587
|
-
"
|
3588
|
-
"
|
3589
|
-
"
|
3590
|
-
"
|
3591
|
-
"
|
3592
|
-
"
|
3593
|
-
"
|
3594
|
-
"
|
3595
|
-
"
|
3596
|
-
"
|
3544
|
+
"AnalyzeBatchAction.CustomEntityRecognition": CustomEntitiesLROTask,
|
3545
|
+
"AnalyzeBatchAction.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask,
|
3546
|
+
"AnalyzeBatchAction.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask,
|
3547
|
+
"AnalyzeBatchAction.Healthcare": HealthcareLROTask,
|
3548
|
+
"AnalyzeBatchAction.SentimentAnalysis": SentimentAnalysisLROTask,
|
3549
|
+
"AnalyzeBatchAction.EntityRecognition": EntitiesLROTask,
|
3550
|
+
"AnalyzeBatchAction.EntityLinking": EntityLinkingLROTask,
|
3551
|
+
"AnalyzeBatchAction.PiiEntityRecognition": PiiLROTask,
|
3552
|
+
"AnalyzeBatchAction.ExtractiveSummarization": ExtractiveSummarizationLROTask,
|
3553
|
+
"AnalyzeBatchAction.KeyPhraseExtraction": KeyPhraseLROTask,
|
3554
|
+
"AnalyzeBatchAction.AbstractiveSummarization": AbstractiveSummarizationLROTask,
|
3555
|
+
"AnalyzeTextLROResult.EntityRecognitionLROResults": EntityRecognitionLROResult,
|
3556
|
+
"AnalyzeTextLROResult.CustomEntityRecognitionLROResults": CustomEntityRecognitionLROResult,
|
3557
|
+
"AnalyzeTextLROResult.CustomSingleLabelClassificationLROResults": CustomSingleLabelClassificationLROResult,
|
3558
|
+
"AnalyzeTextLROResult.CustomMultiLabelClassificationLROResults": CustomMultiLabelClassificationLROResult,
|
3559
|
+
"AnalyzeTextLROResult.EntityLinkingLROResults": EntityLinkingLROResult,
|
3560
|
+
"AnalyzeTextLROResult.PiiEntityRecognitionLROResults": PiiEntityRecognitionLROResult,
|
3561
|
+
"AnalyzeTextLROResult.ExtractiveSummarizationLROResults": ExtractiveSummarizationLROResult,
|
3562
|
+
"AnalyzeTextLROResult.HealthcareLROResults": HealthcareLROResult,
|
3563
|
+
"AnalyzeTextLROResult.SentimentAnalysisLROResults": SentimentLROResult,
|
3564
|
+
"AnalyzeTextLROResult.KeyPhraseExtractionLROResults": KeyPhraseExtractionLROResult,
|
3565
|
+
"AnalyzeTextLROResult.AbstractiveSummarizationLROResults": AbstractiveSummarizationLROResult
|
3597
3566
|
};
|
3598
3567
|
|
3599
3568
|
var Mappers = /*#__PURE__*/Object.freeze({
|
@@ -3644,7 +3613,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
3644
3613
|
SummarySentence: SummarySentence,
|
3645
3614
|
Pagination: Pagination,
|
3646
3615
|
AbstractiveSummarizationTaskParametersBase: AbstractiveSummarizationTaskParametersBase,
|
3647
|
-
PhraseControl: PhraseControl,
|
3648
3616
|
AbstractiveSummarizationResultBase: AbstractiveSummarizationResultBase,
|
3649
3617
|
AbstractiveSummary: AbstractiveSummary,
|
3650
3618
|
SummaryContext: SummaryContext,
|
@@ -3704,9 +3672,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
3704
3672
|
EntitiesResultDocumentsItem: EntitiesResultDocumentsItem,
|
3705
3673
|
EntityLinkingResultDocumentsItem: EntityLinkingResultDocumentsItem,
|
3706
3674
|
PiiResultDocumentsItem: PiiResultDocumentsItem,
|
3707
|
-
|
3675
|
+
ExtractedSummaryDocumentResultWithDetectedLanguage: ExtractedSummaryDocumentResultWithDetectedLanguage,
|
3708
3676
|
KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
|
3709
|
-
|
3677
|
+
AbstractiveSummaryDocumentResultWithDetectedLanguage: AbstractiveSummaryDocumentResultWithDetectedLanguage,
|
3710
3678
|
HealthcareResult: HealthcareResult,
|
3711
3679
|
SentimentResponse: SentimentResponse,
|
3712
3680
|
EntitiesResult: EntitiesResult,
|
@@ -4430,22 +4398,6 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
|
|
4430
4398
|
userAgentPrefix
|
4431
4399
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{Endpoint}/language" });
|
4432
4400
|
super(optionsWithDefaults);
|
4433
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
4434
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
4435
|
-
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
4436
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
4437
|
-
if (!bearerTokenAuthenticationPolicyFound) {
|
4438
|
-
this.pipeline.removePolicy({
|
4439
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
4440
|
-
});
|
4441
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
4442
|
-
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
4443
|
-
challengeCallbacks: {
|
4444
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
4445
|
-
}
|
4446
|
-
}));
|
4447
|
-
}
|
4448
|
-
}
|
4449
4401
|
// Parameter assignments
|
4450
4402
|
this.endpoint = endpoint;
|
4451
4403
|
// Assigning values to Constant parameters
|
@@ -5383,28 +5335,28 @@ var KnownFhirVersion;
|
|
5383
5335
|
/** Four01 */
|
5384
5336
|
KnownFhirVersion["Four01"] = "4.0.1";
|
5385
5337
|
})(KnownFhirVersion || (KnownFhirVersion = {}));
|
5386
|
-
/** Known values of {@link
|
5387
|
-
exports.
|
5388
|
-
(function (
|
5338
|
+
/** Known values of {@link HealthcareDocumentType} that the service accepts. */
|
5339
|
+
exports.KnownHealthcareDocumentType = void 0;
|
5340
|
+
(function (KnownHealthcareDocumentType) {
|
5389
5341
|
/** None */
|
5390
|
-
|
5342
|
+
KnownHealthcareDocumentType["None"] = "None";
|
5391
5343
|
/** ClinicalTrial */
|
5392
|
-
|
5344
|
+
KnownHealthcareDocumentType["ClinicalTrial"] = "ClinicalTrial";
|
5393
5345
|
/** DischargeSummary */
|
5394
|
-
|
5346
|
+
KnownHealthcareDocumentType["DischargeSummary"] = "DischargeSummary";
|
5395
5347
|
/** ProgressNote */
|
5396
|
-
|
5348
|
+
KnownHealthcareDocumentType["ProgressNote"] = "ProgressNote";
|
5397
5349
|
/** HistoryAndPhysical */
|
5398
|
-
|
5350
|
+
KnownHealthcareDocumentType["HistoryAndPhysical"] = "HistoryAndPhysical";
|
5399
5351
|
/** Consult */
|
5400
|
-
|
5352
|
+
KnownHealthcareDocumentType["Consult"] = "Consult";
|
5401
5353
|
/** Imaging */
|
5402
|
-
|
5354
|
+
KnownHealthcareDocumentType["Imaging"] = "Imaging";
|
5403
5355
|
/** Pathology */
|
5404
|
-
|
5356
|
+
KnownHealthcareDocumentType["Pathology"] = "Pathology";
|
5405
5357
|
/** ProcedureNote */
|
5406
|
-
|
5407
|
-
})(exports.
|
5358
|
+
KnownHealthcareDocumentType["ProcedureNote"] = "ProcedureNote";
|
5359
|
+
})(exports.KnownHealthcareDocumentType || (exports.KnownHealthcareDocumentType = {}));
|
5408
5360
|
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
5409
5361
|
exports.KnownHealthcareEntityCategory = void 0;
|
5410
5362
|
(function (KnownHealthcareEntityCategory) {
|