@azure/ai-text-analytics 5.1.1-alpha.20240826.1 → 5.1.1-alpha.20240828.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.
Files changed (59) hide show
  1. package/dist/index.js +25 -25
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/src/analyzeActionsResult.js +1 -1
  4. package/dist-esm/src/analyzeActionsResult.js.map +1 -1
  5. package/dist-esm/src/analyzeHealthcareEntitiesResult.js +1 -1
  6. package/dist-esm/src/analyzeHealthcareEntitiesResult.js.map +1 -1
  7. package/dist-esm/src/analyzeSentimentResult.js +1 -1
  8. package/dist-esm/src/analyzeSentimentResult.js.map +1 -1
  9. package/dist-esm/src/analyzeSentimentResultArray.js +1 -1
  10. package/dist-esm/src/analyzeSentimentResultArray.js.map +1 -1
  11. package/dist-esm/src/azureKeyCredentialPolicy.js +1 -1
  12. package/dist-esm/src/azureKeyCredentialPolicy.js.map +1 -1
  13. package/dist-esm/src/constants.js +1 -1
  14. package/dist-esm/src/constants.js.map +1 -1
  15. package/dist-esm/src/detectLanguageResult.js +1 -1
  16. package/dist-esm/src/detectLanguageResult.js.map +1 -1
  17. package/dist-esm/src/detectLanguageResultArray.js +1 -1
  18. package/dist-esm/src/detectLanguageResultArray.js.map +1 -1
  19. package/dist-esm/src/extractKeyPhrasesResult.js +1 -1
  20. package/dist-esm/src/extractKeyPhrasesResult.js.map +1 -1
  21. package/dist-esm/src/extractKeyPhrasesResultArray.js +1 -1
  22. package/dist-esm/src/extractKeyPhrasesResultArray.js.map +1 -1
  23. package/dist-esm/src/index.js +1 -1
  24. package/dist-esm/src/index.js.map +1 -1
  25. package/dist-esm/src/logger.js +1 -1
  26. package/dist-esm/src/logger.js.map +1 -1
  27. package/dist-esm/src/lro/analyze/operation.js +1 -1
  28. package/dist-esm/src/lro/analyze/operation.js.map +1 -1
  29. package/dist-esm/src/lro/analyze/poller.js +1 -1
  30. package/dist-esm/src/lro/analyze/poller.js.map +1 -1
  31. package/dist-esm/src/lro/health/operation.js +1 -1
  32. package/dist-esm/src/lro/health/operation.js.map +1 -1
  33. package/dist-esm/src/lro/health/poller.js +1 -1
  34. package/dist-esm/src/lro/health/poller.js.map +1 -1
  35. package/dist-esm/src/lro/poller.js +1 -1
  36. package/dist-esm/src/lro/poller.js.map +1 -1
  37. package/dist-esm/src/recognizeCategorizedEntitiesResult.js +1 -1
  38. package/dist-esm/src/recognizeCategorizedEntitiesResult.js.map +1 -1
  39. package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js +1 -1
  40. package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js.map +1 -1
  41. package/dist-esm/src/recognizeLinkedEntitiesResult.js +1 -1
  42. package/dist-esm/src/recognizeLinkedEntitiesResult.js.map +1 -1
  43. package/dist-esm/src/recognizeLinkedEntitiesResultArray.js +1 -1
  44. package/dist-esm/src/recognizeLinkedEntitiesResultArray.js.map +1 -1
  45. package/dist-esm/src/recognizePiiEntitiesResult.js +1 -1
  46. package/dist-esm/src/recognizePiiEntitiesResult.js.map +1 -1
  47. package/dist-esm/src/recognizePiiEntitiesResultArray.js +1 -1
  48. package/dist-esm/src/recognizePiiEntitiesResultArray.js.map +1 -1
  49. package/dist-esm/src/textAnalyticsAction.js +1 -1
  50. package/dist-esm/src/textAnalyticsAction.js.map +1 -1
  51. package/dist-esm/src/textAnalyticsClient.js +1 -1
  52. package/dist-esm/src/textAnalyticsClient.js.map +1 -1
  53. package/dist-esm/src/textAnalyticsOperationOptions.js +1 -1
  54. package/dist-esm/src/textAnalyticsOperationOptions.js.map +1 -1
  55. package/dist-esm/src/textAnalyticsResult.js +1 -1
  56. package/dist-esm/src/textAnalyticsResult.js.map +1 -1
  57. package/dist-esm/src/util.js +1 -1
  58. package/dist-esm/src/util.js.map +1 -1
  59. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRest
31
31
  var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
32
32
 
33
33
  // Copyright (c) Microsoft Corporation.
34
- // Licensed under the MIT license.
34
+ // Licensed under the MIT License.
35
35
  /**
36
36
  * @internal
37
37
  */
@@ -3151,7 +3151,7 @@ const sentimentOperationSpec = {
3151
3151
  };
