@azure/app-configuration 1.12.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/browser/appConfigurationClient.d.ts.map +1 -1
  2. package/dist/browser/appConfigurationClient.js +11 -11
  3. package/dist/browser/appConfigurationClient.js.map +1 -1
  4. package/dist/browser/generated/api/appConfigurationContext.js +1 -1
  5. package/dist/browser/generated/api/appConfigurationContext.js.map +1 -1
  6. package/dist/browser/index.d.ts +1 -0
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +1 -0
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/internal/constants.d.ts +1 -1
  11. package/dist/browser/internal/constants.js +1 -1
  12. package/dist/browser/internal/constants.js.map +1 -1
  13. package/dist/browser/internal/helpers.d.ts +8 -2
  14. package/dist/browser/internal/helpers.d.ts.map +1 -1
  15. package/dist/browser/internal/helpers.js +20 -10
  16. package/dist/browser/internal/helpers.js.map +1 -1
  17. package/dist/browser/models.d.ts +6 -3
  18. package/dist/browser/models.d.ts.map +1 -1
  19. package/dist/browser/models.js.map +1 -1
  20. package/dist/browser/package.json +6 -1
  21. package/dist/commonjs/appConfigurationClient.d.ts.map +1 -1
  22. package/dist/commonjs/appConfigurationClient.js +20 -16
  23. package/dist/commonjs/appConfigurationClient.js.map +2 -2
  24. package/dist/commonjs/generated/api/appConfigurationContext.js +1 -1
  25. package/dist/commonjs/generated/api/appConfigurationContext.js.map +1 -1
  26. package/dist/commonjs/index.d.ts +1 -0
  27. package/dist/commonjs/index.d.ts.map +1 -1
  28. package/dist/commonjs/index.js +5 -0
  29. package/dist/commonjs/index.js.map +2 -2
  30. package/dist/commonjs/internal/constants.d.ts +1 -1
  31. package/dist/commonjs/internal/constants.js +1 -1
  32. package/dist/commonjs/internal/constants.js.map +1 -1
  33. package/dist/commonjs/internal/helpers.d.ts +8 -2
  34. package/dist/commonjs/internal/helpers.d.ts.map +1 -1
  35. package/dist/commonjs/internal/helpers.js +21 -6
  36. package/dist/commonjs/internal/helpers.js.map +2 -2
  37. package/dist/commonjs/models.d.ts +6 -3
  38. package/dist/commonjs/models.d.ts.map +1 -1
  39. package/dist/commonjs/models.js.map +2 -2
  40. package/dist/commonjs/package.json +6 -1
  41. package/dist/commonjs/tsdoc-metadata.json +1 -1
  42. package/dist/esm/appConfigurationClient.d.ts.map +1 -1
  43. package/dist/esm/appConfigurationClient.js +11 -11
  44. package/dist/esm/appConfigurationClient.js.map +1 -1
  45. package/dist/esm/generated/api/appConfigurationContext.js +1 -1
  46. package/dist/esm/generated/api/appConfigurationContext.js.map +1 -1
  47. package/dist/esm/index.d.ts +1 -0
  48. package/dist/esm/index.d.ts.map +1 -1
  49. package/dist/esm/index.js +1 -0
  50. package/dist/esm/index.js.map +1 -1
  51. package/dist/esm/internal/constants.d.ts +1 -1
  52. package/dist/esm/internal/constants.js +1 -1
  53. package/dist/esm/internal/constants.js.map +1 -1
  54. package/dist/esm/internal/helpers.d.ts +8 -2
  55. package/dist/esm/internal/helpers.d.ts.map +1 -1
  56. package/dist/esm/internal/helpers.js +20 -10
  57. package/dist/esm/internal/helpers.js.map +1 -1
  58. package/dist/esm/models.d.ts +6 -3
  59. package/dist/esm/models.d.ts.map +1 -1
  60. package/dist/esm/models.js.map +1 -1
  61. package/dist/esm/package.json +6 -1
  62. package/dist/react-native/appConfigurationClient.d.ts.map +1 -1
  63. package/dist/react-native/appConfigurationClient.js +11 -11
  64. package/dist/react-native/appConfigurationClient.js.map +1 -1
  65. package/dist/react-native/generated/api/appConfigurationContext.js +1 -1
  66. package/dist/react-native/generated/api/appConfigurationContext.js.map +1 -1
  67. package/dist/react-native/index.d.ts +1 -0
  68. package/dist/react-native/index.d.ts.map +1 -1
  69. package/dist/react-native/index.js +1 -0
  70. package/dist/react-native/index.js.map +1 -1
  71. package/dist/react-native/internal/constants.d.ts +1 -1
  72. package/dist/react-native/internal/constants.js +1 -1
  73. package/dist/react-native/internal/constants.js.map +1 -1
  74. package/dist/react-native/internal/helpers.d.ts +8 -2
  75. package/dist/react-native/internal/helpers.d.ts.map +1 -1
  76. package/dist/react-native/internal/helpers.js +20 -10
  77. package/dist/react-native/internal/helpers.js.map +1 -1
  78. package/dist/react-native/models.d.ts +6 -3
  79. package/dist/react-native/models.d.ts.map +1 -1
  80. package/dist/react-native/models.js.map +1 -1
  81. package/dist/react-native/package.json +6 -1
  82. package/package.json +11 -15
