@azure/template 1.0.12-beta.1241072 → 1.0.12-beta.1335029

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 1.0.12-beta.1241072 (2021-12-10)
3
+ ## 1.0.12-beta.1335029 (2022-01-29)
4
4
 
5
5
  - Test Release Pipeline
6
6
 
package/dist/index.js CHANGED
@@ -6,17 +6,25 @@ var coreHttp = require('@azure/core-http');
6
6
  var coreTracing = require('@azure/core-tracing');
7
7
  var logger$1 = require('@azure/logger');
8
8
 
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT license.
11
- const SDK_VERSION = "1.0.12-beta.1241072";
9
+ function _interopNamespace(e) {
10
+ if (e && e.__esModule) return e;
11
+ var n = Object.create(null);
12
+ if (e) {
13
+ Object.keys(e).forEach(function (k) {
14
+ if (k !== 'default') {
15
+ var d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: function () { return e[k]; }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n["default"] = e;
24
+ return Object.freeze(n);
25
+ }
12
26
 
13
- // Copyright (c) Microsoft Corporation.
14
- /**
15
- * The \@azure/logger configuration for this package.
16
- *
17
- * @internal
18
- */
19
- const logger = logger$1.createClientLogger("template");
27
+ var coreHttp__namespace = /*#__PURE__*/_interopNamespace(coreHttp);
20
28
 
21
29
  /*
22
30
  * Copyright (c) Microsoft Corporation.
@@ -791,9 +799,9 @@ const nextLink = {
791
799
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
792
800
  */
793
801
  const packageName = "@azure/template";
794
- const packageVersion = "1.0.12-beta.1241072";
802
+ const packageVersion = "1.0.12-beta.1335029";
795
803
  /** @hidden */
796
- class GeneratedClientContext extends coreHttp.ServiceClient {
804
+ class GeneratedClientContext extends coreHttp__namespace.ServiceClient {
797
805
  /**
798
806
  * Initializes a new instance of the GeneratedClientContext class.
799
807
  * @param endpoint The endpoint of the App Configuration instance to send requests to.
@@ -808,7 +816,7 @@ class GeneratedClientContext extends coreHttp.ServiceClient {
808
816
  options = {};
809
817
  }
810
818
  if (!options.userAgent) {
811
- const defaultUserAgent = coreHttp.getDefaultUserAgentValue();
819
+ const defaultUserAgent = coreHttp__namespace.getDefaultUserAgentValue();
812
820
  options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
813
821
  }
814
822
  super(undefined, options);
@@ -844,7 +852,7 @@ class GeneratedClient extends GeneratedClientContext {
844
852
  */
845
853
  getKeys(options) {
846
854
  const operationArguments = {
847
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
855
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
848
856
  };
849
857
  return this.sendOperationRequest(operationArguments, getKeysOperationSpec);
850
858
  }
@@ -854,7 +862,7 @@ class GeneratedClient extends GeneratedClientContext {
854
862
  */
855
863
  checkKeys(options) {
856
864
  const operationArguments = {
857
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
865
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
858
866
  };
859
867
  return this.sendOperationRequest(operationArguments, checkKeysOperationSpec);
860
868
  }
@@ -864,7 +872,7 @@ class GeneratedClient extends GeneratedClientContext {
864
872
  */
865
873
  getKeyValues(options) {
866
874
  const operationArguments = {
867
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
875
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
868
876
  };
869
877
  return this.sendOperationRequest(operationArguments, getKeyValuesOperationSpec);
870
878
  }
@@ -874,7 +882,7 @@ class GeneratedClient extends GeneratedClientContext {
874
882
  */
875
883
  checkKeyValues(options) {
876
884
  const operationArguments = {
877
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
885
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
878
886
  };
879
887
  return this.sendOperationRequest(operationArguments, checkKeyValuesOperationSpec);
880
888
  }
@@ -886,7 +894,7 @@ class GeneratedClient extends GeneratedClientContext {
886
894
  getKeyValue(key, options) {
887
895
  const operationArguments = {
888
896
  key,
889
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
897
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
890
898
  };
891
899
  return this.sendOperationRequest(operationArguments, getKeyValueOperationSpec);
892
900
  }
@@ -898,7 +906,7 @@ class GeneratedClient extends GeneratedClientContext {
898
906
  putKeyValue(key, options) {
899
907
  const operationArguments = {
900
908
  key,
901
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
909
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
902
910
  };
903
911
  return this.sendOperationRequest(operationArguments, putKeyValueOperationSpec);
904
912
  }
@@ -910,7 +918,7 @@ class GeneratedClient extends GeneratedClientContext {
910
918
  deleteKeyValue(key, options) {
911
919
  const operationArguments = {
912
920
  key,
913
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
921
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
914
922
  };
915
923
  return this.sendOperationRequest(operationArguments, deleteKeyValueOperationSpec);
916
924
  }
@@ -922,7 +930,7 @@ class GeneratedClient extends GeneratedClientContext {
922
930
  checkKeyValue(key, options) {
923
931
  const operationArguments = {
924
932
  key,
925
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
933
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
926
934
  };
927
935
  return this.sendOperationRequest(operationArguments, checkKeyValueOperationSpec);
928
936
  }
@@ -932,7 +940,7 @@ class GeneratedClient extends GeneratedClientContext {
932
940
  */
933
941
  getLabels(options) {
934
942
  const operationArguments = {
935
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
943
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
936
944
  };
937
945
  return this.sendOperationRequest(operationArguments, getLabelsOperationSpec);
938
946
  }
@@ -942,7 +950,7 @@ class GeneratedClient extends GeneratedClientContext {
942
950
  */
943
951
  checkLabels(options) {
944
952
  const operationArguments = {
945
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
953
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
946
954
  };
947
955
  return this.sendOperationRequest(operationArguments, checkLabelsOperationSpec);
948
956
  }
@@ -954,7 +962,7 @@ class GeneratedClient extends GeneratedClientContext {
954
962
  putLock(key, options) {
955
963
  const operationArguments = {
956
964
  key,
957
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
965
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
958
966
  };
959
967
  return this.sendOperationRequest(operationArguments, putLockOperationSpec);
960
968
  }
@@ -966,7 +974,7 @@ class GeneratedClient extends GeneratedClientContext {
966
974
  deleteLock(key, options) {
967
975
  const operationArguments = {
968
976
  key,
969
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
977
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
970
978
  };
971
979
  return this.sendOperationRequest(operationArguments, deleteLockOperationSpec);
972
980
  }
@@ -976,7 +984,7 @@ class GeneratedClient extends GeneratedClientContext {
976
984
  */
977
985
  getRevisions(options) {
978
986
  const operationArguments = {
979
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
987
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
980
988
  };
981
989
  return this.sendOperationRequest(operationArguments, getRevisionsOperationSpec);
982
990
  }
@@ -986,7 +994,7 @@ class GeneratedClient extends GeneratedClientContext {
986
994
  */
987
995
  checkRevisions(options) {
988
996
  const operationArguments = {
989
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
997
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
990
998
  };
991
999
  return this.sendOperationRequest(operationArguments, checkRevisionsOperationSpec);
992
1000
  }
@@ -998,7 +1006,7 @@ class GeneratedClient extends GeneratedClientContext {
998
1006
  getKeysNext(nextLink, options) {
999
1007
  const operationArguments = {
1000
1008
  nextLink,
1001
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
1009
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
1002
1010
  };
1003
1011
  return this.sendOperationRequest(operationArguments, getKeysNextOperationSpec);
1004
1012
  }
@@ -1010,7 +1018,7 @@ class GeneratedClient extends GeneratedClientContext {
1010
1018
  getKeyValuesNext(nextLink, options) {
1011
1019
  const operationArguments = {
1012
1020
  nextLink,
1013
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
1021
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
1014
1022
  };
1015
1023
  return this.sendOperationRequest(operationArguments, getKeyValuesNextOperationSpec);
1016
1024
  }
@@ -1022,7 +1030,7 @@ class GeneratedClient extends GeneratedClientContext {
1022
1030
  getLabelsNext(nextLink, options) {
1023
1031
  const operationArguments = {
1024
1032
  nextLink,
1025
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
1033
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
1026
1034
  };
1027
1035
  return this.sendOperationRequest(operationArguments, getLabelsNextOperationSpec);
1028
1036
  }
@@ -1034,13 +1042,13 @@ class GeneratedClient extends GeneratedClientContext {
1034
1042
  getRevisionsNext(nextLink, options) {
1035
1043
  const operationArguments = {
1036
1044
  nextLink,
1037
- options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
1045
+ options: coreHttp__namespace.operationOptionsToRequestOptionsBase(options || {})
1038
1046
  };
1039
1047
  return this.sendOperationRequest(operationArguments, getRevisionsNextOperationSpec);
1040
1048
  }
1041
1049
  }
1042
1050
  // Operation Specifications
1043
- const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);
1051
+ const serializer = new coreHttp__namespace.Serializer(Mappers, /* isXml */ false);
1044
1052
  const getKeysOperationSpec = {
1045
1053
  path: "/keys",
1046
1054
  httpMethod: "GET",
@@ -1452,6 +1460,10 @@ const getRevisionsNextOperationSpec = {
1452
1460
  serializer
1453
1461
  };
1454
1462
 
1463
+ // Copyright (c) Microsoft Corporation.
1464
+ // Licensed under the MIT license.
1465
+ const SDK_VERSION = "1.0.12-beta.1335029";
1466
+
1455
1467
  // Copyright (c) Microsoft Corporation.
1456
1468
  /**
1457
1469
  * Creates a span using the global tracer.
@@ -1463,9 +1475,17 @@ const getRevisionsNextOperationSpec = {
1463
1475
  */
1464
1476
  const createSpan = coreTracing.createSpanFunction({
1465
1477
  namespace: "Microsoft.Learn",
1466
- packagePrefix: "Azure.Learn.ApiLearn"
1478
+ packagePrefix: "Azure.Learn.ApiLearn",
1467
1479
  });
1468
1480
 
1481
+ // Copyright (c) Microsoft Corporation.
1482
+ /**
1483
+ * The \@azure/logger configuration for this package.
1484
+ *
1485
+ * @internal
1486
+ */
1487
+ const logger = logger$1.createClientLogger("template");
1488
+
1469
1489
  // Copyright (c) Microsoft Corporation.
1470
1490
  // Licensed under the MIT license.
1471
1491
  /**
@@ -1536,16 +1556,16 @@ class ConfigurationClient {
1536
1556
  "application/vnd.microsoft.appconfig.kv+json",
1537
1557
  "application/vnd.microsoft.appconfig.kvs+json",
1538
1558
  "application/vnd.microsoft.appconfig.keyset+json",
1539
- "application/vnd.microsoft.appconfig.revs+json"
1540
- ]
1541
- }
1559
+ "application/vnd.microsoft.appconfig.revs+json",
1560
+ ],
1561
+ },
1542
1562
  } }), {
1543
1563
  loggingOptions: {
1544
1564
  logger: logger.info,
1545
1565
  // This array contains header names we want to log that are not already
1546
1566
  // included as safe. Unknown/unsafe headers are logged as "<REDACTED>".
1547
- allowedHeaderNames: ["x-ms-correlation-request-id"]
1548
- }
1567
+ allowedHeaderNames: ["x-ms-correlation-request-id"],
1568
+ },
1549
1569
  });
1550
1570
  const pipeline = coreHttp.createPipelineFromOptions(internalPipelineOptions, authPolicy);
1551
1571
  this.client = new GeneratedClient(endpointUrl, pipeline);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/constants.ts","../src/logger.ts","../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/tracing.ts","../src/util.ts","../src/configurationClient.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1241072\";\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure/logger configuration for this package.\n *\n * @internal\n */\nexport const logger = createClientLogger(\"template\");\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\nexport const KeyListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Key\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Key: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Key\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n title: {\n serializedName: \"title\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n detail: {\n serializedName: \"detail\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const KeyValueListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyValueListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationSetting: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n label: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"content_type\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last_modified\",\n type: {\n name: \"DateTime\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n isReadOnly: {\n serializedName: \"locked\",\n type: {\n name: \"Boolean\"\n }\n },\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LabelListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LabelListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Label\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Label: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Label\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n QueryCollectionFormat\n} from \"@azure/core-http\";\nimport { ConfigurationSetting as ConfigurationSettingMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.keyset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const name: OperationQueryParameter = {\n parameterPath: [\"options\", \"name\"],\n mapper: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const syncToken: OperationParameter = {\n parameterPath: \"syncToken\",\n mapper: {\n serializedName: \"Sync-Token\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"1.0\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const after: OperationQueryParameter = {\n parameterPath: [\"options\", \"after\"],\n mapper: {\n serializedName: \"After\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const acceptDatetime: OperationParameter = {\n parameterPath: [\"options\", \"acceptDatetime\"],\n mapper: {\n serializedName: \"Accept-Datetime\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kvset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key: OperationQueryParameter = {\n parameterPath: [\"options\", \"key\"],\n mapper: {\n serializedName: \"key\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const label: OperationQueryParameter = {\n parameterPath: [\"options\", \"label\"],\n mapper: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"key\",\n \"label\",\n \"content_type\",\n \"value\",\n \"last_modified\",\n \"tags\",\n \"locked\",\n \"etag\"\n ]\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kv+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key1: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/vnd.microsoft.appconfig.kv+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const entity: OperationParameter = {\n parameterPath: [\"options\", \"entity\"],\n mapper: ConfigurationSettingMapper\n};\n\nexport const accept3: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.labelset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n defaultValue: \"name\",\n isConstant: true,\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.12-beta.1241072\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientGetKeysOptionalParams,\n GeneratedClientGetKeysResponse,\n GeneratedClientCheckKeysOptionalParams,\n GeneratedClientCheckKeysResponse,\n GeneratedClientGetKeyValuesOptionalParams,\n GeneratedClientGetKeyValuesResponse,\n GeneratedClientCheckKeyValuesOptionalParams,\n GeneratedClientCheckKeyValuesResponse,\n GeneratedClientGetKeyValueOptionalParams,\n GeneratedClientGetKeyValueResponse,\n GeneratedClientPutKeyValueOptionalParams,\n GeneratedClientPutKeyValueResponse,\n GeneratedClientDeleteKeyValueOptionalParams,\n GeneratedClientDeleteKeyValueResponse,\n GeneratedClientCheckKeyValueOptionalParams,\n GeneratedClientCheckKeyValueResponse,\n GeneratedClientGetLabelsOptionalParams,\n GeneratedClientGetLabelsResponse,\n GeneratedClientCheckLabelsOptionalParams,\n GeneratedClientCheckLabelsResponse,\n GeneratedClientPutLockOptionalParams,\n GeneratedClientPutLockResponse,\n GeneratedClientDeleteLockOptionalParams,\n GeneratedClientDeleteLockResponse,\n GeneratedClientGetRevisionsOptionalParams,\n GeneratedClientGetRevisionsResponse,\n GeneratedClientCheckRevisionsOptionalParams,\n GeneratedClientCheckRevisionsResponse,\n GeneratedClientGetKeysNextOptionalParams,\n GeneratedClientGetKeysNextResponse,\n GeneratedClientGetKeyValuesNextOptionalParams,\n GeneratedClientGetKeyValuesNextResponse,\n GeneratedClientGetLabelsNextOptionalParams,\n GeneratedClientGetLabelsNextResponse,\n GeneratedClientGetRevisionsNextOptionalParams,\n GeneratedClientGetRevisionsNextResponse\n} from \"./models\";\n\n/** @hidden */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(\n options?: GeneratedClientGetKeysOptionalParams\n ): Promise<GeneratedClientGetKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysOperationSpec\n ) as Promise<GeneratedClientGetKeysResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(\n options?: GeneratedClientCheckKeysOptionalParams\n ): Promise<GeneratedClientCheckKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeysOperationSpec\n ) as Promise<GeneratedClientCheckKeysResponse>;\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GeneratedClientGetKeyValuesOptionalParams\n ): Promise<GeneratedClientGetKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: GeneratedClientCheckKeyValuesOptionalParams\n ): Promise<GeneratedClientCheckKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValuesOperationSpec\n ) as Promise<GeneratedClientCheckKeyValuesResponse>;\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GeneratedClientGetKeyValueOptionalParams\n ): Promise<GeneratedClientGetKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValueOperationSpec\n ) as Promise<GeneratedClientGetKeyValueResponse>;\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: GeneratedClientPutKeyValueOptionalParams\n ): Promise<GeneratedClientPutKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putKeyValueOperationSpec\n ) as Promise<GeneratedClientPutKeyValueResponse>;\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: GeneratedClientDeleteKeyValueOptionalParams\n ): Promise<GeneratedClientDeleteKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteKeyValueOperationSpec\n ) as Promise<GeneratedClientDeleteKeyValueResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: GeneratedClientCheckKeyValueOptionalParams\n ): Promise<GeneratedClientCheckKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValueOperationSpec\n ) as Promise<GeneratedClientCheckKeyValueResponse>;\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(\n options?: GeneratedClientGetLabelsOptionalParams\n ): Promise<GeneratedClientGetLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsOperationSpec\n ) as Promise<GeneratedClientGetLabelsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: GeneratedClientCheckLabelsOptionalParams\n ): Promise<GeneratedClientCheckLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkLabelsOperationSpec\n ) as Promise<GeneratedClientCheckLabelsResponse>;\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: GeneratedClientPutLockOptionalParams\n ): Promise<GeneratedClientPutLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putLockOperationSpec\n ) as Promise<GeneratedClientPutLockResponse>;\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: GeneratedClientDeleteLockOptionalParams\n ): Promise<GeneratedClientDeleteLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteLockOperationSpec\n ) as Promise<GeneratedClientDeleteLockResponse>;\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GeneratedClientGetRevisionsOptionalParams\n ): Promise<GeneratedClientGetRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsOperationSpec\n ) as Promise<GeneratedClientGetRevisionsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: GeneratedClientCheckRevisionsOptionalParams\n ): Promise<GeneratedClientCheckRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkRevisionsOperationSpec\n ) as Promise<GeneratedClientCheckRevisionsResponse>;\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GeneratedClientGetKeysNextOptionalParams\n ): Promise<GeneratedClientGetKeysNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysNextOperationSpec\n ) as Promise<GeneratedClientGetKeysNextResponse>;\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GeneratedClientGetKeyValuesNextOptionalParams\n ): Promise<GeneratedClientGetKeyValuesNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesNextOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesNextResponse>;\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GeneratedClientGetLabelsNextOptionalParams\n ): Promise<GeneratedClientGetLabelsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsNextOperationSpec\n ) as Promise<GeneratedClientGetLabelsNextResponse>;\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GeneratedClientGetRevisionsNextOptionalParams\n ): Promise<GeneratedClientGetRevisionsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsNextOperationSpec\n ) as Promise<GeneratedClientGetRevisionsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n//\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n *\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n *\n * @internal\n */\nexport const createSpan = createSpanFunction({\n namespace: \"Microsoft.Learn\",\n packagePrefix: \"Azure.Learn.ApiLearn\"\n});\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Handles etag quoting in AppConfig response objects.\n *\n * This is important because the etag inside the body of the configuration\n * object isn't quoted, even though the header is.\n *\n * @param etag - the tag to quote, if it isn't quoted already\n *\n * @internal\n */\nexport function quoteETag(etag: string | undefined): string | undefined {\n // https://tools.ietf.org/html/rfc7232#section-3.1\n if (etag === undefined || etag === \"*\") {\n return etag;\n }\n\n if (etag.startsWith('\"') && etag.endsWith('\"')) {\n return etag;\n }\n\n if (etag.startsWith(\"'\") && etag.endsWith(\"'\")) {\n return etag;\n }\n\n return `\"${etag}\"`;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n PipelineOptions,\n TokenCredential,\n OperationOptions,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n InternalPipelineOptions\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\n\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\"\n ]\n }\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"]\n }\n }\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"],"names":["createClientLogger","QueryCollectionFormat","ConfigurationSettingMapper","coreHttp.ServiceClient","coreHttp.getDefaultUserAgentValue","coreHttp.operationOptionsToRequestOptionsBase","coreHttp.Serializer","Mappers.KeyListResult","Mappers.GeneratedClientGetKeysHeaders","Mappers.ErrorModel","Parameters.name","Parameters.apiVersion","Parameters.after","Parameters.endpoint","Parameters.accept","Parameters.syncToken","Parameters.acceptDatetime","Mappers.GeneratedClientCheckKeysHeaders","Mappers.KeyValueListResult","Mappers.GeneratedClientGetKeyValuesHeaders","Parameters.key","Parameters.label","Parameters.select","Parameters.accept1","Mappers.GeneratedClientCheckKeyValuesHeaders","Mappers.ConfigurationSetting","Mappers.GeneratedClientGetKeyValueHeaders","Parameters.key1","Parameters.accept2","Parameters.ifMatch","Parameters.ifNoneMatch","Mappers.GeneratedClientPutKeyValueHeaders","Parameters.entity","Parameters.contentType","Mappers.GeneratedClientDeleteKeyValueHeaders","Mappers.GeneratedClientCheckKeyValueHeaders","Mappers.LabelListResult","Mappers.GeneratedClientGetLabelsHeaders","Parameters.select1","Parameters.accept3","Mappers.GeneratedClientCheckLabelsHeaders","Mappers.GeneratedClientPutLockHeaders","Mappers.GeneratedClientDeleteLockHeaders","Mappers.GeneratedClientGetRevisionsHeaders","Mappers.GeneratedClientCheckRevisionsHeaders","Mappers.GeneratedClientGetKeysNextHeaders","Parameters.nextLink","Mappers.GeneratedClientGetKeyValuesNextHeaders","Mappers.GeneratedClientGetLabelsNextHeaders","Mappers.GeneratedClientGetRevisionsNextHeaders","createSpanFunction","bearerTokenAuthenticationPolicy","createPipelineFromOptions","SpanStatusCode"],"mappings":";;;;;;;;AAAA;AACA;AAEO,MAAM,WAAW,GAAW,qBAAqB;;ACHxD;AACA,AAIA;;;;;AAKA,AAAO,MAAM,MAAM,GAAGA,2BAAkB,CAAC,UAAU,CAAC,CAAC;;ACVrD;;;;;;;AAUA,AAAO,MAAM,aAAa,GAA6B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc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EAAE,UAAU,CAAC,CAAC;QAEhF,IAAI,CAAC,MAAM,GAAG,IAAI,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;KAC1D;IAyBM,MAAM,uBAAuB,CAClC,YAA2C,EAC3C,UAA0C,EAAE;QAE5C,IAAI,GAAW,CAAC;QAChB,IAAI,WAA+B,CAAC;QAEpC,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE;YACpC,GAAG,GAAG,YAAY,CAAC;YACnB,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,MAAM,IAAI,UAAU,CAClB,uFAAuF,CACxF,CAAC;aACH;SACF;aAAM;YACL,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;YAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;aAC/B;SACF;QAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU;;QAEzC,6CAA6C,EAC7C,OAAO,CACR,CAAC;QAEF,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAC3C,cAAc,KACjB,WAAW,IACX,CAAC;YACH,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,CAAC,EAAE;;;YAGV,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAEC,0BAAc,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YAEnE,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;CACF;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/constants.ts","../src/tracing.ts","../src/logger.ts","../src/util.ts","../src/configurationClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\nexport const KeyListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Key\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Key: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Key\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n title: {\n serializedName: \"title\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n detail: {\n serializedName: \"detail\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const KeyValueListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyValueListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationSetting: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n label: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"content_type\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last_modified\",\n type: {\n name: \"DateTime\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n isReadOnly: {\n serializedName: \"locked\",\n type: {\n name: \"Boolean\"\n }\n },\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LabelListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LabelListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Label\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Label: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Label\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n QueryCollectionFormat\n} from \"@azure/core-http\";\nimport { ConfigurationSetting as ConfigurationSettingMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.keyset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const name: OperationQueryParameter = {\n parameterPath: [\"options\", \"name\"],\n mapper: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const syncToken: OperationParameter = {\n parameterPath: \"syncToken\",\n mapper: {\n serializedName: \"Sync-Token\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"1.0\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const after: OperationQueryParameter = {\n parameterPath: [\"options\", \"after\"],\n mapper: {\n serializedName: \"After\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const acceptDatetime: OperationParameter = {\n parameterPath: [\"options\", \"acceptDatetime\"],\n mapper: {\n serializedName: \"Accept-Datetime\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kvset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key: OperationQueryParameter = {\n parameterPath: [\"options\", \"key\"],\n mapper: {\n serializedName: \"key\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const label: OperationQueryParameter = {\n parameterPath: [\"options\", \"label\"],\n mapper: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"key\",\n \"label\",\n \"content_type\",\n \"value\",\n \"last_modified\",\n \"tags\",\n \"locked\",\n \"etag\"\n ]\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kv+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key1: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/vnd.microsoft.appconfig.kv+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const entity: OperationParameter = {\n parameterPath: [\"options\", \"entity\"],\n mapper: ConfigurationSettingMapper\n};\n\nexport const accept3: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.labelset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n defaultValue: \"name\",\n isConstant: true,\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.12-beta.1335029\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientGetKeysOptionalParams,\n GeneratedClientGetKeysResponse,\n GeneratedClientCheckKeysOptionalParams,\n GeneratedClientCheckKeysResponse,\n GeneratedClientGetKeyValuesOptionalParams,\n GeneratedClientGetKeyValuesResponse,\n GeneratedClientCheckKeyValuesOptionalParams,\n GeneratedClientCheckKeyValuesResponse,\n GeneratedClientGetKeyValueOptionalParams,\n GeneratedClientGetKeyValueResponse,\n GeneratedClientPutKeyValueOptionalParams,\n GeneratedClientPutKeyValueResponse,\n GeneratedClientDeleteKeyValueOptionalParams,\n GeneratedClientDeleteKeyValueResponse,\n GeneratedClientCheckKeyValueOptionalParams,\n GeneratedClientCheckKeyValueResponse,\n GeneratedClientGetLabelsOptionalParams,\n GeneratedClientGetLabelsResponse,\n GeneratedClientCheckLabelsOptionalParams,\n GeneratedClientCheckLabelsResponse,\n GeneratedClientPutLockOptionalParams,\n GeneratedClientPutLockResponse,\n GeneratedClientDeleteLockOptionalParams,\n GeneratedClientDeleteLockResponse,\n GeneratedClientGetRevisionsOptionalParams,\n GeneratedClientGetRevisionsResponse,\n GeneratedClientCheckRevisionsOptionalParams,\n GeneratedClientCheckRevisionsResponse,\n GeneratedClientGetKeysNextOptionalParams,\n GeneratedClientGetKeysNextResponse,\n GeneratedClientGetKeyValuesNextOptionalParams,\n GeneratedClientGetKeyValuesNextResponse,\n GeneratedClientGetLabelsNextOptionalParams,\n GeneratedClientGetLabelsNextResponse,\n GeneratedClientGetRevisionsNextOptionalParams,\n GeneratedClientGetRevisionsNextResponse\n} from \"./models\";\n\n/** @hidden */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(\n options?: GeneratedClientGetKeysOptionalParams\n ): Promise<GeneratedClientGetKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysOperationSpec\n ) as Promise<GeneratedClientGetKeysResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(\n options?: GeneratedClientCheckKeysOptionalParams\n ): Promise<GeneratedClientCheckKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeysOperationSpec\n ) as Promise<GeneratedClientCheckKeysResponse>;\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GeneratedClientGetKeyValuesOptionalParams\n ): Promise<GeneratedClientGetKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: GeneratedClientCheckKeyValuesOptionalParams\n ): Promise<GeneratedClientCheckKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValuesOperationSpec\n ) as Promise<GeneratedClientCheckKeyValuesResponse>;\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GeneratedClientGetKeyValueOptionalParams\n ): Promise<GeneratedClientGetKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValueOperationSpec\n ) as Promise<GeneratedClientGetKeyValueResponse>;\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: GeneratedClientPutKeyValueOptionalParams\n ): Promise<GeneratedClientPutKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putKeyValueOperationSpec\n ) as Promise<GeneratedClientPutKeyValueResponse>;\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: GeneratedClientDeleteKeyValueOptionalParams\n ): Promise<GeneratedClientDeleteKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteKeyValueOperationSpec\n ) as Promise<GeneratedClientDeleteKeyValueResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: GeneratedClientCheckKeyValueOptionalParams\n ): Promise<GeneratedClientCheckKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValueOperationSpec\n ) as Promise<GeneratedClientCheckKeyValueResponse>;\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(\n options?: GeneratedClientGetLabelsOptionalParams\n ): Promise<GeneratedClientGetLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsOperationSpec\n ) as Promise<GeneratedClientGetLabelsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: GeneratedClientCheckLabelsOptionalParams\n ): Promise<GeneratedClientCheckLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkLabelsOperationSpec\n ) as Promise<GeneratedClientCheckLabelsResponse>;\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: GeneratedClientPutLockOptionalParams\n ): Promise<GeneratedClientPutLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putLockOperationSpec\n ) as Promise<GeneratedClientPutLockResponse>;\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: GeneratedClientDeleteLockOptionalParams\n ): Promise<GeneratedClientDeleteLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteLockOperationSpec\n ) as Promise<GeneratedClientDeleteLockResponse>;\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GeneratedClientGetRevisionsOptionalParams\n ): Promise<GeneratedClientGetRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsOperationSpec\n ) as Promise<GeneratedClientGetRevisionsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: GeneratedClientCheckRevisionsOptionalParams\n ): Promise<GeneratedClientCheckRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkRevisionsOperationSpec\n ) as Promise<GeneratedClientCheckRevisionsResponse>;\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GeneratedClientGetKeysNextOptionalParams\n ): Promise<GeneratedClientGetKeysNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysNextOperationSpec\n ) as Promise<GeneratedClientGetKeysNextResponse>;\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GeneratedClientGetKeyValuesNextOptionalParams\n ): Promise<GeneratedClientGetKeyValuesNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesNextOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesNextResponse>;\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GeneratedClientGetLabelsNextOptionalParams\n ): Promise<GeneratedClientGetLabelsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsNextOperationSpec\n ) as Promise<GeneratedClientGetLabelsNextResponse>;\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GeneratedClientGetRevisionsNextOptionalParams\n ): Promise<GeneratedClientGetRevisionsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsNextOperationSpec\n ) as Promise<GeneratedClientGetRevisionsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1335029\";\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n//\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n *\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n *\n * @internal\n */\nexport const createSpan = createSpanFunction({\n namespace: \"Microsoft.Learn\",\n packagePrefix: \"Azure.Learn.ApiLearn\",\n});\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure/logger configuration for this package.\n *\n * @internal\n */\nexport const logger = createClientLogger(\"template\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Handles etag quoting in AppConfig response objects.\n *\n * This is important because the etag inside the body of the configuration\n * object isn't quoted, even though the header is.\n *\n * @param etag - the tag to quote, if it isn't quoted already\n *\n * @internal\n */\nexport function quoteETag(etag: string | undefined): string | undefined {\n // https://tools.ietf.org/html/rfc7232#section-3.1\n if (etag === undefined || etag === \"*\") {\n return etag;\n }\n\n if (etag.startsWith('\"') && etag.endsWith('\"')) {\n return etag;\n }\n\n if (etag.startsWith(\"'\") && etag.endsWith(\"'\")) {\n return etag;\n }\n\n return `\"${etag}\"`;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { SDK_VERSION } from \"./constants\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSpan } from \"./tracing\";\nimport { logger } from \"./logger\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\",\n ],\n },\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"],\n },\n },\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch,\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"],"names":["QueryCollectionFormat","ConfigurationSettingMapper","coreHttp","Mappers.KeyListResult","Mappers.GeneratedClientGetKeysHeaders","Mappers.ErrorModel","Parameters.name","Parameters.apiVersion","Parameters.after","Parameters.endpoint","Parameters.accept","Parameters.syncToken","Parameters.acceptDatetime","Mappers.GeneratedClientCheckKeysHeaders","Mappers.KeyValueListResult","Mappers.GeneratedClientGetKeyValuesHeaders","Parameters.key","Parameters.label","Parameters.select","Parameters.accept1","Mappers.GeneratedClientCheckKeyValuesHeaders","Mappers.ConfigurationSetting","Mappers.GeneratedClientGetKeyValueHeaders","Parameters.key1","Parameters.accept2","Parameters.ifMatch","Parameters.ifNoneMatch","Mappers.GeneratedClientPutKeyValueHeaders","Parameters.entity","Parameters.contentType","Mappers.GeneratedClientDeleteKeyValueHeaders","Mappers.GeneratedClientCheckKeyValueHeaders","Mappers.LabelListResult","Mappers.GeneratedClientGetLabelsHeaders","Parameters.select1","Parameters.accept3","Mappers.GeneratedClientCheckLabelsHeaders","Mappers.GeneratedClientPutLockHeaders","Mappers.GeneratedClientDeleteLockHeaders","Mappers.GeneratedClientGetRevisionsHeaders","Mappers.GeneratedClientCheckRevisionsHeaders","Mappers.GeneratedClientGetKeysNextHeaders","Parameters.nextLink","Mappers.GeneratedClientGetKeyValuesNextHeaders","Mappers.GeneratedClientGetLabelsNextHeaders","Mappers.GeneratedClientGetRevisionsNextHeaders","createSpanFunction","createClientLogger","bearerTokenAuthenticationPolicy","createPipelineFromOptions","SpanStatusCode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAUO,MAAM,aAAa,GAA6B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,KAAK;yBACjB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEK,MAAM,GAAG,GAA6B;IAC3C,IAAI,EAAE;QACJ,IAA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G,YAAY,CAAC;YACnB,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,MAAM,IAAI,UAAU,CAClB,uFAAuF,CACxF,CAAC;aACH;SACF;aAAM;YACL,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;YAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;aAC/B;SACF;QAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU;;QAEzC,6CAA6C,EAC7C,OAAO,CACR,CAAC;QAEF,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAC3C,cAAc,KACjB,WAAW,IACX,CAAC;YACH,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,CAAC,EAAE;;;YAGV,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAEC,0BAAc,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YAEnE,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;;;;;"}
@@ -1,11 +1,11 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- import { bearerTokenAuthenticationPolicy, createPipelineFromOptions } from "@azure/core-http";
4
- import { SpanStatusCode } from "@azure/core-tracing";
5
- import { SDK_VERSION } from "./constants";
6
- import { logger } from "./logger";
7
3
  import { GeneratedClient } from "./generated";
4
+ import { bearerTokenAuthenticationPolicy, createPipelineFromOptions, } from "@azure/core-http";
5
+ import { SDK_VERSION } from "./constants";
6
+ import { SpanStatusCode } from "@azure/core-tracing";
8
7
  import { createSpan } from "./tracing";
8
+ import { logger } from "./logger";
9
9
  import { quoteETag } from "./util";
10
10
  /**
11
11
  * The client class used to interact with the App Configuration service.
@@ -50,16 +50,16 @@ export class ConfigurationClient {
50
50
  "application/vnd.microsoft.appconfig.kv+json",
51
51
  "application/vnd.microsoft.appconfig.kvs+json",
52
52
  "application/vnd.microsoft.appconfig.keyset+json",
53
- "application/vnd.microsoft.appconfig.revs+json"
54
- ]
55
- }
53
+ "application/vnd.microsoft.appconfig.revs+json",
54
+ ],
55
+ },
56
56
  } }), {
57
57
  loggingOptions: {
58
58
  logger: logger.info,
59
59
  // This array contains header names we want to log that are not already
60
60
  // included as safe. Unknown/unsafe headers are logged as "<REDACTED>".
61
- allowedHeaderNames: ["x-ms-correlation-request-id"]
62
- }
61
+ allowedHeaderNames: ["x-ms-correlation-request-id"],
62
+ },
63
63
  });
64
64
  const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);
65
65
  this.client = new GeneratedClient(endpointUrl, pipeline);
@@ -1 +1 @@
1
- {"version":3,"file":"configurationClient.js","sourceRoot":"","sources":["../../src/configurationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAIL,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAwB,eAAe,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA2BnC;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAG9B;;;;;;;;;;;;;;;;OAgBG;IACH,YACE,WAAmB,EACnB,UAA2B,EAC3B,UAAsC,EAAE;QAExC,yEAAyE;QACzE,MAAM,OAAO,GAAG,8BAA8B,WAAW,EAAE,CAAC;QAC5D,IAAI,CAAC,OAAO,CAAC,gBAAgB,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G,CAAC;YACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;YAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;aAC/B;SACF;QAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU;QACzC,sEAAsE;QACtE,6CAA6C,EAC7C,OAAO,CACR,CAAC;QAEF,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAC3C,cAAc,KACjB,WAAW,IACX,CAAC;YACH,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,CAAC,EAAE;YACV,qEAAqE;YACrE,8GAA8G;YAC9G,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YAEnE,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;IACH,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n PipelineOptions,\n TokenCredential,\n OperationOptions,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n InternalPipelineOptions\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\n\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\"\n ]\n }\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"]\n }\n }\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"]}
1
+ {"version":3,"file":"configurationClient.js","sourceRoot":"","sources":["../../src/configurationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OA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E,CAAC;SACZ;IACH,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { SDK_VERSION } from \"./constants\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSpan } from \"./tracing\";\nimport { logger } from \"./logger\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\",\n ],\n },\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"],\n },\n },\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch,\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- export const SDK_VERSION = "1.0.12-beta.1241072";
3
+ export const SDK_VERSION = "1.0.12-beta.1335029";
4
4
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1241072\";\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1335029\";\n"]}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as coreHttp from "@azure/core-http";
9
9
  const packageName = "@azure/template";
10
- const packageVersion = "1.0.12-beta.1241072";
10
+ const packageVersion = "1.0.12-beta.1335029";
11
11
  /** @hidden */
12
12
  export class GeneratedClientContext extends coreHttp.ServiceClient {
13
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;AACtC,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAE7C,cAAc;AACd,MAAM,OAAO,sBAAuB,SAAQ,QAAQ,CAAC,aAAa;IAKhE;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAC9C;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC7D,OAAO,CAAC,SAAS,GAAG,GAAG,WAAW,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;SAC5E;QAED,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE1B,IAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY,CAAC;QAEhD,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,KAAK,CAAC;IAChD,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.12-beta.1241072\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n"]}
1
+ {"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;AACtC,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAE7C,cAAc;AACd,MAAM,OAAO,sBAAuB,SAAQ,QAAQ,CAAC,aAAa;IAKhE;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAC9C;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC7D,OAAO,CAAC,SAAS,GAAG,GAAG,WAAW,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;SAC5E;QAED,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE1B,IAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY,CAAC;QAEhD,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,KAAK,CAAC;IAChD,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.12-beta.1335029\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n"]}
@@ -12,6 +12,6 @@ import { createSpanFunction } from "@azure/core-tracing";
12
12
  */
13
13
  export const createSpan = createSpanFunction({
14
14
  namespace: "Microsoft.Learn",
15
- packagePrefix: "Azure.Learn.ApiLearn"
15
+ packagePrefix: "Azure.Learn.ApiLearn",
16
16
  });
17
17
  //# sourceMappingURL=tracing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,EAAE;AACF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC;IAC3C,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,sBAAsB;CACtC,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n//\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n *\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n *\n * @internal\n */\nexport const createSpan = createSpanFunction({\n namespace: \"Microsoft.Learn\",\n packagePrefix: \"Azure.Learn.ApiLearn\"\n});\n"]}
1
+ {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,EAAE;AACF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC;IAC3C,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,sBAAsB;CACtC,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n//\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n *\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n *\n * @internal\n */\nexport const createSpan = createSpanFunction({\n namespace: \"Microsoft.Learn\",\n packagePrefix: \"Azure.Learn.ApiLearn\",\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template",
3
- "version": "1.0.12-beta.1241072",
3
+ "version": "1.0.12-beta.1335029",
4
4
  "description": "Example project for learning how to build a client library",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -29,27 +29,26 @@
29
29
  "scripts": {
30
30
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
31
31
  "build:samples": "echo Obsolete",
32
- "build:test": "tsc -p . && rollup -c 2>&1",
32
+ "build:test": "npm run clean && tsc -p . && dev-tool run bundle",
33
33
  "build:types": "downlevel-dts types/latest/ types/3.1/",
34
- "build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types",
34
+ "build": "npm run build:test && api-extractor run --local && npm run build:types",
35
35
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
36
36
  "clean": "rimraf dist dist-* temp types *.tgz *.log",
37
- "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src",
38
37
  "execute:samples": "dev-tool samples run samples-dev",
39
38
  "extract-api": "tsc -p . && api-extractor run --local",
40
39
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
41
40
  "generate:client": "autorest --typescript ./swagger/README.md",
42
- "integration-test:browser": "karma start --single-run",
43
- "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}/*.spec.js\"",
41
+ "integration-test:browser": "dev-tool run test:browser",
42
+ "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/**/*.spec.ts'",
44
43
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
45
44
  "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
46
45
  "lint": "eslint package.json api-extractor.json src test --ext .ts",
47
46
  "pack": "npm pack 2>&1",
48
- "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
49
- "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node",
50
- "test": "npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test",
51
- "unit-test:browser": "karma start --single-run",
52
- "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"",
47
+ "test:browser": "npm run clean && npm run build:test && npm run integration-test:browser",
48
+ "test:node": "npm run clean && tsc -p . && npm run integration-test:node",
49
+ "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
50
+ "unit-test:browser": "npm run integration-test:browser",
51
+ "unit-test:node": "npm run integration-test:node",
53
52
  "unit-test": "npm run unit-test:node && npm run unit-test:browser"
54
53
  },
55
54
  "files": [
@@ -88,7 +87,7 @@
88
87
  "@azure/dev-tool": "^1.0.0",
89
88
  "@azure/eslint-plugin-azure-sdk": "^3.0.0",
90
89
  "@azure/identity": "^2.0.1",
91
- "@azure-tools/test-recorder": "^1.0.0",
90
+ "@azure-tools/test-recorder": "^2.0.0",
92
91
  "@microsoft/api-extractor": "^7.18.11",
93
92
  "@types/chai": "^4.1.6",
94
93
  "@types/chai-as-promised": "^7.1.0",
@@ -98,7 +97,7 @@
98
97
  "chai-as-promised": "^7.1.1",
99
98
  "cross-env": "^7.0.2",
100
99
  "dotenv": "^8.2.0",
101
- "downlevel-dts": "~0.4.0",
100
+ "downlevel-dts": "^0.8.0",
102
101
  "eslint": "^7.15.0",
103
102
  "esm": "^3.2.18",
104
103
  "inherits": "^2.0.3",
@@ -115,15 +114,14 @@
115
114
  "karma-mocha": "^2.0.1",
116
115
  "karma-mocha-reporter": "^2.2.5",
117
116
  "mocha": "^7.1.1",
118
- "mocha-junit-reporter": "^1.18.0",
119
- "nyc": "^14.0.0",
120
- "prettier": "^1.16.4",
117
+ "mocha-junit-reporter": "^2.0.0",
118
+ "nyc": "^15.0.0",
119
+ "prettier": "^2.5.1",
121
120
  "rimraf": "^3.0.0",
122
- "rollup": "^1.16.3",
123
121
  "source-map-support": "^0.5.9",
124
- "typedoc": "0.15.2",
125
122
  "typescript": "~4.2.0",
126
- "util": "^0.12.1"
123
+ "util": "^0.12.1",
124
+ "@azure-tools/test-credential": "~1.0.0"
127
125
  },
128
126
  "//sampleConfiguration": {
129
127
  "skipFolder": false,
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.19"
8
+ "packageVersion": "7.19.4"
9
9
  }
10
10
  ]
11
11
  }