3152
3152
 
3153
3153
  // Copyright (c) Microsoft Corporation.
3154
- // Licensed under the MIT license.
3154
+ // Licensed under the MIT License.
3155
3155
  /**
3156
3156
  * The `@azure/logger` configuration for this package.
3157
3157
  * @internal
@@ -3159,7 +3159,7 @@ const sentimentOperationSpec = {
3159
3159
  const logger = logger$1.createClientLogger("ai-text-analytics");
3160
3160
 
3161
3161
  // Copyright (c) Microsoft Corporation.
3162
- // Licensed under the MIT license.
3162
+ // Licensed under the MIT License.
3163
3163
  /**
3164
3164
  * Given a sorted array of input objects (with a unique ID) and an unsorted array of results,
3165
3165
  * return a sorted array of results.
@@ -3357,7 +3357,7 @@ function compose(fn1, fn2) {
3357
3357
  }
3358
3358
 
3359
3359
  // Copyright (c) Microsoft Corporation.
3360
- // Licensed under the MIT license.
3360
+ // Licensed under the MIT License.
3361
3361
  /**
3362
3362
  * Helper function for converting nested service error into
3363
3363
  * the unified TextAnalyticsError
@@ -3424,7 +3424,7 @@ function combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(inp
3424
3424
  }
3425
3425
 
3426
3426
  // Copyright (c) Microsoft Corporation.
3427
- // Licensed under the MIT license.
3427
+ // Licensed under the MIT License.
3428
3428
  /**
3429
3429
  * @internal
3430
3430
  */
@@ -3440,7 +3440,7 @@ function makeDetectLanguageErrorResult(id, error) {
3440
3440
  }
3441
3441
 
3442
3442
  // Copyright (c) Microsoft Corporation.
3443
- // Licensed under the MIT license.
3443
+ // Licensed under the MIT License.
3444
3444
  /**
3445
3445
  * @internal
3446
3446
  */
@@ -3449,7 +3449,7 @@ function makeDetectLanguageResultArray(input, response) {
3449
3449
  }
3450
3450
 
3451
3451
  // Copyright (c) Microsoft Corporation.
3452
- // Licensed under the MIT license.
3452
+ // Licensed under the MIT License.
3453
3453
  /**
3454
3454
  * @internal
3455
3455
  */
@@ -3465,7 +3465,7 @@ function makeRecognizeCategorizedEntitiesErrorResult(id, error) {
3465
3465
  }
3466
3466
 
3467
3467
  // Copyright (c) Microsoft Corporation.
3468
- // Licensed under the MIT license.
3468
+ // Licensed under the MIT License.
3469
3469
  /**
3470
3470
  * @internal
3471
3471
  */
@@ -3474,7 +3474,7 @@ function makeRecognizeCategorizedEntitiesResultArray(input, response) {
3474
3474
  }
3475
3475
 
3476
3476
  // Copyright (c) Microsoft Corporation.
3477
- // Licensed under the MIT license.
3477
+ // Licensed under the MIT License.
3478
3478
  /**
3479
3479
  * @param document - A document result coming from the service.
3480
3480
  * @internal
@@ -3546,7 +3546,7 @@ function convertTargetRelationToAssessmentSentiment(targetRelation, result) {
3546
3546
  }
3547
3547
 
3548
3548
  // Copyright (c) Microsoft Corporation.
3549
- // Licensed under the MIT license.
3549
+ // Licensed under the MIT License.
3550
3550
  /**
3551
3551
  * @internal
3552
3552
  */
@@ -3555,7 +3555,7 @@ function makeAnalyzeSentimentResultArray(input, response) {
3555
3555
  }
3556
3556
 
3557
3557
  // Copyright (c) Microsoft Corporation.
3558
- // Licensed under the MIT license.
3558
+ // Licensed under the MIT License.
3559
3559
  /**
3560
3560
  * @internal
3561
3561
  */
@@ -3571,7 +3571,7 @@ function makeExtractKeyPhrasesErrorResult(id, error) {
3571
3571
  }
3572
3572
 
3573
3573
  // Copyright (c) Microsoft Corporation.
3574
- // Licensed under the MIT license.
3574
+ // Licensed under the MIT License.
3575
3575
  /**
3576
3576
  * @internal
3577
3577
  */
@@ -3580,7 +3580,7 @@ function makeExtractKeyPhrasesResultArray(input, response) {
3580
3580
  }
3581
3581
 
3582
3582
  // Copyright (c) Microsoft Corporation.
3583
- // Licensed under the MIT license.
3583
+ // Licensed under the MIT License.
3584
3584
  /**
3585
3585
  * @internal
3586
3586
  */
@@ -3597,7 +3597,7 @@ function makeRecognizePiiEntitiesErrorResult(id, error) {
3597
3597
  }
3598
3598
 
3599
3599
  // Copyright (c) Microsoft Corporation.