@@ -1 +1 @@
1
- {"version":3,"file":"appConfigurationClient.d.ts","sourceRoot":"","sources":["../../src/appConfigurationClient.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,2CAA2C,EAChD,KAAK,gCAAgC,EACrC,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC5B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,0BAA0B,EAAe,MAAM,oBAAoB,CAAC;AAKlF,OAAO,EAAE,UAAU,EAAmB,MA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;;;;;OAiBG;IACH,eAAe,CACb,IAAI,EAAE,MAAM,EAEZ,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,sBAAsB,CAAC;IA6BlC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,aAAa,CACX,OAAO,GAAE,oBAAyB,GACjC,0BAA0B,CAAC,qBAAqB,EAAE,iBAAiB,EAAE,YAAY,CAAC;YAuBvE,oBAAoB;CAsBnC"}
@@ -7,7 +7,7 @@ import { SyncTokens, syncTokenPolicy } from "./internal/syncTokenPolicy.js";
7
7
  import { queryParamPolicy } from "./internal/queryParamPolicy.js";
8
8
  import { emptyBodyPolicy } from "./internal/emptyBodyPolicy.js";
9
9
  import { isTokenCredential } from "@azure/core-auth";
10
- import { assertResponse, checkAndFormatIfAndIfNoneMatch, extractAfterTokenFromLinkHeader, extractAfterTokenFromNextLink, formatAcceptDateTime, formatConfigurationSettingsFiltersAndSelect, formatFieldsForSelect, formatFiltersAndSelect, formatLabelsFiltersAndSelect, formatSnapshotFiltersAndSelect, getScope, makeConfigurationSettingEmpty, serializeAsConfigurationSettingParam, snapshotInfoToGenerated, transformKeyValue, transformKeyValueResponse, transformKeyValueResponseWithStatusCode, transformSnapshotResponse, } from "./internal/helpers.js";
10
+ import { assertResponse, checkAndFormatIfAndIfNoneMatch, encodePathParameter, extractAfterTokenFromLinkHeader, extractAfterTokenFromNextLink, formatAcceptDateTime, formatConfigurationSettingsFiltersAndSelect, formatFieldsForSelect, formatFiltersAndSelect, formatLabelsFiltersAndSelect, formatSnapshotFiltersAndSelect, getScope, makeConfigurationSettingEmpty, serializeAsConfigurationSettingParam, snapshotInfoToGenerated, transformKeyValue, transformKeyValueResponse, transformKeyValueResponseWithStatusCode, transformSnapshotResponse, } from "./internal/helpers.js";
11
11
  import { AppConfigurationClient as GeneratedAppConfigurationClient, } from "./generated/appConfigurationClient.js";
12
12
  import { _getKeyValuesSend, _getKeyValuesDeserialize, _checkKeyValuesSend, _checkKeyValuesDeserialize, _getRevisionsSend, _getRevisionsDeserialize, _getLabelsSend, _getLabelsDeserialize, _getSnapshotsSend, _getSnapshotsDeserialize, _createSnapshotSend, _createSnapshotDeserialize, } from "./generated/api/operations.js";
13
13
  import { getLongRunningPoller } from "./generated/static-helpers/pollingHelpers.js";
@@ -24,7 +24,7 @@ export class AppConfigurationClient {
24
24
  client;
25
25
  _syncTokens;
26
26
  constructor(connectionStringOrEndpoint, tokenCredentialOrOptions, options) {
27
- let appConfigOptions = {};
27
+ let appConfigOptions;
28
28
  let appConfigCredential = undefined;
29
29
  let appConfigEndpoint;
30
30
  let authPolicy;
@@ -56,9 +56,9 @@ export class AppConfigurationClient {
56
56
  ...appConfigOptions,
57
57
  userAgentOptions: {
58
58
  ...appConfigOptions.userAgentOptions,
59
- userAgentPrefix: `azsdk-js-app-configuration/${packageVersion}${appConfigOptions.userAgentOptions?.userAgentPrefix
60
- ? ` ${appConfigOptions.userAgentOptions.userAgentPrefix}`
61
- : ""}`,
59
+ userAgentPrefix: appConfigOptions.userAgentOptions?.userAgentPrefix
60
+ ? `${appConfigOptions.userAgentOptions.userAgentPrefix} azsdk-js-app-configuration/${packageVersion}`
61
+ : `azsdk-js-app-configuration/${packageVersion}`,
62
62
  },
63
63
  loggingOptions: {
64
64
  logger: logger.info,
@@ -116,7 +116,7 @@ export class AppConfigurationClient {
116
116
  const keyValue = serializeAsConfigurationSettingParam(configurationSetting);
117
117
  logger.info("[addConfigurationSetting] Creating a key value pair");
118
118
  try {
119
- const originalResponse = await this.client.putKeyValue("application/json", configurationSetting.key, {
119
+ const originalResponse = await this.client.putKeyValue("application/json", encodePathParameter(configurationSetting.key), {
120
120
  ifNoneMatch: "*",
121
121
  label: configurationSetting.label,
122
122
  entity: keyValue,
@@ -166,7 +166,7 @@ export class AppConfigurationClient {
166
166
  return tracingClient.withSpan("AppConfigurationClient.deleteConfigurationSetting", options, async (updatedOptions) => {
167
167
  let status;
168
168
  logger.info("[deleteConfigurationSetting] Deleting key value pair");
169
- const originalResponse = await this.client.deleteKeyValue(id.key, {
169
+ const originalResponse = await this.client.deleteKeyValue(encodePathParameter(id.key), {
170
170
  label: id.label,
171
171
  ...updatedOptions,
172
172
  ...checkAndFormatIfAndIfNoneMatch(id, options),
@@ -207,7 +207,7 @@ export class AppConfigurationClient {
207
207
  let rawResponse;
208
208
  logger.info("[getConfigurationSetting] Getting key value pair");
209
209
  try {
210
- const originalResponse = await this.client.getKeyValue(id.key, {
210
+ const originalResponse = await this.client.getKeyValue(encodePathParameter(id.key), {
211
211
  ...updatedOptions,
212
212
  label: id.label,
213
213
  select: formatFieldsForSelect(options.fields),
@@ -588,7 +588,7 @@ export class AppConfigurationClient {
588
588
  return tracingClient.withSpan("AppConfigurationClient.setConfigurationSetting", options, async (updatedOptions) => {
589
589
  const keyValue = serializeAsConfigurationSettingParam(configurationSetting);
590
590
  logger.info("[setConfigurationSetting] Setting new key value");
591
- const response = transformKeyValueResponse(await this.client.putKeyValue("application/json", configurationSetting.key, {
591
+ const response = transformKeyValueResponse(await this.client.putKeyValue("application/json", encodePathParameter(configurationSetting.key), {
592
592
  ...updatedOptions,
593
593
  label: configurationSetting.label,
594
594
  entity: keyValue,
@@ -611,7 +611,7 @@ export class AppConfigurationClient {
611
611
  let response;
612
612
  if (readOnly) {
613
613
  logger.info("[setReadOnly] Setting read-only status to ${readOnly}");
614
- response = await this.client.putLock(id.key, {
614
+ response = await this.client.putLock(encodePathParameter(id.key), {
615
615
  ...newOptions,
616
616
  label: id.label,
617
617
  ...checkAndFormatIfAndIfNoneMatch(id, options),
@@ -623,7 +623,7 @@ export class AppConfigurationClient {
623
623
  }
624
624
  else {
625
625
  logger.info("[setReadOnly] Deleting read-only lock");
626
- response = await this.client.deleteLock(id.key, {
626
+ response = await this.client.deleteLock(encodePathParameter(id.key), {
627
627
  ...newOptions,
628
628
  label: id.label,
629
629
  ...checkAndFormatIfAndIfNoneMatch(id, options),
@@ -1 +1 @@
1
- {"version":3,"file":"appConfigurationClient.js","sourceRoot":"","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CAC3B,sCAAsC,EACtC,OAAO,EACP,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,MAAM,WAAW,GAAG,MAAM,iBAAiB,CAAC,IAAI,CAAC,QAAQ,EAAE;gBACzD,GAAG,cAAc;gBACjB,GAAG,8BAA8B,CAAC,OAAO,CAAC;gBAC1C,KAAK,EAAE,QAAQ;gBACf,cAAc,EAAE;oBACd,GAAG,cAAc,CAAC,cAAc;oBAChC,eAAe,EAAE,IAAI;iBACtB;aACF,CAAC,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC,WAAW,CAAC,CAAC;YAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,CAAC,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// https://azure.github.io/azure-sdk/typescript_design.html#ts-config-lib\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport {\n type AddConfigurationSettingOptions,\n type AddConfigurationSettingParam,\n type AddConfigurationSettingResponse,\n type AppConfigurationClientOptions,\n type CheckConfigurationSettingsOptions,\n type ConfigurationSetting,\n type ConfigurationSettingId,\n type ConfigurationSnapshot,\n type CreateSnapshotOptions,\n type CreateSnapshotResponse,\n type DeleteConfigurationSettingOptions,\n type DeleteConfigurationSettingResponse,\n type GetConfigurationSettingOptions,\n type GetConfigurationSettingResponse,\n type GetSnapshotOptions,\n type GetSnapshotResponse,\n type ListConfigurationSettingPage,\n type ListConfigurationSettingsForSnapshotOptions,\n type ListConfigurationSettingsOptions,\n type ListLabelsOptions,\n type ListLabelsPage,\n type ListRevisionsOptions,\n type ListRevisionsPage,\n type ListSnapshotsOptions,\n type ListSnapshotsPage,\n type PageSettings,\n type SetConfigurationSettingOptions,\n type SetConfigurationSettingParam,\n type SetConfigurationSettingResponse,\n type SetReadOnlyOptions,\n type SetReadOnlyResponse,\n type SettingLabel,\n type SnapshotInfo,\n type UpdateSnapshotOptions,\n type UpdateSnapshotResponse,\n} from \"./models.js\";\nimport type { PagedAsyncIterableIterator, PagedResult } from \"@azure/core-paging\";\nimport { getPagedAsyncIterator } from \"@azure/core-paging\";\nimport type { PipelinePolicy, RestError } from \"@azure/core-rest-pipeline\";\nimport { bearerTokenAuthenticationPolicyName, createHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { audienceErrorHandlingPolicy } from \"./internal/audienceErrorHandlingPolicy.js\";\nimport { SyncTokens, syncTokenPolicy } from \"./internal/syncTokenPolicy.js\";\nimport { queryParamPolicy } from \"./internal/queryParamPolicy.js\";\nimport { emptyBodyPolicy } from \"./internal/emptyBodyPolicy.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type {\n SendConfigurationSettingsOptions,\n SendLabelsRequestOptions,\n} from \"./internal/helpers.js\";\nimport {\n assertResponse,\n checkAndFormatIfAndIfNoneMatch,\n extractAfterTokenFromLinkHeader,\n extractAfterTokenFromNextLink,\n formatAcceptDateTime,\n formatConfigurationSettingsFiltersAndSelect,\n formatFieldsForSelect,\n formatFiltersAndSelect,\n formatLabelsFiltersAndSelect,\n formatSnapshotFiltersAndSelect,\n getScope,\n makeConfigurationSettingEmpty,\n serializeAsConfigurationSettingParam,\n snapshotInfoToGenerated,\n transformKeyValue,\n transformKeyValueResponse,\n transformKeyValueResponseWithStatusCode,\n transformSnapshotResponse,\n} from \"./internal/helpers.js\";\nimport {\n AppConfigurationClient as GeneratedAppConfigurationClient,\n type AppConfigurationClientOptionalParams as GeneratedAppConfigurationClientOptionalParams,\n} from \"./generated/appConfigurationClient.js\";\nimport type {\n _KeyValueListResult,\n _LabelListResult,\n _SnapshotListResult,\n} from \"./generated/models/models.js\";\nimport {\n _getKeyValuesSend,\n _getKeyValuesDeserialize,\n _checkKeyValuesSend,\n _checkKeyValuesDeserialize,\n _getRevisionsSend,\n _getRevisionsDeserialize,\n _getLabelsSend,\n _getLabelsDeserialize,\n _getSnapshotsSend,\n _getSnapshotsDeserialize,\n _createSnapshotSend,\n _createSnapshotDeserialize,\n} from \"./generated/api/operations.js\";\nimport { getLongRunningPoller } from \"./generated/static-helpers/pollingHelpers.js\";\nimport type { AppConfigurationContext } from \"./generated/api/appConfigurationContext.js\";\nimport type { FeatureFlagValue } from \"./featureFlag.js\";\nimport type { SecretReferenceValue } from \"./secretReference.js\";\nimport type { SnapshotReferenceValue } from \"./snapshotReference.js\";\nimport { appConfigKeyCredentialPolicy } from \"./appConfigCredential.js\";\nimport { tracingClient } from \"./internal/tracing.js\";\nimport { logger } from \"./logger.js\";\nimport type { OperationState } from \"@azure/core-lro\";\nimport type { SimplePollerLike } from \"./internal/lroShim.js\";\nimport { wrapPoller } from \"./internal/lroShim.js\";\nimport { appConfigurationApiVersion, packageVersion } from \"./internal/constants.js\";\n\nconst ConnectionStringRegex = /Endpoint=(.*);Id=(.*);Secret=(.*)/;\n\n/**\n * Provides internal configuration options for AppConfigurationClient.\n * @internal\n */\nexport interface InternalAppConfigurationClientOptions extends AppConfigurationClientOptions {\n /**\n * The sync token cache to use for this client.\n * NOTE: this is an internal option, not for general client usage.\n */\n syncTokens?: SyncTokens;\n}\n\n/**\n * Client for the Azure App Configuration service.\n */\nexport class AppConfigurationClient {\n private client: GeneratedAppConfigurationClient;\n private _syncTokens: SyncTokens;\n\n /**\n * Initializes a new instance of the AppConfigurationClient class.\n * @param options - Options for the AppConfigurationClient.\n */\n constructor(connectionString: string, options?: AppConfigurationClientOptions);\n /**\n * Initializes a new instance of the AppConfigurationClient class using\n * a TokenCredential.\n * @param endpoint - The endpoint of the App Configuration service (ex: https://sample.azconfig.io).\n * @param tokenCredential - An object that implements the `TokenCredential` interface used to authenticate requests to the service. Use the \\@azure/identity package to create a credential that suits your needs.\n * @param options - Options for the AppConfigurationClient.\n */\n constructor(\n endpoint: string,\n tokenCredential: TokenCredential,\n options?: AppConfigurationClientOptions,\n );\n constructor(\n connectionStringOrEndpoint: string,\n tokenCredentialOrOptions?: TokenCredential | AppConfigurationClientOptions,\n options?: AppConfigurationClientOptions,\n ) {\n let appConfigOptions: InternalAppConfigurationClientOptions = {};\n let appConfigCredential: TokenCredential | undefined = undefined;\n let appConfigEndpoint: string;\n let authPolicy: PipelinePolicy | undefined;\n let authPolicyName: string;\n let scope: [string] | undefined;\n\n if (isTokenCredential(tokenCredentialOrOptions)) {\n appConfigOptions = (options as InternalAppConfigurationClientOptions) || {};\n appConfigCredential = tokenCredentialOrOptions;\n appConfigEndpoint = connectionStringOrEndpoint.endsWith(\"/\")\n ? connectionStringOrEndpoint.slice(0, -1)\n : connectionStringOrEndpoint;\n scope = [getScope(appConfigEndpoint, appConfigOptions.audience)];\n authPolicyName = bearerTokenAuthenticationPolicyName;\n } else {\n appConfigOptions = (tokenCredentialOrOptions as InternalAppConfigurationClientOptions) || {};\n const regexMatch = connectionStringOrEndpoint?.match(ConnectionStringRegex);\n if (regexMatch) {\n appConfigEndpoint = regexMatch[1];\n authPolicy = appConfigKeyCredentialPolicy(regexMatch[2], regexMatch[3]);\n authPolicyName = authPolicy.name;\n } else {\n throw new Error(\n `Invalid connection string. Valid connection strings should match the regex '${ConnectionStringRegex.source}'.` +\n ` To mitigate the issue, please refer to the troubleshooting guide here at https://aka.ms/azsdk/js/app-configuration/troubleshoot.`,\n );\n }\n }\n\n const generatedClientOptions: GeneratedAppConfigurationClientOptionalParams = {\n ...appConfigOptions,\n userAgentOptions: {\n ...appConfigOptions.userAgentOptions,\n userAgentPrefix: `azsdk-js-app-configuration/${packageVersion}${\n appConfigOptions.userAgentOptions?.userAgentPrefix\n ? ` ${appConfigOptions.userAgentOptions.userAgentPrefix}`\n : \"\"\n }`,\n },\n loggingOptions: {\n logger: logger.info,\n },\n apiVersion: options?.apiVersion ?? appConfigurationApiVersion,\n credentials: {},\n };\n\n generatedClientOptions.credentials = {\n ...generatedClientOptions.credentials,\n scopes: scope,\n };\n\n this._syncTokens = appConfigOptions.syncTokens || new SyncTokens();\n this.client = new GeneratedAppConfigurationClient(\n appConfigEndpoint,\n // When a connection string is used, appConfigCredential is undefined here. We pass undefined to avoid @azure-rest/core-client's keyCredentialAuthenticationPolicy setting the apiKeyHeader on the request.\n // Connection strings are authenticated by HMAC (appConfigKeyCredentialPolicy) and the secret should never leave the client.\n // The `as TokenCredential` cast bridges a gap between the generated client and the core SDK: the generated constructor types `credential` as required (KeyCredential | TokenCredential),\n // but @azure-rest/core-client's addCredentialPipelinePolicy no-ops when no credential is passed, so handing it undefined is safe at runtime.\n appConfigCredential as TokenCredential,\n generatedClientOptions,\n );\n this.client.pipeline.addPolicy(\n audienceErrorHandlingPolicy(appConfigOptions?.audience !== undefined),\n {\n phase: \"Sign\",\n beforePolicies: [authPolicyName],\n },\n );\n if (authPolicy) {\n this.client.pipeline.addPolicy(authPolicy, { phase: \"Sign\" });\n }\n\n this.client.pipeline.addPolicy(queryParamPolicy());\n this.client.pipeline.addPolicy(emptyBodyPolicy());\n this.client.pipeline.addPolicy(syncTokenPolicy(this._syncTokens), { afterPhase: \"Retry\" });\n }\n\n /**\n * Add a setting into the Azure App Configuration service, failing if it\n * already exists.\n *\n * Example usage:\n * ```ts snippet:AddConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.addConfigurationSetting({\n * key: \"MyKey\",\n * label: \"MyLabel\",\n * value: \"MyValue\",\n * });\n * ```\n * @param configurationSetting - A configuration setting.\n * @param options - Optional parameters for the request.\n */\n addConfigurationSetting(\n configurationSetting:\n | AddConfigurationSettingParam\n | AddConfigurationSettingParam<FeatureFlagValue>\n | AddConfigurationSettingParam<SecretReferenceValue>\n | AddConfigurationSettingParam<SnapshotReferenceValue>,\n options: AddConfigurationSettingOptions = {},\n ): Promise<AddConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.addConfigurationSetting\",\n options,\n async (updatedOptions) => {\n const keyValue = serializeAsConfigurationSettingParam(configurationSetting);\n logger.info(\"[addConfigurationSetting] Creating a key value pair\");\n try {\n const originalResponse = await this.client.putKeyValue(\n \"application/json\",\n configurationSetting.key,\n {\n ifNoneMatch: \"*\",\n label: configurationSetting.label,\n entity: keyValue,\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformKeyValueResponse(originalResponse);\n assertResponse(response);\n return response;\n } catch (error) {\n const err = error as RestError;\n // Service does not return an error message. Raise a 412 error similar to .NET\n if (err.statusCode === 412) {\n err.message = `Status 412: Setting was already present`;\n }\n throw err;\n }\n throw new Error(\"Unreachable code\");\n },\n );\n }\n\n /**\n * Delete a setting from the Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:DeleteConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const deletedSetting = await client.deleteConfigurationSetting({\n * key: \"MyKey\",\n * label: \"MyLabel\",\n * });\n * ```\n * @param id - The id of the configuration setting to delete.\n * @param options - Optional parameters for the request (ex: etag, label)\n */\n deleteConfigurationSetting(\n id: ConfigurationSettingId,\n options: DeleteConfigurationSettingOptions = {},\n ): Promise<DeleteConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.deleteConfigurationSetting\",\n options,\n async (updatedOptions) => {\n let status;\n logger.info(\"[deleteConfigurationSetting] Deleting key value pair\");\n const originalResponse = await this.client.deleteKeyValue(id.key, {\n label: id.label,\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n onResponse: (response) => {\n status = response.status;\n },\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n\n const response = transformKeyValueResponseWithStatusCode(originalResponse, status);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Gets a setting from the Azure App Configuration service.\n *\n * Example code:\n * ```ts snippet:GetConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const setting = await client.getConfigurationSetting({ key: \"MyKey\", label: \"MyLabel\" });\n * ```\n * @param id - The id of the configuration setting to get.\n * @param options - Optional parameters for the request.\n */\n async getConfigurationSetting(\n id: ConfigurationSettingId,\n options: GetConfigurationSettingOptions = {},\n ): Promise<GetConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.getConfigurationSetting\",\n options,\n async (updatedOptions) => {\n let status;\n let rawResponse: any;\n logger.info(\"[getConfigurationSetting] Getting key value pair\");\n try {\n const originalResponse = await this.client.getKeyValue(id.key, {\n ...updatedOptions,\n label: id.label,\n select: formatFieldsForSelect(options.fields),\n ...formatAcceptDateTime(options),\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n onResponse: (response) => {\n status = response.status;\n rawResponse = response;\n },\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n\n const response = transformKeyValueResponseWithStatusCode(originalResponse, status);\n assertResponse(response);\n return response;\n } catch (error) {\n const err = error as RestError;\n // 304 only comes back if the user has passed a conditional option in their\n // request _and_ the remote object has the same etag as what the user passed.\n if (err.statusCode === 304) {\n const response = transformKeyValueResponseWithStatusCode(\n { _response: rawResponse } as any,\n 304,\n );\n // this is one of our few 'required' fields so we'll make sure it does get initialized\n // with a value\n response.key = id.key;\n // and now we'll undefine all the other properties that are not HTTP related\n makeConfigurationSettingEmpty(response);\n assertResponse(response);\n return response;\n }\n throw err;\n }\n },\n );\n }\n\n /**\n * Lists settings from the Azure App Configuration service, optionally\n * filtered by key names, labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListConfigurationSettings\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listConfigurationSettings({ labelFilter: \"MyLabel\" });\n * ```\n * @param options - Optional parameters for the request.\n */\n listConfigurationSettings(\n options: ListConfigurationSettingsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pageEtags = options.pageEtags ? [...options.pageEtags] : undefined;\n delete options.pageEtags;\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const etag = pageEtags?.shift();\n try {\n const response = await this.sendConfigurationSettingsRequest(\n { ...options, etag },\n pageLink,\n );\n const currentResponse: ListConfigurationSettingPage = {\n ...response,\n items: response.items != null ? response.items?.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n } catch (error) {\n const err = error as RestError;\n\n const link = err.response?.headers?.get(\"link\");\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n\n if (err.statusCode === 304) {\n err.message = `Status 304: No updates for this page`;\n logger.info(\n `[listConfigurationSettings] No updates for this page. The current etag for the page is ${etag}`,\n );\n return {\n page: {\n items: [],\n etag,\n _response: { ...err.response, status: 304 },\n } as unknown as ListConfigurationSettingPage,\n nextPageLink: continuationToken,\n };\n }\n\n throw err;\n }\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Checks settings from the Azure App Configuration service using a HEAD request, returning only headers without the response body.\n * This is useful for efficiently checking if settings have changed by comparing ETags.\n *\n * Example code:\n * ```ts snippet:CheckConfigurationSettings\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const pageIterator = client.checkConfigurationSettings({ keyFilter: \"MyKey\" }).byPage();\n * ```\n * @param options - Optional parameters for the request.\n */\n checkConfigurationSettings(\n options: CheckConfigurationSettingsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pageEtags = options.pageEtags ? [...options.pageEtags] : undefined;\n delete options.pageEtags;\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const etag = pageEtags?.shift();\n try {\n const response = await this.checkConfigurationSettingsRequest(\n { ...options, etag },\n pageLink,\n );\n const link = response._response?.headers?.get(\"link\") as string | undefined;\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n const currentResponse: ListConfigurationSettingPage = {\n ...response,\n etag: response._response?.headers?.get(\"etag\") as string | undefined,\n items: [],\n continuationToken: continuationToken,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n } catch (error) {\n const err = error as RestError;\n\n const link = err.response?.headers?.get(\"link\");\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n\n if (err.statusCode === 304) {\n err.message = `Status 304: No updates for this page`;\n logger.info(\n `[checkConfigurationSettings] No updates for this page. The current etag for the page is ${etag}`,\n );\n return {\n page: {\n items: [],\n etag,\n _response: { ...err.response, status: 304 },\n } as unknown as ListConfigurationSettingPage,\n nextPageLink: continuationToken,\n };\n }\n\n throw err;\n }\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Lists settings from the Azure App Configuration service for snapshots based on name, optionally\n * filtered by key names, labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListConfigurationSettingsForSnashots\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listConfigurationSettingsForSnashots({\n * snapshotName: \"MySnapshot\",\n * });\n * ```\n * @param options - Optional parameters for the request.\n */\n listConfigurationSettingsForSnapshot(\n snapshotName: string,\n options: ListConfigurationSettingsForSnapshotOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendConfigurationSettingsRequest(\n { snapshotName, ...options },\n pageLink,\n );\n const currentResponse = {\n ...response,\n items: response.items != null ? response.items?.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Get a list of labels from the Azure App Configuration service\n *\n * Example code:\n * ```ts snippet:ListLabels\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listLabels({ nameFilter: \"prod*\" });\n * ```\n * @param options - Optional parameters for the request.\n */\n listLabels(\n options: ListLabelsOptions = {},\n ): PagedAsyncIterableIterator<SettingLabel, ListLabelsPage, PageSettings> {\n const pagedResult: PagedResult<ListLabelsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendLabelsRequest(options, pageLink);\n const currentResponse: ListLabelsPage = {\n ...response,\n items: response.items ?? [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private get _context(): AppConfigurationContext {\n return (this.client as any)._client as AppConfigurationContext;\n }\n\n private async sendLabelsRequest(\n options: SendLabelsRequestOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_LabelListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getLabelsSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatLabelsFiltersAndSelect(options),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getLabelsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n private async sendConfigurationSettingsRequest(\n options: SendConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_KeyValueListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getKeyValuesSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatConfigurationSettingsFiltersAndSelect(options),\n ...checkAndFormatIfAndIfNoneMatch({ etag: options.etag }, { onlyIfChanged: true }),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getKeyValuesDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n private async checkConfigurationSettingsRequest(\n options: SendConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<{ _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.checkConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _checkKeyValuesSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatConfigurationSettingsFiltersAndSelect(options),\n ...checkAndFormatIfAndIfNoneMatch({ etag: options.etag }, { onlyIfChanged: true }),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n await _checkKeyValuesDeserialize(rawResponse);\n return {\n _response: {\n ...rawResponse,\n headers: createHttpHeaders(rawResponse.headers),\n },\n };\n },\n );\n }\n\n /**\n * Lists revisions of a set of keys, optionally filtered by key names,\n * labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListRevisions\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const revisionsIterator = client.listRevisions({ keys: [\"MyKey\"] });\n * ```\n * @param options - Optional parameters for the request.\n */\n listRevisions(\n options?: ListRevisionsOptions,\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListRevisionsPage, PageSettings> {\n const pagedResult: PagedResult<ListRevisionsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendRevisionsRequest(options, pageLink);\n const currentResponse = {\n ...response,\n items: response.items != null ? response.items.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n // let itemList = currentResponse.items;\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private async sendRevisionsRequest(\n options: ListConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_KeyValueListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listRevisions\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getRevisionsSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatFiltersAndSelect(updatedOptions),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getRevisionsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n /**\n * Sets the value of a key in the Azure App Configuration service, allowing for an optional etag.\n * @param key - The name of the key.\n * @param configurationSetting - A configuration value.\n * @param options - Optional parameters for the request.\n *\n * Example code:\n * ```ts snippet:SetConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * await client.setConfigurationSetting({ key: \"MyKey\", value: \"MyValue\" });\n * ```\n */\n async setConfigurationSetting(\n configurationSetting:\n | SetConfigurationSettingParam\n | SetConfigurationSettingParam<FeatureFlagValue>\n | SetConfigurationSettingParam<SecretReferenceValue>\n | SetConfigurationSettingParam<SnapshotReferenceValue>,\n options: SetConfigurationSettingOptions = {},\n ): Promise<SetConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.setConfigurationSetting\",\n options,\n async (updatedOptions) => {\n const keyValue = serializeAsConfigurationSettingParam(configurationSetting);\n logger.info(\"[setConfigurationSetting] Setting new key value\");\n const response = transformKeyValueResponse(\n await this.client.putKeyValue(\"application/json\", configurationSetting.key, {\n ...updatedOptions,\n label: configurationSetting.label,\n entity: keyValue,\n ...checkAndFormatIfAndIfNoneMatch(configurationSetting, options),\n\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n }),\n );\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Sets or clears a key's read-only status.\n * @param id - The id of the configuration setting to modify.\n */\n async setReadOnly(\n id: ConfigurationSettingId,\n readOnly: boolean,\n options: SetReadOnlyOptions = {},\n ): Promise<SetReadOnlyResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.setReadOnly\",\n options,\n async (newOptions) => {\n let response;\n if (readOnly) {\n logger.info(\"[setReadOnly] Setting read-only status to ${readOnly}\");\n response = await this.client.putLock(id.key, {\n ...newOptions,\n label: id.label,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n\n requestOptions: {\n ...newOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n } else {\n logger.info(\"[setReadOnly] Deleting read-only lock\");\n response = await this.client.deleteLock(id.key, {\n ...newOptions,\n label: id.label,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n\n requestOptions: {\n ...newOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n }\n response = transformKeyValueResponse(response);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Adds an external synchronization token to ensure service requests receive up-to-date values.\n *\n * @param syncToken - The synchronization token value.\n */\n updateSyncToken(syncToken: string): void {\n this._syncTokens.addSyncTokenFromHeaderValue(syncToken);\n }\n\n /**\n * Begins creating a snapshot for Azure App Configuration service, fails if it\n * already exists.\n */\n beginCreateSnapshot(\n snapshot: SnapshotInfo,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: CreateSnapshotOptions = {},\n ): Promise<SimplePollerLike<OperationState<CreateSnapshotResponse>, CreateSnapshotResponse>> {\n return tracingClient.withSpan(\n `${AppConfigurationClient.name}.beginCreateSnapshot`,\n options,\n async (updatedOptions) => {\n const generatedSnapshot = snapshotInfoToGenerated(snapshot);\n const poller = getLongRunningPoller(\n this._context,\n async (result) =>\n transformSnapshotResponse(\n await _createSnapshotDeserialize(result),\n ) as CreateSnapshotResponse,\n [\"201\", \"200\", \"202\"],\n {\n updateIntervalInMs: updatedOptions?.updateIntervalInMs,\n abortSignal: updatedOptions?.abortSignal,\n getInitialResponse: () =>\n _createSnapshotSend(\n this._context,\n \"application/vnd.microsoft.appconfig.snapshot+json\",\n snapshot.name,\n generatedSnapshot,\n {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n ),\n resourceLocationConfig: \"original-uri\",\n },\n );\n return wrapPoller(poller);\n },\n );\n }\n\n /**\n * Begins creating a snapshot for Azure App Configuration service, waits until it is done,\n * fails if it already exists.\n */\n beginCreateSnapshotAndWait(\n snapshot: SnapshotInfo,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: CreateSnapshotOptions = {},\n ): Promise<CreateSnapshotResponse> {\n return tracingClient.withSpan(\n `${AppConfigurationClient.name}.beginCreateSnapshotAndWait`,\n options,\n async (updatedOptions) => {\n const generatedSnapshot = snapshotInfoToGenerated(snapshot);\n const poller = getLongRunningPoller(\n this._context,\n async (result) =>\n transformSnapshotResponse(\n await _createSnapshotDeserialize(result),\n ) as CreateSnapshotResponse,\n [\"201\", \"200\", \"202\"],\n {\n updateIntervalInMs: updatedOptions?.updateIntervalInMs,\n abortSignal: updatedOptions?.abortSignal,\n getInitialResponse: () =>\n _createSnapshotSend(\n this._context,\n \"application/vnd.microsoft.appconfig.snapshot+json\",\n snapshot.name,\n generatedSnapshot,\n {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n ),\n resourceLocationConfig: \"original-uri\",\n },\n );\n return poller.pollUntilDone();\n },\n );\n }\n\n /**\n * Get a snapshot from Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:GetSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const retrievedSnapshot = await client.getSnapshot(\"testsnapshot\");\n * console.log(\"Retrieved snapshot:\", retrievedSnapshot);\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n getSnapshot(name: string, options: GetSnapshotOptions = {}): Promise<GetSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.getSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[getSnapshot] Get a snapshot\");\n const originalResponse = await this.client.getSnapshot(name, {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Recover an archived snapshot back to ready status\n *\n * Example usage:\n * ```ts snippet:RecoverSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.recoverSnapshot(\"MySnapshot\");\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n recoverSnapshot(\n name: string,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: UpdateSnapshotOptions = {},\n ): Promise<UpdateSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.recoverSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[recoverSnapshot] Recover a snapshot\");\n const originalResponse = await this.client.updateSnapshot(\n \"application/merge-patch+json\",\n name,\n { status: \"ready\" },\n {\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(\n { etag: options.etag },\n { onlyIfUnchanged: true, ...options },\n ),\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n /**\n * Archive a ready snapshot\n *\n * Example usage:\n * ```ts snippet:ArchiveSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.archiveSnapshot({ name: \"MySnapshot\" });\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n archiveSnapshot(\n name: string,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: UpdateSnapshotOptions = {},\n ): Promise<UpdateSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.archiveSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[archiveSnapshot] Archive a snapshot\");\n const originalResponse = await this.client.updateSnapshot(\n \"application/merge-patch+json\",\n name,\n { status: \"archived\" },\n {\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(\n { etag: options.etag },\n { onlyIfUnchanged: true, ...options },\n ),\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * List all snapshots from Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:ListSnapshots\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const snapshots = await client.listSnapshots();\n *\n * for await (const snapshot of snapshots) {\n * console.log(`Found snapshot: ${snapshot.name}`);\n * }\n * ```\n * @param options - Optional parameters for the request.\n */\n listSnapshots(\n options: ListSnapshotsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSnapshot, ListSnapshotsPage, PageSettings> {\n const pagedResult: PagedResult<ListSnapshotsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendSnapShotsRequest(options, pageLink);\n const currentResponse = {\n ...response,\n items:\n response.items != null ? response.items.map((s) => transformSnapshotResponse(s)) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private async sendSnapShotsRequest(\n options: ListSnapshotsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_SnapshotListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listSnapshots\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getSnapshotsSend(this._context, {\n ...updatedOptions,\n ...formatSnapshotFiltersAndSelect(options),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getSnapshotsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n}\n"]}
1
+ {"version":3,"file":"appConfigurationClient.js","sourceRoot":"","sources":["../../src/appConfigurationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA2ClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,mCAAmC,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,2BAA2B,E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BAAiB,CAAC,IAAI,CAAC,QAAQ,EAAE;gBACzD,GAAG,cAAc;gBACjB,GAAG,8BAA8B,CAAC,OAAO,CAAC;gBAC1C,KAAK,EAAE,QAAQ;gBACf,cAAc,EAAE;oBACd,GAAG,cAAc,CAAC,cAAc;oBAChC,eAAe,EAAE,IAAI;iBACtB;aACF,CAAC,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC,WAAW,CAAC,CAAC;YAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,CAAC,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// https://azure.github.io/azure-sdk/typescript_design.html#ts-config-lib\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport {\n type AddConfigurationSettingOptions,\n type AddConfigurationSettingParam,\n type AddConfigurationSettingResponse,\n type AppConfigurationClientOptions,\n type CheckConfigurationSettingsOptions,\n type ConfigurationSetting,\n type ConfigurationSettingId,\n type ConfigurationSnapshot,\n type CreateSnapshotOptions,\n type CreateSnapshotResponse,\n type DeleteConfigurationSettingOptions,\n type DeleteConfigurationSettingResponse,\n type GetConfigurationSettingOptions,\n type GetConfigurationSettingResponse,\n type GetSnapshotOptions,\n type GetSnapshotResponse,\n type ListConfigurationSettingPage,\n type ListConfigurationSettingsForSnapshotOptions,\n type ListConfigurationSettingsOptions,\n type ListLabelsOptions,\n type ListLabelsPage,\n type ListRevisionsOptions,\n type ListRevisionsPage,\n type ListSnapshotsOptions,\n type ListSnapshotsPage,\n type PageSettings,\n type SetConfigurationSettingOptions,\n type SetConfigurationSettingParam,\n type SetConfigurationSettingResponse,\n type SetReadOnlyOptions,\n type SetReadOnlyResponse,\n type SettingLabel,\n type SnapshotInfo,\n type UpdateSnapshotOptions,\n type UpdateSnapshotResponse,\n} from \"./models.js\";\nimport type { PagedAsyncIterableIterator, PagedResult } from \"@azure/core-paging\";\nimport { getPagedAsyncIterator } from \"@azure/core-paging\";\nimport type { PipelinePolicy, RestError } from \"@azure/core-rest-pipeline\";\nimport { bearerTokenAuthenticationPolicyName, createHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { audienceErrorHandlingPolicy } from \"./internal/audienceErrorHandlingPolicy.js\";\nimport { SyncTokens, syncTokenPolicy } from \"./internal/syncTokenPolicy.js\";\nimport { queryParamPolicy } from \"./internal/queryParamPolicy.js\";\nimport { emptyBodyPolicy } from \"./internal/emptyBodyPolicy.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type {\n SendConfigurationSettingsOptions,\n SendLabelsRequestOptions,\n} from \"./internal/helpers.js\";\nimport {\n assertResponse,\n checkAndFormatIfAndIfNoneMatch,\n encodePathParameter,\n extractAfterTokenFromLinkHeader,\n extractAfterTokenFromNextLink,\n formatAcceptDateTime,\n formatConfigurationSettingsFiltersAndSelect,\n formatFieldsForSelect,\n formatFiltersAndSelect,\n formatLabelsFiltersAndSelect,\n formatSnapshotFiltersAndSelect,\n getScope,\n makeConfigurationSettingEmpty,\n serializeAsConfigurationSettingParam,\n snapshotInfoToGenerated,\n transformKeyValue,\n transformKeyValueResponse,\n transformKeyValueResponseWithStatusCode,\n transformSnapshotResponse,\n} from \"./internal/helpers.js\";\nimport {\n AppConfigurationClient as GeneratedAppConfigurationClient,\n type AppConfigurationClientOptionalParams as GeneratedAppConfigurationClientOptionalParams,\n} from \"./generated/appConfigurationClient.js\";\nimport type {\n _KeyValueListResult,\n _LabelListResult,\n _SnapshotListResult,\n} from \"./generated/models/models.js\";\nimport {\n _getKeyValuesSend,\n _getKeyValuesDeserialize,\n _checkKeyValuesSend,\n _checkKeyValuesDeserialize,\n _getRevisionsSend,\n _getRevisionsDeserialize,\n _getLabelsSend,\n _getLabelsDeserialize,\n _getSnapshotsSend,\n _getSnapshotsDeserialize,\n _createSnapshotSend,\n _createSnapshotDeserialize,\n} from \"./generated/api/operations.js\";\nimport { getLongRunningPoller } from \"./generated/static-helpers/pollingHelpers.js\";\nimport type { AppConfigurationContext } from \"./generated/api/appConfigurationContext.js\";\nimport type { FeatureFlagValue } from \"./featureFlag.js\";\nimport type { SecretReferenceValue } from \"./secretReference.js\";\nimport type { SnapshotReferenceValue } from \"./snapshotReference.js\";\nimport { appConfigKeyCredentialPolicy } from \"./appConfigCredential.js\";\nimport { tracingClient } from \"./internal/tracing.js\";\nimport { logger } from \"./logger.js\";\nimport type { OperationState } from \"@azure/core-lro\";\nimport type { SimplePollerLike } from \"./internal/lroShim.js\";\nimport { wrapPoller } from \"./internal/lroShim.js\";\nimport { appConfigurationApiVersion, packageVersion } from \"./internal/constants.js\";\n\nconst ConnectionStringRegex = /Endpoint=(.*);Id=(.*);Secret=(.*)/;\n\n/**\n * Provides internal configuration options for AppConfigurationClient.\n * @internal\n */\nexport interface InternalAppConfigurationClientOptions extends AppConfigurationClientOptions {\n /**\n * The sync token cache to use for this client.\n * NOTE: this is an internal option, not for general client usage.\n */\n syncTokens?: SyncTokens;\n}\n\n/**\n * Client for the Azure App Configuration service.\n */\nexport class AppConfigurationClient {\n private client: GeneratedAppConfigurationClient;\n private _syncTokens: SyncTokens;\n\n /**\n * Initializes a new instance of the AppConfigurationClient class.\n * @param options - Options for the AppConfigurationClient.\n */\n constructor(connectionString: string, options?: AppConfigurationClientOptions);\n /**\n * Initializes a new instance of the AppConfigurationClient class using\n * a TokenCredential.\n * @param endpoint - The endpoint of the App Configuration service (ex: https://sample.azconfig.io).\n * @param tokenCredential - An object that implements the `TokenCredential` interface used to authenticate requests to the service. Use the \\@azure/identity package to create a credential that suits your needs.\n * @param options - Options for the AppConfigurationClient.\n */\n constructor(\n endpoint: string,\n tokenCredential: TokenCredential,\n options?: AppConfigurationClientOptions,\n );\n constructor(\n connectionStringOrEndpoint: string,\n tokenCredentialOrOptions?: TokenCredential | AppConfigurationClientOptions,\n options?: AppConfigurationClientOptions,\n ) {\n let appConfigOptions: InternalAppConfigurationClientOptions;\n let appConfigCredential: TokenCredential | undefined = undefined;\n let appConfigEndpoint: string;\n let authPolicy: PipelinePolicy | undefined;\n let authPolicyName: string;\n let scope: [string] | undefined;\n\n if (isTokenCredential(tokenCredentialOrOptions)) {\n appConfigOptions = (options as InternalAppConfigurationClientOptions) || {};\n appConfigCredential = tokenCredentialOrOptions;\n appConfigEndpoint = connectionStringOrEndpoint.endsWith(\"/\")\n ? connectionStringOrEndpoint.slice(0, -1)\n : connectionStringOrEndpoint;\n scope = [getScope(appConfigEndpoint, appConfigOptions.audience)];\n authPolicyName = bearerTokenAuthenticationPolicyName;\n } else {\n appConfigOptions = (tokenCredentialOrOptions as InternalAppConfigurationClientOptions) || {};\n const regexMatch = connectionStringOrEndpoint?.match(ConnectionStringRegex);\n if (regexMatch) {\n appConfigEndpoint = regexMatch[1];\n authPolicy = appConfigKeyCredentialPolicy(regexMatch[2], regexMatch[3]);\n authPolicyName = authPolicy.name;\n } else {\n throw new Error(\n `Invalid connection string. Valid connection strings should match the regex '${ConnectionStringRegex.source}'.` +\n ` To mitigate the issue, please refer to the troubleshooting guide here at https://aka.ms/azsdk/js/app-configuration/troubleshoot.`,\n );\n }\n }\n\n const generatedClientOptions: GeneratedAppConfigurationClientOptionalParams = {\n ...appConfigOptions,\n userAgentOptions: {\n ...appConfigOptions.userAgentOptions,\n userAgentPrefix: appConfigOptions.userAgentOptions?.userAgentPrefix\n ? `${appConfigOptions.userAgentOptions.userAgentPrefix} azsdk-js-app-configuration/${packageVersion}`\n : `azsdk-js-app-configuration/${packageVersion}`,\n },\n loggingOptions: {\n logger: logger.info,\n },\n apiVersion: options?.apiVersion ?? appConfigurationApiVersion,\n credentials: {},\n };\n\n generatedClientOptions.credentials = {\n ...generatedClientOptions.credentials,\n scopes: scope,\n };\n\n this._syncTokens = appConfigOptions.syncTokens || new SyncTokens();\n this.client = new GeneratedAppConfigurationClient(\n appConfigEndpoint,\n // When a connection string is used, appConfigCredential is undefined here. We pass undefined to avoid @azure-rest/core-client's keyCredentialAuthenticationPolicy setting the apiKeyHeader on the request.\n // Connection strings are authenticated by HMAC (appConfigKeyCredentialPolicy) and the secret should never leave the client.\n // The `as TokenCredential` cast bridges a gap between the generated client and the core SDK: the generated constructor types `credential` as required (KeyCredential | TokenCredential),\n // but @azure-rest/core-client's addCredentialPipelinePolicy no-ops when no credential is passed, so handing it undefined is safe at runtime.\n appConfigCredential as TokenCredential,\n generatedClientOptions,\n );\n this.client.pipeline.addPolicy(\n audienceErrorHandlingPolicy(appConfigOptions?.audience !== undefined),\n {\n phase: \"Sign\",\n beforePolicies: [authPolicyName],\n },\n );\n if (authPolicy) {\n this.client.pipeline.addPolicy(authPolicy, { phase: \"Sign\" });\n }\n\n this.client.pipeline.addPolicy(queryParamPolicy());\n this.client.pipeline.addPolicy(emptyBodyPolicy());\n this.client.pipeline.addPolicy(syncTokenPolicy(this._syncTokens), { afterPhase: \"Retry\" });\n }\n\n /**\n * Add a setting into the Azure App Configuration service, failing if it\n * already exists.\n *\n * Example usage:\n * ```ts snippet:AddConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.addConfigurationSetting({\n * key: \"MyKey\",\n * label: \"MyLabel\",\n * value: \"MyValue\",\n * });\n * ```\n * @param configurationSetting - A configuration setting.\n * @param options - Optional parameters for the request.\n */\n addConfigurationSetting(\n configurationSetting:\n | AddConfigurationSettingParam\n | AddConfigurationSettingParam<FeatureFlagValue>\n | AddConfigurationSettingParam<SecretReferenceValue>\n | AddConfigurationSettingParam<SnapshotReferenceValue>,\n options: AddConfigurationSettingOptions = {},\n ): Promise<AddConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.addConfigurationSetting\",\n options,\n async (updatedOptions) => {\n const keyValue = serializeAsConfigurationSettingParam(configurationSetting);\n logger.info(\"[addConfigurationSetting] Creating a key value pair\");\n try {\n const originalResponse = await this.client.putKeyValue(\n \"application/json\",\n encodePathParameter(configurationSetting.key),\n {\n ifNoneMatch: \"*\",\n label: configurationSetting.label,\n entity: keyValue,\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformKeyValueResponse(originalResponse);\n assertResponse(response);\n return response;\n } catch (error) {\n const err = error as RestError;\n // Service does not return an error message. Raise a 412 error similar to .NET\n if (err.statusCode === 412) {\n err.message = `Status 412: Setting was already present`;\n }\n throw err;\n }\n throw new Error(\"Unreachable code\");\n },\n );\n }\n\n /**\n * Delete a setting from the Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:DeleteConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const deletedSetting = await client.deleteConfigurationSetting({\n * key: \"MyKey\",\n * label: \"MyLabel\",\n * });\n * ```\n * @param id - The id of the configuration setting to delete.\n * @param options - Optional parameters for the request (ex: etag, label)\n */\n deleteConfigurationSetting(\n id: ConfigurationSettingId,\n options: DeleteConfigurationSettingOptions = {},\n ): Promise<DeleteConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.deleteConfigurationSetting\",\n options,\n async (updatedOptions) => {\n let status;\n logger.info(\"[deleteConfigurationSetting] Deleting key value pair\");\n const originalResponse = await this.client.deleteKeyValue(encodePathParameter(id.key), {\n label: id.label,\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n onResponse: (response) => {\n status = response.status;\n },\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n\n const response = transformKeyValueResponseWithStatusCode(originalResponse, status);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Gets a setting from the Azure App Configuration service.\n *\n * Example code:\n * ```ts snippet:GetConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const setting = await client.getConfigurationSetting({ key: \"MyKey\", label: \"MyLabel\" });\n * ```\n * @param id - The id of the configuration setting to get.\n * @param options - Optional parameters for the request.\n */\n async getConfigurationSetting(\n id: ConfigurationSettingId,\n options: GetConfigurationSettingOptions = {},\n ): Promise<GetConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.getConfigurationSetting\",\n options,\n async (updatedOptions) => {\n let status;\n let rawResponse: any;\n logger.info(\"[getConfigurationSetting] Getting key value pair\");\n try {\n const originalResponse = await this.client.getKeyValue(encodePathParameter(id.key), {\n ...updatedOptions,\n label: id.label,\n select: formatFieldsForSelect(options.fields),\n ...formatAcceptDateTime(options),\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n onResponse: (response) => {\n status = response.status;\n rawResponse = response;\n },\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n\n const response = transformKeyValueResponseWithStatusCode(originalResponse, status);\n assertResponse(response);\n return response;\n } catch (error) {\n const err = error as RestError;\n // 304 only comes back if the user has passed a conditional option in their\n // request _and_ the remote object has the same etag as what the user passed.\n if (err.statusCode === 304) {\n const response = transformKeyValueResponseWithStatusCode(\n { _response: rawResponse } as any,\n 304,\n );\n // this is one of our few 'required' fields so we'll make sure it does get initialized\n // with a value\n response.key = id.key;\n // and now we'll undefine all the other properties that are not HTTP related\n makeConfigurationSettingEmpty(response);\n assertResponse(response);\n return response;\n }\n throw err;\n }\n },\n );\n }\n\n /**\n * Lists settings from the Azure App Configuration service, optionally\n * filtered by key names, labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListConfigurationSettings\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listConfigurationSettings({ labelFilter: \"MyLabel\" });\n * ```\n * @param options - Optional parameters for the request.\n */\n listConfigurationSettings(\n options: ListConfigurationSettingsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pageEtags = options.pageEtags ? [...options.pageEtags] : undefined;\n delete options.pageEtags;\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const etag = pageEtags?.shift();\n try {\n const response = await this.sendConfigurationSettingsRequest(\n { ...options, etag },\n pageLink,\n );\n const currentResponse: ListConfigurationSettingPage = {\n ...response,\n items: response.items != null ? response.items?.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n } catch (error) {\n const err = error as RestError;\n\n const link = err.response?.headers?.get(\"link\");\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n\n if (err.statusCode === 304) {\n err.message = `Status 304: No updates for this page`;\n logger.info(\n `[listConfigurationSettings] No updates for this page. The current etag for the page is ${etag}`,\n );\n return {\n page: {\n items: [],\n etag,\n _response: { ...err.response, status: 304 },\n } as unknown as ListConfigurationSettingPage,\n nextPageLink: continuationToken,\n };\n }\n\n throw err;\n }\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Checks settings from the Azure App Configuration service using a HEAD request, returning only headers without the response body.\n * This is useful for efficiently checking if settings have changed by comparing ETags.\n *\n * Example code:\n * ```ts snippet:CheckConfigurationSettings\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const pageIterator = client.checkConfigurationSettings({ keyFilter: \"MyKey\" }).byPage();\n * ```\n * @param options - Optional parameters for the request.\n */\n checkConfigurationSettings(\n options: CheckConfigurationSettingsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pageEtags = options.pageEtags ? [...options.pageEtags] : undefined;\n delete options.pageEtags;\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const etag = pageEtags?.shift();\n try {\n const response = await this.checkConfigurationSettingsRequest(\n { ...options, etag },\n pageLink,\n );\n const link = response._response?.headers?.get(\"link\") as string | undefined;\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n const currentResponse: ListConfigurationSettingPage = {\n ...response,\n etag: response._response?.headers?.get(\"etag\") as string | undefined,\n items: [],\n continuationToken: continuationToken,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n } catch (error) {\n const err = error as RestError;\n\n const link = err.response?.headers?.get(\"link\");\n const continuationToken = link ? extractAfterTokenFromLinkHeader(link) : undefined;\n\n if (err.statusCode === 304) {\n err.message = `Status 304: No updates for this page`;\n logger.info(\n `[checkConfigurationSettings] No updates for this page. The current etag for the page is ${etag}`,\n );\n return {\n page: {\n items: [],\n etag,\n _response: { ...err.response, status: 304 },\n } as unknown as ListConfigurationSettingPage,\n nextPageLink: continuationToken,\n };\n }\n\n throw err;\n }\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Lists settings from the Azure App Configuration service for snapshots based on name, optionally\n * filtered by key names, labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListConfigurationSettingsForSnashots\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listConfigurationSettingsForSnashots({\n * snapshotName: \"MySnapshot\",\n * });\n * ```\n * @param options - Optional parameters for the request.\n */\n listConfigurationSettingsForSnapshot(\n snapshotName: string,\n options: ListConfigurationSettingsForSnapshotOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListConfigurationSettingPage, PageSettings> {\n const pagedResult: PagedResult<ListConfigurationSettingPage, PageSettings, string | undefined> =\n {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendConfigurationSettingsRequest(\n { snapshotName, ...options },\n pageLink,\n );\n const currentResponse = {\n ...response,\n items: response.items != null ? response.items?.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n /**\n * Get a list of labels from the Azure App Configuration service\n *\n * Example code:\n * ```ts snippet:ListLabels\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const allSettingsWithLabel = client.listLabels({ nameFilter: \"prod*\" });\n * ```\n * @param options - Optional parameters for the request.\n */\n listLabels(\n options: ListLabelsOptions = {},\n ): PagedAsyncIterableIterator<SettingLabel, ListLabelsPage, PageSettings> {\n const pagedResult: PagedResult<ListLabelsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendLabelsRequest(options, pageLink);\n const currentResponse: ListLabelsPage = {\n ...response,\n items: response.items ?? [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n _response: response._response,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private get _context(): AppConfigurationContext {\n return (this.client as any)._client as AppConfigurationContext;\n }\n\n private async sendLabelsRequest(\n options: SendLabelsRequestOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_LabelListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getLabelsSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatLabelsFiltersAndSelect(options),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getLabelsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n private async sendConfigurationSettingsRequest(\n options: SendConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_KeyValueListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getKeyValuesSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatConfigurationSettingsFiltersAndSelect(options),\n ...checkAndFormatIfAndIfNoneMatch({ etag: options.etag }, { onlyIfChanged: true }),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getKeyValuesDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n private async checkConfigurationSettingsRequest(\n options: SendConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<{ _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.checkConfigurationSettings\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _checkKeyValuesSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatConfigurationSettingsFiltersAndSelect(options),\n ...checkAndFormatIfAndIfNoneMatch({ etag: options.etag }, { onlyIfChanged: true }),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n await _checkKeyValuesDeserialize(rawResponse);\n return {\n _response: {\n ...rawResponse,\n headers: createHttpHeaders(rawResponse.headers),\n },\n };\n },\n );\n }\n\n /**\n * Lists revisions of a set of keys, optionally filtered by key names,\n * labels and accept datetime.\n *\n * Example code:\n * ```ts snippet:ListRevisions\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const revisionsIterator = client.listRevisions({ keys: [\"MyKey\"] });\n * ```\n * @param options - Optional parameters for the request.\n */\n listRevisions(\n options?: ListRevisionsOptions,\n ): PagedAsyncIterableIterator<ConfigurationSetting, ListRevisionsPage, PageSettings> {\n const pagedResult: PagedResult<ListRevisionsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendRevisionsRequest(options, pageLink);\n const currentResponse = {\n ...response,\n items: response.items != null ? response.items.map(transformKeyValue) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n // let itemList = currentResponse.items;\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private async sendRevisionsRequest(\n options: ListConfigurationSettingsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_KeyValueListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listRevisions\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getRevisionsSend(this._context, {\n ...updatedOptions,\n ...formatAcceptDateTime(options),\n ...formatFiltersAndSelect(updatedOptions),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getRevisionsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n\n /**\n * Sets the value of a key in the Azure App Configuration service, allowing for an optional etag.\n * @param key - The name of the key.\n * @param configurationSetting - A configuration value.\n * @param options - Optional parameters for the request.\n *\n * Example code:\n * ```ts snippet:SetConfigurationSetting\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * await client.setConfigurationSetting({ key: \"MyKey\", value: \"MyValue\" });\n * ```\n */\n async setConfigurationSetting(\n configurationSetting:\n | SetConfigurationSettingParam\n | SetConfigurationSettingParam<FeatureFlagValue>\n | SetConfigurationSettingParam<SecretReferenceValue>\n | SetConfigurationSettingParam<SnapshotReferenceValue>,\n options: SetConfigurationSettingOptions = {},\n ): Promise<SetConfigurationSettingResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.setConfigurationSetting\",\n options,\n async (updatedOptions) => {\n const keyValue = serializeAsConfigurationSettingParam(configurationSetting);\n logger.info(\"[setConfigurationSetting] Setting new key value\");\n const response = transformKeyValueResponse(\n await this.client.putKeyValue(\n \"application/json\",\n encodePathParameter(configurationSetting.key),\n {\n ...updatedOptions,\n label: configurationSetting.label,\n entity: keyValue,\n ...checkAndFormatIfAndIfNoneMatch(configurationSetting, options),\n\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n ),\n );\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Sets or clears a key's read-only status.\n * @param id - The id of the configuration setting to modify.\n */\n async setReadOnly(\n id: ConfigurationSettingId,\n readOnly: boolean,\n options: SetReadOnlyOptions = {},\n ): Promise<SetReadOnlyResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.setReadOnly\",\n options,\n async (newOptions) => {\n let response;\n if (readOnly) {\n logger.info(\"[setReadOnly] Setting read-only status to ${readOnly}\");\n response = await this.client.putLock(encodePathParameter(id.key), {\n ...newOptions,\n label: id.label,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n\n requestOptions: {\n ...newOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n } else {\n logger.info(\"[setReadOnly] Deleting read-only lock\");\n response = await this.client.deleteLock(encodePathParameter(id.key), {\n ...newOptions,\n label: id.label,\n ...checkAndFormatIfAndIfNoneMatch(id, options),\n\n requestOptions: {\n ...newOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n }\n response = transformKeyValueResponse(response);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Adds an external synchronization token to ensure service requests receive up-to-date values.\n *\n * @param syncToken - The synchronization token value.\n */\n updateSyncToken(syncToken: string): void {\n this._syncTokens.addSyncTokenFromHeaderValue(syncToken);\n }\n\n /**\n * Begins creating a snapshot for Azure App Configuration service, fails if it\n * already exists.\n */\n beginCreateSnapshot(\n snapshot: SnapshotInfo,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: CreateSnapshotOptions = {},\n ): Promise<SimplePollerLike<OperationState<CreateSnapshotResponse>, CreateSnapshotResponse>> {\n return tracingClient.withSpan(\n `${AppConfigurationClient.name}.beginCreateSnapshot`,\n options,\n async (updatedOptions) => {\n const generatedSnapshot = snapshotInfoToGenerated(snapshot);\n const poller = getLongRunningPoller(\n this._context,\n async (result) =>\n transformSnapshotResponse(\n await _createSnapshotDeserialize(result),\n ) as CreateSnapshotResponse,\n [\"201\", \"200\", \"202\"],\n {\n updateIntervalInMs: updatedOptions?.updateIntervalInMs,\n abortSignal: updatedOptions?.abortSignal,\n getInitialResponse: () =>\n _createSnapshotSend(\n this._context,\n \"application/vnd.microsoft.appconfig.snapshot+json\",\n snapshot.name,\n generatedSnapshot,\n {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n ),\n resourceLocationConfig: \"original-uri\",\n },\n );\n return wrapPoller(poller);\n },\n );\n }\n\n /**\n * Begins creating a snapshot for Azure App Configuration service, waits until it is done,\n * fails if it already exists.\n */\n beginCreateSnapshotAndWait(\n snapshot: SnapshotInfo,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: CreateSnapshotOptions = {},\n ): Promise<CreateSnapshotResponse> {\n return tracingClient.withSpan(\n `${AppConfigurationClient.name}.beginCreateSnapshotAndWait`,\n options,\n async (updatedOptions) => {\n const generatedSnapshot = snapshotInfoToGenerated(snapshot);\n const poller = getLongRunningPoller(\n this._context,\n async (result) =>\n transformSnapshotResponse(\n await _createSnapshotDeserialize(result),\n ) as CreateSnapshotResponse,\n [\"201\", \"200\", \"202\"],\n {\n updateIntervalInMs: updatedOptions?.updateIntervalInMs,\n abortSignal: updatedOptions?.abortSignal,\n getInitialResponse: () =>\n _createSnapshotSend(\n this._context,\n \"application/vnd.microsoft.appconfig.snapshot+json\",\n snapshot.name,\n generatedSnapshot,\n {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n ),\n resourceLocationConfig: \"original-uri\",\n },\n );\n return poller.pollUntilDone();\n },\n );\n }\n\n /**\n * Get a snapshot from Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:GetSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const retrievedSnapshot = await client.getSnapshot(\"testsnapshot\");\n * console.log(\"Retrieved snapshot:\", retrievedSnapshot);\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n getSnapshot(name: string, options: GetSnapshotOptions = {}): Promise<GetSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.getSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[getSnapshot] Get a snapshot\");\n const originalResponse = await this.client.getSnapshot(name, {\n ...updatedOptions,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * Recover an archived snapshot back to ready status\n *\n * Example usage:\n * ```ts snippet:RecoverSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.recoverSnapshot(\"MySnapshot\");\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n recoverSnapshot(\n name: string,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: UpdateSnapshotOptions = {},\n ): Promise<UpdateSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.recoverSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[recoverSnapshot] Recover a snapshot\");\n const originalResponse = await this.client.updateSnapshot(\n \"application/merge-patch+json\",\n name,\n { status: \"ready\" },\n {\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(\n { etag: options.etag },\n { onlyIfUnchanged: true, ...options },\n ),\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n /**\n * Archive a ready snapshot\n *\n * Example usage:\n * ```ts snippet:ArchiveSnapshot\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const result = await client.archiveSnapshot({ name: \"MySnapshot\" });\n * ```\n * @param name - The name of the snapshot.\n * @param options - Optional parameters for the request.\n */\n archiveSnapshot(\n name: string,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options: UpdateSnapshotOptions = {},\n ): Promise<UpdateSnapshotResponse> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.archiveSnapshot\",\n options,\n async (updatedOptions) => {\n logger.info(\"[archiveSnapshot] Archive a snapshot\");\n const originalResponse = await this.client.updateSnapshot(\n \"application/merge-patch+json\",\n name,\n { status: \"archived\" },\n {\n ...updatedOptions,\n ...checkAndFormatIfAndIfNoneMatch(\n { etag: options.etag },\n { onlyIfUnchanged: true, ...options },\n ),\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n },\n );\n const response = transformSnapshotResponse(originalResponse);\n assertResponse(response);\n return response;\n },\n );\n }\n\n /**\n * List all snapshots from Azure App Configuration service\n *\n * Example usage:\n * ```ts snippet:ListSnapshots\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { AppConfigurationClient } from \"@azure/app-configuration\";\n *\n * // The endpoint for your App Configuration resource\n * const endpoint = \"https://example.azconfig.io\";\n * const credential = new DefaultAzureCredential();\n * const client = new AppConfigurationClient(endpoint, credential);\n *\n * const snapshots = await client.listSnapshots();\n *\n * for await (const snapshot of snapshots) {\n * console.log(`Found snapshot: ${snapshot.name}`);\n * }\n * ```\n * @param options - Optional parameters for the request.\n */\n listSnapshots(\n options: ListSnapshotsOptions = {},\n ): PagedAsyncIterableIterator<ConfigurationSnapshot, ListSnapshotsPage, PageSettings> {\n const pagedResult: PagedResult<ListSnapshotsPage, PageSettings, string | undefined> = {\n firstPageLink: undefined,\n getPage: async (pageLink: string | undefined) => {\n const response = await this.sendSnapShotsRequest(options, pageLink);\n const currentResponse = {\n ...response,\n items:\n response.items != null ? response.items.map((s) => transformSnapshotResponse(s)) : [],\n continuationToken: response.nextLink\n ? extractAfterTokenFromNextLink(response.nextLink)\n : undefined,\n };\n return {\n page: currentResponse,\n nextPageLink: currentResponse.continuationToken,\n };\n },\n toElements: (page) => page.items,\n };\n return getPagedAsyncIterator(pagedResult);\n }\n\n private async sendSnapShotsRequest(\n options: ListSnapshotsOptions & PageSettings = {},\n pageLink: string | undefined,\n ): Promise<_SnapshotListResult & { _response: any }> {\n return tracingClient.withSpan(\n \"AppConfigurationClient.listSnapshots\",\n options,\n async (updatedOptions) => {\n const rawResponse = await _getSnapshotsSend(this._context, {\n ...updatedOptions,\n ...formatSnapshotFiltersAndSelect(options),\n after: pageLink,\n requestOptions: {\n ...updatedOptions.requestOptions,\n skipUrlEncoding: true,\n },\n });\n const parsed = await _getSnapshotsDeserialize(rawResponse);\n return Object.assign(parsed, { _response: rawResponse });\n },\n );\n }\n}\n"]}
@@ -6,7 +6,7 @@ import { getClient } from "@azure-rest/core-client";
6
6
  export function createAppConfiguration(endpointParam, credential, options = {}) {
7
7
  const endpointUrl = options.endpoint ?? String(endpointParam);
8
8
  const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
9
- const userAgentInfo = `azsdk-js-app-configuration/1.0.0-beta.1`;
9
+ const userAgentInfo = `azsdk-js-app-configuration/1.13.0`;
10
10
  const userAgentPrefix = prefixFromOptions
11
11
  ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
12
12
  : `azsdk-js-api ${userAgentInfo}`;
@@ -1 +1 @@
1
- {"version":3,"file":"appConfigurationContext.js","sourceRoot":"","sources":["../../../../src/generated/api/appConfigurationContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAiB3E,uCAAuC;AACvC,MAAM,UAAU,sBAAsB,CACpC,aAAqB,EACrB,UAA2C,EAC3C,UAAgD,EAAE;IAElD,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,IAAI,MAAM,CAAC,aAAa,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,yCAAyC,CAAC;IAChE,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,8BAA8B,CAAC;YACvE,gBAAgB,EAAE,OAAO,CAAC,WAAW,EAAE,gBAAgB,IAAI,mBAAmB;SAC/E;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAA6B,CAAC;AACrE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { KeyCredential, TokenCredential } from \"@azure/core-auth\";\n\n/** Azure App Configuration REST API */\nexport interface AppConfigurationContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface AppConfigurationClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Azure App Configuration REST API */\nexport function createAppConfiguration(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: AppConfigurationClientOptionalParams = {},\n): AppConfigurationContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-app-configuration/1.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://azconfig.io/.default\"],\n apiKeyHeaderName: options.credentials?.apiKeyHeaderName ?? \"Connection String\",\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion } as AppConfigurationContext;\n}\n"]}
1
+ {"version":3,"file":"appConfigurationContext.js","sourceRoot":"","sources":["../../../../src/generated/api/appConfigurationContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAiB3E,uCAAuC;AACvC,MAAM,UAAU,sBAAsB,CACpC,aAAqB,EACrB,UAA2C,EAC3C,UAAgD,EAAE;IAElD,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,IAAI,MAAM,CAAC,aAAa,CAAC,CAAC;IAC9D,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,mCAAmC,CAAC;IAC1D,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,8BAA8B,CAAC;YACvE,gBAAgB,EAAE,OAAO,CAAC,WAAW,EAAE,gBAAgB,IAAI,mBAAmB;SAC/E;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAA6B,CAAC;AACrE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { KeyCredential, TokenCredential } from \"@azure/core-auth\";\n\n/** Azure App Configuration REST API */\nexport interface AppConfigurationContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface AppConfigurationClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Azure App Configuration REST API */\nexport function createAppConfiguration(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: AppConfigurationClientOptionalParams = {},\n): AppConfigurationContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-app-configuration/1.13.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://azconfig.io/.default\"],\n apiKeyHeaderName: options.credentials?.apiKeyHeaderName ?? \"Connection String\",\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion } as AppConfigurationContext;\n}\n"]}
@@ -4,4 +4,5 @@ export { featureFlagContentType, featureFlagPrefix, type FeatureFlagValue, isFea
4
4
  export * from "./models.js";
5
5
  export { isSecretReference, parseSecretReference, secretReferenceContentType, type SecretReferenceValue, } from "./secretReference.js";
6
6
  export { isSnapshotReference, parseSnapshotReference, snapshotReferenceContentType, type SnapshotReferenceValue, } from "./snapshotReference.js";
7
+ export { RestError, isRestError } from "@azure/core-rest-pipeline";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,YAAY,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,aAAa,EACb,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,KAAK,sBAAsB,GAC5B,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,YAAY,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,aAAa,EACb,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,KAAK,sBAAsB,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC"}
@@ -5,4 +5,5 @@ export { featureFlagContentType, featureFlagPrefix, isFeatureFlag, parseFeatureF
5
5
  export * from "./models.js";
6
6
  export { isSecretReference, parseSecretReference, secretReferenceContentType, } from "./secretReference.js";
7
7
  export { isSnapshotReference, parseSnapshotReference, snapshotReferenceContentType, } from "./snapshotReference.js";
8
+ export { RestError, isRestError } from "@azure/core-rest-pipeline";
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAEjB,aAAa,EACb,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,GAE3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,GAE7B,MAAM,wBAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { AppConfigurationClient } from \"./appConfigurationClient.js\";\nexport type { SimplePollerLike } from \"./internal/lroShim.js\";\nexport {\n featureFlagContentType,\n featureFlagPrefix,\n type FeatureFlagValue,\n isFeatureFlag,\n parseFeatureFlag,\n} from \"./featureFlag.js\";\nexport * from \"./models.js\";\nexport {\n isSecretReference,\n parseSecretReference,\n secretReferenceContentType,\n type SecretReferenceValue,\n} from \"./secretReference.js\";\nexport {\n isSnapshotReference,\n parseSnapshotReference,\n snapshotReferenceContentType,\n type SnapshotReferenceValue,\n} from \"./snapshotReference.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAEjB,aAAa,EACb,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,GAE3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,GAE7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { AppConfigurationClient } from \"./appConfigurationClient.js\";\nexport type { SimplePollerLike } from \"./internal/lroShim.js\";\nexport {\n featureFlagContentType,\n featureFlagPrefix,\n type FeatureFlagValue,\n isFeatureFlag,\n parseFeatureFlag,\n} from \"./featureFlag.js\";\nexport * from \"./models.js\";\nexport {\n isSecretReference,\n parseSecretReference,\n secretReferenceContentType,\n type SecretReferenceValue,\n} from \"./secretReference.js\";\nexport {\n isSnapshotReference,\n parseSnapshotReference,\n snapshotReferenceContentType,\n type SnapshotReferenceValue,\n} from \"./snapshotReference.js\";\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"]}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @internal
3
3
  */
4
- export declare const packageVersion = "1.12.1";
4
+ export declare const packageVersion = "1.13.0";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export const packageVersion = "1.12.1";
6
+ export const packageVersion = "1.13.0";
7
7
  /**
8
8
  * @internal
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/internal/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,YAAY,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @internal\n */\nexport const packageVersion = \"1.12.1\";\n\n/**\n * @internal\n */\nexport const appConfigurationApiVersion = \"2026-04-01\";\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/internal/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,YAAY,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @internal\n */\nexport const packageVersion = \"1.13.0\";\n\n/**\n * @internal\n */\nexport const appConfigurationApiVersion = \"2026-04-01\";\n"]}
@@ -4,7 +4,7 @@ import type { GetKeyValuesOptionalParams, GetLabelsOptionalParams, GetSnapshotsO
4
4
  import type { KeyValue, ConfigurationSnapshot as Snapshot, KeyValueFields } from "../generated/models/models.js";
5
5
  import type { SecretReferenceValue } from "../secretReference.js";
6
6
  import type { SnapshotReferenceValue } from "../snapshotReference.js";
7
- import type { OperationOptions } from "@azure/core-client";
7
+ import type { OperationOptions } from "@azure-rest/core-client";
8
8
  /**
9
9
  * Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.
10
10
  * Also provides `fields` which allows you to selectively choose which fields are populated in the
@@ -155,9 +155,15 @@ export declare function hasUnderscoreResponse<T extends object>(result: T): resu
155
155
  /**
156
156
  * Get the scope for the App Configuration service based on the endpoint and audience.
157
157
  * If the audience is provided, it will be used as the scope.
158
- * If not, the scope is defaulted to Azure Public Cloud when not specified.
158
+ * If not, the scope is inferred from the endpoint.
159
159
  *
160
160
  * @internal
161
161
  */
162
162
  export declare function getScope(appConfigEndpoint: string, appConfigAudience?: string): string;
163
+ /**
164
+ * Encodes a value for use as a URL path parameter according to RFC 3986.
165
+ *
166
+ * @internal
167
+ */
168
+ export declare function encodePathParameter(str: string): string;
163
169
  //# sourceMappingURL=help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