@azure/search-documents 11.3.0-beta.6 → 11.3.0

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 (90) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +73 -35
  3. package/dist/index.js +839 -2940
  4. package/dist/index.js.map +1 -1
  5. package/dist-esm/src/constants.js +1 -1
  6. package/dist-esm/src/constants.js.map +1 -1
  7. package/dist-esm/src/generated/data/index.js +0 -1
  8. package/dist-esm/src/generated/data/index.js.map +1 -1
  9. package/dist-esm/src/generated/data/models/index.js +1 -202
  10. package/dist-esm/src/generated/data/models/index.js.map +1 -1
  11. package/dist-esm/src/generated/data/models/mappers.js +1 -138
  12. package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
  13. package/dist-esm/src/generated/data/models/parameters.js +13 -72
  14. package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
  15. package/dist-esm/src/generated/data/operations/documents.js +51 -23
  16. package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
  17. package/dist-esm/src/generated/data/searchClient.js +2 -2
  18. package/dist-esm/src/generated/data/searchClient.js.map +1 -1
  19. package/dist-esm/src/generated/data/searchClientContext.js +11 -13
  20. package/dist-esm/src/generated/data/searchClientContext.js.map +1 -1
  21. package/dist-esm/src/generated/service/index.js +0 -1
  22. package/dist-esm/src/generated/service/index.js.map +1 -1
  23. package/dist-esm/src/generated/service/models/index.js +1 -904
  24. package/dist-esm/src/generated/service/models/index.js.map +1 -1
  25. package/dist-esm/src/generated/service/models/mappers.js +11 -674
  26. package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
  27. package/dist-esm/src/generated/service/models/parameters.js +1 -37
  28. package/dist-esm/src/generated/service/models/parameters.js.map +1 -1
  29. package/dist-esm/src/generated/service/operations/dataSources.js +30 -13
  30. package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
  31. package/dist-esm/src/generated/service/operations/indexers.js +45 -45
  32. package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
  33. package/dist-esm/src/generated/service/operations/indexes.js +40 -11
  34. package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
  35. package/dist-esm/src/generated/service/operations/skillsets.js +30 -43
  36. package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
  37. package/dist-esm/src/generated/service/operations/synonymMaps.js +29 -9
  38. package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
  39. package/dist-esm/src/generated/service/searchServiceClient.js +12 -9
  40. package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
  41. package/dist-esm/src/generated/service/searchServiceClientContext.js +11 -13
  42. package/dist-esm/src/generated/service/searchServiceClientContext.js.map +1 -1
  43. package/dist-esm/src/geographyPoint.js +1 -1
  44. package/dist-esm/src/geographyPoint.js.map +1 -1
  45. package/dist-esm/src/index.js +3 -4
  46. package/dist-esm/src/index.js.map +1 -1
  47. package/dist-esm/src/indexDocumentsBatch.js +1 -1
  48. package/dist-esm/src/indexDocumentsBatch.js.map +1 -1
  49. package/dist-esm/src/indexModels.js.map +1 -1
  50. package/dist-esm/src/odataMetadataPolicy.js +15 -7
  51. package/dist-esm/src/odataMetadataPolicy.js.map +1 -1
  52. package/dist-esm/src/searchApiKeyCredentialPolicy.js +21 -8
  53. package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +1 -1
  54. package/dist-esm/src/searchAudience.js +21 -0
  55. package/dist-esm/src/searchAudience.js.map +1 -0
  56. package/dist-esm/src/searchClient.js +56 -77
  57. package/dist-esm/src/searchClient.js.map +1 -1
  58. package/dist-esm/src/searchIndexClient.js +57 -70
  59. package/dist-esm/src/searchIndexClient.js.map +1 -1
  60. package/dist-esm/src/searchIndexerClient.js +65 -119
  61. package/dist-esm/src/searchIndexerClient.js.map +1 -1
  62. package/dist-esm/src/searchIndexingBufferedSender.js +11 -11
  63. package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
  64. package/dist-esm/src/serialization.js +5 -5
  65. package/dist-esm/src/serialization.js.map +1 -1
  66. package/dist-esm/src/serviceModels.js.map +1 -1
  67. package/dist-esm/src/serviceUtils.js +31 -69
  68. package/dist-esm/src/serviceUtils.js.map +1 -1
  69. package/dist-esm/src/synonymMapHelper.js +2 -6
  70. package/dist-esm/src/synonymMapHelper.js.map +1 -1
  71. package/dist-esm/src/tracing.js +1 -1
  72. package/dist-esm/src/tracing.js.map +1 -1
  73. package/package.json +38 -38
  74. package/types/search-documents.d.ts +188 -1049
  75. package/dist-esm/src/generated/data/operationsInterfaces/documents.js +0 -9
  76. package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +0 -1
  77. package/dist-esm/src/generated/data/operationsInterfaces/index.js +0 -9
  78. package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +0 -1
  79. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js +0 -9
  80. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +0 -1
  81. package/dist-esm/src/generated/service/operationsInterfaces/index.js +0 -13
  82. package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +0 -1
  83. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js +0 -9
  84. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +0 -1
  85. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js +0 -9
  86. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +0 -1
  87. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js +0 -9
  88. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +0 -1
  89. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js +0 -9
  90. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +0 -1
@@ -44,13 +44,6 @@ export const SearchIndexerDataSource = {
44
44
  className: "SearchIndexerDataContainer"
45
45
  }
46
46
  },
47
- identity: {
48
- serializedName: "identity",
49
- type: {
50
- name: "Composite",
51
- className: "SearchIndexerDataIdentity"
52
- }
53
- },
54
47
  dataChangeDetectionPolicy: {
55
48
  serializedName: "dataChangeDetectionPolicy",
56
49
  type: {
@@ -116,26 +109,6 @@ export const SearchIndexerDataContainer = {
116
109
  }
117
110
  }
118
111
  };
