@azure/template 1.0.13-beta.5822739 → 1.0.13-beta.5962627
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/browser/api/index.d.ts +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/widgetAnalyticsContext.d.ts +2 -2
- package/dist/browser/api/widgetAnalyticsContext.js +1 -1
- package/dist/browser/api/widgetAnalyticsContext.js.map +1 -1
- package/dist/browser/api/widgets/index.d.ts +1 -1
- package/dist/browser/api/widgets/index.js.map +1 -1
- package/dist/browser/api/widgets/operations.d.ts +6 -6
- package/dist/browser/api/widgets/operations.js +2 -2
- package/dist/browser/api/widgets/operations.js.map +1 -1
- package/dist/browser/api/widgets/options.d.ts +1 -1
- package/dist/browser/api/widgets/options.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/widgets/index.d.ts +5 -5
- package/dist/browser/classic/widgets/index.js.map +1 -1
- package/dist/browser/index.d.ts +7 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/widgetAnalyticsClient.d.ts +5 -5
- package/dist/browser/widgetAnalyticsClient.js +1 -1
- package/dist/browser/widgetAnalyticsClient.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +1 -1
- package/dist/commonjs/api/index.js +27 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/widgetAnalyticsContext.d.ts +2 -2
- package/dist/commonjs/api/widgetAnalyticsContext.js +54 -38
- package/dist/commonjs/api/widgetAnalyticsContext.js.map +7 -1
- package/dist/commonjs/api/widgets/index.d.ts +1 -1
- package/dist/commonjs/api/widgets/index.js +35 -12
- package/dist/commonjs/api/widgets/index.js.map +7 -1
- package/dist/commonjs/api/widgets/operations.d.ts +6 -6
- package/dist/commonjs/api/widgets/operations.js +208 -147
- package/dist/commonjs/api/widgets/operations.js.map +7 -1
- package/dist/commonjs/api/widgets/options.d.ts +1 -1
- package/dist/commonjs/api/widgets/options.js +15 -5
- package/dist/commonjs/api/widgets/options.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +1 -1
- package/dist/commonjs/classic/index.js +15 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/widgets/index.d.ts +5 -5
- package/dist/commonjs/classic/widgets/index.js +37 -17
- package/dist/commonjs/classic/widgets/index.js.map +7 -1
- package/dist/commonjs/index.d.ts +7 -7
- package/dist/commonjs/index.js +35 -13
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +28 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +29 -9
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +1 -1
- package/dist/commonjs/models/models.js +86 -68
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js +96 -87
- package/dist/commonjs/restorePollerHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +109 -103
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js +86 -76
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +157 -159
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/widgetAnalyticsClient.d.ts +5 -5
- package/dist/commonjs/widgetAnalyticsClient.js +50 -33
- package/dist/commonjs/widgetAnalyticsClient.js.map +7 -1
- package/dist/esm/api/index.d.ts +1 -1
- package/dist/esm/api/index.js +6 -4
- package/dist/esm/api/index.js.map +7 -1
- package/dist/esm/api/widgetAnalyticsContext.d.ts +2 -2
- package/dist/esm/api/widgetAnalyticsContext.js +30 -34
- package/dist/esm/api/widgetAnalyticsContext.js.map +7 -1
- package/dist/esm/api/widgets/index.d.ts +1 -1
- package/dist/esm/api/widgets/index.js +14 -4
- package/dist/esm/api/widgets/index.js.map +7 -1
- package/dist/esm/api/widgets/operations.d.ts +6 -6
- package/dist/esm/api/widgets/operations.js +186 -140
- package/dist/esm/api/widgets/operations.js.map +7 -1
- package/dist/esm/api/widgets/options.d.ts +1 -1
- package/dist/esm/api/widgets/options.js +0 -4
- package/dist/esm/api/widgets/options.js.map +7 -1
- package/dist/esm/classic/index.d.ts +1 -1
- package/dist/esm/classic/index.js +0 -4
- package/dist/esm/classic/index.js.map +7 -1
- package/dist/esm/classic/widgets/index.d.ts +5 -5
- package/dist/esm/classic/widgets/index.js +21 -15
- package/dist/esm/classic/widgets/index.js.map +7 -1
- package/dist/esm/index.d.ts +7 -7
- package/dist/esm/index.js +12 -6
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +7 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +8 -4
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/models.d.ts +1 -1
- package/dist/esm/models/models.js +62 -65
- package/dist/esm/models/models.js.map +7 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +76 -84
- package/dist/esm/restorePollerHelpers.js.map +7 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +85 -99
- package/dist/esm/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/esm/static-helpers/pollingHelpers.js +63 -73
- package/dist/esm/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/esm/static-helpers/urlTemplate.js +134 -156
- package/dist/esm/static-helpers/urlTemplate.js.map +7 -1
- package/dist/esm/widgetAnalyticsClient.d.ts +5 -5
- package/dist/esm/widgetAnalyticsClient.js +27 -29
- package/dist/esm/widgetAnalyticsClient.js.map +7 -1
- package/dist/react-native/api/index.d.ts +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/widgetAnalyticsContext.d.ts +2 -2
- package/dist/react-native/api/widgetAnalyticsContext.js +1 -1
- package/dist/react-native/api/widgetAnalyticsContext.js.map +1 -1
- package/dist/react-native/api/widgets/index.d.ts +1 -1
- package/dist/react-native/api/widgets/index.js.map +1 -1
- package/dist/react-native/api/widgets/operations.d.ts +6 -6
- package/dist/react-native/api/widgets/operations.js +2 -2
- package/dist/react-native/api/widgets/operations.js.map +1 -1
- package/dist/react-native/api/widgets/options.d.ts +1 -1
- package/dist/react-native/api/widgets/options.js.map +1 -1
- package/dist/react-native/classic/index.d.ts +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/widgets/index.d.ts +5 -5
- package/dist/react-native/classic/widgets/index.js.map +1 -1
- package/dist/react-native/index.d.ts +7 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +1 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts +4 -4
- package/dist/react-native/restorePollerHelpers.js +1 -1
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/react-native/static-helpers/pollingHelpers.js +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/widgetAnalyticsClient.d.ts +5 -5
- package/dist/react-native/widgetAnalyticsClient.js +1 -1
- package/dist/react-native/widgetAnalyticsClient.js.map +1 -1
- package/package.json +4 -24
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
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 api_exports = {};
|
|
19
|
+
__export(api_exports, {
|
|
20
|
+
createWidgetAnalytics: () => import_widgetAnalyticsContext.createWidgetAnalytics
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(api_exports);
|
|
23
|
+
var import_widgetAnalyticsContext = require("./widgetAnalyticsContext.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
createWidgetAnalytics
|
|
27
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/template/template/src/api/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createWidgetAnalytics,\n type WidgetAnalyticsContext,\n type WidgetAnalyticsClientOptionalParams,\n} from \"./widgetAnalyticsContext.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oCAIO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
1
|
+
import type { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
3
3
|
export interface WidgetAnalyticsContext extends Client {
|
|
4
4
|
/** The API version to use for this operation. */
|
|
5
5
|
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
@@ -1,40 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 widgetAnalyticsContext_exports = {};
|
|
19
|
+
__export(widgetAnalyticsContext_exports, {
|
|
20
|
+
createWidgetAnalytics: () => createWidgetAnalytics
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(widgetAnalyticsContext_exports);
|
|
23
|
+
var import_logger = require("../logger.js");
|
|
24
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
8
25
|
function createWidgetAnalytics(endpointParam, credential, options = {}) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return next(req);
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
return { ...clientContext, apiVersion };
|
|
26
|
+
const endpointUrl = options.endpoint ?? String(endpointParam);
|
|
27
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
28
|
+
const userAgentInfo = `azsdk-js-template/1.0.13-beta.5962627`;
|
|
29
|
+
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`;
|
|
30
|
+
const { apiVersion: _, ...updatedOptions } = {
|
|
31
|
+
...options,
|
|
32
|
+
userAgentOptions: { userAgentPrefix },
|
|
33
|
+
loggingOptions: { logger: options.loggingOptions?.logger ?? import_logger.logger.info },
|
|
34
|
+
credentials: {
|
|
35
|
+
scopes: options.credentials?.scopes ?? ["https://azure.com/.default"]
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const clientContext = (0, import_core_client.getClient)(endpointUrl, credential, updatedOptions);
|
|
39
|
+
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
40
|
+
const apiVersion = options.apiVersion ?? "2022-12-01";
|
|
41
|
+
clientContext.pipeline.addPolicy({
|
|
42
|
+
name: "ClientApiVersionPolicy",
|
|
43
|
+
sendRequest: (req, next) => {
|
|
44
|
+
const url = new URL(req.url);
|
|
45
|
+
if (!url.searchParams.get("api-version")) {
|
|
46
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
47
|
+
}
|
|
48
|
+
return next(req);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
return { ...clientContext, apiVersion };
|
|
39
52
|
}
|
|
40
|
-
|
|
53
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
54
|
+
0 && (module.exports = {
|
|
55
|
+
createWidgetAnalytics
|
|
56
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/template/template/src/api/widgetAnalyticsContext.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\nexport interface WidgetAnalyticsContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n}\n\n/** Optional parameters for the client. */\nexport interface WidgetAnalyticsClientOptionalParams 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\nexport function createWidgetAnalytics(\n endpointParam: string,\n credential: TokenCredential,\n options: WidgetAnalyticsClientOptionalParams = {},\n): WidgetAnalyticsContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-template/1.0.13-beta.5962627`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2022-12-01\";\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 } as WidgetAnalyticsContext;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AAGvB,yBAA0B;AAgBnB,SAAS,sBACd,eACA,YACA,UAA+C,CAAC,GACxB;AACxB,QAAM,cAAc,QAAQ,YAAY,OAAO,aAAa;AAC5D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB;AACtB,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,iBAAiB,aAAa,KAClD,gBAAgB,aAAa;AACjC,QAAM,EAAE,YAAY,GAAG,GAAG,eAAe,IAAI;AAAA,IAC3C,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB,EAAE,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO,KAAK;AAAA,IACxE,aAAa;AAAA,MACX,QAAQ,QAAQ,aAAa,UAAU,CAAC,4BAA4B;AAAA,IACtE;AAAA,EACF;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,gBAAc,SAAS,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChE,QAAM,aAAa,QAAQ,cAAc;AACzC,gBAAc,SAAS,UAAU;AAAA,IAC/B,MAAM;AAAA,IACN,aAAa,CAAC,KAAK,SAAS;AAG1B,YAAM,MAAM,IAAI,IAAI,IAAI,GAAG;AAC3B,UAAI,CAAC,IAAI,aAAa,IAAI,aAAa,GAAG;AACxC,YAAI,MAAM,GAAG,IAAI,GAAG,GAClB,MAAM,KAAK,IAAI,aAAa,KAAK,CAAC,EAAE,SAAS,IAAI,MAAM,GACzD,eAAe,UAAU;AAAA,MAC3B;AAEA,aAAO,KAAK,GAAG;AAAA,IACjB;AAAA,EACF,CAAC;AACD,SAAO,EAAE,GAAG,eAAe,WAAW;AACxC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { listWidgets, deleteWidget, createOrUpdateWidget, getWidgetOperationStatus, getWidget, } from "./operations.js";
|
|
2
|
-
export { WidgetsListWidgetsOptionalParams, WidgetsDeleteWidgetOptionalParams, WidgetsCreateOrUpdateWidgetOptionalParams, WidgetsGetWidgetOperationStatusOptionalParams, WidgetsGetWidgetOptionalParams, } from "./options.js";
|
|
2
|
+
export type { WidgetsListWidgetsOptionalParams, WidgetsDeleteWidgetOptionalParams, WidgetsCreateOrUpdateWidgetOptionalParams, WidgetsGetWidgetOperationStatusOptionalParams, WidgetsGetWidgetOptionalParams, } from "./options.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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 widgets_exports = {};
|
|
19
|
+
__export(widgets_exports, {
|
|
20
|
+
createOrUpdateWidget: () => import_operations.createOrUpdateWidget,
|
|
21
|
+
deleteWidget: () => import_operations.deleteWidget,
|
|
22
|
+
getWidget: () => import_operations.getWidget,
|
|
23
|
+
getWidgetOperationStatus: () => import_operations.getWidgetOperationStatus,
|
|
24
|
+
listWidgets: () => import_operations.listWidgets
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(widgets_exports);
|
|
27
|
+
var import_operations = require("./operations.js");
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
createOrUpdateWidget,
|
|
31
|
+
deleteWidget,
|
|
32
|
+
getWidget,
|
|
33
|
+
getWidgetOperationStatus,
|
|
34
|
+
listWidgets
|
|
35
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/template/template/src/api/widgets/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listWidgets,\n deleteWidget,\n createOrUpdateWidget,\n getWidgetOperationStatus,\n getWidget,\n} from \"./operations.js\";\nexport type {\n WidgetsListWidgetsOptionalParams,\n WidgetsDeleteWidgetOptionalParams,\n WidgetsCreateOrUpdateWidgetOptionalParams,\n WidgetsGetWidgetOperationStatusOptionalParams,\n WidgetsGetWidgetOptionalParams,\n} from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAMO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WidgetAnalyticsContext as Client } from "../index.js";
|
|
2
|
-
import { WidgetSuite, ResourceOperationStatusWidgetSuiteWidgetSuiteError, _PagedWidgetSuite } from "../../models/models.js";
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import { WidgetsListWidgetsOptionalParams, WidgetsDeleteWidgetOptionalParams, WidgetsCreateOrUpdateWidgetOptionalParams, WidgetsGetWidgetOperationStatusOptionalParams, WidgetsGetWidgetOptionalParams } from "./options.js";
|
|
5
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { WidgetAnalyticsContext as Client } from "../index.js";
|
|
2
|
+
import type { WidgetSuite, ResourceOperationStatusWidgetSuiteWidgetSuiteError, _PagedWidgetSuite } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { WidgetsListWidgetsOptionalParams, WidgetsDeleteWidgetOptionalParams, WidgetsCreateOrUpdateWidgetOptionalParams, WidgetsGetWidgetOperationStatusOptionalParams, WidgetsGetWidgetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
7
|
export declare function _listWidgetsSend(context: Client, options?: WidgetsListWidgetsOptionalParams): StreamableMethod;
|
|
8
8
|
export declare function _listWidgetsDeserialize(result: PathUncheckedResponse): Promise<_PagedWidgetSuite>;
|
|
9
9
|
/** List Widget resources */
|