@azure/arm-maps 3.1.2-alpha.20260302.1 → 3.1.2-alpha.20260304.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/dist/commonjs/azureMapsManagementClient.js +120 -109
- package/dist/commonjs/azureMapsManagementClient.js.map +7 -1
- package/dist/commonjs/index.js +28 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/models/index.js +76 -89
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/mappers.js +1057 -1014
- package/dist/commonjs/models/mappers.js.map +7 -1
- package/dist/commonjs/models/parameters.js +147 -122
- package/dist/commonjs/models/parameters.js.map +7 -1
- package/dist/commonjs/operations/accounts.js +485 -421
- package/dist/commonjs/operations/accounts.js.map +7 -1
- package/dist/commonjs/operations/creators.js +319 -259
- package/dist/commonjs/operations/creators.js.map +7 -1
- package/dist/commonjs/operations/index.js +19 -14
- package/dist/commonjs/operations/index.js.map +7 -1
- package/dist/commonjs/operations/maps.js +231 -194
- package/dist/commonjs/operations/maps.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/accounts.js +15 -10
- package/dist/commonjs/operationsInterfaces/accounts.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/creators.js +15 -10
- package/dist/commonjs/operationsInterfaces/creators.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/index.js +19 -14
- package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/maps.js +15 -10
- package/dist/commonjs/operationsInterfaces/maps.js.map +7 -1
- package/dist/commonjs/pagingHelper.js +34 -30
- package/dist/commonjs/pagingHelper.js.map +7 -1
- package/dist/esm/azureMapsManagementClient.js +89 -102
- package/dist/esm/azureMapsManagementClient.js.map +7 -1
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/models/index.js +57 -86
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/mappers.js +1038 -1011
- package/dist/esm/models/mappers.js.map +7 -1
- package/dist/esm/models/parameters.js +135 -119
- package/dist/esm/models/parameters.js.map +7 -1
- package/dist/esm/operations/accounts.js +453 -413
- package/dist/esm/operations/accounts.js.map +7 -1
- package/dist/esm/operations/creators.js +287 -251
- package/dist/esm/operations/creators.js.map +7 -1
- package/dist/esm/operations/index.js +0 -8
- package/dist/esm/operations/index.js.map +7 -1
- package/dist/esm/operations/maps.js +199 -186
- package/dist/esm/operations/maps.js.map +7 -1
- package/dist/esm/operationsInterfaces/accounts.js +0 -9
- package/dist/esm/operationsInterfaces/accounts.js.map +7 -1
- package/dist/esm/operationsInterfaces/creators.js +0 -9
- package/dist/esm/operationsInterfaces/creators.js.map +7 -1
- package/dist/esm/operationsInterfaces/index.js +0 -8
- package/dist/esm/operationsInterfaces/index.js.map +7 -1
- package/dist/esm/operationsInterfaces/maps.js +0 -9
- package/dist/esm/operationsInterfaces/maps.js.map +7 -1
- package/dist/esm/pagingHelper.js +17 -28
- package/dist/esm/pagingHelper.js.map +7 -1
- package/package.json +3 -20
|
@@ -1,113 +1,124 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var azureMapsManagementClient_exports = {};
|
|
29
|
+
__export(azureMapsManagementClient_exports, {
|
|
30
|
+
AzureMapsManagementClient: () => AzureMapsManagementClient
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(azureMapsManagementClient_exports);
|
|
33
|
+
var coreClient = __toESM(require("@azure/core-client"));
|
|
34
|
+
var coreRestPipeline = __toESM(require("@azure/core-rest-pipeline"));
|
|
35
|
+
var import_operations = require("./operations/index.js");
|
|
15
36
|
class AzureMapsManagementClient extends coreClient.ServiceClient {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
let subscriptionId;
|
|
24
|
-
if (typeof subscriptionIdOrOptions === "string") {
|
|
25
|
-
subscriptionId = subscriptionIdOrOptions;
|
|
26
|
-
}
|
|
27
|
-
else if (typeof subscriptionIdOrOptions === "object") {
|
|
28
|
-
options = subscriptionIdOrOptions;
|
|
29
|
-
}
|
|
30
|
-
// Initializing default values for options
|
|
31
|
-
if (!options) {
|
|
32
|
-
options = {};
|
|
33
|
-
}
|
|
34
|
-
const defaults = {
|
|
35
|
-
requestContentType: "application/json; charset=utf-8",
|
|
36
|
-
credential: credentials
|
|
37
|
-
};
|
|
38
|
-
const packageDetails = `azsdk-js-arm-maps/3.1.2`;
|
|
39
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
|
-
: `${packageDetails}`;
|
|
42
|
-
const optionsWithDefaults = {
|
|
43
|
-
...defaults,
|
|
44
|
-
...options,
|
|
45
|
-
userAgentOptions: {
|
|
46
|
-
userAgentPrefix
|
|
47
|
-
},
|
|
48
|
-
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
49
|
-
};
|
|
50
|
-
super(optionsWithDefaults);
|
|
51
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
52
|
-
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
53
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
54
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
55
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
56
|
-
}
|
|
57
|
-
if (!options ||
|
|
58
|
-
!options.pipeline ||
|
|
59
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
60
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
61
|
-
this.pipeline.removePolicy({
|
|
62
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
63
|
-
});
|
|
64
|
-
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
65
|
-
credential: credentials,
|
|
66
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
67
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
68
|
-
challengeCallbacks: {
|
|
69
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
70
|
-
}
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
// Parameter assignments
|
|
74
|
-
this.subscriptionId = subscriptionId;
|
|
75
|
-
// Assigning values to Constant parameters
|
|
76
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
77
|
-
this.apiVersion = options.apiVersion || "2023-06-01";
|
|
78
|
-
this.accounts = new index_js_1.AccountsImpl(this);
|
|
79
|
-
this.maps = new index_js_1.MapsImpl(this);
|
|
80
|
-
this.creators = new index_js_1.CreatorsImpl(this);
|
|
81
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
37
|
+
$host;
|
|
38
|
+
apiVersion;
|
|
39
|
+
subscriptionId;
|
|
40
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
41
|
+
if (credentials === void 0) {
|
|
42
|
+
throw new Error("'credentials' cannot be null");
|
|
82
43
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
44
|
+
let subscriptionId;
|
|
45
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
46
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
47
|
+
} else if (typeof subscriptionIdOrOptions === "object") {
|
|
48
|
+
options = subscriptionIdOrOptions;
|
|
49
|
+
}
|
|
50
|
+
if (!options) {
|
|
51
|
+
options = {};
|
|
52
|
+
}
|
|
53
|
+
const defaults = {
|
|
54
|
+
requestContentType: "application/json; charset=utf-8",
|
|
55
|
+
credential: credentials
|
|
56
|
+
};
|
|
57
|
+
const packageDetails = `azsdk-js-arm-maps/3.1.2`;
|
|
58
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`;
|
|
59
|
+
const optionsWithDefaults = {
|
|
60
|
+
...defaults,
|
|
61
|
+
...options,
|
|
62
|
+
userAgentOptions: {
|
|
63
|
+
userAgentPrefix
|
|
64
|
+
},
|
|
65
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
66
|
+
};
|
|
67
|
+
super(optionsWithDefaults);
|
|
68
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
69
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
70
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
71
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
72
|
+
(pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
if (!options || !options.pipeline || options.pipeline.getOrderedPolicies().length == 0 || !bearerTokenAuthenticationPolicyFound) {
|
|
76
|
+
this.pipeline.removePolicy({
|
|
77
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
78
|
+
});
|
|
79
|
+
this.pipeline.addPolicy(
|
|
80
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
81
|
+
credential: credentials,
|
|
82
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
83
|
+
challengeCallbacks: {
|
|
84
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
);
|
|
107
88
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
89
|
+
this.subscriptionId = subscriptionId;
|
|
90
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
91
|
+
this.apiVersion = options.apiVersion || "2023-06-01";
|
|
92
|
+
this.accounts = new import_operations.AccountsImpl(this);
|
|
93
|
+
this.maps = new import_operations.MapsImpl(this);
|
|
94
|
+
this.creators = new import_operations.CreatorsImpl(this);
|
|
95
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
96
|
+
}
|
|
97
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
98
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
99
|
+
if (!apiVersion) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
const apiVersionPolicy = {
|
|
103
|
+
name: "CustomApiVersionPolicy",
|
|
104
|
+
async sendRequest(request, next) {
|
|
105
|
+
const param = request.url.split("?");
|
|
106
|
+
if (param.length > 1) {
|
|
107
|
+
const newParams = param[1].split("&").map((item) => {
|
|
108
|
+
if (item.indexOf("api-version") > -1) {
|
|
109
|
+
return "api-version=" + apiVersion;
|
|
110
|
+
} else {
|
|
111
|
+
return item;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
115
|
+
}
|
|
116
|
+
return next(request);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
120
|
+
}
|
|
121
|
+
accounts;
|
|
122
|
+
maps;
|
|
123
|
+
creators;
|
|
111
124
|
}
|
|
112
|
-
exports.AzureMapsManagementClient = AzureMapsManagementClient;
|
|
113
|
-
//# sourceMappingURL=azureMapsManagementClient.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/azureMapsManagementClient.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AccountsImpl, MapsImpl, CreatorsImpl } from \"./operations/index.js\";\nimport { Accounts, Maps, Creators } from \"./operationsInterfaces/index.js\";\nimport { AzureMapsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureMapsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the AzureMapsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureMapsManagementClientOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: AzureMapsManagementClientOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: AzureMapsManagementClientOptionalParams | string,\n options?: AzureMapsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureMapsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-maps/3.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-06-01\";\n this.accounts = new AccountsImpl(this);\n this.maps = new MapsImpl(this);\n this.creators = new CreatorsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n accounts: Accounts;\n maps: Maps;\n creators: Creators;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,iBAA4B;AAC5B,uBAAkC;AAOlC,wBAAqD;AAI9C,MAAM,kCAAkC,WAAW,cAAc;AAAA,EACtE;AAAA,EACA;AAAA,EACA;AAAA,EAiBA,YACE,aACA,yBACA,SACA;AACA,QAAI,gBAAgB,QAAW;AAC7B,YAAM,IAAI,MAAM,8BAA8B;AAAA,IAChD;AAEA,QAAI;AAEJ,QAAI,OAAO,4BAA4B,UAAU;AAC/C,uBAAiB;AAAA,IACnB,WAAW,OAAO,4BAA4B,UAAU;AACtD,gBAAU;AAAA,IACZ;AAGA,QAAI,CAAC,SAAS;AACZ,gBAAU,CAAC;AAAA,IACb;AACA,UAAM,WAAoD;AAAA,MACxD,oBAAoB;AAAA,MACpB,YAAY;AAAA,IACd;AAEA,UAAM,iBAAiB;AACvB,UAAM,kBACJ,QAAQ,oBAAoB,QAAQ,iBAAiB,kBACjD,GAAG,QAAQ,iBAAiB,eAAe,IAAI,cAAc,KAC7D,GAAG,cAAc;AAEvB,UAAM,sBAAsB;AAAA,MAC1B,GAAG;AAAA,MACH,GAAG;AAAA,MACH,kBAAkB;AAAA,QAChB;AAAA,MACF;AAAA,MACA,UACE,QAAQ,YAAY,QAAQ,WAAW;AAAA,IAC3C;AACA,UAAM,mBAAmB;AAEzB,QAAI,uCAAgD;AACpD,QAAI,SAAS,YAAY,QAAQ,SAAS,mBAAmB,EAAE,SAAS,GAAG;AACzE,YAAM,mBAAsD,QAAQ,SAAS,mBAAmB;AAChG,6CAAuC,iBAAiB;AAAA,QACtD,CAAC,mBACC,eAAe,SACf,iBAAiB;AAAA,MACrB;AAAA,IACF;AACA,QACE,CAAC,WACD,CAAC,QAAQ,YACT,QAAQ,SAAS,mBAAmB,EAAE,UAAU,KAChD,CAAC,sCACD;AACA,WAAK,SAAS,aAAa;AAAA,QACzB,MAAM,iBAAiB;AAAA,MACzB,CAAC;AACD,WAAK,SAAS;AAAA,QACZ,iBAAiB,gCAAgC;AAAA,UAC/C,YAAY;AAAA,UACZ,QACE,oBAAoB,oBACpB,GAAG,oBAAoB,QAAQ;AAAA,UACjC,oBAAoB;AAAA,YAClB,6BACE,WAAW;AAAA,UACf;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAEA,SAAK,iBAAiB;AAGtB,SAAK,QAAQ,QAAQ,SAAS;AAC9B,SAAK,aAAa,QAAQ,cAAc;AACxC,SAAK,WAAW,IAAI,+BAAa,IAAI;AACrC,SAAK,OAAO,IAAI,2BAAS,IAAI;AAC7B,SAAK,WAAW,IAAI,+BAAa,IAAI;AACrC,SAAK,0BAA0B,QAAQ,UAAU;AAAA,EACnD;AAAA;AAAA,EAGQ,0BAA0B,YAAqB;AACrD,QAAI,CAAC,YAAY;AACf;AAAA,IACF;AACA,UAAM,mBAAmB;AAAA,MACvB,MAAM;AAAA,MACN,MAAM,YACJ,SACA,MAC2B;AAC3B,cAAM,QAAQ,QAAQ,IAAI,MAAM,GAAG;AACnC,YAAI,MAAM,SAAS,GAAG;AACpB,gBAAM,YAAY,MAAM,CAAC,EAAE,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS;AAClD,gBAAI,KAAK,QAAQ,aAAa,IAAI,IAAI;AACpC,qBAAO,iBAAiB;AAAA,YAC1B,OAAO;AACL,qBAAO;AAAA,YACT;AAAA,UACF,CAAC;AACD,kBAAQ,MAAM,MAAM,CAAC,IAAI,MAAM,UAAU,KAAK,GAAG;AAAA,QACnD;AACA,eAAO,KAAK,OAAO;AAAA,MACrB;AAAA,IACF;AACA,SAAK,SAAS,UAAU,gBAAgB;AAAA,EAC1C;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var src_exports = {};
|
|
20
|
+
__export(src_exports, {
|
|
21
|
+
AzureMapsManagementClient: () => import_azureMapsManagementClient.AzureMapsManagementClient,
|
|
22
|
+
getContinuationToken: () => import_pagingHelper.getContinuationToken
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(src_exports);
|
|
25
|
+
var import_pagingHelper = require("./pagingHelper.js");
|
|
26
|
+
__reExport(src_exports, require("./models/index.js"), module.exports);
|
|
27
|
+
var import_azureMapsManagementClient = require("./azureMapsManagementClient.js");
|
|
28
|
+
__reExport(src_exports, require("./operationsInterfaces/index.js"), module.exports);
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/maps/arm-maps/src/index.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AzureMapsManagementClient } from \"./azureMapsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,0BAAqC;AACrC,wBAAc,8BAVd;AAWA,uCAA0C;AAC1C,wBAAc,4CAZd;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,89 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
})(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
var
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
KnownSigningKey["SecondaryKey"] = "secondaryKey";
|
|
78
|
-
/** ManagedIdentity */
|
|
79
|
-
KnownSigningKey["ManagedIdentity"] = "managedIdentity";
|
|
80
|
-
})(KnownSigningKey || (exports.KnownSigningKey = KnownSigningKey = {}));
|
|
81
|
-
/** Known values of {@link KeyType} that the service accepts. */
|
|
82
|
-
var KnownKeyType;
|
|
83
|
-
(function (KnownKeyType) {
|
|
84
|
-
/** Primary */
|
|
85
|
-
KnownKeyType["Primary"] = "primary";
|
|
86
|
-
/** Secondary */
|
|
87
|
-
KnownKeyType["Secondary"] = "secondary";
|
|
88
|
-
})(KnownKeyType || (exports.KnownKeyType = KnownKeyType = {}));
|
|
89
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownCreatedByType: () => KnownCreatedByType,
|
|
21
|
+
KnownIdentityType: () => KnownIdentityType,
|
|
22
|
+
KnownInfrastructureEncryption: () => KnownInfrastructureEncryption,
|
|
23
|
+
KnownKeyType: () => KnownKeyType,
|
|
24
|
+
KnownKind: () => KnownKind,
|
|
25
|
+
KnownManagedServiceIdentityType: () => KnownManagedServiceIdentityType,
|
|
26
|
+
KnownName: () => KnownName,
|
|
27
|
+
KnownSigningKey: () => KnownSigningKey
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(models_exports);
|
|
30
|
+
var KnownName = /* @__PURE__ */ ((KnownName2) => {
|
|
31
|
+
KnownName2["S0"] = "S0";
|
|
32
|
+
KnownName2["S1"] = "S1";
|
|
33
|
+
KnownName2["G2"] = "G2";
|
|
34
|
+
return KnownName2;
|
|
35
|
+
})(KnownName || {});
|
|
36
|
+
var KnownKind = /* @__PURE__ */ ((KnownKind2) => {
|
|
37
|
+
KnownKind2["Gen1"] = "Gen1";
|
|
38
|
+
KnownKind2["Gen2"] = "Gen2";
|
|
39
|
+
return KnownKind2;
|
|
40
|
+
})(KnownKind || {});
|
|
41
|
+
var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
|
|
42
|
+
KnownCreatedByType2["User"] = "User";
|
|
43
|
+
KnownCreatedByType2["Application"] = "Application";
|
|
44
|
+
KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
|
|
45
|
+
KnownCreatedByType2["Key"] = "Key";
|
|
46
|
+
return KnownCreatedByType2;
|
|
47
|
+
})(KnownCreatedByType || {});
|
|
48
|
+
var KnownManagedServiceIdentityType = /* @__PURE__ */ ((KnownManagedServiceIdentityType2) => {
|
|
49
|
+
KnownManagedServiceIdentityType2["None"] = "None";
|
|
50
|
+
KnownManagedServiceIdentityType2["SystemAssigned"] = "SystemAssigned";
|
|
51
|
+
KnownManagedServiceIdentityType2["UserAssigned"] = "UserAssigned";
|
|
52
|
+
KnownManagedServiceIdentityType2["SystemAssignedUserAssigned"] = "SystemAssigned, UserAssigned";
|
|
53
|
+
return KnownManagedServiceIdentityType2;
|
|
54
|
+
})(KnownManagedServiceIdentityType || {});
|
|
55
|
+
var KnownInfrastructureEncryption = /* @__PURE__ */ ((KnownInfrastructureEncryption2) => {
|
|
56
|
+
KnownInfrastructureEncryption2["Enabled"] = "enabled";
|
|
57
|
+
KnownInfrastructureEncryption2["Disabled"] = "disabled";
|
|
58
|
+
return KnownInfrastructureEncryption2;
|
|
59
|
+
})(KnownInfrastructureEncryption || {});
|
|
60
|
+
var KnownIdentityType = /* @__PURE__ */ ((KnownIdentityType2) => {
|
|
61
|
+
KnownIdentityType2["SystemAssignedIdentity"] = "systemAssignedIdentity";
|
|
62
|
+
KnownIdentityType2["UserAssignedIdentity"] = "userAssignedIdentity";
|
|
63
|
+
KnownIdentityType2["DelegatedResourceIdentity"] = "delegatedResourceIdentity";
|
|
64
|
+
return KnownIdentityType2;
|
|
65
|
+
})(KnownIdentityType || {});
|
|
66
|
+
var KnownSigningKey = /* @__PURE__ */ ((KnownSigningKey2) => {
|
|
67
|
+
KnownSigningKey2["PrimaryKey"] = "primaryKey";
|
|
68
|
+
KnownSigningKey2["SecondaryKey"] = "secondaryKey";
|
|
69
|
+
KnownSigningKey2["ManagedIdentity"] = "managedIdentity";
|
|
70
|
+
return KnownSigningKey2;
|
|
71
|
+
})(KnownSigningKey || {});
|
|
72
|
+
var KnownKeyType = /* @__PURE__ */ ((KnownKeyType2) => {
|
|
73
|
+
KnownKeyType2["Primary"] = "primary";
|
|
74
|
+
KnownKeyType2["Secondary"] = "secondary";
|
|
75
|
+
return KnownKeyType2;
|
|
76
|
+
})(KnownKeyType || {});
|