119
- export const SearchIndexerDataIdentity = {
120
- type: {
121
- name: "Composite",
122
- className: "SearchIndexerDataIdentity",
123
- uberParent: "SearchIndexerDataIdentity",
124
- polymorphicDiscriminator: {
125
- serializedName: "@odata\\.type",
126
- clientName: "odatatype"
127
- },
128
- modelProperties: {
129
- odatatype: {
130
- serializedName: "@odata\\.type",
131
- required: true,
132
- type: {
133
- name: "String"
134
- }
135
- }
136
- }
137
- }
138
- };
139
112
  export const DataChangeDetectionPolicy = {
140
113
  type: {
141
114
  name: "Composite",
@@ -143,7 +116,7 @@ export const DataChangeDetectionPolicy = {
143
116
  uberParent: "DataChangeDetectionPolicy",
144
117
  polymorphicDiscriminator: {
145
118
  serializedName: "@odata\\.type",
146
- clientName: "odatatype"
119
+ clientName: "@odata\\.type"
147
120
  },
148
121
  modelProperties: {
149
122
  odatatype: {
@@ -163,7 +136,7 @@ export const DataDeletionDetectionPolicy = {
163
136
  uberParent: "DataDeletionDetectionPolicy",
164
137
  polymorphicDiscriminator: {
165
138
  serializedName: "@odata\\.type",
166
- clientName: "odatatype"
139
+ clientName: "@odata\\.type"
167
140
  },
168
141
  modelProperties: {
169
142
  odatatype: {
@@ -208,13 +181,6 @@ export const SearchResourceEncryptionKey = {
208
181
  name: "Composite",
209
182
  className: "AzureActiveDirectoryApplicationCredentials"
210
183
  }
211
- },
212
- identity: {
213
- serializedName: "identity",
214
- type: {
215
- name: "Composite",
216
- className: "SearchIndexerDataIdentity"
217
- }
218
184
  }
219
185
  }
220
186
  }
@@ -298,36 +264,6 @@ export const ListDataSourcesResult = {
298
264
  }
299
265
  }
300
266
  };
301
- export const DocumentKeysOrIds = {
302
- type: {
303
- name: "Composite",
304
- className: "DocumentKeysOrIds",
305
- modelProperties: {
306
- documentKeys: {
307
- serializedName: "documentKeys",
308
- type: {
309
- name: "Sequence",
310
- element: {
311
- type: {
312
- name: "String"
313
- }
314
- }
315
- }
316
- },
317
- datasourceDocumentIds: {
318
- serializedName: "datasourceDocumentIds",
319
- type: {
320
- name: "Sequence",
321
- element: {
322
- type: {
323
- name: "String"
324
- }
325
- }
326
- }
327
- }
328
- }
329
- }
330
- };
331
267
  export const SearchIndexer = {
332
268
  type: {
333
269
  name: "Composite",
@@ -405,7 +341,6 @@ export const SearchIndexer = {
405
341
  }
406
342
  },
407
343
  isDisabled: {
408
- defaultValue: false,
409
344
  serializedName: "disabled",
410
345
  nullable: true,
411
346
  type: {
@@ -424,13 +359,6 @@ export const SearchIndexer = {
424
359
  name: "Composite",
425
360
  className: "SearchResourceEncryptionKey"
426
361
  }
427
- },
428
- cache: {
429
- serializedName: "cache",
430
- type: {
431
- name: "Composite",
432
- className: "SearchIndexerCache"
433
- }
434
362
  }
435
363
  }
436
364
  }
@@ -469,7 +397,6 @@ export const IndexingParameters = {
469
397
  }
470
398
  },
471
399
  maxFailedItems: {
472
- defaultValue: 0,
473
400
  serializedName: "maxFailedItems",
474
401
  nullable: true,
475
402
  type: {
@@ -477,7 +404,6 @@ export const IndexingParameters = {
477
404
  }
478
405
  },
479
406
  maxFailedItemsPerBatch: {
480
- defaultValue: 0,
481
407
  serializedName: "maxFailedItemsPerBatch",
482
408
  nullable: true,
483
409
  type: {
@@ -508,35 +434,30 @@ export const IndexingParametersConfiguration = {
508
434
  }
509
435
  },
510
436
  excludedFileNameExtensions: {
511
- defaultValue: "",
512
437
  serializedName: "excludedFileNameExtensions",
513
438
  type: {
514
439
  name: "String"
515
440
  }
516
441
  },
517
442
  indexedFileNameExtensions: {
518
- defaultValue: "",
519
443
  serializedName: "indexedFileNameExtensions",
520
444
  type: {
521
445
  name: "String"
522
446
  }
523
447
  },
524
448
  failOnUnsupportedContentType: {
525
- defaultValue: false,
526
449
  serializedName: "failOnUnsupportedContentType",
527
450
  type: {
528
451
  name: "Boolean"
529
452
  }
530
453
  },
531
454
  failOnUnprocessableDocument: {
532
- defaultValue: false,
533
455
  serializedName: "failOnUnprocessableDocument",
534
456
  type: {
535
457
  name: "Boolean"
536
458
  }
537
459
  },
538
460
  indexStorageMetadataOnlyForOversizedDocuments: {
539
- defaultValue: false,
540
461
  serializedName: "indexStorageMetadataOnlyForOversizedDocuments",
541
462
  type: {
542
463
  name: "Boolean"
@@ -582,7 +503,6 @@ export const IndexingParametersConfiguration = {
582
503
  }
583
504
  },
584
505
  allowSkillsetToReadFileData: {
585
- defaultValue: false,
586
506
  serializedName: "allowSkillsetToReadFileData",
587
507
  type: {
588
508
  name: "Boolean"
@@ -654,33 +574,9 @@ export const FieldMappingFunction = {
654
574
  },
655
575
  parameters: {
656
576
  serializedName: "parameters",
657
- nullable: true,
658
577
  type: {
659
578
  name: "Dictionary",
660
- value: {
661
- type: { name: "Dictionary", value: { type: { name: "any" } } }
662
- }
663
- }
664
- }
665
- }
666
- }
667
- };
668
- export const SearchIndexerCache = {
669
- type: {
670
- name: "Composite",
671
- className: "SearchIndexerCache",
672
- modelProperties: {
673
- storageConnectionString: {
674
- serializedName: "storageConnectionString",
675
- type: {
676
- name: "String"
677
- }
678
- },
679
- enableReprocessing: {
680
- serializedName: "enableReprocessing",
681
- nullable: true,
682
- type: {
683
- name: "Boolean"
579
+ value: { type: { name: "any" } }
684
580
  }
685
581
  }
686
582
  }
@@ -767,20 +663,6 @@ export const IndexerExecutionResult = {
767
663
  allowedValues: ["transientFailure", "success", "inProgress", "reset"]
768
664
  }
769
665
  },
770
- statusDetail: {
771
- serializedName: "statusDetail",
772
- readOnly: true,
773
- type: {
774
- name: "String"
775
- }
776
- },
777
- currentState: {
778
- serializedName: "currentState",
779
- type: {
780
- name: "Composite",
781
- className: "IndexerState"
782
- }
783
- },
784
666
  errorMessage: {
785
667
  serializedName: "errorMessage",
786
668
  readOnly: true,
@@ -864,73 +746,6 @@ export const IndexerExecutionResult = {
864
746
  }
865
747
  }
866
748
  };
867
- export const IndexerState = {
868
- type: {
869
- name: "Composite",
870
- className: "IndexerState",
871
- modelProperties: {
872
- mode: {
873
- serializedName: "mode",
874
- readOnly: true,
875
- type: {
876
- name: "String"
877
- }
878
- },
879
- allDocumentsInitialChangeTrackingState: {
880
- serializedName: "allDocsInitialChangeTrackingState",
881
- readOnly: true,
882
- type: {
883
- name: "String"
884
- }
885
- },
886
- allDocumentsFinalChangeTrackingState: {
887
- serializedName: "allDocsFinalChangeTrackingState",
888
- readOnly: true,
889
- type: {
890
- name: "String"
891
- }
892
- },
893
- resetDocumentsInitialChangeTrackingState: {
894
- serializedName: "resetDocsInitialChangeTrackingState",
895
- readOnly: true,
896
- type: {
897
- name: "String"
898
- }
899
- },
900
- resetDocumentsFinalChangeTrackingState: {
901
- serializedName: "resetDocsFinalChangeTrackingState",
902
- readOnly: true,
903
- type: {
904
- name: "String"
905
- }
906
- },
907
- resetDocumentKeys: {
908
- serializedName: "resetDocumentKeys",
909
- readOnly: true,
910
- type: {
911
- name: "Sequence",
912
- element: {
913
- type: {
914
- name: "String"
915
- }
916
- }
917
- }
918
- },
919
- resetDatasourceDocumentIds: {
920
- serializedName: "resetDatasourceDocumentIds",
921
- readOnly: true,
922
- type: {
923
- name: "Sequence",
924
- element: {
925
- type: {
926
- name: "String"
927
- }
928
- }
929
- }
930
- }
931
- }
932
- }
933
- };
934
749
  export const SearchIndexerError = {
935
750
  type: {
936
751
  name: "Composite",
@@ -1124,7 +939,7 @@ export const SearchIndexerSkill = {
1124
939
  uberParent: "SearchIndexerSkill",
1125
940
  polymorphicDiscriminator: {
1126
941
  serializedName: "@odata\\.type",
1127
- clientName: "odatatype"
942
+ clientName: "@odata\\.type"
1128
943
  },
1129
944
  modelProperties: {
1130
945
  odatatype: {
@@ -1248,7 +1063,7 @@ export const CognitiveServicesAccount = {
1248
1063
  uberParent: "CognitiveServicesAccount",
1249
1064
  polymorphicDiscriminator: {
1250
1065
  serializedName: "@odata\\.type",
1251
- clientName: "odatatype"
1066
+ clientName: "@odata\\.type"
1252
1067
  },
1253
1068
  modelProperties: {
1254
1069
  odatatype: {
@@ -1405,25 +1220,6 @@ export const ListSkillsetsResult = {
1405
1220
  }
1406
1221
  }
1407
1222
  };
1408
- export const SkillNames = {
1409
- type: {
1410
- name: "Composite",
1411
- className: "SkillNames",
1412
- modelProperties: {
1413
- skillNames: {
1414
- serializedName: "skillNames",
1415
- type: {
1416
- name: "Sequence",
1417
- element: {
1418
- type: {
1419
- name: "String"
1420
- }
1421
- }
1422
- }
1423
- }
1424
- }
1425
- }
1426
- };
1427
1223
  export const SynonymMap = {
1428
1224
  type: {
1429
1225
  name: "Composite",
@@ -1599,18 +1395,6 @@ export const SearchIndex = {
1599
1395
  }
1600
1396
  }
1601
1397
  },
1602
- normalizers: {
1603
- serializedName: "normalizers",
1604
- type: {
1605
- name: "Sequence",
1606
- element: {
1607
- type: {
1608
- name: "Composite",
1609
- className: "LexicalNormalizer"
1610
- }
1611
- }
1612
- }
1613
- },
1614
1398
  encryptionKey: {
1615
1399
  serializedName: "encryptionKey",
1616
1400
  type: {
@@ -1625,13 +1409,6 @@ export const SearchIndex = {
1625
1409
  className: "Similarity"
1626
1410
  }
1627
1411
  },
1628
- semanticSettings: {
1629
- serializedName: "semantic",
1630
- type: {
1631
- name: "Composite",
1632
- className: "SemanticSettings"
1633
- }
1634
- },
1635
1412
  etag: {
1636
1413
  serializedName: "@odata\\.etag",
1637
1414
  type: {
@@ -1717,13 +1494,6 @@ export const SearchField = {
1717
1494
  name: "String"
1718
1495
  }
1719
1496
  },
1720
- normalizer: {
1721
- serializedName: "normalizer",
1722
- nullable: true,
1723
- type: {
1724
- name: "String"
1725
- }
1726
- },
1727
1497
  synonymMaps: {
1728
1498
  serializedName: "synonymMaps",
1729
1499
  type: {
@@ -1923,7 +1693,7 @@ export const LexicalAnalyzer = {
1923
1693
  uberParent: "LexicalAnalyzer",
1924
1694
  polymorphicDiscriminator: {
1925
1695
  serializedName: "@odata\\.type",
1926
- clientName: "odatatype"
1696
+ clientName: "@odata\\.type"
1927
1697
  },
1928
1698
  modelProperties: {
1929
1699
  odatatype: {
@@ -1950,7 +1720,7 @@ export const LexicalTokenizer = {
1950
1720
  uberParent: "LexicalTokenizer",
1951
1721
  polymorphicDiscriminator: {
1952
1722
  serializedName: "@odata\\.type",
1953
- clientName: "odatatype"
1723
+ clientName: "@odata\\.type"
1954
1724
  },
1955
1725
  modelProperties: {
1956
1726
  odatatype: {
@@ -1977,7 +1747,7 @@ export const TokenFilter = {
1977
1747
  uberParent: "TokenFilter",
1978
1748
  polymorphicDiscriminator: {
1979
1749
  serializedName: "@odata\\.type",
1980
- clientName: "odatatype"
1750
+ clientName: "@odata\\.type"
1981
1751
  },
1982
1752
  modelProperties: {
1983
1753
  odatatype: {
@@ -2004,34 +1774,7 @@ export const CharFilter = {
2004
1774
  uberParent: "CharFilter",
2005
1775
  polymorphicDiscriminator: {
2006
1776
  serializedName: "@odata\\.type",
2007
- clientName: "odatatype"
2008
- },
2009
- modelProperties: {
2010
- odatatype: {
2011
- serializedName: "@odata\\.type",
2012
- required: true,
2013
- type: {
2014
- name: "String"
2015
- }
2016
- },
2017
- name: {
2018
- serializedName: "name",
2019
- required: true,
2020
- type: {
2021
- name: "String"
2022
- }
2023
- }
2024
- }
2025
- }
2026
- };
2027
- export const LexicalNormalizer = {
2028
- type: {
2029
- name: "Composite",
2030
- className: "LexicalNormalizer",
2031
- uberParent: "LexicalNormalizer",
2032
- polymorphicDiscriminator: {
2033
- serializedName: "@odata\\.type",
2034
- clientName: "odatatype"
1777
+ clientName: "@odata\\.type"
2035
1778
  },
2036
1779
  modelProperties: {
2037
1780
  odatatype: {
@@ -2058,7 +1801,7 @@ export const Similarity = {
2058
1801
  uberParent: "Similarity",
2059
1802
  polymorphicDiscriminator: {
2060
1803
  serializedName: "@odata\\.type",
2061
- clientName: "odatatype"
1804
+ clientName: "@odata\\.type"
2062
1805
  },
2063
1806
  modelProperties: {
2064
1807
  odatatype: {
@@ -2071,101 +1814,6 @@ export const Similarity = {
2071
1814
  }
2072
1815
  }
2073
1816
  };
2074
- export const SemanticSettings = {
2075
- type: {
2076
- name: "Composite",
2077
- className: "SemanticSettings",
2078
- modelProperties: {
2079
- configurations: {
2080
- serializedName: "configurations",
2081
- type: {
2082
- name: "Sequence",
2083
- element: {
2084
- type: {
2085
- name: "Composite",
2086
- className: "SemanticConfiguration"
2087
- }
2088
- }
2089
- }
2090
- }
2091
- }
2092
- }
2093
- };
2094
- export const SemanticConfiguration = {
2095
- type: {
2096
- name: "Composite",
2097
- className: "SemanticConfiguration",
2098
- modelProperties: {
2099
- name: {
2100
- serializedName: "name",
2101
- required: true,
2102
- type: {
2103
- name: "String"
2104
- }
2105
- },
2106
- prioritizedFields: {
2107
- serializedName: "prioritizedFields",
2108
- type: {
2109
- name: "Composite",
2110
- className: "PrioritizedFields"
2111
- }
2112
- }
2113
- }
2114
- }
2115
- };
2116
- export const PrioritizedFields = {
2117
- type: {
2118
- name: "Composite",
2119
- className: "PrioritizedFields",
2120
- modelProperties: {
2121
- titleField: {
2122
- serializedName: "titleField",
2123
- type: {
2124
- name: "Composite",
2125
- className: "SemanticField"
2126
- }
2127
- },
2128
- prioritizedContentFields: {
2129
- serializedName: "prioritizedContentFields",
2130
- type: {
2131
- name: "Sequence",
2132
- element: {
2133
- type: {
2134
- name: "Composite",
2135
- className: "SemanticField"
2136
- }
2137
- }
2138
- }
2139
- },
2140
- prioritizedKeywordsFields: {
2141
- serializedName: "prioritizedKeywordsFields",
2142
- type: {
2143
- name: "Sequence",
2144
- element: {
2145
- type: {
2146
- name: "Composite",
2147
- className: "SemanticField"
2148
- }
2149
- }
2150
- }
2151
- }
2152
- }
2153
- }
2154
- };
2155
- export const SemanticField = {
2156
- type: {
2157
- name: "Composite",
2158
- className: "SemanticField",
2159
- modelProperties: {
2160
- name: {
2161
- serializedName: "fieldName",
2162
- type: {
2163
- name: "String"
2164
- }
2165
- }
2166
- }
2167
- }
2168
- };
2169
1817
  export const ListIndexesResult = {
2170
1818
  type: {
2171
1819
  name: "Composite",
@@ -2236,12 +1884,6 @@ export const AnalyzeRequest = {
2236
1884
  name: "String"
2237
1885
  }
2238
1886
  },
2239
- normalizer: {
2240
- serializedName: "normalizer",
2241
- type: {
2242
- name: "String"
2243
- }
2244
- },
2245
1887
  tokenFilters: {
2246
1888
  serializedName: "tokenFilters",
2247
1889
  type: {
@@ -2679,32 +2321,6 @@ export const CustomEntityAlias = {
2679
2321
  }
2680
2322
  }
2681
2323
  };
2682
- export const SearchIndexerDataNoneIdentity = {
2683
- serializedName: "#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity",
2684
- type: {
2685
- name: "Composite",
2686
- className: "SearchIndexerDataNoneIdentity",
2687
- uberParent: "SearchIndexerDataIdentity",
2688
- polymorphicDiscriminator: SearchIndexerDataIdentity.type.polymorphicDiscriminator,
2689
- modelProperties: Object.assign({}, SearchIndexerDataIdentity.type.modelProperties)
2690
- }
2691
- };
2692
- export const SearchIndexerDataUserAssignedIdentity = {
2693
- serializedName: "#Microsoft.Azure.Search.SearchIndexerDataUserAssignedIdentity",
2694
- type: {
2695
- name: "Composite",
2696
- className: "SearchIndexerDataUserAssignedIdentity",
2697
- uberParent: "SearchIndexerDataIdentity",
2698
- polymorphicDiscriminator: SearchIndexerDataIdentity.type.polymorphicDiscriminator,
2699
- modelProperties: Object.assign(Object.assign({}, SearchIndexerDataIdentity.type.modelProperties), { userAssignedIdentity: {
2700
- serializedName: "userAssignedIdentity",
2701
- required: true,
2702
- type: {
2703
- name: "String"
2704
- }
2705
- } })
2706
- }
2707
- };
2708
2324
  export const HighWaterMarkChangeDetectionPolicy = {
2709
2325
  serializedName: "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
2710
2326
  type: {
@@ -2801,16 +2417,10 @@ export const OcrSkill = {
2801
2417
  name: "String"
2802
2418
  }
2803
2419
  }, shouldDetectOrientation: {
2804
- defaultValue: false,
2805
2420
  serializedName: "detectOrientation",
2806
2421
  type: {
2807
2422
  name: "Boolean"
2808
2423
  }
2809
- }, lineEnding: {
2810
- serializedName: "lineEnding",
2811
- type: {
2812
- name: "String"
2813
- }
2814
2424
  } })
2815
2425
  }
2816
2426
  };
@@ -2955,170 +2565,6 @@ export const SentimentSkill = {
2955
2565
  } })
2956
2566
  }
2957
2567
  };
2958
- export const SentimentSkillV3 = {
2959
- serializedName: "#Microsoft.Skills.Text.V3.SentimentSkill",
2960
- type: {
2961
- name: "Composite",
2962
- className: "SentimentSkillV3",
2963
- uberParent: "SearchIndexerSkill",
2964
- polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
2965
- modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { defaultLanguageCode: {
2966
- serializedName: "defaultLanguageCode",
2967
- nullable: true,
2968
- type: {
2969
- name: "String"
2970
- }
2971
- }, includeOpinionMining: {
2972
- defaultValue: false,
2973
- serializedName: "includeOpinionMining",
2974
- type: {
2975
- name: "Boolean"
2976
- }
2977
- }, modelVersion: {
2978
- serializedName: "modelVersion",
2979
- nullable: true,
2980
- type: {
2981
- name: "String"
2982
- }
2983
- } })
2984
- }
2985
- };
2986
- export const EntityLinkingSkill = {
2987
- serializedName: "#Microsoft.Skills.Text.V3.EntityLinkingSkill",
2988
- type: {
2989
- name: "Composite",
2990
- className: "EntityLinkingSkill",
2991
- uberParent: "SearchIndexerSkill",
2992
- polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
2993
- modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { defaultLanguageCode: {
2994
- serializedName: "defaultLanguageCode",
2995
- nullable: true,
2996
- type: {
2997
- name: "String"
2998
- }
2999
- }, minimumPrecision: {
3000
- constraints: {
3001
- InclusiveMaximum: 1,
3002
- InclusiveMinimum: 0
3003
- },
3004
- serializedName: "minimumPrecision",
3005
- nullable: true,
3006
- type: {
3007
- name: "Number"
3008
- }
3009
- }, modelVersion: {
3010
- serializedName: "modelVersion",
3011
- nullable: true,
3012
- type: {
3013
- name: "String"
3014
- }
3015
- } })
3016
- }
3017
- };
3018
- export const EntityRecognitionSkillV3 = {
3019
- serializedName: "#Microsoft.Skills.Text.V3.EntityRecognitionSkill",
3020
- type: {
3021
- name: "Composite",
3022
- className: "EntityRecognitionSkillV3",
3023
- uberParent: "SearchIndexerSkill",
3024
- polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
3025
- modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { categories: {
3026
- serializedName: "categories",
3027
- type: {
3028
- name: "Sequence",
3029
- element: {
3030
- type: {
3031
- name: "String"
3032
- }
3033
- }
3034
- }
3035
- }, defaultLanguageCode: {
3036
- serializedName: "defaultLanguageCode",
3037
- nullable: true,
3038
- type: {
3039
- name: "String"
3040
- }
3041
- }, minimumPrecision: {
3042
- constraints: {
3043
- InclusiveMaximum: 1,
3044
- InclusiveMinimum: 0
3045
- },
3046
- serializedName: "minimumPrecision",
3047
- nullable: true,
3048
- type: {
3049
- name: "Number"
3050
- }
3051
- }, modelVersion: {
3052
- serializedName: "modelVersion",
3053
- nullable: true,
3054
- type: {
3055
- name: "String"
3056
- }
3057
- } })
3058
- }
3059
- };
3060
- export const PIIDetectionSkill = {
3061
- serializedName: "#Microsoft.Skills.Text.PIIDetectionSkill",
3062
- type: {
3063
- name: "Composite",
3064
- className: "PIIDetectionSkill",
3065
- uberParent: "SearchIndexerSkill",
3066
- polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
3067
- modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { defaultLanguageCode: {
3068
- serializedName: "defaultLanguageCode",
3069
- nullable: true,
3070
- type: {
3071
- name: "String"
3072
- }
3073
- }, minimumPrecision: {
3074
- constraints: {
3075
- InclusiveMaximum: 1,
3076
- InclusiveMinimum: 0
3077
- },
3078
- serializedName: "minimumPrecision",
3079
- nullable: true,
3080
- type: {
3081
- name: "Number"
3082
- }
3083
- }, maskingMode: {
3084
- serializedName: "maskingMode",
3085
- type: {
3086
- name: "String"
3087
- }
3088
- }, maskingCharacter: {
3089
- constraints: {
3090
- MaxLength: 1
3091
- },
3092
- serializedName: "maskingCharacter",
3093
- nullable: true,
3094
- type: {
3095
- name: "String"
3096
- }
3097
- }, modelVersion: {
3098
- serializedName: "modelVersion",
3099
- nullable: true,
3100
- type: {
3101
- name: "String"
3102
- }
3103
- }, piiCategories: {
3104
- serializedName: "piiCategories",
3105
- type: {
3106
- name: "Sequence",
3107
- element: {
3108
- type: {
3109
- name: "String"
3110
- }
3111
- }
3112
- }
3113
- }, domain: {
3114
- serializedName: "domain",
3115
- nullable: true,
3116
- type: {
3117
- name: "String"
3118
- }
3119
- } })
3120
- }
3121
- };
3122
2568
  export const SplitSkill = {
3123
2569
  serializedName: "#Microsoft.Skills.Text.SplitSkill",
3124
2570
  type: {
@@ -3248,9 +2694,7 @@ export const DocumentExtractionSkill = {
3248
2694
  nullable: true,
3249
2695
  type: {
3250
2696
  name: "Dictionary",
3251
- value: {
3252
- type: { name: "Dictionary", value: { type: { name: "any" } } }
3253
- }
2697
+ value: { type: { name: "any" } }
3254
2698
  }
3255
2699
  } })
3256
2700
  }
@@ -3299,52 +2743,6 @@ export const WebApiSkill = {
3299
2743
  } })
3300
2744
  }
3301
2745
  };
3302
- export const AzureMachineLearningSkill = {
3303
- serializedName: "#Microsoft.Skills.Custom.AmlSkill",
3304
- type: {
3305
- name: "Composite",
3306
- className: "AzureMachineLearningSkill",
3307
- uberParent: "SearchIndexerSkill",
3308
- polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
3309
- modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { scoringUri: {
3310
- serializedName: "uri",
3311
- nullable: true,
3312
- type: {
3313
- name: "String"
3314
- }
3315
- }, authenticationKey: {
3316
- serializedName: "key",
3317
- nullable: true,
3318
- type: {
3319
- name: "String"
3320
- }
3321
- }, resourceId: {
3322
- serializedName: "resourceId",
3323
- nullable: true,
3324
- type: {
3325
- name: "String"
3326
- }
3327
- }, timeout: {
3328
- serializedName: "timeout",
3329
- nullable: true,
3330
- type: {
3331
- name: "TimeSpan"
3332
- }
3333
- }, region: {
3334
- serializedName: "region",
3335
- nullable: true,
3336
- type: {
3337
- name: "String"
3338
- }
3339
- }, degreeOfParallelism: {
3340
- serializedName: "degreeOfParallelism",
3341
- nullable: true,
3342
- type: {
3343
- name: "Number"
3344
- }
3345
- } })
3346
- }
3347
- };
3348
2746
  export const DefaultCognitiveServicesAccount = {
3349
2747
  serializedName: "#Microsoft.Azure.Search.DefaultCognitiveServices",
3350
2748
  type: {
@@ -3699,7 +3097,6 @@ export const MicrosoftLanguageTokenizer = {
3699
3097
  name: "Number"
3700
3098
  }
3701
3099
  }, isSearchTokenizer: {
3702
- defaultValue: false,
3703
3100
  serializedName: "isSearchTokenizer",
3704
3101
  type: {
3705
3102
  name: "Boolean"
@@ -3773,7 +3170,6 @@ export const MicrosoftLanguageStemmingTokenizer = {
3773
3170
  name: "Number"
3774
3171
  }
3775
3172
  }, isSearchTokenizer: {
3776
- defaultValue: false,
3777
3173
  serializedName: "isSearchTokenizer",
3778
3174
  type: {
3779
3175
  name: "Boolean"
@@ -3907,13 +3303,11 @@ export const PathHierarchyTokenizerV2 = {
3907
3303
  name: "Number"
3908
3304
  }
3909
3305
  }, reverseTokenOrder: {
3910
- defaultValue: false,
3911
3306
  serializedName: "reverse",
3912
3307
  type: {
3913
3308
  name: "Boolean"
3914
3309
  }
3915
3310
  }, numberOfTokensToSkip: {
3916
- defaultValue: 0,
3917
3311
  serializedName: "skip",
3918
3312
  type: {
3919
3313
  name: "Number"
@@ -4010,7 +3404,6 @@ export const AsciiFoldingTokenFilter = {
4010
3404
  uberParent: "TokenFilter",
4011
3405
  polymorphicDiscriminator: TokenFilter.type.polymorphicDiscriminator,
4012
3406
  modelProperties: Object.assign(Object.assign({}, TokenFilter.type.modelProperties), { preserveOriginal: {
4013
- defaultValue: false,
4014
3407
  serializedName: "preserveOriginal",
4015
3408
  type: {
4016
3409
  name: "Boolean"
@@ -4037,7 +3430,6 @@ export const CjkBigramTokenFilter = {
4037
3430
  }
4038
3431
  }
4039
3432
  }, outputUnigrams: {
4040
- defaultValue: false,
4041
3433
  serializedName: "outputUnigrams",
4042
3434
  type: {
4043
3435
  name: "Boolean"
@@ -4064,13 +3456,11 @@ export const CommonGramTokenFilter = {
4064
3456
  }
4065
3457
  }
4066
3458
  }, ignoreCase: {
4067
- defaultValue: false,
4068
3459
  serializedName: "ignoreCase",
4069
3460
  type: {
4070
3461
  name: "Boolean"
4071
3462
  }
4072
3463
  }, useQueryMode: {
4073
- defaultValue: false,
4074
3464
  serializedName: "queryMode",
4075
3465
  type: {
4076
3466
  name: "Boolean"
@@ -4124,7 +3514,6 @@ export const DictionaryDecompounderTokenFilter = {
4124
3514
  name: "Number"
4125
3515
  }
4126
3516
  }, onlyLongestMatch: {
4127
- defaultValue: false,
4128
3517
  serializedName: "onlyLongestMatch",
4129
3518
  type: {
4130
3519
  name: "Boolean"
@@ -4233,7 +3622,6 @@ export const KeepTokenFilter = {
4233
3622
  }
4234
3623
  }
4235
3624
  }, lowerCaseKeepWords: {
4236
- defaultValue: false,
4237
3625
  serializedName: "keepWordsCase",
4238
3626
  type: {
4239
3627
  name: "Boolean"
@@ -4260,7 +3648,6 @@ export const KeywordMarkerTokenFilter = {
4260
3648
  }
4261
3649
  }
4262
3650
  }, ignoreCase: {
4263
- defaultValue: false,
4264
3651
  serializedName: "ignoreCase",
4265
3652
  type: {
4266
3653
  name: "Boolean"
@@ -4276,7 +3663,6 @@ export const LengthTokenFilter = {
4276
3663
  uberParent: "TokenFilter",
4277
3664
  polymorphicDiscriminator: TokenFilter.type.polymorphicDiscriminator,
4278
3665
  modelProperties: Object.assign(Object.assign({}, TokenFilter.type.modelProperties), { minLength: {
4279
- defaultValue: 0,
4280
3666
  constraints: {
4281
3667
  InclusiveMaximum: 300
4282
3668
  },
@@ -4310,7 +3696,6 @@ export const LimitTokenFilter = {
4310
3696
  name: "Number"
4311
3697
  }
4312
3698
  }, consumeAllTokens: {
4313
- defaultValue: false,
4314
3699
  serializedName: "consumeAllTokens",
4315
3700
  type: {
4316
3701
  name: "Boolean"
@@ -4483,7 +3868,6 @@ export const ShingleTokenFilter = {
4483
3868
  name: "Boolean"
4484
3869
  }
4485
3870
  }, outputUnigramsIfNoShingles: {
4486
- defaultValue: false,
4487
3871
  serializedName: "outputUnigramsIfNoShingles",
4488
3872
  type: {
4489
3873
  name: "Boolean"
@@ -4692,7 +4076,6 @@ export const StopwordsTokenFilter = {
4692
4076
  ]
4693
4077
  }
4694
4078
  }, ignoreCase: {
4695
- defaultValue: false,
4696
4079
  serializedName: "ignoreCase",
4697
4080
  type: {
4698
4081
  name: "Boolean"
@@ -4725,7 +4108,6 @@ export const SynonymTokenFilter = {
4725
4108
  }
4726
4109
  }
4727
4110
  }, ignoreCase: {
4728
- defaultValue: false,
4729
4111
  serializedName: "ignoreCase",
4730
4112
  type: {
4731
4113
  name: "Boolean"
@@ -4766,7 +4148,6 @@ export const UniqueTokenFilter = {
4766
4148
  uberParent: "TokenFilter",
4767
4149
  polymorphicDiscriminator: TokenFilter.type.polymorphicDiscriminator,
4768
4150
  modelProperties: Object.assign(Object.assign({}, TokenFilter.type.modelProperties), { onlyOnSamePosition: {
4769
- defaultValue: false,
4770
4151
  serializedName: "onlyOnSamePosition",
4771
4152
  type: {
4772
4153
  name: "Boolean"
@@ -4794,19 +4175,16 @@ export const WordDelimiterTokenFilter = {
4794
4175
  name: "Boolean"
4795
4176
  }
4796
4177
  }, catenateWords: {
4797
- defaultValue: false,
4798
4178
  serializedName: "catenateWords",
4799
4179
  type: {
4800
4180
  name: "Boolean"
4801
4181
  }
4802
4182
  }, catenateNumbers: {
4803
- defaultValue: false,
4804
4183
  serializedName: "catenateNumbers",
4805
4184
  type: {
4806
4185
  name: "Boolean"
4807
4186
  }
4808
4187
  }, catenateAll: {
4809
- defaultValue: false,
4810
4188
  serializedName: "catenateAll",
4811
4189
  type: {
4812
4190
  name: "Boolean"
@@ -4818,7 +4196,6 @@ export const WordDelimiterTokenFilter = {
4818
4196
  name: "Boolean"
4819
4197
  }
4820
4198
  }, preserveOriginal: {
4821
- defaultValue: false,
4822
4199
  serializedName: "preserveOriginal",
4823
4200
  type: {
4824
4201
  name: "Boolean"
@@ -4891,36 +4268,6 @@ export const PatternReplaceCharFilter = {
4891
4268
  } })
4892
4269
  }
4893
4270
  };
4894
- export const CustomNormalizer = {
4895
- serializedName: "#Microsoft.Azure.Search.CustomNormalizer",
4896
- type: {
4897
- name: "Composite",
4898
- className: "CustomNormalizer",
4899
- uberParent: "LexicalNormalizer",
4900
- polymorphicDiscriminator: LexicalNormalizer.type.polymorphicDiscriminator,
4901
- modelProperties: Object.assign(Object.assign({}, LexicalNormalizer.type.modelProperties), { tokenFilters: {
4902
- serializedName: "tokenFilters",
4903
- type: {
4904
- name: "Sequence",
4905
- element: {
4906
- type: {
4907
- name: "String"
4908
- }
4909
- }
4910
- }
4911
- }, charFilters: {
4912
- serializedName: "charFilters",
4913
- type: {
4914
- name: "Sequence",
4915
- element: {
4916
- type: {
4917
- name: "String"
4918
- }
4919
- }
4920
- }
4921
- } })
4922
- }
4923
- };
4924
4271
  export const ClassicSimilarity = {
4925
4272
  serializedName: "#Microsoft.Azure.Search.ClassicSimilarity",
4926
4273
  type: {
@@ -4968,7 +4315,6 @@ export const SearchIndexerKnowledgeStoreFileProjectionSelector = {
4968
4315
  }
4969
4316
  };
4970
4317
  export let discriminators = {
4971
- SearchIndexerDataIdentity: SearchIndexerDataIdentity,
4972
4318
  DataChangeDetectionPolicy: DataChangeDetectionPolicy,
4973
4319
  DataDeletionDetectionPolicy: DataDeletionDetectionPolicy,
4974
4320
  SearchIndexerSkill: SearchIndexerSkill,
@@ -4978,10 +4324,7 @@ export let discriminators = {
4978
4324
  LexicalTokenizer: LexicalTokenizer,
4979
4325
  TokenFilter: TokenFilter,
4980
4326
  CharFilter: CharFilter,
4981
- LexicalNormalizer: LexicalNormalizer,
4982
4327
  Similarity: Similarity,
4983
- "SearchIndexerDataIdentity.#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity": SearchIndexerDataNoneIdentity,
4984
- "SearchIndexerDataIdentity.#Microsoft.Azure.Search.SearchIndexerDataUserAssignedIdentity": SearchIndexerDataUserAssignedIdentity,
4985
4328
  "DataChangeDetectionPolicy.#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy": HighWaterMarkChangeDetectionPolicy,
4986
4329
  "DataChangeDetectionPolicy.#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy": SqlIntegratedChangeTrackingPolicy,
4987
4330
  "DataDeletionDetectionPolicy.#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy": SoftDeleteColumnDeletionDetectionPolicy,
@@ -4994,16 +4337,11 @@ export let discriminators = {
4994
4337
  "SearchIndexerSkill.#Microsoft.Skills.Text.MergeSkill": MergeSkill,
4995
4338
  "SearchIndexerSkill.#Microsoft.Skills.Text.EntityRecognitionSkill": EntityRecognitionSkill,
4996
4339
  "SearchIndexerSkill.#Microsoft.Skills.Text.SentimentSkill": SentimentSkill,
4997
- "SearchIndexerSkill.#Microsoft.Skills.Text.V3.SentimentSkill": SentimentSkillV3,
4998
- "SearchIndexerSkill.#Microsoft.Skills.Text.V3.EntityLinkingSkill": EntityLinkingSkill,
4999
- "SearchIndexerSkill.#Microsoft.Skills.Text.V3.EntityRecognitionSkill": EntityRecognitionSkillV3,
5000
- "SearchIndexerSkill.#Microsoft.Skills.Text.PIIDetectionSkill": PIIDetectionSkill,
5001
4340
  "SearchIndexerSkill.#Microsoft.Skills.Text.SplitSkill": SplitSkill,
5002
4341
  "SearchIndexerSkill.#Microsoft.Skills.Text.CustomEntityLookupSkill": CustomEntityLookupSkill,
5003
4342
  "SearchIndexerSkill.#Microsoft.Skills.Text.TranslationSkill": TextTranslationSkill,
5004
4343
  "SearchIndexerSkill.#Microsoft.Skills.Util.DocumentExtractionSkill": DocumentExtractionSkill,
5005
4344
  "SearchIndexerSkill.#Microsoft.Skills.Custom.WebApiSkill": WebApiSkill,
5006
- "SearchIndexerSkill.#Microsoft.Skills.Custom.AmlSkill": AzureMachineLearningSkill,
5007
4345
  "CognitiveServicesAccount.#Microsoft.Azure.Search.DefaultCognitiveServices": DefaultCognitiveServicesAccount,
5008
4346
  "CognitiveServicesAccount.#Microsoft.Azure.Search.CognitiveServicesByKey": CognitiveServicesAccountKey,
5009
4347
  "ScoringFunction.distance": DistanceScoringFunction,
@@ -5053,7 +4391,6 @@ export let discriminators = {
5053
4391
  "TokenFilter.#Microsoft.Azure.Search.WordDelimiterTokenFilter": WordDelimiterTokenFilter,
5054
4392
  "CharFilter.#Microsoft.Azure.Search.MappingCharFilter": MappingCharFilter,
5055
4393
  "CharFilter.#Microsoft.Azure.Search.PatternReplaceCharFilter": PatternReplaceCharFilter,
5056
- "LexicalNormalizer.#Microsoft.Azure.Search.CustomNormalizer": CustomNormalizer,
5057
4394
  "Similarity.#Microsoft.Azure.Search.ClassicSimilarity": ClassicSimilarity,
5058
4395
  "Similarity.#Microsoft.Azure.Search.BM25Similarity": BM25Similarity
5059
4396
  };