@azure/arm-planetarycomputer 1.0.0-alpha.20250616.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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/geoCatalogs/index.d.ts +3 -0
- package/dist/browser/api/geoCatalogs/index.d.ts.map +1 -0
- package/dist/browser/api/geoCatalogs/index.js +4 -0
- package/dist/browser/api/geoCatalogs/index.js.map +1 -0
- package/dist/browser/api/geoCatalogs/operations.d.ts +36 -0
- package/dist/browser/api/geoCatalogs/operations.d.ts.map +1 -0
- package/dist/browser/api/geoCatalogs/operations.js +180 -0
- package/dist/browser/api/geoCatalogs/operations.js.map +1 -0
- package/dist/browser/api/geoCatalogs/options.d.ts +26 -0
- package/dist/browser/api/geoCatalogs/options.d.ts.map +1 -0
- package/dist/browser/api/geoCatalogs/options.js +4 -0
- package/dist/browser/api/geoCatalogs/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/spatioContext.d.ts +19 -0
- package/dist/browser/api/spatioContext.d.ts.map +1 -0
- package/dist/browser/api/spatioContext.js +35 -0
- package/dist/browser/api/spatioContext.js.map +1 -0
- package/dist/browser/classic/geoCatalogs/index.d.ts +27 -0
- package/dist/browser/classic/geoCatalogs/index.d.ts.map +1 -0
- package/dist/browser/classic/geoCatalogs/index.js +17 -0
- package/dist/browser/classic/geoCatalogs/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +2 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/index.d.ts +9 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +258 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +241 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +95 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/spatioClient.d.ts +15 -0
- package/dist/browser/spatioClient.d.ts.map +1 -0
- package/dist/browser/spatioClient.js +18 -0
- package/dist/browser/spatioClient.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/geoCatalogs/index.d.ts +3 -0
- package/dist/commonjs/api/geoCatalogs/index.d.ts.map +1 -0
- package/dist/commonjs/api/geoCatalogs/index.js +13 -0
- package/dist/commonjs/api/geoCatalogs/index.js.map +1 -0
- package/dist/commonjs/api/geoCatalogs/operations.d.ts +36 -0
- package/dist/commonjs/api/geoCatalogs/operations.d.ts.map +1 -0
- package/dist/commonjs/api/geoCatalogs/operations.js +200 -0
- package/dist/commonjs/api/geoCatalogs/operations.js.map +1 -0
- package/dist/commonjs/api/geoCatalogs/options.d.ts +26 -0
- package/dist/commonjs/api/geoCatalogs/options.d.ts.map +1 -0
- package/dist/commonjs/api/geoCatalogs/options.js +5 -0
- package/dist/commonjs/api/geoCatalogs/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/spatioContext.d.ts +19 -0
- package/dist/commonjs/api/spatioContext.d.ts.map +1 -0
- package/dist/commonjs/api/spatioContext.js +38 -0
- package/dist/commonjs/api/spatioContext.js.map +1 -0
- package/dist/commonjs/classic/geoCatalogs/index.d.ts +27 -0
- package/dist/commonjs/classic/geoCatalogs/index.d.ts.map +1 -0
- package/dist/commonjs/classic/geoCatalogs/index.js +20 -0
- package/dist/commonjs/classic/geoCatalogs/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +2 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +9 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +13 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +258 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +268 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +98 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/spatioClient.d.ts +15 -0
- package/dist/commonjs/spatioClient.d.ts.map +1 -0
- package/dist/commonjs/spatioClient.js +22 -0
- package/dist/commonjs/spatioClient.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/geoCatalogs/index.d.ts +3 -0
- package/dist/esm/api/geoCatalogs/index.d.ts.map +1 -0
- package/dist/esm/api/geoCatalogs/index.js +4 -0
- package/dist/esm/api/geoCatalogs/index.js.map +1 -0
- package/dist/esm/api/geoCatalogs/operations.d.ts +36 -0
- package/dist/esm/api/geoCatalogs/operations.d.ts.map +1 -0
- package/dist/esm/api/geoCatalogs/operations.js +180 -0
- package/dist/esm/api/geoCatalogs/operations.js.map +1 -0
- package/dist/esm/api/geoCatalogs/options.d.ts +26 -0
- package/dist/esm/api/geoCatalogs/options.d.ts.map +1 -0
- package/dist/esm/api/geoCatalogs/options.js +4 -0
- package/dist/esm/api/geoCatalogs/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/spatioContext.d.ts +19 -0
- package/dist/esm/api/spatioContext.d.ts.map +1 -0
- package/dist/esm/api/spatioContext.js +35 -0
- package/dist/esm/api/spatioContext.js.map +1 -0
- package/dist/esm/classic/geoCatalogs/index.d.ts +27 -0
- package/dist/esm/classic/geoCatalogs/index.d.ts.map +1 -0
- package/dist/esm/classic/geoCatalogs/index.js +17 -0
- package/dist/esm/classic/geoCatalogs/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +2 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/index.d.ts +9 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +258 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +241 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +95 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/spatioClient.d.ts +15 -0
- package/dist/esm/spatioClient.d.ts.map +1 -0
- package/dist/esm/spatioClient.js +18 -0
- package/dist/esm/spatioClient.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/geoCatalogs/index.d.ts +3 -0
- package/dist/react-native/api/geoCatalogs/index.d.ts.map +1 -0
- package/dist/react-native/api/geoCatalogs/index.js +4 -0
- package/dist/react-native/api/geoCatalogs/index.js.map +1 -0
- package/dist/react-native/api/geoCatalogs/operations.d.ts +36 -0
- package/dist/react-native/api/geoCatalogs/operations.d.ts.map +1 -0
- package/dist/react-native/api/geoCatalogs/operations.js +180 -0
- package/dist/react-native/api/geoCatalogs/operations.js.map +1 -0
- package/dist/react-native/api/geoCatalogs/options.d.ts +26 -0
- package/dist/react-native/api/geoCatalogs/options.d.ts.map +1 -0
- package/dist/react-native/api/geoCatalogs/options.js +4 -0
- package/dist/react-native/api/geoCatalogs/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/spatioContext.d.ts +19 -0
- package/dist/react-native/api/spatioContext.d.ts.map +1 -0
- package/dist/react-native/api/spatioContext.js +35 -0
- package/dist/react-native/api/spatioContext.js.map +1 -0
- package/dist/react-native/classic/geoCatalogs/index.d.ts +27 -0
- package/dist/react-native/classic/geoCatalogs/index.d.ts.map +1 -0
- package/dist/react-native/classic/geoCatalogs/index.js +17 -0
- package/dist/react-native/classic/geoCatalogs/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +2 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/index.d.ts +9 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +258 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +241 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +95 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/spatioClient.d.ts +15 -0
- package/dist/react-native/spatioClient.d.ts.map +1 -0
- package/dist/react-native/spatioClient.js +18 -0
- package/dist/react-native/spatioClient.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +194 -0
- package/review/arm-planetarycomputer-api-geoCatalogs.api.md +59 -0
- package/review/arm-planetarycomputer-api.api.md +27 -0
- package/review/arm-planetarycomputer-models.api.md +156 -0
- package/review/arm-planetarycomputer.api.md +241 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
/** Microsoft Planetary Computer Pro Resource Provider management API. */
|
|
4
|
+
export interface SpatioContext extends Client {
|
|
5
|
+
/** The API version to use for this operation. */
|
|
6
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
/** The ID of the target subscription. The value must be an UUID. */
|
|
9
|
+
subscriptionId: string;
|
|
10
|
+
}
|
|
11
|
+
/** Optional parameters for the client. */
|
|
12
|
+
export interface SpatioClientOptionalParams extends ClientOptions {
|
|
13
|
+
/** The API version to use for this operation. */
|
|
14
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
15
|
+
apiVersion?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Microsoft Planetary Computer Pro Resource Provider management API. */
|
|
18
|
+
export declare function createSpatio(credential: TokenCredential, subscriptionId: string, options?: SpatioClientOptionalParams): SpatioContext;
|
|
19
|
+
//# sourceMappingURL=spatioContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spatioContext.d.ts","sourceRoot":"","sources":["../../../src/api/spatioContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,yEAAyE;AACzE,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,0CAA0C;AAC1C,MAAM,WAAW,0BAA2B,SAAQ,aAAa;IAC/D,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAC1B,UAAU,EAAE,eAAe,EAC3B,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,0BAA+B,GACvC,aAAa,CAkCf"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.createSpatio = createSpatio;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const logger_js_1 = require("../logger.js");
|
|
8
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
9
|
+
/** Microsoft Planetary Computer Pro Resource Provider management API. */
|
|
10
|
+
function createSpatio(credential, subscriptionId, options = {}) {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
12
|
+
const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
|
|
13
|
+
const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
|
|
14
|
+
const userAgentInfo = `azsdk-js-arm-planetarycomputer/1.0.0-beta.1`;
|
|
15
|
+
const userAgentPrefix = prefixFromOptions
|
|
16
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
17
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
18
|
+
const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger_js_1.logger.info }, credentials: {
|
|
19
|
+
scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
|
|
20
|
+
} }), { apiVersion: _ } = _j, updatedOptions = tslib_1.__rest(_j, ["apiVersion"]);
|
|
21
|
+
const clientContext = (0, core_client_1.getClient)(endpointUrl, credential, updatedOptions);
|
|
22
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
23
|
+
const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-02-11-preview";
|
|
24
|
+
clientContext.pipeline.addPolicy({
|
|
25
|
+
name: "ClientApiVersionPolicy",
|
|
26
|
+
sendRequest: (req, next) => {
|
|
27
|
+
// Use the apiVersion defined in request url directly
|
|
28
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
29
|
+
const url = new URL(req.url);
|
|
30
|
+
if (!url.searchParams.get("api-version")) {
|
|
31
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
32
|
+
}
|
|
33
|
+
return next(req);
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
return Object.assign(Object.assign({}, clientContext), { apiVersion, subscriptionId });
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=spatioContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spatioContext.js","sourceRoot":"","sources":["../../../src/api/spatioContext.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAwBlC,oCAsCC;;AA5DD,4CAAsC;AA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ACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCAAK,aAAa,KAAE,UAAU,EAAE,cAAc,GAAmB,CAAC;AAC3E,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 { TokenCredential } from \"@azure/core-auth\";\n\n/** Microsoft Planetary Computer Pro Resource Provider management API. */\nexport interface SpatioContext 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 /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface SpatioClientOptionalParams 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/** Microsoft Planetary Computer Pro Resource Provider management API. */\nexport function createSpatio(\n credential: TokenCredential,\n subscriptionId: string,\n options: SpatioClientOptionalParams = {},\n): SpatioContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-planetarycomputer/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 ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-02-11-preview\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return { ...clientContext, apiVersion, subscriptionId } as SpatioContext;\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SpatioContext } from "../../api/spatioContext.js";
|
|
2
|
+
import { GeoCatalog, GeoCatalogUpdate } from "../../models/models.js";
|
|
3
|
+
import { GeoCatalogsListBySubscriptionOptionalParams, GeoCatalogsListByResourceGroupOptionalParams, GeoCatalogsDeleteOptionalParams, GeoCatalogsUpdateOptionalParams, GeoCatalogsCreateOptionalParams, GeoCatalogsGetOptionalParams } from "../../api/geoCatalogs/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
+
/** Interface representing a GeoCatalogs operations. */
|
|
7
|
+
export interface GeoCatalogsOperations {
|
|
8
|
+
/** List GeoCatalog resources by subscription ID */
|
|
9
|
+
listBySubscription: (options?: GeoCatalogsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<GeoCatalog>;
|
|
10
|
+
/** List GeoCatalog resources by resource group */
|
|
11
|
+
listByResourceGroup: (resourceGroupName: string, options?: GeoCatalogsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<GeoCatalog>;
|
|
12
|
+
/** Delete a GeoCatalog */
|
|
13
|
+
/**
|
|
14
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
15
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
16
|
+
* to the operation to override the generated name.
|
|
17
|
+
*/
|
|
18
|
+
delete: (resourceGroupName: string, catalogName: string, options?: GeoCatalogsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
19
|
+
/** Update a GeoCatalog */
|
|
20
|
+
update: (resourceGroupName: string, catalogName: string, properties: GeoCatalogUpdate, options?: GeoCatalogsUpdateOptionalParams) => PollerLike<OperationState<GeoCatalog>, GeoCatalog>;
|
|
21
|
+
/** Create a GeoCatalog */
|
|
22
|
+
create: (resourceGroupName: string, catalogName: string, resource: GeoCatalog, options?: GeoCatalogsCreateOptionalParams) => PollerLike<OperationState<GeoCatalog>, GeoCatalog>;
|
|
23
|
+
/** Get a GeoCatalog */
|
|
24
|
+
get: (resourceGroupName: string, catalogName: string, options?: GeoCatalogsGetOptionalParams) => Promise<GeoCatalog>;
|
|
25
|
+
}
|
|
26
|
+
export declare function _getGeoCatalogsOperations(context: SpatioContext): GeoCatalogsOperations;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/geoCatalogs/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,EAC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UAAU,CAAC,CAAC;CAC1B;AAgCD,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,aAAa,GAAG,qBAAqB,CAIvF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports._getGeoCatalogsOperations = _getGeoCatalogsOperations;
|
|
6
|
+
const operations_js_1 = require("../../api/geoCatalogs/operations.js");
|
|
7
|
+
function _getGeoCatalogs(context) {
|
|
8
|
+
return {
|
|
9
|
+
listBySubscription: (options) => (0, operations_js_1.listBySubscription)(context, options),
|
|
10
|
+
listByResourceGroup: (resourceGroupName, options) => (0, operations_js_1.listByResourceGroup)(context, resourceGroupName, options),
|
|
11
|
+
delete: (resourceGroupName, catalogName, options) => (0, operations_js_1.$delete)(context, resourceGroupName, catalogName, options),
|
|
12
|
+
update: (resourceGroupName, catalogName, properties, options) => (0, operations_js_1.update)(context, resourceGroupName, catalogName, properties, options),
|
|
13
|
+
create: (resourceGroupName, catalogName, resource, options) => (0, operations_js_1.create)(context, resourceGroupName, catalogName, resource, options),
|
|
14
|
+
get: (resourceGroupName, catalogName, options) => (0, operations_js_1.get)(context, resourceGroupName, catalogName, options),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function _getGeoCatalogsOperations(context) {
|
|
18
|
+
return Object.assign({}, _getGeoCatalogs(context));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/geoCatalogs/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAiGlC,8DAIC;AAzFD,uEAO6C;AAgD7C,SAAS,eAAe,CAAC,OAAsB;IAC7C,OAAO;QACL,kBAAkB,EAAE,CAAC,OAAqD,EAAE,EAAE,CAC5E,IAAA,kCAAkB,EAAC,OAAO,EAAE,OAAO,CAAC;QACtC,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAsD,EACtD,EAAE,CAAC,IAAA,mCAAmB,EAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC7D,MAAM,EAAE,CACN,iBAAyB,EACzB,WAAmB,EACnB,OAAyC,EACzC,EAAE,CAAC,IAAA,uBAAO,EAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC;QAC9D,MAAM,EAAE,CACN,iBAAyB,EACzB,WAAmB,EACnB,UAA4B,EAC5B,OAAyC,EACzC,EAAE,CAAC,IAAA,sBAAM,EAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC;QACzE,MAAM,EAAE,CACN,iBAAyB,EACzB,WAAmB,EACnB,QAAoB,EACpB,OAAyC,EACzC,EAAE,CAAC,IAAA,sBAAM,EAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,CAAC;QACvE,GAAG,EAAE,CAAC,iBAAyB,EAAE,WAAmB,EAAE,OAAsC,EAAE,EAAE,CAC9F,IAAA,mBAAG,EAAC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC;KACxD,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CAAC,OAAsB;IAC9D,yBACK,eAAe,CAAC,OAAO,CAAC,EAC3B;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { SpatioContext } from \"../../api/spatioContext.js\";\nimport { GeoCatalog, GeoCatalogUpdate } from \"../../models/models.js\";\nimport {\n GeoCatalogsListBySubscriptionOptionalParams,\n GeoCatalogsListByResourceGroupOptionalParams,\n GeoCatalogsDeleteOptionalParams,\n GeoCatalogsUpdateOptionalParams,\n GeoCatalogsCreateOptionalParams,\n GeoCatalogsGetOptionalParams,\n} from \"../../api/geoCatalogs/options.js\";\nimport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n create,\n get,\n} from \"../../api/geoCatalogs/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a GeoCatalogs operations. */\nexport interface GeoCatalogsOperations {\n /** List GeoCatalog resources by subscription ID */\n listBySubscription: (\n options?: GeoCatalogsListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<GeoCatalog>;\n /** List GeoCatalog resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: GeoCatalogsListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<GeoCatalog>;\n /** Delete a GeoCatalog */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n catalogName: string,\n options?: GeoCatalogsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Update a GeoCatalog */\n update: (\n resourceGroupName: string,\n catalogName: string,\n properties: GeoCatalogUpdate,\n options?: GeoCatalogsUpdateOptionalParams,\n ) => PollerLike<OperationState<GeoCatalog>, GeoCatalog>;\n /** Create a GeoCatalog */\n create: (\n resourceGroupName: string,\n catalogName: string,\n resource: GeoCatalog,\n options?: GeoCatalogsCreateOptionalParams,\n ) => PollerLike<OperationState<GeoCatalog>, GeoCatalog>;\n /** Get a GeoCatalog */\n get: (\n resourceGroupName: string,\n catalogName: string,\n options?: GeoCatalogsGetOptionalParams,\n ) => Promise<GeoCatalog>;\n}\n\nfunction _getGeoCatalogs(context: SpatioContext) {\n return {\n listBySubscription: (options?: GeoCatalogsListBySubscriptionOptionalParams) =>\n listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: GeoCatalogsListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n catalogName: string,\n options?: GeoCatalogsDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, catalogName, options),\n update: (\n resourceGroupName: string,\n catalogName: string,\n properties: GeoCatalogUpdate,\n options?: GeoCatalogsUpdateOptionalParams,\n ) => update(context, resourceGroupName, catalogName, properties, options),\n create: (\n resourceGroupName: string,\n catalogName: string,\n resource: GeoCatalog,\n options?: GeoCatalogsCreateOptionalParams,\n ) => create(context, resourceGroupName, catalogName, resource, options),\n get: (resourceGroupName: string, catalogName: string, options?: GeoCatalogsGetOptionalParams) =>\n get(context, resourceGroupName, catalogName, options),\n };\n}\n\nexport function _getGeoCatalogsOperations(context: SpatioContext): GeoCatalogsOperations {\n return {\n ..._getGeoCatalogs(context),\n };\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { GeoCatalogsOperations } from \"./geoCatalogs/index.js\";\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
2
|
+
export { SpatioClient } from "./spatioClient.js";
|
|
3
|
+
export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
4
|
+
export { GeoCatalog, GeoCatalogProperties, KnownCatalogTier, CatalogTier, KnownProvisioningState, ProvisioningState, KnownAutoGeneratedDomainNameLabelScope, AutoGeneratedDomainNameLabelScope, ManagedServiceIdentity, KnownManagedServiceIdentityType, ManagedServiceIdentityType, UserAssignedIdentity, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GeoCatalogUpdate, ManagedServiceIdentityUpdate, KnownVersions, } from "./models/index.js";
|
|
5
|
+
export { SpatioClientOptionalParams } from "./api/index.js";
|
|
6
|
+
export { GeoCatalogsListBySubscriptionOptionalParams, GeoCatalogsListByResourceGroupOptionalParams, GeoCatalogsDeleteOptionalParams, GeoCatalogsUpdateOptionalParams, GeoCatalogsCreateOptionalParams, GeoCatalogsGetOptionalParams, } from "./api/geoCatalogs/index.js";
|
|
7
|
+
export { GeoCatalogsOperations } from "./classic/index.js";
|
|
8
|
+
export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,0BAA0B,EAC3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,sCAAsC,EACtC,iCAAiC,EACjC,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,4BAA4B,EAC5B,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EACL,2CAA2C,EAC3C,4CAA4C,EAC5C,+BAA+B,EAC/B,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownVersions = exports.KnownCreatedByType = exports.KnownManagedServiceIdentityType = exports.KnownAutoGeneratedDomainNameLabelScope = exports.KnownProvisioningState = exports.KnownCatalogTier = exports.restorePoller = exports.SpatioClient = void 0;
|
|
6
|
+
var spatioClient_js_1 = require("./spatioClient.js");
|
|
7
|
+
Object.defineProperty(exports, "SpatioClient", { enumerable: true, get: function () { return spatioClient_js_1.SpatioClient; } });
|
|
8
|
+
var restorePollerHelpers_js_1 = require("./restorePollerHelpers.js");
|
|
9
|
+
Object.defineProperty(exports, "restorePoller", { enumerable: true, get: function () { return restorePollerHelpers_js_1.restorePoller; } });
|
|
10
|
+
var index_js_1 = require("./models/index.js");
|
|
11
|
+
Object.defineProperty(exports, "KnownCatalogTier", { enumerable: true, get: function () { return index_js_1.KnownCatalogTier; } });
|
|
12
|
+
Object.defineProperty(exports, "KnownProvisioningState", { enumerable: true, get: function () { return index_js_1.KnownProvisioningState; } });
|
|
13
|
+
Object.defineProperty(exports, "KnownAutoGeneratedDomainNameLabelScope", { enumerable: true, get: function () { return index_js_1.KnownAutoGeneratedDomainNameLabelScope; } });
|
|
14
|
+
Object.defineProperty(exports, "KnownManagedServiceIdentityType", { enumerable: true, get: function () { return index_js_1.KnownManagedServiceIdentityType; } });
|
|
15
|
+
Object.defineProperty(exports, "KnownCreatedByType", { enumerable: true, get: function () { return index_js_1.KnownCreatedByType; } });
|
|
16
|
+
Object.defineProperty(exports, "KnownVersions", { enumerable: true, get: function () { return index_js_1.KnownVersions; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAQlC,qDAAiD;AAAxC,+GAAA,YAAY,OAAA;AACrB,qEAAgF;AAAvE,wHAAA,aAAa,OAAA;AACtB,8CAwB2B;AArBzB,4GAAA,gBAAgB,OAAA;AAEhB,kHAAA,sBAAsB,OAAA;AAEtB,kIAAA,sCAAsC,OAAA;AAGtC,2HAAA,+BAA+B,OAAA;AAM/B,8GAAA,kBAAkB,OAAA;AAOlB,yGAAA,aAAa,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { SpatioClient } from \"./spatioClient.js\";\nexport { restorePoller, RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport {\n GeoCatalog,\n GeoCatalogProperties,\n KnownCatalogTier,\n CatalogTier,\n KnownProvisioningState,\n ProvisioningState,\n KnownAutoGeneratedDomainNameLabelScope,\n AutoGeneratedDomainNameLabelScope,\n ManagedServiceIdentity,\n KnownManagedServiceIdentityType,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GeoCatalogUpdate,\n ManagedServiceIdentityUpdate,\n KnownVersions,\n} from \"./models/index.js\";\nexport { SpatioClientOptionalParams } from \"./api/index.js\";\nexport {\n GeoCatalogsListBySubscriptionOptionalParams,\n GeoCatalogsListByResourceGroupOptionalParams,\n GeoCatalogsDeleteOptionalParams,\n GeoCatalogsUpdateOptionalParams,\n GeoCatalogsCreateOptionalParams,\n GeoCatalogsGetOptionalParams,\n} from \"./api/geoCatalogs/index.js\";\nexport { GeoCatalogsOperations } from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,qCAA8C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.logger = void 0;
|
|
6
|
+
const logger_1 = require("@azure/logger");
|
|
7
|
+
exports.logger = (0, logger_1.createClientLogger)("arm-planetarycomputer");
|
|
8
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0CAAmD;AACtC,QAAA,MAAM,GAAG,IAAA,2BAAkB,EAAC,uBAAuB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-planetarycomputer\");\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { GeoCatalog, GeoCatalogProperties, KnownCatalogTier, CatalogTier, KnownProvisioningState, ProvisioningState, KnownAutoGeneratedDomainNameLabelScope, AutoGeneratedDomainNameLabelScope, ManagedServiceIdentity, KnownManagedServiceIdentityType, ManagedServiceIdentityType, UserAssignedIdentity, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GeoCatalogUpdate, ManagedServiceIdentityUpdate, KnownVersions, } from "./models.js";
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,sCAAsC,EACtC,iCAAiC,EACjC,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,4BAA4B,EAC5B,aAAa,GACd,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownVersions = exports.KnownCreatedByType = exports.KnownManagedServiceIdentityType = exports.KnownAutoGeneratedDomainNameLabelScope = exports.KnownProvisioningState = exports.KnownCatalogTier = void 0;
|
|
6
|
+
var models_js_1 = require("./models.js");
|
|
7
|
+
Object.defineProperty(exports, "KnownCatalogTier", { enumerable: true, get: function () { return models_js_1.KnownCatalogTier; } });
|
|
8
|
+
Object.defineProperty(exports, "KnownProvisioningState", { enumerable: true, get: function () { return models_js_1.KnownProvisioningState; } });
|
|
9
|
+
Object.defineProperty(exports, "KnownAutoGeneratedDomainNameLabelScope", { enumerable: true, get: function () { return models_js_1.KnownAutoGeneratedDomainNameLabelScope; } });
|
|
10
|
+
Object.defineProperty(exports, "KnownManagedServiceIdentityType", { enumerable: true, get: function () { return models_js_1.KnownManagedServiceIdentityType; } });
|
|
11
|
+
Object.defineProperty(exports, "KnownCreatedByType", { enumerable: true, get: function () { return models_js_1.KnownCreatedByType; } });
|
|
12
|
+
Object.defineProperty(exports, "KnownVersions", { enumerable: true, get: function () { return models_js_1.KnownVersions; } });
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,yCAwBqB;AArBnB,6GAAA,gBAAgB,OAAA;AAEhB,mHAAA,sBAAsB,OAAA;AAEtB,mIAAA,sCAAsC,OAAA;AAGtC,4HAAA,+BAA+B,OAAA;AAM/B,+GAAA,kBAAkB,OAAA;AAOlB,0GAAA,aAAa,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n GeoCatalog,\n GeoCatalogProperties,\n KnownCatalogTier,\n CatalogTier,\n KnownProvisioningState,\n ProvisioningState,\n KnownAutoGeneratedDomainNameLabelScope,\n AutoGeneratedDomainNameLabelScope,\n ManagedServiceIdentity,\n KnownManagedServiceIdentityType,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GeoCatalogUpdate,\n ManagedServiceIdentityUpdate,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/** A Microsoft Planetary Computer Pro GeoCatalog resource */
|
|
2
|
+
export interface GeoCatalog extends TrackedResource {
|
|
3
|
+
/** The resource-specific properties for this resource. */
|
|
4
|
+
properties?: GeoCatalogProperties;
|
|
5
|
+
/** The managed service identities assigned to this resource. */
|
|
6
|
+
identity?: ManagedServiceIdentity;
|
|
7
|
+
}
|
|
8
|
+
export declare function geoCatalogSerializer(item: GeoCatalog): any;
|
|
9
|
+
export declare function geoCatalogDeserializer(item: any): GeoCatalog;
|
|
10
|
+
/** The details of the Microsoft Planetary Computer Pro GeoCatalog. */
|
|
11
|
+
export interface GeoCatalogProperties {
|
|
12
|
+
/** Tier of the catalog. This cannot be changed after the catalog is created. If not provided, defaults to Basic. */
|
|
13
|
+
tier?: CatalogTier;
|
|
14
|
+
/** The URI of the catalog management UI. */
|
|
15
|
+
readonly catalogUri?: string;
|
|
16
|
+
/** The status of the last operation. */
|
|
17
|
+
readonly provisioningState?: ProvisioningState;
|
|
18
|
+
/** The scope of the auto-generated domain name label. If not provided, defaults to TenantReuse. */
|
|
19
|
+
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
|
|
20
|
+
}
|
|
21
|
+
export declare function geoCatalogPropertiesSerializer(item: GeoCatalogProperties): any;
|
|
22
|
+
export declare function geoCatalogPropertiesDeserializer(item: any): GeoCatalogProperties;
|
|
23
|
+
/** The Microsoft Planetary Computer Pro GeoCatalog tier */
|
|
24
|
+
export declare enum KnownCatalogTier {
|
|
25
|
+
/** The basic tier that utilizes shared resources across catalog instances */
|
|
26
|
+
Basic = "Basic"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The Microsoft Planetary Computer Pro GeoCatalog tier \
|
|
30
|
+
* {@link KnownCatalogTier} can be used interchangeably with CatalogTier,
|
|
31
|
+
* this enum contains the known values that the service supports.
|
|
32
|
+
* ### Known values supported by the service
|
|
33
|
+
* **Basic**: The basic tier that utilizes shared resources across catalog instances
|
|
34
|
+
*/
|
|
35
|
+
export type CatalogTier = string;
|
|
36
|
+
/** The status of the current operation. */
|
|
37
|
+
export declare enum KnownProvisioningState {
|
|
38
|
+
/** Resource has been created. */
|
|
39
|
+
Succeeded = "Succeeded",
|
|
40
|
+
/** Resource creation failed. */
|
|
41
|
+
Failed = "Failed",
|
|
42
|
+
/** Resource creation was canceled. */
|
|
43
|
+
Canceled = "Canceled",
|
|
44
|
+
/** The catalog is being provisioned. */
|
|
45
|
+
Provisioning = "Provisioning",
|
|
46
|
+
/** The catalog is being updated. */
|
|
47
|
+
Updating = "Updating",
|
|
48
|
+
/** The catalog is being deleted. */
|
|
49
|
+
Deleting = "Deleting",
|
|
50
|
+
/** The catalog request has been accepted. */
|
|
51
|
+
Accepted = "Accepted"
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The status of the current operation. \
|
|
55
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
56
|
+
* this enum contains the known values that the service supports.
|
|
57
|
+
* ### Known values supported by the service
|
|
58
|
+
* **Succeeded**: Resource has been created. \
|
|
59
|
+
* **Failed**: Resource creation failed. \
|
|
60
|
+
* **Canceled**: Resource creation was canceled. \
|
|
61
|
+
* **Provisioning**: The catalog is being provisioned. \
|
|
62
|
+
* **Updating**: The catalog is being updated. \
|
|
63
|
+
* **Deleting**: The catalog is being deleted. \
|
|
64
|
+
* **Accepted**: The catalog request has been accepted.
|
|
65
|
+
*/
|
|
66
|
+
export type ProvisioningState = string;
|
|
67
|
+
/** The scope at which the auto-generated domain name label is generated and at which the resource name can be reused. */
|
|
68
|
+
export declare enum KnownAutoGeneratedDomainNameLabelScope {
|
|
69
|
+
/** The domain name label is randomly generated. The resource name cannot be reused within the same region. */
|
|
70
|
+
NoReuse = "NoReuse",
|
|
71
|
+
/** The domain name label is deterministically generated using the resource name and tenant id. The resource name cannot be reused within the same region and tenant. */
|
|
72
|
+
TenantReuse = "TenantReuse",
|
|
73
|
+
/** The domain name label is deterministically generated using the resource name, tenant id, and subscription id. The resource name cannot be reused within the same region and subscription. */
|
|
74
|
+
SubscriptionReuse = "SubscriptionReuse",
|
|
75
|
+
/** The domain name label is deterministically generated using the resource name, tenant id, subscription id, and resource group name. The resource name cannot be reused within the same resource group. */
|
|
76
|
+
ResourceGroupReuse = "ResourceGroupReuse"
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The scope at which the auto-generated domain name label is generated and at which the resource name can be reused. \
|
|
80
|
+
* {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
|
|
81
|
+
* this enum contains the known values that the service supports.
|
|
82
|
+
* ### Known values supported by the service
|
|
83
|
+
* **NoReuse**: The domain name label is randomly generated. The resource name cannot be reused within the same region. \
|
|
84
|
+
* **TenantReuse**: The domain name label is deterministically generated using the resource name and tenant id. The resource name cannot be reused within the same region and tenant. \
|
|
85
|
+
* **SubscriptionReuse**: The domain name label is deterministically generated using the resource name, tenant id, and subscription id. The resource name cannot be reused within the same region and subscription. \
|
|
86
|
+
* **ResourceGroupReuse**: The domain name label is deterministically generated using the resource name, tenant id, subscription id, and resource group name. The resource name cannot be reused within the same resource group.
|
|
87
|
+
*/
|
|
88
|
+
export type AutoGeneratedDomainNameLabelScope = string;
|
|
89
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
90
|
+
export interface ManagedServiceIdentity {
|
|
91
|
+
/** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
|
|
92
|
+
readonly principalId?: string;
|
|
93
|
+
/** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */
|
|
94
|
+
readonly tenantId?: string;
|
|
95
|
+
/** The type of managed identity assigned to this resource. */
|
|
96
|
+
type: ManagedServiceIdentityType;
|
|
97
|
+
/** The identities assigned to this resource by the user. */
|
|
98
|
+
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
|
|
99
|
+
}
|
|
100
|
+
export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any;
|
|
101
|
+
export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity;
|
|
102
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
103
|
+
export declare enum KnownManagedServiceIdentityType {
|
|
104
|
+
/** No managed identity. */
|
|
105
|
+
None = "None",
|
|
106
|
+
/** System assigned managed identity. */
|
|
107
|
+
SystemAssigned = "SystemAssigned",
|
|
108
|
+
/** User assigned managed identity. */
|
|
109
|
+
UserAssigned = "UserAssigned",
|
|
110
|
+
/** System and user assigned managed identity. */
|
|
111
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \
|
|
115
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
116
|
+
* this enum contains the known values that the service supports.
|
|
117
|
+
* ### Known values supported by the service
|
|
118
|
+
* **None**: No managed identity. \
|
|
119
|
+
* **SystemAssigned**: System assigned managed identity. \
|
|
120
|
+
* **UserAssigned**: User assigned managed identity. \
|
|
121
|
+
* **SystemAssigned,UserAssigned**: System and user assigned managed identity.
|
|
122
|
+
*/
|
|
123
|
+
export type ManagedServiceIdentityType = string;
|
|
124
|
+
/** User assigned identity properties */
|
|
125
|
+
export interface UserAssignedIdentity {
|
|
126
|
+
/** The principal ID of the assigned identity. */
|
|
127
|
+
readonly principalId?: string;
|
|
128
|
+
/** The client ID of the assigned identity. */
|
|
129
|
+
readonly clientId?: string;
|
|
130
|
+
}
|
|
131
|
+
export declare function userAssignedIdentitySerializer(item: UserAssignedIdentity): any;
|
|
132
|
+
export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
|
|
133
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
134
|
+
export interface TrackedResource extends Resource {
|
|
135
|
+
/** Resource tags. */
|
|
136
|
+
tags?: Record<string, string>;
|
|
137
|
+
/** The geo-location where the resource lives */
|
|
138
|
+
location: string;
|
|
139
|
+
}
|
|
140
|
+
export declare function trackedResourceSerializer(item: TrackedResource): any;
|
|
141
|
+
export declare function trackedResourceDeserializer(item: any): TrackedResource;
|
|
142
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
143
|
+
export interface Resource {
|
|
144
|
+
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
145
|
+
readonly id?: string;
|
|
146
|
+
/** The name of the resource */
|
|
147
|
+
readonly name?: string;
|
|
148
|
+
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
149
|
+
readonly type?: string;
|
|
150
|
+
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
151
|
+
readonly systemData?: SystemData;
|
|
152
|
+
}
|
|
153
|
+
export declare function resourceSerializer(item: Resource): any;
|
|
154
|
+
export declare function resourceDeserializer(item: any): Resource;
|
|
155
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
156
|
+
export interface SystemData {
|
|
157
|
+
/** The identity that created the resource. */
|
|
158
|
+
createdBy?: string;
|
|
159
|
+
/** The type of identity that created the resource. */
|
|
160
|
+
createdByType?: CreatedByType;
|
|
161
|
+
/** The timestamp of resource creation (UTC). */
|
|
162
|
+
createdAt?: Date;
|
|
163
|
+
/** The identity that last modified the resource. */
|
|
164
|
+
lastModifiedBy?: string;
|
|
165
|
+
/** The type of identity that last modified the resource. */
|
|
166
|
+
lastModifiedByType?: CreatedByType;
|
|
167
|
+
/** The timestamp of resource last modification (UTC) */
|
|
168
|
+
lastModifiedAt?: Date;
|
|
169
|
+
}
|
|
170
|
+
export declare function systemDataDeserializer(item: any): SystemData;
|
|
171
|
+
/** The kind of entity that created the resource. */
|
|
172
|
+
export declare enum KnownCreatedByType {
|
|
173
|
+
/** The entity was created by a user. */
|
|
174
|
+
User = "User",
|
|
175
|
+
/** The entity was created by an application. */
|
|
176
|
+
Application = "Application",
|
|
177
|
+
/** The entity was created by a managed identity. */
|
|
178
|
+
ManagedIdentity = "ManagedIdentity",
|
|
179
|
+
/** The entity was created by a key. */
|
|
180
|
+
Key = "Key"
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* The kind of entity that created the resource. \
|
|
184
|
+
* {@link KnowncreatedByType} can be used interchangeably with createdByType,
|
|
185
|
+
* this enum contains the known values that the service supports.
|
|
186
|
+
* ### Known values supported by the service
|
|
187
|
+
* **User**: The entity was created by a user. \
|
|
188
|
+
* **Application**: The entity was created by an application. \
|
|
189
|
+
* **ManagedIdentity**: The entity was created by a managed identity. \
|
|
190
|
+
* **Key**: The entity was created by a key.
|
|
191
|
+
*/
|
|
192
|
+
export type CreatedByType = string;
|
|
193
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
194
|
+
export interface ErrorResponse {
|
|
195
|
+
/** The error object. */
|
|
196
|
+
error?: ErrorDetail;
|
|
197
|
+
}
|
|
198
|
+
export declare function errorResponseDeserializer(item: any): ErrorResponse;
|
|
199
|
+
/** The error detail. */
|
|
200
|
+
export interface ErrorDetail {
|
|
201
|
+
/** The error code. */
|
|
202
|
+
readonly code?: string;
|
|
203
|
+
/** The error message. */
|
|
204
|
+
readonly message?: string;
|
|
205
|
+
/** The error target. */
|
|
206
|
+
readonly target?: string;
|
|
207
|
+
/** The error details. */
|
|
208
|
+
readonly details?: ErrorDetail[];
|
|
209
|
+
/** The error additional info. */
|
|
210
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
211
|
+
}
|
|
212
|
+
export declare function errorDetailDeserializer(item: any): ErrorDetail;
|
|
213
|
+
export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
|
|
214
|
+
export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
|
|
215
|
+
/** The resource management error additional info. */
|
|
216
|
+
export interface ErrorAdditionalInfo {
|
|
217
|
+
/** The additional info type. */
|
|
218
|
+
readonly type?: string;
|
|
219
|
+
/** The additional info. */
|
|
220
|
+
readonly info?: Record<string, any>;
|
|
221
|
+
}
|
|
222
|
+
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
223
|
+
/** model interface _ErrorAdditionalInfoInfo */
|
|
224
|
+
export interface _ErrorAdditionalInfoInfo {
|
|
225
|
+
}
|
|
226
|
+
export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
|
|
227
|
+
/** The properties of a GeoCatalog that can be updated. */
|
|
228
|
+
export interface GeoCatalogUpdate {
|
|
229
|
+
/** Resource tags. */
|
|
230
|
+
tags?: Record<string, string>;
|
|
231
|
+
/** The managed service identity properties to update. */
|
|
232
|
+
identity?: ManagedServiceIdentityUpdate;
|
|
233
|
+
}
|
|
234
|
+
export declare function geoCatalogUpdateSerializer(item: GeoCatalogUpdate): any;
|
|
235
|
+
/** The template for adding optional properties. */
|
|
236
|
+
export interface ManagedServiceIdentityUpdate {
|
|
237
|
+
/** The type of managed identity assigned to this resource. */
|
|
238
|
+
type?: ManagedServiceIdentityType;
|
|
239
|
+
/** The identities assigned to this resource by the user. */
|
|
240
|
+
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
|
|
241
|
+
}
|
|
242
|
+
export declare function managedServiceIdentityUpdateSerializer(item: ManagedServiceIdentityUpdate): any;
|
|
243
|
+
/** The response of a GeoCatalog list operation. */
|
|
244
|
+
export interface _GeoCatalogListResult {
|
|
245
|
+
/** The GeoCatalog items on this page */
|
|
246
|
+
value: GeoCatalog[];
|
|
247
|
+
/** The link to the next page of items */
|
|
248
|
+
nextLink?: string;
|
|
249
|
+
}
|
|
250
|
+
export declare function _geoCatalogListResultDeserializer(item: any): _GeoCatalogListResult;
|
|
251
|
+
export declare function geoCatalogArraySerializer(result: Array<GeoCatalog>): any[];
|
|
252
|
+
export declare function geoCatalogArrayDeserializer(result: Array<GeoCatalog>): any[];
|
|
253
|
+
/** Known values of {@link Versions} that the service accepts. */
|
|
254
|
+
export declare enum KnownVersions {
|
|
255
|
+
V20240131Preview = "2024-01-31-preview",
|
|
256
|
+
V20250211Preview = "2025-02-11-preview"
|
|
257
|
+
}
|
|
258
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],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