@azure/app-configuration 1.12.0 → 1.13.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/dist/browser/appConfigurationClient.d.ts +0 -13
- package/dist/browser/appConfigurationClient.d.ts.map +1 -1
- package/dist/browser/appConfigurationClient.js +9 -107
- package/dist/browser/appConfigurationClient.js.map +1 -1
- package/dist/browser/featureFlagClient.d.ts +172 -0
- package/dist/browser/featureFlagClient.d.ts.map +1 -0
- package/dist/browser/featureFlagClient.js +279 -0
- package/dist/browser/featureFlagClient.js.map +1 -0
- package/dist/browser/generated/api/appConfigurationContext.d.ts.map +1 -1
- package/dist/browser/generated/api/appConfigurationContext.js +4 -3
- package/dist/browser/generated/api/appConfigurationContext.js.map +1 -1
- package/dist/browser/generated/api/featureFlagClient/index.d.ts +3 -0
- package/dist/browser/generated/api/featureFlagClient/index.d.ts.map +1 -0
- package/dist/browser/generated/api/featureFlagClient/index.js +4 -0
- package/dist/browser/generated/api/featureFlagClient/index.js.map +1 -0
- package/dist/browser/generated/api/featureFlagClient/operations.d.ts +38 -0
- package/dist/browser/generated/api/featureFlagClient/operations.d.ts.map +1 -0
- package/dist/browser/generated/api/featureFlagClient/operations.js +404 -0
- package/dist/browser/generated/api/featureFlagClient/operations.js.map +1 -0
- package/dist/browser/generated/api/featureFlagClient/options.d.ts +240 -0
- package/dist/browser/generated/api/featureFlagClient/options.d.ts.map +1 -0
- package/dist/browser/generated/api/featureFlagClient/options.js +4 -0
- package/dist/browser/generated/api/featureFlagClient/options.js.map +1 -0
- package/dist/browser/generated/api/operations.d.ts +2 -2
- package/dist/browser/generated/api/operations.d.ts.map +1 -1
- package/dist/browser/generated/api/operations.js +35 -30
- package/dist/browser/generated/api/operations.js.map +1 -1
- package/dist/browser/generated/api/options.d.ts +4 -0
- package/dist/browser/generated/api/options.d.ts.map +1 -1
- package/dist/browser/generated/api/options.js.map +1 -1
- package/dist/browser/generated/appConfigurationClient.d.ts +4 -1
- package/dist/browser/generated/appConfigurationClient.d.ts.map +1 -1
- package/dist/browser/generated/appConfigurationClient.js +5 -8
- package/dist/browser/generated/appConfigurationClient.js.map +1 -1
- package/dist/browser/generated/classic/featureFlagClient/index.d.ts +25 -0
- package/dist/browser/generated/classic/featureFlagClient/index.d.ts.map +1 -0
- package/dist/browser/generated/classic/featureFlagClient/index.js +21 -0
- package/dist/browser/generated/classic/featureFlagClient/index.js.map +1 -0
- package/dist/browser/generated/classic/index.d.ts +2 -0
- package/dist/browser/generated/classic/index.d.ts.map +1 -0
- package/dist/browser/generated/classic/index.js +4 -0
- package/dist/browser/generated/classic/index.js.map +1 -0
- package/dist/browser/generated/index.d.ts +3 -1
- package/dist/browser/generated/index.d.ts.map +1 -1
- package/dist/browser/generated/index.js.map +1 -1
- package/dist/browser/generated/models/index.d.ts +1 -1
- package/dist/browser/generated/models/index.d.ts.map +1 -1
- package/dist/browser/generated/models/index.js.map +1 -1
- package/dist/browser/generated/models/models.d.ts +144 -5
- package/dist/browser/generated/models/models.d.ts.map +1 -1
- package/dist/browser/generated/models/models.js +231 -0
- package/dist/browser/generated/models/models.js.map +1 -1
- package/dist/browser/generated/restorePollerHelpers.d.ts.map +1 -1
- package/dist/browser/generated/restorePollerHelpers.js.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/internal/constants.d.ts +2 -2
- package/dist/browser/internal/constants.d.ts.map +1 -1
- package/dist/browser/internal/constants.js +2 -2
- package/dist/browser/internal/constants.js.map +1 -1
- package/dist/browser/internal/createGeneratedClient.d.ts +35 -0
- package/dist/browser/internal/createGeneratedClient.d.ts.map +1 -0
- package/dist/browser/internal/createGeneratedClient.js +85 -0
- package/dist/browser/internal/createGeneratedClient.js.map +1 -0
- package/dist/browser/internal/doubleEncodedQueryParamNamePolicy.d.ts +7 -0
- package/dist/browser/internal/doubleEncodedQueryParamNamePolicy.d.ts.map +1 -0
- package/dist/browser/internal/doubleEncodedQueryParamNamePolicy.js +49 -0
- package/dist/browser/internal/doubleEncodedQueryParamNamePolicy.js.map +1 -0
- package/dist/browser/internal/helpers.d.ts +29 -11
- package/dist/browser/internal/helpers.d.ts.map +1 -1
- package/dist/browser/internal/helpers.js +47 -1
- package/dist/browser/internal/helpers.js.map +1 -1
- package/dist/browser/internal/listFeatureFlagRevisions.d.ts +16 -0
- package/dist/browser/internal/listFeatureFlagRevisions.d.ts.map +1 -0
- package/dist/browser/internal/listFeatureFlagRevisions.js +54 -0
- package/dist/browser/internal/listFeatureFlagRevisions.js.map +1 -0
- package/dist/browser/internal/listFeatureFlags.d.ts +19 -0
- package/dist/browser/internal/listFeatureFlags.d.ts.map +1 -0
- package/dist/browser/internal/listFeatureFlags.js +77 -0
- package/dist/browser/internal/listFeatureFlags.js.map +1 -0
- package/dist/browser/internal/listLabels.d.ts +12 -0
- package/dist/browser/internal/listLabels.d.ts.map +1 -0
- package/dist/browser/internal/listLabels.js +48 -0
- package/dist/browser/internal/listLabels.js.map +1 -0
- package/dist/browser/models.d.ts +271 -3
- package/dist/browser/models.d.ts.map +1 -1
- package/dist/browser/models.js +28 -0
- package/dist/browser/models.js.map +1 -1
- package/dist/commonjs/appConfigurationClient.d.ts +0 -13
- package/dist/commonjs/appConfigurationClient.d.ts.map +1 -1
- package/dist/commonjs/appConfigurationClient.js +9 -107
- package/dist/commonjs/appConfigurationClient.js.map +3 -3
- package/dist/commonjs/featureFlagClient.d.ts +172 -0
- package/dist/commonjs/featureFlagClient.d.ts.map +1 -0
- package/dist/commonjs/featureFlagClient.js +339 -0
- package/dist/commonjs/featureFlagClient.js.map +7 -0
- package/dist/commonjs/generated/api/appConfigurationContext.d.ts.map +1 -1
- package/dist/commonjs/generated/api/appConfigurationContext.js +13 -2
- package/dist/commonjs/generated/api/appConfigurationContext.js.map +3 -3
- package/dist/commonjs/generated/api/featureFlagClient/index.d.ts +3 -0
- package/dist/commonjs/generated/api/featureFlagClient/index.d.ts.map +1 -0
- package/dist/commonjs/generated/api/featureFlagClient/index.js +42 -0
- package/dist/commonjs/generated/api/featureFlagClient/index.js.map +7 -0
- package/dist/commonjs/generated/api/featureFlagClient/operations.d.ts +38 -0
- package/dist/commonjs/generated/api/featureFlagClient/operations.d.ts.map +1 -0
- package/dist/commonjs/generated/api/featureFlagClient/operations.js +448 -0
- package/dist/commonjs/generated/api/featureFlagClient/operations.js.map +7 -0
- package/dist/commonjs/generated/api/featureFlagClient/options.d.ts +240 -0
- package/dist/commonjs/generated/api/featureFlagClient/options.d.ts.map +1 -0
- package/dist/commonjs/generated/api/featureFlagClient/options.js +16 -0
- package/dist/commonjs/generated/api/featureFlagClient/options.js.map +7 -0
- package/dist/commonjs/generated/api/operations.d.ts +2 -2
- package/dist/commonjs/generated/api/operations.d.ts.map +1 -1
- package/dist/commonjs/generated/api/operations.js +37 -32
- package/dist/commonjs/generated/api/operations.js.map +2 -2
- package/dist/commonjs/generated/api/options.d.ts +4 -0
- package/dist/commonjs/generated/api/options.d.ts.map +1 -1
- package/dist/commonjs/generated/api/options.js.map +1 -1
- package/dist/commonjs/generated/appConfigurationClient.d.ts +4 -1
- package/dist/commonjs/generated/appConfigurationClient.d.ts.map +1 -1
- package/dist/commonjs/generated/appConfigurationClient.js +5 -6
- package/dist/commonjs/generated/appConfigurationClient.js.map +2 -2
- package/dist/commonjs/generated/classic/featureFlagClient/index.d.ts +25 -0
- package/dist/commonjs/generated/classic/featureFlagClient/index.d.ts.map +1 -0
- package/dist/commonjs/generated/classic/featureFlagClient/index.js +45 -0
- package/dist/commonjs/generated/classic/featureFlagClient/index.js.map +7 -0
- package/dist/commonjs/generated/classic/index.d.ts +2 -0
- package/dist/commonjs/generated/classic/index.d.ts.map +1 -0
- package/dist/commonjs/generated/classic/index.js +16 -0
- package/dist/commonjs/generated/classic/index.js.map +7 -0
- package/dist/commonjs/generated/index.d.ts +3 -1
- package/dist/commonjs/generated/index.d.ts.map +1 -1
- package/dist/commonjs/generated/index.js.map +2 -2
- package/dist/commonjs/generated/models/index.d.ts +1 -1
- package/dist/commonjs/generated/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/models/index.js.map +2 -2
- package/dist/commonjs/generated/models/models.d.ts +144 -5
- package/dist/commonjs/generated/models/models.d.ts.map +1 -1
- package/dist/commonjs/generated/models/models.js +268 -2
- package/dist/commonjs/generated/models/models.js.map +2 -2
- package/dist/commonjs/generated/restorePollerHelpers.d.ts.map +1 -1
- package/dist/commonjs/generated/restorePollerHelpers.js.map +2 -2
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +8 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/internal/constants.d.ts +2 -2
- package/dist/commonjs/internal/constants.d.ts.map +1 -1
- package/dist/commonjs/internal/constants.js +2 -2
- package/dist/commonjs/internal/constants.js.map +1 -1
- package/dist/commonjs/internal/createGeneratedClient.d.ts +35 -0
- package/dist/commonjs/internal/createGeneratedClient.d.ts.map +1 -0
- package/dist/commonjs/internal/createGeneratedClient.js +101 -0
- package/dist/commonjs/internal/createGeneratedClient.js.map +7 -0
- package/dist/commonjs/internal/doubleEncodedQueryParamNamePolicy.d.ts +7 -0
- package/dist/commonjs/internal/doubleEncodedQueryParamNamePolicy.d.ts.map +1 -0
- package/dist/commonjs/internal/doubleEncodedQueryParamNamePolicy.js +67 -0
- package/dist/commonjs/internal/doubleEncodedQueryParamNamePolicy.js.map +7 -0
- package/dist/commonjs/internal/helpers.d.ts +29 -11
- package/dist/commonjs/internal/helpers.d.ts.map +1 -1
- package/dist/commonjs/internal/helpers.js +40 -2
- package/dist/commonjs/internal/helpers.js.map +2 -2
- package/dist/commonjs/internal/listFeatureFlagRevisions.d.ts +16 -0
- package/dist/commonjs/internal/listFeatureFlagRevisions.d.ts.map +1 -0
- package/dist/commonjs/internal/listFeatureFlagRevisions.js +68 -0
- package/dist/commonjs/internal/listFeatureFlagRevisions.js.map +7 -0
- package/dist/commonjs/internal/listFeatureFlags.d.ts +19 -0
- package/dist/commonjs/internal/listFeatureFlags.d.ts.map +1 -0
- package/dist/commonjs/internal/listFeatureFlags.js +89 -0
- package/dist/commonjs/internal/listFeatureFlags.js.map +7 -0
- package/dist/commonjs/internal/listLabels.d.ts +12 -0
- package/dist/commonjs/internal/listLabels.d.ts.map +1 -0
- package/dist/commonjs/internal/listLabels.js +67 -0
- package/dist/commonjs/internal/listLabels.js.map +7 -0
- package/dist/commonjs/models.d.ts +271 -3
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js +24 -2
- package/dist/commonjs/models.js.map +3 -3
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/appConfigurationClient.d.ts +0 -13
- package/dist/esm/appConfigurationClient.d.ts.map +1 -1
- package/dist/esm/appConfigurationClient.js +9 -107
- package/dist/esm/appConfigurationClient.js.map +1 -1
- package/dist/esm/featureFlagClient.d.ts +172 -0
- package/dist/esm/featureFlagClient.d.ts.map +1 -0
- package/dist/esm/featureFlagClient.js +279 -0
- package/dist/esm/featureFlagClient.js.map +1 -0
- package/dist/esm/generated/api/appConfigurationContext.d.ts.map +1 -1
- package/dist/esm/generated/api/appConfigurationContext.js +4 -3
- package/dist/esm/generated/api/appConfigurationContext.js.map +1 -1
- package/dist/esm/generated/api/featureFlagClient/index.d.ts +3 -0
- package/dist/esm/generated/api/featureFlagClient/index.d.ts.map +1 -0
- package/dist/esm/generated/api/featureFlagClient/index.js +4 -0
- package/dist/esm/generated/api/featureFlagClient/index.js.map +1 -0
- package/dist/esm/generated/api/featureFlagClient/operations.d.ts +38 -0
- package/dist/esm/generated/api/featureFlagClient/operations.d.ts.map +1 -0
- package/dist/esm/generated/api/featureFlagClient/operations.js +404 -0
- package/dist/esm/generated/api/featureFlagClient/operations.js.map +1 -0
- package/dist/esm/generated/api/featureFlagClient/options.d.ts +240 -0
- package/dist/esm/generated/api/featureFlagClient/options.d.ts.map +1 -0
- package/dist/esm/generated/api/featureFlagClient/options.js +4 -0
- package/dist/esm/generated/api/featureFlagClient/options.js.map +1 -0
- package/dist/esm/generated/api/operations.d.ts +2 -2
- package/dist/esm/generated/api/operations.d.ts.map +1 -1
- package/dist/esm/generated/api/operations.js +35 -30
- package/dist/esm/generated/api/operations.js.map +1 -1
- package/dist/esm/generated/api/options.d.ts +4 -0
- package/dist/esm/generated/api/options.d.ts.map +1 -1
- package/dist/esm/generated/api/options.js.map +1 -1
- package/dist/esm/generated/appConfigurationClient.d.ts +4 -1
- package/dist/esm/generated/appConfigurationClient.d.ts.map +1 -1
- package/dist/esm/generated/appConfigurationClient.js +5 -8
- package/dist/esm/generated/appConfigurationClient.js.map +1 -1
- package/dist/esm/generated/classic/featureFlagClient/index.d.ts +25 -0
- package/dist/esm/generated/classic/featureFlagClient/index.d.ts.map +1 -0
- package/dist/esm/generated/classic/featureFlagClient/index.js +21 -0
- package/dist/esm/generated/classic/featureFlagClient/index.js.map +1 -0
- package/dist/esm/generated/classic/index.d.ts +2 -0
- package/dist/esm/generated/classic/index.d.ts.map +1 -0
- package/dist/esm/generated/classic/index.js +4 -0
- package/dist/esm/generated/classic/index.js.map +1 -0
- package/dist/esm/generated/index.d.ts +3 -1
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/models/index.d.ts +1 -1
- package/dist/esm/generated/models/index.d.ts.map +1 -1
- package/dist/esm/generated/models/index.js.map +1 -1
- package/dist/esm/generated/models/models.d.ts +144 -5
- package/dist/esm/generated/models/models.d.ts.map +1 -1
- package/dist/esm/generated/models/models.js +231 -0
- package/dist/esm/generated/models/models.js.map +1 -1
- package/dist/esm/generated/restorePollerHelpers.d.ts.map +1 -1
- package/dist/esm/generated/restorePollerHelpers.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal/constants.d.ts +2 -2
- package/dist/esm/internal/constants.d.ts.map +1 -1
- package/dist/esm/internal/constants.js +2 -2
- package/dist/esm/internal/constants.js.map +1 -1
- package/dist/esm/internal/createGeneratedClient.d.ts +35 -0
- package/dist/esm/internal/createGeneratedClient.d.ts.map +1 -0
- package/dist/esm/internal/createGeneratedClient.js +85 -0
- package/dist/esm/internal/createGeneratedClient.js.map +1 -0
- package/dist/esm/internal/doubleEncodedQueryParamNamePolicy.d.ts +7 -0
- package/dist/esm/internal/doubleEncodedQueryParamNamePolicy.d.ts.map +1 -0
- package/dist/esm/internal/doubleEncodedQueryParamNamePolicy.js +49 -0
- package/dist/esm/internal/doubleEncodedQueryParamNamePolicy.js.map +1 -0
- package/dist/esm/internal/helpers.d.ts +29 -11
- package/dist/esm/internal/helpers.d.ts.map +1 -1
- package/dist/esm/internal/helpers.js +47 -1
- package/dist/esm/internal/helpers.js.map +1 -1
- package/dist/esm/internal/listFeatureFlagRevisions.d.ts +16 -0
- package/dist/esm/internal/listFeatureFlagRevisions.d.ts.map +1 -0
- package/dist/esm/internal/listFeatureFlagRevisions.js +54 -0
- package/dist/esm/internal/listFeatureFlagRevisions.js.map +1 -0
- package/dist/esm/internal/listFeatureFlags.d.ts +19 -0
- package/dist/esm/internal/listFeatureFlags.d.ts.map +1 -0
- package/dist/esm/internal/listFeatureFlags.js +77 -0
- package/dist/esm/internal/listFeatureFlags.js.map +1 -0
- package/dist/esm/internal/listLabels.d.ts +12 -0
- package/dist/esm/internal/listLabels.d.ts.map +1 -0
- package/dist/esm/internal/listLabels.js +48 -0
- package/dist/esm/internal/listLabels.js.map +1 -0
- package/dist/esm/models.d.ts +271 -3
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js +28 -0
- package/dist/esm/models.js.map +1 -1
- package/dist/react-native/appConfigurationClient.d.ts +0 -13
- package/dist/react-native/appConfigurationClient.d.ts.map +1 -1
- package/dist/react-native/appConfigurationClient.js +9 -107
- package/dist/react-native/appConfigurationClient.js.map +1 -1
- package/dist/react-native/featureFlagClient.d.ts +172 -0
- package/dist/react-native/featureFlagClient.d.ts.map +1 -0
- package/dist/react-native/featureFlagClient.js +279 -0
- package/dist/react-native/featureFlagClient.js.map +1 -0
- package/dist/react-native/generated/api/appConfigurationContext.d.ts.map +1 -1
- package/dist/react-native/generated/api/appConfigurationContext.js +4 -3
- package/dist/react-native/generated/api/appConfigurationContext.js.map +1 -1
- package/dist/react-native/generated/api/featureFlagClient/index.d.ts +3 -0
- package/dist/react-native/generated/api/featureFlagClient/index.d.ts.map +1 -0
- package/dist/react-native/generated/api/featureFlagClient/index.js +4 -0
- package/dist/react-native/generated/api/featureFlagClient/index.js.map +1 -0
- package/dist/react-native/generated/api/featureFlagClient/operations.d.ts +38 -0
- package/dist/react-native/generated/api/featureFlagClient/operations.d.ts.map +1 -0
- package/dist/react-native/generated/api/featureFlagClient/operations.js +404 -0
- package/dist/react-native/generated/api/featureFlagClient/operations.js.map +1 -0
- package/dist/react-native/generated/api/featureFlagClient/options.d.ts +240 -0
- package/dist/react-native/generated/api/featureFlagClient/options.d.ts.map +1 -0
- package/dist/react-native/generated/api/featureFlagClient/options.js +4 -0
- package/dist/react-native/generated/api/featureFlagClient/options.js.map +1 -0
- package/dist/react-native/generated/api/operations.d.ts +2 -2
- package/dist/react-native/generated/api/operations.d.ts.map +1 -1
- package/dist/react-native/generated/api/operations.js +35 -30
- package/dist/react-native/generated/api/operations.js.map +1 -1
- package/dist/react-native/generated/api/options.d.ts +4 -0
- package/dist/react-native/generated/api/options.d.ts.map +1 -1
- package/dist/react-native/generated/api/options.js.map +1 -1
- package/dist/react-native/generated/appConfigurationClient.d.ts +4 -1
- package/dist/react-native/generated/appConfigurationClient.d.ts.map +1 -1
- package/dist/react-native/generated/appConfigurationClient.js +5 -8
- package/dist/react-native/generated/appConfigurationClient.js.map +1 -1
- package/dist/react-native/generated/classic/featureFlagClient/index.d.ts +25 -0
- package/dist/react-native/generated/classic/featureFlagClient/index.d.ts.map +1 -0
- package/dist/react-native/generated/classic/featureFlagClient/index.js +21 -0
- package/dist/react-native/generated/classic/featureFlagClient/index.js.map +1 -0
- package/dist/react-native/generated/classic/index.d.ts +2 -0
- package/dist/react-native/generated/classic/index.d.ts.map +1 -0
- package/dist/react-native/generated/classic/index.js +4 -0
- package/dist/react-native/generated/classic/index.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +3 -1
- package/dist/react-native/generated/index.d.ts.map +1 -1
- package/dist/react-native/generated/index.js.map +1 -1
- package/dist/react-native/generated/models/index.d.ts +1 -1
- package/dist/react-native/generated/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/models/index.js.map +1 -1
- package/dist/react-native/generated/models/models.d.ts +144 -5
- package/dist/react-native/generated/models/models.d.ts.map +1 -1
- package/dist/react-native/generated/models/models.js +231 -0
- package/dist/react-native/generated/models/models.js.map +1 -1
- package/dist/react-native/generated/restorePollerHelpers.d.ts.map +1 -1
- package/dist/react-native/generated/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/internal/constants.d.ts +2 -2
- package/dist/react-native/internal/constants.d.ts.map +1 -1
- package/dist/react-native/internal/constants.js +2 -2
- package/dist/react-native/internal/constants.js.map +1 -1
- package/dist/react-native/internal/createGeneratedClient.d.ts +35 -0
- package/dist/react-native/internal/createGeneratedClient.d.ts.map +1 -0
- package/dist/react-native/internal/createGeneratedClient.js +85 -0
- package/dist/react-native/internal/createGeneratedClient.js.map +1 -0
- package/dist/react-native/internal/doubleEncodedQueryParamNamePolicy.d.ts +7 -0
- package/dist/react-native/internal/doubleEncodedQueryParamNamePolicy.d.ts.map +1 -0
- package/dist/react-native/internal/doubleEncodedQueryParamNamePolicy.js +49 -0
- package/dist/react-native/internal/doubleEncodedQueryParamNamePolicy.js.map +1 -0
- package/dist/react-native/internal/helpers.d.ts +29 -11
- package/dist/react-native/internal/helpers.d.ts.map +1 -1
- package/dist/react-native/internal/helpers.js +47 -1
- package/dist/react-native/internal/helpers.js.map +1 -1
- package/dist/react-native/internal/listFeatureFlagRevisions.d.ts +16 -0
- package/dist/react-native/internal/listFeatureFlagRevisions.d.ts.map +1 -0
- package/dist/react-native/internal/listFeatureFlagRevisions.js +54 -0
- package/dist/react-native/internal/listFeatureFlagRevisions.js.map +1 -0
- package/dist/react-native/internal/listFeatureFlags.d.ts +19 -0
- package/dist/react-native/internal/listFeatureFlags.d.ts.map +1 -0
- package/dist/react-native/internal/listFeatureFlags.js +77 -0
- package/dist/react-native/internal/listFeatureFlags.js.map +1 -0
- package/dist/react-native/internal/listLabels.d.ts +12 -0
- package/dist/react-native/internal/listLabels.d.ts.map +1 -0
- package/dist/react-native/internal/listLabels.js +48 -0
- package/dist/react-native/internal/listLabels.js.map +1 -0
- package/dist/react-native/models.d.ts +271 -3
- package/dist/react-native/models.d.ts.map +1 -1
- package/dist/react-native/models.js +28 -0
- package/dist/react-native/models.js.map +1 -1
- package/package.json +6 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAclC,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,UAAU;IACV,uCAAW,CAAA;IACX,eAAe;IACf,kDAAsB,CAAA;AACxB,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC;AAQD,oFAAoF;AACpF,MAAM,CAAN,IAAY,gCASX;AATD,WAAY,gCAAgC;IAC1C,mBAAmB;IACnB,iEAA6B,CAAA;IAC7B,YAAY;IACZ,mDAAe,CAAA;IACf,eAAe;IACf,yDAAqB,CAAA;IACrB,aAAa;IACb,qDAAiB,CAAA;AACnB,CAAC,EATW,gCAAgC,KAAhC,gCAAgC,QAS3C;AAoED;;GAEG;AACH,MAAM,CAAN,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAChC;;OAEG;IACH,mEAAyC,CAAA;IACzC;;OAEG;IACH,wEAA8C,CAAA;IAC9C;;OAEG;IACH,0EAAgD,CAAA;AAClD,CAAC,EAbW,sBAAsB,KAAtB,sBAAsB,QAajC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,iCAAiC;IACjC,2DAAwB,CAAA;IACxB,iCAAiC;IACjC,2DAAwB,CAAA;IACxB,iCAAiC;IACjC,2DAAwB,CAAA;AAC1B,CAAC,EAPW,+BAA+B,KAA/B,+BAA+B,QAO1C","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CompatResponse } from \"@azure/core-http-compat\";\nimport type { FeatureFlagValue } from \"./featureFlag.js\";\nimport type { CommonClientOptions, OperationOptions } from \"@azure/core-client\";\nimport type { SecretReferenceValue } from \"./secretReference.js\";\nimport type { SnapshotReferenceValue } from \"./snapshotReference.js\";\n\n/**\n * Defines values for SnapshotComposition.\n * {@link KnownSnapshotComposition} can be used interchangeably with SnapshotComposition.\n */\nexport type SnapshotComposition = string;\n\n/** Known values of {@link SnapshotComposition} that the service accepts. */\nexport enum KnownSnapshotComposition {\n /** Key */\n Key = \"key\",\n /** KeyLabel */\n KeyLabel = \"key_label\",\n}\n\n/**\n * Defines values for ConfigurationSnapshotStatus.\n * {@link KnownConfigurationSnapshotStatus} can be used interchangeably with ConfigurationSnapshotStatus.\n */\nexport type ConfigurationSnapshotStatus = string;\n\n/** Known values of {@link ConfigurationSnapshotStatus} that the service accepts. */\nexport enum KnownConfigurationSnapshotStatus {\n /** Provisioning */\n Provisioning = \"provisioning\",\n /** Ready */\n Ready = \"ready\",\n /** Archived */\n Archived = \"archived\",\n /** Failed */\n Failed = \"failed\",\n}\n\n/**\n * Enables filtering of key-values. Syntax reference:\n * https://aka.ms/azconfig/docs/restapisnapshots\n */\nexport interface ConfigurationSettingsFilter {\n /** Filters key-values by their key field. */\n keyFilter: string;\n /** Filters key-values by their label field. */\n labelFilter?: string;\n /** Filters key-values by their tags field. */\n tagsFilter?: string[];\n}\n\n/** A snapshot is a named, immutable subset of an App Configuration store's key-values. */\nexport interface ConfigurationSnapshot {\n /** The name of the snapshot. */\n readonly name: string;\n /** The current status of the snapshot. */\n readonly status?: ConfigurationSnapshotStatus;\n /** A list of filters used to filter the key-values included in the snapshot. */\n filters: ConfigurationSettingsFilter[];\n /** The composition type describes how the key-values within the snapshot are composed. */\n compositionType?: SnapshotComposition;\n /** The time that the snapshot was created. */\n readonly createdOn?: Date;\n /** The time that the snapshot will expire. */\n readonly expiresOn?: Date;\n /** The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. */\n retentionPeriodInSeconds?: number;\n /** The size in bytes of the snapshot. */\n readonly sizeInBytes?: number;\n /** The amount of key-values in the snapshot. */\n readonly itemCount?: number;\n /** The tags of the snapshot. */\n tags?: { [propertyName: string]: string };\n /** The description of the snapshot. */\n description?: string;\n /** A value representing the current state of the snapshot. */\n readonly etag?: string;\n}\n\n/** Labels are used to group key-values. */\nexport interface SettingLabel {\n /** The name of the label. */\n readonly name?: string;\n}\n\n/**\n * Provides configuration options for AppConfigurationClient.\n */\nexport interface AppConfigurationClientOptions extends CommonClientOptions {\n /**\n * The API version to use when interacting with the service. The default value is `2026-04-01`.\n * {@link KnownAppConfigurationApiVersion} can be used interchangeably with apiVersion.\n * Note that overriding this default value may result in unsupported behavior.\n */\n apiVersion?: string;\n\n /**\n * The Audience to use for authentication with Azure Active Directory (AAD).\n * {@link KnownAppConfigAudience} can be used interchangeably with audience.\n * If not specified, the default audience will be set to Azure Public Cloud.\n */\n audience?: string;\n}\n\n/**\n * Known values for Azure App Configuration Audience\n */\nexport enum KnownAppConfigAudience {\n /**\n * Audience for Azure China\n */\n AzureChina = \"https://appconfig.azure.cn\",\n /**\n * Audience for Azure Government\n */\n AzureGovernment = \"https://appconfig.azure.us\",\n /**\n * Audience for Azure Public\n */\n AzurePublicCloud = \"https://appconfig.azure.com\",\n}\n\n/**\n * Known service API versions supported by AppConfigurationClient.\n */\nexport enum KnownAppConfigurationApiVersion {\n /** The 2023-11-01 API version */\n V20231101 = \"2023-11-01\",\n /** The 2024-09-01 API version */\n V20240901 = \"2024-09-01\",\n /** The 2026-04-01 API version */\n V20260401 = \"2026-04-01\",\n}\n\n/**\n * Fields that uniquely identify a configuration setting\n */\nexport interface ConfigurationSettingId {\n /**\n * The etag for this setting\n */\n etag?: string;\n /**\n * The key for this setting.\n * Feature flags must be prefixed with `.appconfig.featureflag/<feature-flag-name>`.\n */\n key: string;\n\n /**\n * The label for this setting. Leaving this undefined means this\n * setting does not have a label.\n */\n label?: string;\n}\n/**\n * Necessary fields for updating or creating a new configuration setting\n */\nexport type ConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingId & {\n /**\n * The content type of the setting's value\n */\n contentType?: string;\n\n /**\n * Tags for this key\n */\n tags?: { [propertyName: string]: string };\n\n /**\n * The description of the setting.\n */\n description?: string;\n} & (T extends string\n ? {\n /**\n * The setting's value\n */\n value?: string;\n }\n : {\n /**\n * The setting's value\n */\n value: T;\n });\n\n/**\n * Configuration setting with extra metadata from the server, indicating\n * its etag, whether it is currently readOnly and when it was last modified.\n */\nexport type ConfigurationSetting<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T> & {\n /**\n * Whether or not the setting is read-only\n */\n isReadOnly: boolean;\n\n /**\n * The date when this setting was last modified\n */\n lastModified?: Date;\n};\n\n/**\n * Fields that are hoisted up from the _response field of the object\n * Used in cases where individual HTTP response fields are important for\n * the user to use in common-use cases like handling http status codes 204 or 304.\n */\nexport interface HttpResponseFields {\n /**\n * The HTTP status code for the response\n */\n statusCode: number;\n}\n/**\n * HTTP response related information - headers and raw body.\n */\nexport interface HttpResponseField<HeadersT> {\n /**\n * The underlying HTTP response.\n */\n _response: CompatResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: HeadersT;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n };\n}\n/**\n * Parameters for adding a new configuration setting\n */\nexport type AddConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T>;\n\n/**\n * Parameters for creating or updating a new configuration setting\n */\nexport type SetConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T>;\n\n/**\n * Standard base response for getting, deleting or updating a configuration setting\n */\nexport type ConfigurationSettingResponse<HeadersT> = ConfigurationSetting &\n HttpResponseField<HeadersT> &\n Pick<HeadersT, Exclude<keyof HeadersT, \"eTag\">>;\n\n/**\n * Options used to provide if-none-match for an HTTP request\n */\nexport interface HttpOnlyIfChangedField {\n /**\n * Used to perform an operation only if the targeted resource's etag does not match the value\n * provided.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Options used to provide if-match for an HTTP request\n */\nexport interface HttpOnlyIfUnchangedField {\n /**\n * Used to perform an operation only if the targeted resource's etag matches the value provided.\n */\n onlyIfUnchanged?: boolean;\n}\n\n/**\n * Used when the API supports selectively returning fields.\n */\nexport interface OptionalFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof ConfigurationSetting)[];\n}\n\n/**\n * Used when the API supports selectively returning fields.\n */\nexport interface OptionalSnapshotFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof ConfigurationSnapshot)[];\n}\n\n/**\n * Used when the API supports selectively returning labels fields.\n */\nexport interface OptionalLabelsFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof SettingLabel)[];\n}\n/**\n * Sync token header field\n */\nexport interface SyncTokenHeaderField {\n /**\n * Enables real-time consistency between requests by providing the returned value in the next\n * request made to the server.\n */\n syncToken?: string;\n}\n\n/**\n * Options used when adding a ConfigurationSetting.\n */\nexport interface AddConfigurationSettingOptions extends OperationOptions {}\n\n/**\n * Response from adding a ConfigurationSetting.\n */\nexport interface AddConfigurationSettingResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Response from deleting a ConfigurationSetting.\n */\nexport interface DeleteConfigurationSettingResponse\n extends SyncTokenHeaderField, HttpResponseFields, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Options for deleting a ConfigurationSetting.\n */\nexport interface DeleteConfigurationSettingOptions\n extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Options used when saving a ConfigurationSetting.\n */\nexport interface SetConfigurationSettingOptions\n extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Response from setting a ConfigurationSetting.\n */\nexport interface SetConfigurationSettingResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Headers from getting a ConfigurationSetting.\n */\nexport interface GetConfigurationHeaders extends SyncTokenHeaderField {}\n\n/**\n * Response from retrieving a ConfigurationSetting.\n */\nexport interface GetConfigurationSettingResponse\n extends\n ConfigurationSetting,\n GetConfigurationHeaders,\n HttpResponseFields,\n HttpResponseField<GetConfigurationHeaders> {}\n\n/**\n * Options for getting a ConfigurationSetting.\n */\nexport interface GetConfigurationSettingOptions\n extends OperationOptions, HttpOnlyIfChangedField, OptionalFields {\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListSettingsOptions extends OptionalFields {\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n\n /**\n * Filters for keys. There are two types of matching:\n *\n * 1. Exact matching. Up to 5 key names are allowed, separated by commas (',')\n * 2. Wildcard matching. A single wildcard expression can be specified.\n *\n * | Value | Matches |\n * |--------------|---------------------------------------|\n * | omitted or * | Matches any key |\n * | abc | Matches a key named abc |\n * | abc* | Matches key names that start with abc |\n *\n * These characters are reserved and must be prefixed with backslash in order\n * to be specified: * or \\\\ or ,\n */\n keyFilter?: string;\n\n /* eslint-disable tsdoc/syntax */\n /**\n * Filters for labels. There are two types of matching:\n *\n * 1. Exact matching. Up to 5 labels are allowed, separated by commas (',')\n * 2. Wildcard matching. A single wildcard expression can be specified.\n *\n * | Value | Matches |\n * |--------------|------------------------------------------------------|\n * | omitted or * | Matches any key |\n * | \\0 | Matches any key without a label (URL encoded as %00) |\n * | prod | Matches a key with label named prod |\n * | prod* | Matches key with label names that start with prod |\n * These characters are reserved and must be prefixed with backslash in order\n * to be specified: * or \\\\ or ,\n *\n * Reference: https://learn.microsoft.com/azure/azure-app-configuration/rest-api-key-value\n */\n labelFilter?: string;\n\n /** A filter used to query by tags. Syntax reference: https://aka.ms/azconfig/docs/keyvaluefiltering */\n tagsFilter?: string[];\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListConfigurationSettingsForSnapshotOptions\n extends OperationOptions, OptionalFields {}\n\n/**\n * Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListConfigurationSettingsOptions extends OperationOptions, ListSettingsOptions {\n /**\n * Etags list for page\n */\n pageEtags?: string[];\n}\n\n/**\n * Options for checkConfigurationSettings that allow for filtering based on keys, labels and other fields.\n */\nexport interface CheckConfigurationSettingsOptions extends OperationOptions, ListSettingsOptions {\n /**\n * Etags list for page\n */\n pageEtags?: string[];\n}\n\n/**\n * Options for listLabels\n */\nexport interface ListLabelsOptions extends OperationOptions, OptionalLabelsFields {\n /** A filter for the name of the returned labels. */\n nameFilter?: string;\n\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListSnapshots extends OptionalSnapshotFields {\n /** A filter for the name of the returned snapshots. */\n nameFilter?: string;\n\n /** Used to filter returned snapshots by their status property. */\n statusFilter?: ConfigurationSnapshotStatus[];\n}\n\n/**\n * Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListSnapshotsOptions\n extends OperationOptions, ListSnapshots, OptionalSnapshotFields {}\n\n/**\n * An interface that tracks the settings for paged iteration\n */\nexport interface PageSettings {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n // The appconfig service doesn't currently support letting you select a page size\n // so we're ignoring their setting for now.\n}\n\n/**\n * Entity with etag.\n */\nexport interface EtagEntity {\n /**\n * The etag for this entity\n */\n etag?: string;\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListConfigurationSettingPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSetting[];\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListLabelsPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {\n /**\n * The collection of labels\n */\n items: SettingLabel[];\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListSnapshotsPage extends SyncTokenHeaderField, PageSettings {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSnapshot[];\n}\n\n/**\n * Options for listRevisions that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListRevisionsOptions extends OperationOptions, ListSettingsOptions {}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListRevisionsPage extends HttpResponseField<SyncTokenHeaderField>, PageSettings {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSetting[];\n}\n\n/**\n * Options for setReadOnly\n */\nexport interface SetReadOnlyOptions extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Response when setting a value to read-only.\n */\nexport interface SetReadOnlyResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface RetryOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation.\n */\n maxRetryDelayInMs?: number;\n}\n\n/**\n * Options used when creating a Snapshot.\n */\nexport interface CreateSnapshotOptions extends OperationOptions {\n /**\n * The amount of time to wait (in milliseconds) between subsequent requests relating to the same operation.\n */\n updateIntervalInMs?: number;\n}\n\n/**\n * Response from adding a Snapshot.\n */\nexport interface SnapshotResponse extends ConfigurationSnapshot, SyncTokenHeaderField {}\n\n/**\n * Options used when getting a Snapshot.\n */\nexport interface GetSnapshotOptions extends OperationOptions, OptionalSnapshotFields {}\n\n/**\n * Response from getting a Snapshot.\n */\nexport interface GetSnapshotResponse extends SnapshotResponse {}\n\n/**\n * Options used when updating a Snapshot.\n */\nexport interface UpdateSnapshotOptions extends OperationOptions {\n /**\n * The etag for this snapshot\n */\n etag?: string;\n}\n\n/**\n * Response from updating a Snapshot.\n */\nexport interface UpdateSnapshotResponse extends SnapshotResponse {}\n/**\n * Response from updating a Snapshot.\n */\nexport interface CreateSnapshotResponse extends SnapshotResponse {}\n\n/**\n * Fields that uniquely identify a snapshot\n */\nexport interface SnapshotInfo {\n /** The name for this snapshot */\n name: string;\n /** A list of filters used to filter the key-values included in the snapshot. */\n filters: ConfigurationSettingsFilter[];\n /** The composition type describes how the key-values within the snapshot are composed. The 'all' composition type includes all key-values. The 'group_by_key' composition type ensures there are no two key-values containing the same key. */\n compositionType?: SnapshotComposition;\n /** The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. This property is only writable during the creation of a snapshot. If not specified, the default lifetime of key-value revisions will be used. */\n retentionPeriodInSeconds?: number;\n /** The tags of the snapshot. */\n tags?: { [propertyName: string]: string };\n /** The description of the snapshot. */\n description?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAclC,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,UAAU;IACV,uCAAW,CAAA;IACX,eAAe;IACf,kDAAsB,CAAA;AACxB,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC;AAQD,oFAAoF;AACpF,MAAM,CAAN,IAAY,gCASX;AATD,WAAY,gCAAgC;IAC1C,mBAAmB;IACnB,iEAA6B,CAAA;IAC7B,YAAY;IACZ,mDAAe,CAAA;IACf,eAAe;IACf,yDAAqB,CAAA;IACrB,aAAa;IACb,qDAAiB,CAAA;AACnB,CAAC,EATW,gCAAgC,KAAhC,gCAAgC,QAS3C;AAkGD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,gCAAgC;IAChC,mCAAW,CAAA;IACX,kCAAkC;IAClC,mCAAW,CAAA;AACb,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAyBD,uEAAuE;AACvE,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,+CAA+C;IAC/C,oCAAa,CAAA;IACb,yCAAyC;IACzC,0CAAmB,CAAA;IACnB,0CAA0C;IAC1C,4CAAqB,CAAA;AACvB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAyFD;;GAEG;AACH,MAAM,CAAN,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAChC;;OAEG;IACH,mEAAyC,CAAA;IACzC;;OAEG;IACH,wEAA8C,CAAA;IAC9C;;OAEG;IACH,0EAAgD,CAAA;AAClD,CAAC,EAbW,sBAAsB,KAAtB,sBAAsB,QAajC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,iCAAiC;IACjC,2DAAwB,CAAA;IACxB,iCAAiC;IACjC,2DAAwB,CAAA;IACxB,iCAAiC;IACjC,2DAAwB,CAAA;IACxB,yCAAyC;IACzC,0EAAuC,CAAA;AACzC,CAAC,EATW,+BAA+B,KAA/B,+BAA+B,QAS1C;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,yCAAyC;IACzC,qEAAuC,CAAA;AACzC,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CompatResponse } from \"@azure/core-http-compat\";\nimport type { FeatureFlagValue } from \"./featureFlag.js\";\nimport type { CommonClientOptions, OperationOptions } from \"@azure/core-client\";\nimport type { SecretReferenceValue } from \"./secretReference.js\";\nimport type { SnapshotReferenceValue } from \"./snapshotReference.js\";\n\n/**\n * Defines values for SnapshotComposition.\n * {@link KnownSnapshotComposition} can be used interchangeably with SnapshotComposition.\n */\nexport type SnapshotComposition = string;\n\n/** Known values of {@link SnapshotComposition} that the service accepts. */\nexport enum KnownSnapshotComposition {\n /** Key */\n Key = \"key\",\n /** KeyLabel */\n KeyLabel = \"key_label\",\n}\n\n/**\n * Defines values for ConfigurationSnapshotStatus.\n * {@link KnownConfigurationSnapshotStatus} can be used interchangeably with ConfigurationSnapshotStatus.\n */\nexport type ConfigurationSnapshotStatus = string;\n\n/** Known values of {@link ConfigurationSnapshotStatus} that the service accepts. */\nexport enum KnownConfigurationSnapshotStatus {\n /** Provisioning */\n Provisioning = \"provisioning\",\n /** Ready */\n Ready = \"ready\",\n /** Archived */\n Archived = \"archived\",\n /** Failed */\n Failed = \"failed\",\n}\n\n/**\n * Enables filtering of key-values. Syntax reference:\n * https://aka.ms/azconfig/docs/restapisnapshots\n */\nexport interface ConfigurationSettingsFilter {\n /** Filters key-values by their key field. */\n keyFilter: string;\n /** Filters key-values by their label field. */\n labelFilter?: string;\n /** Filters key-values by their tags field. */\n tagsFilter?: string[];\n}\n\n/** A snapshot is a named, immutable subset of an App Configuration store's key-values. */\nexport interface ConfigurationSnapshot {\n /** The name of the snapshot. */\n readonly name: string;\n /** The current status of the snapshot. */\n readonly status?: ConfigurationSnapshotStatus;\n /** A list of filters used to filter the key-values included in the snapshot. */\n filters: ConfigurationSettingsFilter[];\n /** The composition type describes how the key-values within the snapshot are composed. */\n compositionType?: SnapshotComposition;\n /** The time that the snapshot was created. */\n readonly createdOn?: Date;\n /** The time that the snapshot will expire. */\n readonly expiresOn?: Date;\n /** The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. */\n retentionPeriodInSeconds?: number;\n /** The size in bytes of the snapshot. */\n readonly sizeInBytes?: number;\n /** The amount of key-values in the snapshot. */\n readonly itemCount?: number;\n /** The tags of the snapshot. */\n tags?: { [propertyName: string]: string };\n /** The description of the snapshot. */\n description?: string;\n /** A value representing the current state of the snapshot. */\n readonly etag?: string;\n}\n\n/** Labels are used to group key-values. */\nexport interface SettingLabel {\n /** The name of the label. */\n readonly name?: string;\n}\n\n/**\n * Provides configuration options for AppConfigurationClient.\n */\nexport interface AppConfigurationClientOptions extends CommonClientOptions {\n /**\n * The API version to use when interacting with the service. The default value is `2026-05-01-preview`.\n * {@link KnownAppConfigurationApiVersion} can be used interchangeably with apiVersion.\n * Note that overriding this default value may result in unsupported behavior.\n */\n apiVersion?: string;\n\n /**\n * The audience to use for authentication with Microsoft Entra ID.\n * {@link KnownAppConfigAudience} can be used interchangeably with audience.\n * If not specified, the default audience will be set to Azure Public Cloud.\n */\n audience?: string;\n}\n\n/**\n * Provides configuration options for FeatureFlagClient.\n */\nexport interface FeatureFlagClientOptions extends AppConfigurationClientOptions {\n /**\n * The API version to use when interacting with the service. The default value is `2026-05-01-preview`.\n * {@link KnownFeatureFlagApiVersion} can be used interchangeably with apiVersion.\n * Note that overriding this default value may result in unsupported behavior.\n */\n apiVersion?: string;\n\n /**\n * The audience to use for authentication with Microsoft Entra ID.\n * {@link KnownAppConfigAudience} can be used interchangeably with audience.\n * If not specified, the default audience will be set to Azure Public Cloud.\n */\n audience?: string;\n}\n\n/** The conditions that must be met for the feature flag to be enabled. */\nexport interface FeatureFlagConditions {\n /** The requirement type for the conditions. */\n requirementType?: RequirementType;\n /** The filters that will conditionally enable or disable the flag. */\n filters?: FeatureFilter[];\n}\n\n/** Defines values for the feature flag condition requirement type. */\nexport type RequirementType = string;\n\n/** Known values of {@link RequirementType} that the service accepts. */\nexport enum KnownRequirementType {\n /** Any condition may be met. */\n Any = \"Any\",\n /** All conditions must be met. */\n All = \"All\",\n}\n\n/** A filter that conditionally enables or disables a feature flag. */\nexport interface FeatureFilter {\n /** The name of the filter. */\n name: string;\n /** The parameters used by the filter. */\n parameters?: { [propertyName: string]: string };\n}\n\n/** A variant of a feature flag. */\nexport interface FeatureFlagVariantDefinition {\n /** The name of the variant. */\n name: string;\n /** The value of the variant. */\n value?: string;\n /** The content type of the variant value. */\n contentType?: string;\n /** Determines whether the variant overrides the status of the feature flag. */\n statusOverride?: StatusOverride;\n}\n\n/** Defines values for a feature flag variant status override. */\nexport type StatusOverride = string;\n\n/** Known values of {@link StatusOverride} that the service accepts. */\nexport enum KnownStatusOverride {\n /** Do not override the feature flag status. */\n None = \"None\",\n /** Treat the feature flag as enabled. */\n Enabled = \"Enabled\",\n /** Treat the feature flag as disabled. */\n Disabled = \"Disabled\",\n}\n\n/** Defines how to allocate feature flag variants based on context. */\nexport interface FeatureFlagAllocation {\n /** The default variant to use when the feature flag is disabled. */\n defaultWhenDisabled?: string;\n /** The default variant to use when the feature flag is enabled but not allocated. */\n defaultWhenEnabled?: string;\n /** Allocates percentiles to variants. */\n percentile?: PercentileAllocation[];\n /** Allocates users to variants. */\n user?: UserAllocation[];\n /** Allocates groups to variants. */\n group?: GroupAllocation[];\n /** The seed used for random allocation. */\n seed?: string;\n}\n\n/** Allocates a percentile range to a feature flag variant. */\nexport interface PercentileAllocation {\n /** The variant to allocate the percentile range to. */\n variant: string;\n /** The lower bound of the percentile range. */\n from: number;\n /** The upper bound of the percentile range. */\n to: number;\n}\n\n/** Allocates users to a feature flag variant. */\nexport interface UserAllocation {\n /** The variant to allocate the users to. */\n variant: string;\n /** The users that receive the variant. */\n users: string[];\n}\n\n/** Allocates groups to a feature flag variant. */\nexport interface GroupAllocation {\n /** The variant to allocate the groups to. */\n variant: string;\n /** The groups that receive the variant. */\n groups: string[];\n}\n\n/** Telemetry configuration for a feature flag. */\nexport interface FeatureFlagTelemetryConfiguration {\n /** Whether telemetry is enabled. */\n enabled: boolean;\n /** Metadata to include on outbound telemetry. */\n metadata?: { [propertyName: string]: string };\n}\n\n/** Fields that uniquely identify a feature flag. */\nexport interface FeatureFlagId {\n /** The name of the feature flag. */\n name: string;\n /** The label the feature flag belongs to. */\n label?: string;\n /** A value representing the current state of the resource. */\n etag?: string;\n}\n\n/** Necessary fields for updating or creating a feature flag. */\nexport type FeatureFlagParam = FeatureFlagId & {\n /** The enabled state of the feature flag. */\n enabled: boolean;\n /** The description of the feature flag. */\n description?: string;\n /** The conditions of the feature flag. */\n conditions?: FeatureFlagConditions;\n /** The variants of the feature flag. */\n variants?: FeatureFlagVariantDefinition[];\n /** The allocation of the feature flag. */\n allocation?: FeatureFlagAllocation;\n /** The telemetry settings of the feature flag. */\n telemetry?: FeatureFlagTelemetryConfiguration;\n /** The tags of the feature flag. */\n tags?: { [propertyName: string]: string };\n};\n\n/** A feature flag managed through the dedicated feature flag endpoint. */\nexport type FeatureFlag = FeatureFlagParam & {\n /** A date representing the last time the feature flag was modified. */\n readonly lastModified?: Date;\n};\n\n/** Fields that can be selected when retrieving feature flags. */\nexport type FeatureFlagFields = keyof FeatureFlag;\n\n/**\n * Known values for Azure App Configuration Audience\n */\nexport enum KnownAppConfigAudience {\n /**\n * Audience for Azure China\n */\n AzureChina = \"https://appconfig.azure.cn\",\n /**\n * Audience for Azure Government\n */\n AzureGovernment = \"https://appconfig.azure.us\",\n /**\n * Audience for Azure Public\n */\n AzurePublicCloud = \"https://appconfig.azure.com\",\n}\n\n/**\n * Known service API versions supported by AppConfigurationClient.\n */\nexport enum KnownAppConfigurationApiVersion {\n /** The 2023-11-01 API version */\n V20231101 = \"2023-11-01\",\n /** The 2024-09-01 API version */\n V20240901 = \"2024-09-01\",\n /** The 2026-04-01 API version */\n V20260401 = \"2026-04-01\",\n /** The 2026-05-01-preview API version */\n V20260501Preview = \"2026-05-01-preview\",\n}\n\n/**\n * Known service API versions supported by FeatureFlagClient.\n */\nexport enum KnownFeatureFlagApiVersion {\n /** The 2026-05-01-preview API version */\n V20260501Preview = \"2026-05-01-preview\",\n}\n\n/**\n * Fields that uniquely identify a configuration setting\n */\nexport interface ConfigurationSettingId {\n /**\n * The etag for this setting\n */\n etag?: string;\n /**\n * The key for this setting.\n * Feature flags must be prefixed with `.appconfig.featureflag/<feature-flag-name>`.\n */\n key: string;\n\n /**\n * The label for this setting. Leaving this undefined means this\n * setting does not have a label.\n */\n label?: string;\n}\n/**\n * Necessary fields for updating or creating a new configuration setting\n */\nexport type ConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingId & {\n /**\n * The content type of the setting's value\n */\n contentType?: string;\n\n /**\n * Tags for this key\n */\n tags?: { [propertyName: string]: string };\n\n /**\n * The description of the setting.\n */\n description?: string;\n} & (T extends string\n ? {\n /**\n * The setting's value\n */\n value?: string;\n }\n : {\n /**\n * The setting's value\n */\n value: T;\n });\n\n/**\n * Configuration setting with extra metadata from the server, indicating\n * its etag, whether it is currently readOnly and when it was last modified.\n */\nexport type ConfigurationSetting<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T> & {\n /**\n * Whether or not the setting is read-only\n */\n isReadOnly: boolean;\n\n /**\n * The date when this setting was last modified\n */\n lastModified?: Date;\n};\n\n/**\n * Fields that are hoisted up from the _response field of the object\n * Used in cases where individual HTTP response fields are important for\n * the user to use in common-use cases like handling http status codes 204 or 304.\n */\nexport interface HttpResponseFields {\n /**\n * The HTTP status code for the response\n */\n statusCode: number;\n}\n/**\n * HTTP response related information - headers and raw body.\n */\nexport interface HttpResponseField<HeadersT> {\n /**\n * The underlying HTTP response.\n */\n _response: CompatResponse & {\n /**\n * The parsed HTTP response headers.\n */\n parsedHeaders: HeadersT;\n\n /**\n * The response body as text (string format)\n */\n bodyAsText: string;\n };\n}\n/**\n * Parameters for adding a new configuration setting\n */\nexport type AddConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T>;\n\n/**\n * Parameters for creating or updating a new configuration setting\n */\nexport type SetConfigurationSettingParam<\n T extends string | FeatureFlagValue | SecretReferenceValue | SnapshotReferenceValue = string,\n> = ConfigurationSettingParam<T>;\n\n/**\n * Standard base response for getting, deleting or updating a configuration setting\n */\nexport type ConfigurationSettingResponse<HeadersT> = ConfigurationSetting &\n HttpResponseField<HeadersT> &\n Pick<HeadersT, Exclude<keyof HeadersT, \"eTag\">>;\n\n/**\n * Options used to provide if-none-match for an HTTP request\n */\nexport interface HttpOnlyIfChangedField {\n /**\n * Used to perform an operation only if the targeted resource's etag does not match the value\n * provided.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Options used to provide if-match for an HTTP request\n */\nexport interface HttpOnlyIfUnchangedField {\n /**\n * Used to perform an operation only if the targeted resource's etag matches the value provided.\n */\n onlyIfUnchanged?: boolean;\n}\n\n/**\n * Used when the API supports selectively returning fields.\n */\nexport interface OptionalFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof ConfigurationSetting)[];\n}\n\n/**\n * Used when the API supports selectively returning fields.\n */\nexport interface OptionalSnapshotFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof ConfigurationSnapshot)[];\n}\n\n/**\n * Used when the API supports selectively returning labels fields.\n */\nexport interface OptionalLabelsFields {\n /**\n * Which fields to return for each ConfigurationSetting\n */\n fields?: (keyof SettingLabel)[];\n}\n/**\n * Sync token header field\n */\nexport interface SyncTokenHeaderField {\n /**\n * Enables real-time consistency between requests by providing the returned value in the next\n * request made to the server.\n */\n syncToken?: string;\n}\n\n/**\n * Options used when adding a ConfigurationSetting.\n */\nexport interface AddConfigurationSettingOptions extends OperationOptions {}\n\n/**\n * Response from adding a ConfigurationSetting.\n */\nexport interface AddConfigurationSettingResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Response from deleting a ConfigurationSetting.\n */\nexport interface DeleteConfigurationSettingResponse\n extends SyncTokenHeaderField, HttpResponseFields, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Options for deleting a ConfigurationSetting.\n */\nexport interface DeleteConfigurationSettingOptions\n extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Options used when saving a ConfigurationSetting.\n */\nexport interface SetConfigurationSettingOptions\n extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Response from setting a ConfigurationSetting.\n */\nexport interface SetConfigurationSettingResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Headers from getting a ConfigurationSetting.\n */\nexport interface GetConfigurationHeaders extends SyncTokenHeaderField {}\n\n/**\n * Response from retrieving a ConfigurationSetting.\n */\nexport interface GetConfigurationSettingResponse\n extends\n ConfigurationSetting,\n GetConfigurationHeaders,\n HttpResponseFields,\n HttpResponseField<GetConfigurationHeaders> {}\n\n/**\n * Options for getting a ConfigurationSetting.\n */\nexport interface GetConfigurationSettingOptions\n extends OperationOptions, HttpOnlyIfChangedField, OptionalFields {\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListSettingsOptions extends OptionalFields {\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n\n /**\n * Filters for keys. There are two types of matching:\n *\n * 1. Exact matching. Up to 5 key names are allowed, separated by commas (',')\n * 2. Wildcard matching. A single wildcard expression can be specified.\n *\n * | Value | Matches |\n * |--------------|---------------------------------------|\n * | omitted or * | Matches any key |\n * | abc | Matches a key named abc |\n * | abc* | Matches key names that start with abc |\n *\n * These characters are reserved and must be prefixed with backslash in order\n * to be specified: * or \\\\ or ,\n */\n keyFilter?: string;\n\n /* eslint-disable tsdoc/syntax */\n /**\n * Filters for labels. There are two types of matching:\n *\n * 1. Exact matching. Up to 5 labels are allowed, separated by commas (',')\n * 2. Wildcard matching. A single wildcard expression can be specified.\n *\n * | Value | Matches |\n * |--------------|------------------------------------------------------|\n * | omitted or * | Matches any key |\n * | \\0 | Matches any key without a label (URL encoded as %00) |\n * | prod | Matches a key with label named prod |\n * | prod* | Matches key with label names that start with prod |\n * These characters are reserved and must be prefixed with backslash in order\n * to be specified: * or \\\\ or ,\n *\n * Reference: https://learn.microsoft.com/azure/azure-app-configuration/rest-api-key-value\n */\n labelFilter?: string;\n\n /** A filter used to query by tags. Syntax reference: https://aka.ms/azconfig/docs/keyvaluefiltering */\n tagsFilter?: string[];\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListConfigurationSettingsForSnapshotOptions\n extends OperationOptions, OptionalFields {}\n\n/**\n * Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListConfigurationSettingsOptions extends OperationOptions, ListSettingsOptions {\n /**\n * Etags list for page\n */\n pageEtags?: string[];\n}\n\n/**\n * Options for checkConfigurationSettings that allow for filtering based on keys, labels and other fields.\n */\nexport interface CheckConfigurationSettingsOptions extends OperationOptions, ListSettingsOptions {\n /**\n * Etags list for page\n */\n pageEtags?: string[];\n}\n\n/**\n * Options for listLabels\n */\nexport interface ListLabelsOptions extends OperationOptions, OptionalLabelsFields {\n /** A filter for the name of the returned labels. */\n nameFilter?: string;\n\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n}\n\n/**\n * Options used when creating or updating a feature flag through the dedicated\n * feature flag endpoint.\n */\nexport interface SetFeatureFlagOptions extends OperationOptions, HttpOnlyIfUnchangedField {}\n\n/**\n * Options used when adding a feature flag through the dedicated feature flag endpoint.\n */\nexport interface AddFeatureFlagOptions extends OperationOptions {}\n\n/** Parameters for adding a feature flag through the dedicated feature flag endpoint. */\nexport type AddFeatureFlagParam = FeatureFlagParam;\n\n/** Parameters for creating or updating a feature flag through the dedicated feature flag endpoint. */\nexport type SetFeatureFlagParam = FeatureFlagParam;\n\n/** Response from adding a feature flag through the dedicated feature flag endpoint. */\nexport interface AddFeatureFlagResponse\n extends FeatureFlag, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/** Response from setting a feature flag through the dedicated feature flag endpoint. */\nexport interface SetFeatureFlagResponse\n extends FeatureFlag, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/** Response from deleting a feature flag through the dedicated feature flag endpoint. */\nexport interface DeleteFeatureFlagResponse\n extends SyncTokenHeaderField, HttpResponseFields, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Response from retrieving a feature flag through the dedicated feature flag endpoint.\n *\n * When a conditional request is made with `onlyIfChanged` and the feature flag has\n * not changed, the service responds with a 304 status and an otherwise empty body. In\n * that case `statusCode` is `304` and the feature flag fields (other than `name`) are\n * left unset.\n */\nexport type GetFeatureFlagResponse =\n | (FeatureFlag &\n SyncTokenHeaderField &\n HttpResponseField<SyncTokenHeaderField> & { statusCode: 200 })\n | (Pick<FeatureFlag, \"name\"> &\n Partial<Omit<FeatureFlag, \"name\">> &\n SyncTokenHeaderField &\n HttpResponseField<SyncTokenHeaderField> & { statusCode: 304 });\n\n/**\n * Options for getting a feature flag through the dedicated feature flag endpoint.\n */\nexport interface GetFeatureFlagOptions extends OperationOptions, HttpOnlyIfChangedField {\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n\n /**\n * Which fields to return for the feature flag.\n */\n fields?: FeatureFlagFields[];\n}\n\n/**\n * Options for deleting a feature flag through the dedicated feature flag endpoint.\n */\nexport interface DeleteFeatureFlagOptions extends OperationOptions, HttpOnlyIfUnchangedField {}\n\n/**\n * Options for listFeatureFlags that allow for filtering based on name, label and tags.\n */\nexport interface ListFeatureFlagsOptions extends OperationOptions {\n /** A filter for the name of the returned feature flags. */\n nameFilter?: string;\n\n /** A filter for the label of the returned feature flags. */\n labelFilter?: string;\n\n /** A filter used to query by tags. */\n tagsFilter?: string[];\n\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n\n /** Which fields to return for each feature flag. */\n fields?: FeatureFlagFields[];\n\n /**\n * A list of page etags, one per page, used to conditionally retrieve pages. Each etag is sent as\n * an `If-None-Match` header for its corresponding page; when the page is unchanged the service\n * responds with `304 Not Modified` and the SDK yields an empty page whose `etag` is preserved.\n */\n pageEtags?: string[];\n}\n\n/**\n * A page of feature flags and the corresponding HTTP response\n */\nexport interface ListFeatureFlagPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {\n /**\n * The feature flags for this page of results.\n */\n items: FeatureFlag[];\n}\n\n/**\n * Options for listFeatureFlagRevisions that allow for filtering based on name, label and tags.\n */\nexport interface ListFeatureFlagRevisionsOptions extends OperationOptions {\n /** A filter for the name of the returned feature flags. */\n nameFilter?: string;\n\n /** A filter for the label of the returned feature flags. */\n labelFilter?: string;\n\n /** A filter used to query by tags. */\n tagsFilter?: string[];\n\n /**\n * Requests the server to respond with the state of the resource at the specified time.\n */\n acceptDateTime?: Date;\n\n /** Which fields to return for each feature flag. */\n fields?: FeatureFlagFields[];\n}\n\n/**\n * A page of feature flag revisions and the corresponding HTTP response\n */\nexport interface ListFeatureFlagRevisionsPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings {\n /**\n * The feature flag revisions for this page of results.\n */\n items: FeatureFlag[];\n}\n\n/**\n * Common options for 'list' style APIs in AppConfig used to specify wildcards as well as\n * the accept date time header.\n */\nexport interface ListSnapshots extends OptionalSnapshotFields {\n /** A filter for the name of the returned snapshots. */\n nameFilter?: string;\n\n /** Used to filter returned snapshots by their status property. */\n statusFilter?: ConfigurationSnapshotStatus[];\n}\n\n/**\n * Options for listConfigurationSettings that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListSnapshotsOptions\n extends OperationOptions, ListSnapshots, OptionalSnapshotFields {}\n\n/**\n * An interface that tracks the settings for paged iteration\n */\nexport interface PageSettings {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n // The appconfig service doesn't currently support letting you select a page size\n // so we're ignoring their setting for now.\n}\n\n/**\n * Entity with etag.\n */\nexport interface EtagEntity {\n /**\n * The etag for this entity\n */\n etag?: string;\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListConfigurationSettingPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSetting[];\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListLabelsPage\n extends HttpResponseField<SyncTokenHeaderField>, PageSettings, EtagEntity {\n /**\n * The collection of labels\n */\n items: SettingLabel[];\n}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListSnapshotsPage extends SyncTokenHeaderField, PageSettings {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSnapshot[];\n}\n\n/**\n * Options for listRevisions that allow for filtering based on keys, labels and other fields.\n * Also provides `fields` which allows you to selectively choose which fields are populated in the\n * result.\n */\nexport interface ListRevisionsOptions extends OperationOptions, ListSettingsOptions {}\n\n/**\n * A page of configuration settings and the corresponding HTTP response\n */\nexport interface ListRevisionsPage extends HttpResponseField<SyncTokenHeaderField>, PageSettings {\n /**\n * The configuration settings for this page of results.\n */\n items: ConfigurationSetting[];\n}\n\n/**\n * Options for setReadOnly\n */\nexport interface SetReadOnlyOptions extends HttpOnlyIfUnchangedField, OperationOptions {}\n\n/**\n * Response when setting a value to read-only.\n */\nexport interface SetReadOnlyResponse\n extends ConfigurationSetting, SyncTokenHeaderField, HttpResponseField<SyncTokenHeaderField> {}\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface RetryOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation.\n */\n maxRetryDelayInMs?: number;\n}\n\n/**\n * Options used when creating a Snapshot.\n */\nexport interface CreateSnapshotOptions extends OperationOptions {\n /**\n * The amount of time to wait (in milliseconds) between subsequent requests relating to the same operation.\n */\n updateIntervalInMs?: number;\n}\n\n/**\n * Response from adding a Snapshot.\n */\nexport interface SnapshotResponse extends ConfigurationSnapshot, SyncTokenHeaderField {}\n\n/**\n * Options used when getting a Snapshot.\n */\nexport interface GetSnapshotOptions extends OperationOptions, OptionalSnapshotFields {}\n\n/**\n * Response from getting a Snapshot.\n */\nexport interface GetSnapshotResponse extends SnapshotResponse {}\n\n/**\n * Options used when updating a Snapshot.\n */\nexport interface UpdateSnapshotOptions extends OperationOptions {\n /**\n * The etag for this snapshot\n */\n etag?: string;\n}\n\n/**\n * Response from updating a Snapshot.\n */\nexport interface UpdateSnapshotResponse extends SnapshotResponse {}\n/**\n * Response from updating a Snapshot.\n */\nexport interface CreateSnapshotResponse extends SnapshotResponse {}\n\n/**\n * Fields that uniquely identify a snapshot\n */\nexport interface SnapshotInfo {\n /** The name for this snapshot */\n name: string;\n /** A list of filters used to filter the key-values included in the snapshot. */\n filters: ConfigurationSettingsFilter[];\n /** The composition type describes how the key-values within the snapshot are composed. The 'all' composition type includes all key-values. The 'group_by_key' composition type ensures there are no two key-values containing the same key. */\n compositionType?: SnapshotComposition;\n /** The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. This property is only writable during the creation of a snapshot. If not specified, the default lifetime of key-value revisions will be used. */\n retentionPeriodInSeconds?: number;\n /** The tags of the snapshot. */\n tags?: { [propertyName: string]: string };\n /** The description of the snapshot. */\n description?: string;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure/app-configuration",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
4
|
"description": "An isomorphic client library for the Azure App Configuration service.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.13.0-beta.1",
|
|
6
6
|
"sdk-type": "client",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"LICENSE"
|
|
31
31
|
],
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=22.0.0"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"autoPublish": false,
|
|
@@ -41,11 +41,7 @@
|
|
|
41
41
|
"prefix": "packageVersion"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"path": "src/generated/
|
|
45
|
-
"prefix": "packageDetails"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "src/generated/api/azureAppConfigurationContext.ts",
|
|
44
|
+
"path": "src/generated/api/appConfigurationContext.ts",
|
|
49
45
|
"prefix": "userAgentInfo"
|
|
50
46
|
}
|
|
51
47
|
]
|
|
@@ -70,15 +66,15 @@
|
|
|
70
66
|
"@azure/identity": "4.13.0",
|
|
71
67
|
"@azure/keyvault-secrets": "^4.2.0",
|
|
72
68
|
"@microsoft/feature-management": "^2.2.0",
|
|
73
|
-
"@types/node": "^
|
|
69
|
+
"@types/node": "^22.0.0",
|
|
74
70
|
"@vitest/browser-playwright": "^4.1.2",
|
|
75
71
|
"@vitest/coverage-istanbul": "^4.1.2",
|
|
76
72
|
"cross-env": "^10.1.0",
|
|
77
73
|
"dotenv": "^16.6.1",
|
|
78
|
-
"eslint": "^
|
|
74
|
+
"eslint": "^10.8.0",
|
|
79
75
|
"nock": "^13.5.6",
|
|
80
76
|
"playwright": "^1.60.0",
|
|
81
|
-
"prettier": "^3.
|
|
77
|
+
"prettier": "^3.9.1",
|
|
82
78
|
"react-native": "^0.84.1",
|
|
83
79
|
"rimraf": "^6.1.0",
|
|
84
80
|
"typescript": "~6.0.2",
|