3600
- // Licensed under the MIT license.
3600
+ // Licensed under the MIT License.
3601
3601
  /**
3602
3602
  * @internal
3603
3603
  */
@@ -3606,7 +3606,7 @@ function makeRecognizePiiEntitiesResultArray(input, response) {
3606
3606
  }
3607
3607
 
3608
3608
  // Copyright (c) Microsoft Corporation.
3609
- // Licensed under the MIT license.
3609
+ // Licensed under the MIT License.
3610
3610
  /**
3611
3611
  * @internal
3612
3612
  */
@@ -3622,7 +3622,7 @@ function makeRecognizeLinkedEntitiesErrorResult(id, error) {
3622
3622
  }
3623
3623
 
3624
3624
  // Copyright (c) Microsoft Corporation.
3625
- // Licensed under the MIT license.
3625
+ // Licensed under the MIT License.
3626
3626
  /**
3627
3627
  * @internal
3628
3628
  */
@@ -3631,7 +3631,7 @@ function makeRecognizeLinkedEntitiesResultArray(input, response) {
3631
3631
  }
3632
3632
 
3633
3633
  // Copyright (c) Microsoft Corporation.
3634
- // Licensed under the MIT license.
3634
+ // Licensed under the MIT License.
3635
3635
  const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key";
3636
3636
  /**
3637
3637
  * The programmatic identifier of the textAnalyticsAzureKeyCredentialPolicy.
@@ -3653,7 +3653,7 @@ function textAnalyticsAzureKeyCredentialPolicy(credential) {
3653
3653
  }
3654
3654
 
3655
3655
  // Copyright (c) Microsoft Corporation.
3656
- // Licensed under the MIT license.
3656
+ // Licensed under the MIT License.
3657
3657
  /**
3658
3658
  * Common properties and methods of analysis Pollers.
3659
3659
  * @internal
@@ -3692,7 +3692,7 @@ class AnalysisPollOperation {
3692
3692
  }
3693
3693
 
3694
3694
  // Copyright (c) Microsoft Corporation.
3695
- // Licensed under the MIT license.
3695
+ // Licensed under the MIT License.
3696
3696
  /**
3697
3697
  * Creates a user-friendly healthcare entity represented as a node in a graph
3698
3698
  * @param entity - the healthcare entity returned by the service
@@ -3743,7 +3743,7 @@ function makeHealthcareEntitiesErrorResult(id, error) {
3743
3743
  }
3744
3744
 
3745
3745
  // Copyright (c) Microsoft Corporation.
3746
- // Licensed under the MIT license.
3746
+ // Licensed under the MIT License.
3747
3747
  /**
3748
3748
  * @internal
3749
3749
  */
@@ -3935,7 +3935,7 @@ class BeginAnalyzeHealthcarePollerOperation extends AnalysisPollOperation {
3935
3935
  }
3936
3936
 
3937
3937
  // Copyright (c) Microsoft Corporation.
3938
- // Licensed under the MIT license.
3938
+ // Licensed under the MIT License.
3939
3939
  /**
3940
3940
  * Class that represents a poller that waits for the healthcare results.
3941
3941
  * @internal
@@ -3958,7 +3958,7 @@ class BeginAnalyzeHealthcarePoller extends AnalysisPoller {
3958
3958
  }
3959
3959
 
3960
3960
  // Copyright (c) Microsoft Corporation.
3961
- // Licensed under the MIT license.
3961
+ // Licensed under the MIT License.
3962
3962
  /**
3963
3963
  * Converts the service task name (in the JSON pointer in an action error) to an action type name.
3964
3964
  * @param serviceActionType - The task type name the service uses.
@@ -4109,7 +4109,7 @@ function createAnalyzeActionsResult(response, documents) {
4109
4109
  }
4110
4110
 
4111
4111
  // Copyright (c) Microsoft Corporation.
4112
- // Licensed under the MIT license.
4112
+ // Licensed under the MIT License.
4113
4113
  /**
4114
4114
  * @internal
4115
4115
  */
@@ -4271,7 +4271,7 @@ class BeginAnalyzeActionsPollerOperation extends AnalysisPollOperation {
4271
4271
  }
4272
4272
 
4273
4273
  // Copyright (c) Microsoft Corporation.
4274
- // Licensed under the MIT license.
4274
+ // Licensed under the MIT License.
4275
4275
  /**
4276
4276
  * Class that represents a poller that waits for the analyze actions results.
4277
4277
  * @internal
@@ -4294,7 +4294,7 @@ class BeginAnalyzeActionsPoller extends AnalysisPoller {
4294
4294
  }
4295
4295
 
4296
4296
  // Copyright (c) Microsoft Corporation.
4297
- // Licensed under the MIT license.
4297
+ // Licensed under the MIT License.
4298
4298
  const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
4299
4299
  /**
4300
4300
  * The types of PII domains the user can choose from.