@azure/arm-resources 8.0.0-beta.1 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import { getClient } from "@azure-rest/core-client";
7
7
  export function createResourceManagement(credential, subscriptionId, options = {}) {
8
8
  const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com";
9
9
  const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
10
- const userAgentInfo = `azsdk-js-arm-resources/8.0.0-beta.1`;
10
+ const userAgentInfo = `azsdk-js-arm-resources/8.0.0`;
11
11
  const userAgentPrefix = prefixFromOptions
12
12
  ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
13
13
  : `azsdk-js-api ${userAgentInfo}`;
@@ -1 +1 @@
1
- {"version":3,"file":"resourceManagementContext.js","sourceRoot":"","sources":["../../../src/api/resourceManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAwB,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAqB3E,0EAA0E;AAC1E,MAAM,UAAU,wBAAwB,CACtC,UAA2B,EAC3B,cAAsB,EACtB,UAAkD,EAAE;IAEpD,MAAM,WAAW,GACf,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8BAA8B,CAAC;IAC7F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,qCAAqC,CAAC;IAC5D,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,uCAAuC,CAAC;SACjF;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAAE,cAAc,EAA+B,CAAC;AACvF,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 { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides operations for working with resources and resource groups. */\nexport interface ResourceManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\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 ResourceManagementClientOptionalParams 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 /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides operations for working with resources and resource groups. */\nexport function createResourceManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: ResourceManagementClientOptionalParams = {},\n): ResourceManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-resources/8.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as ResourceManagementContext;\n}\n"]}
1
+ {"version":3,"file":"resourceManagementContext.js","sourceRoot":"","sources":["../../../src/api/resourceManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAwB,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAqB3E,0EAA0E;AAC1E,MAAM,UAAU,wBAAwB,CACtC,UAA2B,EAC3B,cAAsB,EACtB,UAAkD,EAAE;IAEpD,MAAM,WAAW,GACf,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8BAA8B,CAAC;IAC7F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,8BAA8B,CAAC;IACrD,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,uCAAuC,CAAC;SACjF;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAAE,cAAc,EAA+B,CAAC;AACvF,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 { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides operations for working with resources and resource groups. */\nexport interface ResourceManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\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 ResourceManagementClientOptionalParams 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 /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides operations for working with resources and resource groups. */\nexport function createResourceManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: ResourceManagementClientOptionalParams = {},\n): ResourceManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-resources/8.0.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as ResourceManagementContext;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,E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C,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\nexport function cloudErrorDeserializer(item: any): CloudError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n };\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorResponse[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorResponseArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorResponseArrayDeserializer(result: Array<ErrorResponse>): any[] {\n return result.map((item) => {\n return errorResponseDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, unknown>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Resource group information. */\nexport interface ResourceGroup extends TrackedResource {\n /** The resource group properties. */\n properties?: ResourceGroupProperties;\n /** The ID of the resource that manages this resource group. */\n managedBy?: string;\n}\n\nexport function resourceGroupSerializer(item: ResourceGroup): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesSerializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n };\n}\n\nexport function resourceGroupDeserializer(item: any): ResourceGroup {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesDeserializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n };\n}\n\n/** The resource group properties. */\nexport interface ResourceGroupProperties {\n /** The provisioning state. */\n readonly provisioningState?: string;\n}\n\nexport function resourceGroupPropertiesSerializer(_item: ResourceGroupProperties): any {\n return {};\n}\n\nexport function resourceGroupPropertiesDeserializer(item: any): ResourceGroupProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Resource group information. */\nexport interface ResourceGroupPatchable {\n /** The name of the resource group. */\n name?: string;\n /** The resource group properties. */\n properties?: ResourceGroupProperties;\n /** The ID of the resource that manages this resource group. */\n managedBy?: string;\n /** The tags attached to the resource group. */\n tags?: Record<string, string>;\n}\n\nexport function resourceGroupPatchableSerializer(item: ResourceGroupPatchable): any {\n return {\n name: item[\"name\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesSerializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n tags: item[\"tags\"],\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\n/** The response of a ResourceGroup list operation. */\nexport interface _ResourceGroupListResult {\n /** The ResourceGroup items on this page */\n value: ResourceGroup[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceGroupListResultDeserializer(item: any): _ResourceGroupListResult {\n return {\n value: resourceGroupArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function resourceGroupArraySerializer(result: Array<ResourceGroup>): any[] {\n return result.map((item) => {\n return resourceGroupSerializer(item);\n });\n}\n\nexport function resourceGroupArrayDeserializer(result: Array<ResourceGroup>): any[] {\n return result.map((item) => {\n return resourceGroupDeserializer(item);\n });\n}\n\n/** Export resource group template request parameters. */\nexport interface ExportTemplateRequest {\n /** The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. */\n resources?: string[];\n /** The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization' */\n options?: string;\n /** The output format for the exported resources. */\n outputFormat?: ExportTemplateOutputFormat;\n}\n\nexport function exportTemplateRequestSerializer(item: ExportTemplateRequest): any {\n return {\n resources: !item[\"resources\"]\n ? item[\"resources\"]\n : item[\"resources\"].map((p: any) => {\n return p;\n }),\n options: item[\"options\"],\n outputFormat: item[\"outputFormat\"],\n };\n}\n\n/** The output format for the exported resources. */\nexport enum KnownExportTemplateOutputFormat {\n /** Json */\n Json = \"Json\",\n /** Bicep */\n Bicep = \"Bicep\",\n}\n\n/**\n * The output format for the exported resources. \\\n * {@link KnownExportTemplateOutputFormat} can be used interchangeably with ExportTemplateOutputFormat,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Json**: Json \\\n * **Bicep**: Bicep\n */\nexport type ExportTemplateOutputFormat = string;\n\n/** Resource group export result. */\nexport interface ResourceGroupExportResult {\n /** The template content. Used if outputFormat is empty or set to 'Json'. */\n template?: Record<string, unknown>;\n /** The formatted export content. Used if outputFormat is set to 'Bicep'. */\n output?: string;\n /** The template export error. */\n error?: ErrorDetail;\n}\n\nexport function resourceGroupExportResultDeserializer(item: any): ResourceGroupExportResult {\n return {\n template: item[\"template\"],\n output: item[\"output\"],\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** Paged collection of GenericResourceExpanded items */\nexport interface _ResourceListResult {\n /** The GenericResourceExpanded items on this page */\n value: GenericResourceExpanded[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceListResultDeserializer(item: any): _ResourceListResult {\n return {\n value: genericResourceExpandedArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function genericResourceExpandedArrayDeserializer(\n result: Array<GenericResourceExpanded>,\n): any[] {\n return result.map((item) => {\n return genericResourceExpandedDeserializer(item);\n });\n}\n\n/** Resource information. */\nexport interface GenericResourceExpanded extends GenericResource {\n /** The created time of the resource. This is only present if requested via the $expand query parameter. */\n readonly createdTime?: Date;\n /** The changed time of the resource. This is only present if requested via the $expand query parameter. */\n readonly changedTime?: Date;\n /** The provisioning state of the resource. This is only present if requested via the $expand query parameter. */\n readonly provisioningState?: string;\n}\n\nexport function genericResourceExpandedDeserializer(item: any): GenericResourceExpanded {\n return {\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planDeserializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuDeserializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationDeserializer(item[\"extendedLocation\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n createdTime: !item[\"createdTime\"] ? item[\"createdTime\"] : new Date(item[\"createdTime\"]),\n changedTime: !item[\"changedTime\"] ? item[\"changedTime\"] : new Date(item[\"changedTime\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Resource information. */\nexport interface GenericResource extends Resource {\n /** The resource-specific properties for this resource. */\n properties?: Record<string, unknown>;\n /** The plan of the resource. */\n plan?: Plan;\n /** The kind of the resource. */\n kind?: string;\n /** ID of the resource that manages this resource. */\n managedBy?: string;\n /** The SKU of the resource. */\n sku?: Sku;\n /** The identity of the resource. */\n identity?: Identity;\n /** Resource location */\n location?: string;\n /** Resource extended location. */\n extendedLocation?: ExtendedLocation;\n /** Resource tags */\n tags?: Record<string, string>;\n}\n\nexport function genericResourceSerializer(item: GenericResource): any {\n return {\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planSerializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuSerializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationSerializer(item[\"extendedLocation\"]),\n tags: item[\"tags\"],\n };\n}\n\nexport function genericResourceDeserializer(item: any): GenericResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planDeserializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuDeserializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationDeserializer(item[\"extendedLocation\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** Plan for the resource. */\nexport interface Plan {\n /** The plan ID. */\n name?: string;\n /** The publisher ID. */\n publisher?: string;\n /** The offer ID. */\n product?: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version?: string;\n}\n\nexport function planSerializer(item: Plan): any {\n return {\n name: item[\"name\"],\n publisher: item[\"publisher\"],\n product: item[\"product\"],\n promotionCode: item[\"promotionCode\"],\n version: item[\"version\"],\n };\n}\n\nexport function planDeserializer(item: any): Plan {\n return {\n name: item[\"name\"],\n publisher: item[\"publisher\"],\n product: item[\"product\"],\n promotionCode: item[\"promotionCode\"],\n version: item[\"version\"],\n };\n}\n\n/** SKU for the resource. */\nexport interface Sku {\n /** The SKU name. */\n name?: string;\n /** The SKU tier. */\n tier?: string;\n /** The SKU size. */\n size?: string;\n /** The SKU family. */\n family?: string;\n /** The SKU model. */\n model?: string;\n /** The SKU capacity. */\n capacity?: number;\n}\n\nexport function skuSerializer(item: Sku): any {\n return {\n name: item[\"name\"],\n tier: item[\"tier\"],\n size: item[\"size\"],\n family: item[\"family\"],\n model: item[\"model\"],\n capacity: item[\"capacity\"],\n };\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n name: item[\"name\"],\n tier: item[\"tier\"],\n size: item[\"size\"],\n family: item[\"family\"],\n model: item[\"model\"],\n capacity: item[\"capacity\"],\n };\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /** The principal ID of resource identity. */\n readonly principalId?: string;\n /** The tenant ID of resource. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */\n userAssignedIdentities?: Record<string, IdentityUserAssignedIdentitiesValue>;\n}\n\nexport function identitySerializer(item: Identity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : identityUserAssignedIdentitiesValueRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function identityDeserializer(item: any): Identity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : identityUserAssignedIdentitiesValueRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** The identity type. */\nexport type ResourceIdentityType =\n | \"SystemAssigned\"\n | \"UserAssigned\"\n | \"SystemAssigned, UserAssigned\"\n | \"None\";\n\nexport function identityUserAssignedIdentitiesValueRecordSerializer(\n item: Record<string, IdentityUserAssignedIdentitiesValue>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : identityUserAssignedIdentitiesValueSerializer(item[key]);\n });\n return result;\n}\n\nexport function identityUserAssignedIdentitiesValueRecordDeserializer(\n item: Record<string, any>,\n): Record<string, IdentityUserAssignedIdentitiesValue> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key]\n ? item[key]\n : identityUserAssignedIdentitiesValueDeserializer(item[key]);\n });\n return result;\n}\n\n/** model interface IdentityUserAssignedIdentitiesValue */\nexport interface IdentityUserAssignedIdentitiesValue {\n /** The principal id of user assigned identity. */\n readonly principalId?: string;\n /** The client id of user assigned identity. */\n readonly clientId?: string;\n}\n\nexport function identityUserAssignedIdentitiesValueSerializer(\n _item: IdentityUserAssignedIdentitiesValue,\n): any {\n return {};\n}\n\nexport function identityUserAssignedIdentitiesValueDeserializer(\n item: any,\n): IdentityUserAssignedIdentitiesValue {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** Resource extended location. */\nexport interface ExtendedLocation {\n /** The extended location type. */\n type?: ExtendedLocationType;\n /** The extended location name. */\n name?: string;\n}\n\nexport function extendedLocationSerializer(item: ExtendedLocation): any {\n return { type: item[\"type\"], name: item[\"name\"] };\n}\n\nexport function extendedLocationDeserializer(item: any): ExtendedLocation {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** The extended location type. */\nexport enum KnownExtendedLocationType {\n /** EdgeZone */\n EdgeZone = \"EdgeZone\",\n}\n\n/**\n * The extended location type. \\\n * {@link KnownExtendedLocationType} can be used interchangeably with ExtendedLocationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EdgeZone**: EdgeZone\n */\nexport type ExtendedLocationType = string;\n\n/** Parameters of move resources. */\nexport interface ResourcesMoveInfo {\n /** The IDs of the resources. */\n resources?: string[];\n /** The target resource group. */\n targetResourceGroup?: string;\n}\n\nexport function resourcesMoveInfoSerializer(item: ResourcesMoveInfo): any {\n return {\n resources: !item[\"resources\"]\n ? item[\"resources\"]\n : item[\"resources\"].map((p: any) => {\n return p;\n }),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\n/** Wrapper resource for tags API requests and responses. */\nexport interface TagsResource extends ExtensionResource {\n /** The set of tags. */\n properties: Tags;\n}\n\nexport function tagsResourceSerializer(item: TagsResource): any {\n return { properties: tagsSerializer(item[\"properties\"]) };\n}\n\nexport function tagsResourceDeserializer(item: any): TagsResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: tagsDeserializer(item[\"properties\"]),\n };\n}\n\n/** A dictionary of name and value pairs. */\nexport interface Tags {\n /** Dictionary of <string> */\n tags?: Record<string, string>;\n}\n\nexport function tagsSerializer(item: Tags): any {\n return { tags: item[\"tags\"] };\n}\n\nexport function tagsDeserializer(item: any): Tags {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceSerializer(_item: ExtensionResource): any {\n return {};\n}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Wrapper resource for tags patch API request only. */\nexport interface TagsPatchResource {\n /** The operation type for the patch API. */\n operation?: TagsPatchOperation;\n /** The set of tags. */\n properties?: Tags;\n}\n\nexport function tagsPatchResourceSerializer(item: TagsPatchResource): any {\n return {\n operation: item[\"operation\"],\n properties: !item[\"properties\"] ? item[\"properties\"] : tagsSerializer(item[\"properties\"]),\n };\n}\n\n/** The operation type for the patch API. */\nexport enum KnownTagsPatchOperation {\n /** The 'replace' option replaces the entire set of existing tags with a new set. */\n Replace = \"Replace\",\n /** The 'merge' option allows adding tags with new names and updating the values of tags with existing names. */\n Merge = \"Merge\",\n /** The 'delete' option allows selectively deleting tags based on given names or name/value pairs. */\n Delete = \"Delete\",\n}\n\n/**\n * The operation type for the patch API. \\\n * {@link KnownTagsPatchOperation} can be used interchangeably with TagsPatchOperation,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Replace**: The 'replace' option replaces the entire set of existing tags with a new set. \\\n * **Merge**: The 'merge' option allows adding tags with new names and updating the values of tags with existing names. \\\n * **Delete**: The 'delete' option allows selectively deleting tags based on given names or name\\/value pairs.\n */\nexport type TagsPatchOperation = string;\n\n/** Tag information. */\nexport interface TagValue {\n /** The tag value ID. */\n readonly id?: string;\n /** The tag value. */\n tagValue?: string;\n /** The tag value count. */\n count?: TagCount;\n}\n\nexport function tagValueDeserializer(item: any): TagValue {\n return {\n id: item[\"id\"],\n tagValue: item[\"tagValue\"],\n count: !item[\"count\"] ? item[\"count\"] : tagCountDeserializer(item[\"count\"]),\n };\n}\n\n/** Tag count. */\nexport interface TagCount {\n /** Type of count. */\n type?: string;\n /** Value of count. */\n value?: number;\n}\n\nexport function tagCountDeserializer(item: any): TagCount {\n return {\n type: item[\"type\"],\n value: item[\"value\"],\n };\n}\n\n/** Tag details. */\nexport interface TagDetails {\n /** The tag name ID. */\n readonly id?: string;\n /** The tag name. */\n tagName?: string;\n /** The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0. */\n count?: TagCount;\n /** The list of tag values. */\n values?: TagValue[];\n}\n\nexport function tagDetailsDeserializer(item: any): TagDetails {\n return {\n id: item[\"id\"],\n tagName: item[\"tagName\"],\n count: !item[\"count\"] ? item[\"count\"] : tagCountDeserializer(item[\"count\"]),\n values: !item[\"values\"] ? item[\"values\"] : tagValueArrayDeserializer(item[\"values\"]),\n };\n}\n\nexport function tagValueArrayDeserializer(result: Array<TagValue>): any[] {\n return result.map((item) => {\n return tagValueDeserializer(item);\n });\n}\n\n/** List of subscription tags. */\nexport interface _TagsListResult {\n /** The TagDetails items on this page */\n value: TagDetails[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _tagsListResultDeserializer(item: any): _TagsListResult {\n return {\n value: tagDetailsArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function tagDetailsArrayDeserializer(result: Array<TagDetails>): any[] {\n return result.map((item) => {\n return tagDetailsDeserializer(item);\n });\n}\n\n/** List of resource providers. */\nexport interface _ProviderListResult {\n /** The Provider items on this page */\n value: Provider[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _providerListResultDeserializer(item: any): _ProviderListResult {\n return {\n value: providerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function providerArrayDeserializer(result: Array<Provider>): any[] {\n return result.map((item) => {\n return providerDeserializer(item);\n });\n}\n\n/** Resource provider information. */\nexport interface Provider {\n /** The provider ID. */\n readonly id?: string;\n /** The namespace of the resource provider. */\n namespace?: string;\n /** The registration state of the resource provider. */\n readonly registrationState?: string;\n /** The registration policy of the resource provider. */\n readonly registrationPolicy?: string;\n /** The collection of provider resource types. */\n readonly resourceTypes?: ProviderResourceType[];\n /** The provider authorization consent state. */\n providerAuthorizationConsentState?: ProviderAuthorizationConsentState;\n}\n\nexport function providerDeserializer(item: any): Provider {\n return {\n id: item[\"id\"],\n namespace: item[\"namespace\"],\n registrationState: item[\"registrationState\"],\n registrationPolicy: item[\"registrationPolicy\"],\n resourceTypes: !item[\"resourceTypes\"]\n ? item[\"resourceTypes\"]\n : providerResourceTypeArrayDeserializer(item[\"resourceTypes\"]),\n providerAuthorizationConsentState: item[\"providerAuthorizationConsentState\"],\n };\n}\n\nexport function providerResourceTypeArrayDeserializer(result: Array<ProviderResourceType>): any[] {\n return result.map((item) => {\n return providerResourceTypeDeserializer(item);\n });\n}\n\n/** Resource type managed by the resource provider. */\nexport interface ProviderResourceType {\n /** The resource type. */\n resourceType?: string;\n /** The collection of locations where this resource type can be created. */\n locations?: string[];\n /** The location mappings that are supported by this resource type. */\n locationMappings?: ProviderExtendedLocation[];\n /** The aliases that are supported by this resource type. */\n aliases?: Alias[];\n /** The API version. */\n apiVersions?: string[];\n /** The default API version. */\n readonly defaultApiVersion?: string;\n zoneMappings?: ZoneMapping[];\n /** The API profiles for the resource provider. */\n readonly apiProfiles?: ApiProfile[];\n /** The additional capabilities offered by this resource type. */\n capabilities?: string;\n /** The properties. */\n properties?: Record<string, string>;\n}\n\nexport function providerResourceTypeDeserializer(item: any): ProviderResourceType {\n return {\n resourceType: item[\"resourceType\"],\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n locationMappings: !item[\"locationMappings\"]\n ? item[\"locationMappings\"]\n : providerExtendedLocationArrayDeserializer(item[\"locationMappings\"]),\n aliases: !item[\"aliases\"] ? item[\"aliases\"] : aliasArrayDeserializer(item[\"aliases\"]),\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n defaultApiVersion: item[\"defaultApiVersion\"],\n zoneMappings: !item[\"zoneMappings\"]\n ? item[\"zoneMappings\"]\n : zoneMappingArrayDeserializer(item[\"zoneMappings\"]),\n apiProfiles: !item[\"apiProfiles\"]\n ? item[\"apiProfiles\"]\n : apiProfileArrayDeserializer(item[\"apiProfiles\"]),\n capabilities: item[\"capabilities\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : Object.fromEntries(\n Object.entries(item[\"properties\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n };\n}\n\nexport function providerExtendedLocationArrayDeserializer(\n result: Array<ProviderExtendedLocation>,\n): any[] {\n return result.map((item) => {\n return providerExtendedLocationDeserializer(item);\n });\n}\n\n/** The provider extended location. */\nexport interface ProviderExtendedLocation {\n /** The azure location. */\n location?: string;\n /** The extended location type. */\n type?: string;\n /** The extended locations for the azure location. */\n extendedLocations?: string[];\n}\n\nexport function providerExtendedLocationDeserializer(item: any): ProviderExtendedLocation {\n return {\n location: item[\"location\"],\n type: item[\"type\"],\n extendedLocations: !item[\"extendedLocations\"]\n ? item[\"extendedLocations\"]\n : item[\"extendedLocations\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function aliasArrayDeserializer(result: Array<Alias>): any[] {\n return result.map((item) => {\n return aliasDeserializer(item);\n });\n}\n\n/** The alias type. */\nexport interface Alias {\n /** The alias name. */\n name?: string;\n /** The paths for an alias. */\n paths?: AliasPath[];\n /** The type of the alias. */\n type?: AliasType;\n /** The default path for an alias. */\n defaultPath?: string;\n /** The default pattern for an alias. */\n defaultPattern?: AliasPattern;\n /** The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata */\n readonly defaultMetadata?: AliasPathMetadata;\n}\n\nexport function aliasDeserializer(item: any): Alias {\n return {\n name: item[\"name\"],\n paths: !item[\"paths\"] ? item[\"paths\"] : aliasPathArrayDeserializer(item[\"paths\"]),\n type: item[\"type\"],\n defaultPath: item[\"defaultPath\"],\n defaultPattern: !item[\"defaultPattern\"]\n ? item[\"defaultPattern\"]\n : aliasPatternDeserializer(item[\"defaultPattern\"]),\n defaultMetadata: !item[\"defaultMetadata\"]\n ? item[\"defaultMetadata\"]\n : aliasPathMetadataDeserializer(item[\"defaultMetadata\"]),\n };\n}\n\nexport function aliasPathArrayDeserializer(result: Array<AliasPath>): any[] {\n return result.map((item) => {\n return aliasPathDeserializer(item);\n });\n}\n\n/** The type of the paths for alias. */\nexport interface AliasPath {\n /** The path of an alias. */\n path?: string;\n /** The API versions. */\n apiVersions?: string[];\n /** The pattern for an alias path. */\n pattern?: AliasPattern;\n /** The metadata of the alias path. If missing, fall back to the default metadata of the alias. */\n readonly metadata?: AliasPathMetadata;\n}\n\nexport function aliasPathDeserializer(item: any): AliasPath {\n return {\n path: item[\"path\"],\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n pattern: !item[\"pattern\"] ? item[\"pattern\"] : aliasPatternDeserializer(item[\"pattern\"]),\n metadata: !item[\"metadata\"]\n ? item[\"metadata\"]\n : aliasPathMetadataDeserializer(item[\"metadata\"]),\n };\n}\n\n/** The type of the pattern for an alias path. */\nexport interface AliasPattern {\n /** The alias pattern phrase. */\n phrase?: string;\n /** The alias pattern variable. */\n variable?: string;\n /** The type of alias pattern */\n type?: AliasPatternType;\n}\n\nexport function aliasPatternDeserializer(item: any): AliasPattern {\n return {\n phrase: item[\"phrase\"],\n variable: item[\"variable\"],\n type: item[\"type\"],\n };\n}\n\n/** The type of alias pattern */\nexport type AliasPatternType = \"NotSpecified\" | \"Extract\";\n\n/** model interface AliasPathMetadata */\nexport interface AliasPathMetadata {\n /** The type of the token that the alias path is referring to. */\n readonly type?: AliasPathTokenType;\n /** The attributes of the token that the alias path is referring to. */\n readonly attributes?: AliasPathAttributes;\n}\n\nexport function aliasPathMetadataDeserializer(item: any): AliasPathMetadata {\n return {\n type: item[\"type\"],\n attributes: item[\"attributes\"],\n };\n}\n\n/** The type of the token that the alias path is referring to. */\nexport enum KnownAliasPathTokenType {\n /** The token type is not specified. */\n NotSpecified = \"NotSpecified\",\n /** The token type can be anything. */\n Any = \"Any\",\n /** The token type is string. */\n String = \"String\",\n /** The token type is object. */\n Object = \"Object\",\n /** The token type is array. */\n Array = \"Array\",\n /** The token type is integer. */\n Integer = \"Integer\",\n /** The token type is number. */\n Number = \"Number\",\n /** The token type is boolean. */\n Boolean = \"Boolean\",\n}\n\n/**\n * The type of the token that the alias path is referring to. \\\n * {@link KnownAliasPathTokenType} can be used interchangeably with AliasPathTokenType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: The token type is not specified. \\\n * **Any**: The token type can be anything. \\\n * **String**: The token type is string. \\\n * **Object**: The token type is object. \\\n * **Array**: The token type is array. \\\n * **Integer**: The token type is integer. \\\n * **Number**: The token type is number. \\\n * **Boolean**: The token type is boolean.\n */\nexport type AliasPathTokenType = string;\n\n/** The attributes of the token that the alias path is referring to. */\nexport enum KnownAliasPathAttributes {\n /** The token that the alias path is referring to has no attributes. */\n None = \"None\",\n /** The token that the alias path is referring to is modifiable by policies with 'modify' effect. */\n Modifiable = \"Modifiable\",\n}\n\n/**\n * The attributes of the token that the alias path is referring to. \\\n * {@link KnownAliasPathAttributes} can be used interchangeably with AliasPathAttributes,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The token that the alias path is referring to has no attributes. \\\n * **Modifiable**: The token that the alias path is referring to is modifiable by policies with 'modify' effect.\n */\nexport type AliasPathAttributes = string;\n/** The type of the alias. */\nexport type AliasType = \"NotSpecified\" | \"PlainText\" | \"Mask\";\n\nexport function zoneMappingArrayDeserializer(result: Array<ZoneMapping>): any[] {\n return result.map((item) => {\n return zoneMappingDeserializer(item);\n });\n}\n\n/** model interface ZoneMapping */\nexport interface ZoneMapping {\n /** The location of the zone mapping. */\n location?: string;\n zones?: string[];\n}\n\nexport function zoneMappingDeserializer(item: any): ZoneMapping {\n return {\n location: item[\"location\"],\n zones: !item[\"zones\"]\n ? item[\"zones\"]\n : item[\"zones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function apiProfileArrayDeserializer(result: Array<ApiProfile>): any[] {\n return result.map((item) => {\n return apiProfileDeserializer(item);\n });\n}\n\n/** model interface ApiProfile */\nexport interface ApiProfile {\n /** The profile version. */\n readonly profileVersion?: string;\n /** The API version. */\n readonly apiVersion?: string;\n}\n\nexport function apiProfileDeserializer(item: any): ApiProfile {\n return {\n profileVersion: item[\"profileVersion\"],\n apiVersion: item[\"apiVersion\"],\n };\n}\n\n/** The provider authorization consent state. */\nexport enum KnownProviderAuthorizationConsentState {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** Required */\n Required = \"Required\",\n /** NotRequired */\n NotRequired = \"NotRequired\",\n /** Consented */\n Consented = \"Consented\",\n}\n\n/**\n * The provider authorization consent state. \\\n * {@link KnownProviderAuthorizationConsentState} can be used interchangeably with ProviderAuthorizationConsentState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: NotSpecified \\\n * **Required**: Required \\\n * **NotRequired**: NotRequired \\\n * **Consented**: Consented\n */\nexport type ProviderAuthorizationConsentState = string;\n\n/** List of provider permissions. */\nexport interface ProviderPermissionListResult {\n /** The ProviderPermission items on this page */\n value: ProviderPermission[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function providerPermissionListResultDeserializer(item: any): ProviderPermissionListResult {\n return {\n value: providerPermissionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function providerPermissionArrayDeserializer(result: Array<ProviderPermission>): any[] {\n return result.map((item) => {\n return providerPermissionDeserializer(item);\n });\n}\n\n/** The provider permission */\nexport interface ProviderPermission {\n /** The application id. */\n applicationId?: string;\n /** Role definition properties. */\n roleDefinition?: RoleDefinition;\n /** Role definition properties. */\n managedByRoleDefinition?: RoleDefinition;\n /** The provider authorization consent state. */\n providerAuthorizationConsentState?: ProviderAuthorizationConsentState;\n}\n\nexport function providerPermissionDeserializer(item: any): ProviderPermission {\n return {\n applicationId: item[\"applicationId\"],\n roleDefinition: !item[\"roleDefinition\"]\n ? item[\"roleDefinition\"]\n : roleDefinitionDeserializer(item[\"roleDefinition\"]),\n managedByRoleDefinition: !item[\"managedByRoleDefinition\"]\n ? item[\"managedByRoleDefinition\"]\n : roleDefinitionDeserializer(item[\"managedByRoleDefinition\"]),\n providerAuthorizationConsentState: item[\"providerAuthorizationConsentState\"],\n };\n}\n\n/** Role definition properties. */\nexport interface RoleDefinition {\n /** The role definition ID. */\n id?: string;\n /** The role definition name. */\n name?: string;\n /** If this is a service role. */\n isServiceRole?: boolean;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n scopes?: string[];\n}\n\nexport function roleDefinitionDeserializer(item: any): RoleDefinition {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n isServiceRole: item[\"isServiceRole\"],\n permissions: !item[\"permissions\"]\n ? item[\"permissions\"]\n : permissionArrayDeserializer(item[\"permissions\"]),\n scopes: !item[\"scopes\"]\n ? item[\"scopes\"]\n : item[\"scopes\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function permissionArrayDeserializer(result: Array<Permission>): any[] {\n return result.map((item) => {\n return permissionDeserializer(item);\n });\n}\n\n/** Role definition permissions. */\nexport interface Permission {\n /** Allowed actions. */\n actions?: string[];\n /** Denied actions. */\n notActions?: string[];\n /** Allowed Data actions. */\n dataActions?: string[];\n /** Denied Data actions. */\n notDataActions?: string[];\n}\n\nexport function permissionDeserializer(item: any): Permission {\n return {\n actions: !item[\"actions\"]\n ? item[\"actions\"]\n : item[\"actions\"].map((p: any) => {\n return p;\n }),\n notActions: !item[\"notActions\"]\n ? item[\"notActions\"]\n : item[\"notActions\"].map((p: any) => {\n return p;\n }),\n dataActions: !item[\"dataActions\"]\n ? item[\"dataActions\"]\n : item[\"dataActions\"].map((p: any) => {\n return p;\n }),\n notDataActions: !item[\"notDataActions\"]\n ? item[\"notDataActions\"]\n : item[\"notDataActions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The provider registration definition. */\nexport interface ProviderRegistrationRequest {\n /** The provider consent. */\n thirdPartyProviderConsent?: ProviderConsentDefinition;\n}\n\nexport function providerRegistrationRequestSerializer(item: ProviderRegistrationRequest): any {\n return {\n thirdPartyProviderConsent: !item[\"thirdPartyProviderConsent\"]\n ? item[\"thirdPartyProviderConsent\"]\n : providerConsentDefinitionSerializer(item[\"thirdPartyProviderConsent\"]),\n };\n}\n\n/** The provider consent. */\nexport interface ProviderConsentDefinition {\n /** A value indicating whether authorization is consented or not. */\n consentToAuthorization?: boolean;\n}\n\nexport function providerConsentDefinitionSerializer(item: ProviderConsentDefinition): any {\n return { consentToAuthorization: item[\"consentToAuthorization\"] };\n}\n\n/** List of resource types of a resource provider. */\nexport interface ProviderResourceTypeListResult {\n /** The ProviderResourceType items on this page */\n value: ProviderResourceType[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function providerResourceTypeListResultDeserializer(\n item: any,\n): ProviderResourceTypeListResult {\n return {\n value: providerResourceTypeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-04-01 API version. */\n V20250401 = \"2025-04-01\",\n}\n\nexport type ResourcesCheckExistenceResponse = { body: boolean };\n\nexport type ResourcesCheckExistenceByIdResponse = { body: boolean };\n\nexport type ResourceGroupsCheckExistenceResponse = { body: boolean };\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAA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AAI,CAAC,2BAA2B,CAAC;YACnC,CAAC,CAAC,mCAAmC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;KAC3E,CAAC;AACJ,CAAC;AAQD,MAAM,UAAU,mCAAmC,CAAC,IAA+B;IACjF,OAAO,EAAE,sBAAsB,EAAE,IAAI,CAAC,wBAAwB,CAAC,EAAE,CAAC;AACpE,CAAC;AAUD,MAAM,UAAU,0CAA0C,CACxD,IAAS;IAET,OAAO;QACL,KAAK,EAAE,qCAAqC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3D,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\nexport function cloudErrorDeserializer(item: any): CloudError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorResponseDeserializer(item[\"error\"]),\n };\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorResponse[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorResponseArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorResponseArrayDeserializer(result: Array<ErrorResponse>): any[] {\n return result.map((item) => {\n return errorResponseDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, unknown>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Resource group information. */\nexport interface ResourceGroup extends TrackedResource {\n /** The resource group properties. */\n properties?: ResourceGroupProperties;\n /** The ID of the resource that manages this resource group. */\n managedBy?: string;\n}\n\nexport function resourceGroupSerializer(item: ResourceGroup): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesSerializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n };\n}\n\nexport function resourceGroupDeserializer(item: any): ResourceGroup {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesDeserializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n };\n}\n\n/** The resource group properties. */\nexport interface ResourceGroupProperties {\n /** The provisioning state. */\n readonly provisioningState?: string;\n}\n\nexport function resourceGroupPropertiesSerializer(_item: ResourceGroupProperties): any {\n return {};\n}\n\nexport function resourceGroupPropertiesDeserializer(item: any): ResourceGroupProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Resource group information. */\nexport interface ResourceGroupPatchable {\n /** The name of the resource group. */\n name?: string;\n /** The resource group properties. */\n properties?: ResourceGroupProperties;\n /** The ID of the resource that manages this resource group. */\n managedBy?: string;\n /** The tags attached to the resource group. */\n tags?: Record<string, string>;\n}\n\nexport function resourceGroupPatchableSerializer(item: ResourceGroupPatchable): any {\n return {\n name: item[\"name\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceGroupPropertiesSerializer(item[\"properties\"]),\n managedBy: item[\"managedBy\"],\n tags: item[\"tags\"],\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\n/** The response of a ResourceGroup list operation. */\nexport interface _ResourceGroupListResult {\n /** The ResourceGroup items on this page */\n value: ResourceGroup[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceGroupListResultDeserializer(item: any): _ResourceGroupListResult {\n return {\n value: resourceGroupArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function resourceGroupArraySerializer(result: Array<ResourceGroup>): any[] {\n return result.map((item) => {\n return resourceGroupSerializer(item);\n });\n}\n\nexport function resourceGroupArrayDeserializer(result: Array<ResourceGroup>): any[] {\n return result.map((item) => {\n return resourceGroupDeserializer(item);\n });\n}\n\n/** Export resource group template request parameters. */\nexport interface ExportTemplateRequest {\n /** The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. */\n resources?: string[];\n /** The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization' */\n options?: string;\n /** The output format for the exported resources. */\n outputFormat?: ExportTemplateOutputFormat;\n}\n\nexport function exportTemplateRequestSerializer(item: ExportTemplateRequest): any {\n return {\n resources: !item[\"resources\"]\n ? item[\"resources\"]\n : item[\"resources\"].map((p: any) => {\n return p;\n }),\n options: item[\"options\"],\n outputFormat: item[\"outputFormat\"],\n };\n}\n\n/** The output format for the exported resources. */\nexport enum KnownExportTemplateOutputFormat {\n /** Json */\n Json = \"Json\",\n /** Bicep */\n Bicep = \"Bicep\",\n}\n\n/**\n * The output format for the exported resources. \\\n * {@link KnownExportTemplateOutputFormat} can be used interchangeably with ExportTemplateOutputFormat,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Json**: Json \\\n * **Bicep**: Bicep\n */\nexport type ExportTemplateOutputFormat = string;\n\n/** Resource group export result. */\nexport interface ResourceGroupExportResult {\n /** The template content. Used if outputFormat is empty or set to 'Json'. */\n template?: Record<string, unknown>;\n /** The formatted export content. Used if outputFormat is set to 'Bicep'. */\n output?: string;\n /** The template export error. */\n error?: ErrorDetail;\n}\n\nexport function resourceGroupExportResultDeserializer(item: any): ResourceGroupExportResult {\n return {\n template: item[\"template\"],\n output: item[\"output\"],\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** Paged collection of GenericResourceExpanded items */\nexport interface _ResourceListResult {\n /** The GenericResourceExpanded items on this page */\n value: GenericResourceExpanded[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _resourceListResultDeserializer(item: any): _ResourceListResult {\n return {\n value: genericResourceExpandedArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function genericResourceExpandedArrayDeserializer(\n result: Array<GenericResourceExpanded>,\n): any[] {\n return result.map((item) => {\n return genericResourceExpandedDeserializer(item);\n });\n}\n\n/** Resource information. */\nexport interface GenericResourceExpanded extends GenericResource {\n /** The created time of the resource. This is only present if requested via the $expand query parameter. */\n readonly createdTime?: Date;\n /** The changed time of the resource. This is only present if requested via the $expand query parameter. */\n readonly changedTime?: Date;\n /** The provisioning state of the resource. This is only present if requested via the $expand query parameter. */\n readonly provisioningState?: string;\n}\n\nexport function genericResourceExpandedDeserializer(item: any): GenericResourceExpanded {\n return {\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planDeserializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuDeserializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationDeserializer(item[\"extendedLocation\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n createdTime: !item[\"createdTime\"] ? item[\"createdTime\"] : new Date(item[\"createdTime\"]),\n changedTime: !item[\"changedTime\"] ? item[\"changedTime\"] : new Date(item[\"changedTime\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Resource information. */\nexport interface GenericResource extends Resource {\n /** The resource-specific properties for this resource. */\n properties?: Record<string, unknown>;\n /** The plan of the resource. */\n plan?: Plan;\n /** The kind of the resource. */\n kind?: string;\n /** ID of the resource that manages this resource. */\n managedBy?: string;\n /** The SKU of the resource. */\n sku?: Sku;\n /** The identity of the resource. */\n identity?: Identity;\n /** Resource location */\n location?: string;\n /** Resource extended location. */\n extendedLocation?: ExtendedLocation;\n /** Resource tags */\n tags?: Record<string, string>;\n}\n\nexport function genericResourceSerializer(item: GenericResource): any {\n return {\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planSerializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuSerializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationSerializer(item[\"extendedLocation\"]),\n tags: item[\"tags\"],\n };\n}\n\nexport function genericResourceDeserializer(item: any): GenericResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: item[\"properties\"],\n plan: !item[\"plan\"] ? item[\"plan\"] : planDeserializer(item[\"plan\"]),\n kind: item[\"kind\"],\n managedBy: item[\"managedBy\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : skuDeserializer(item[\"sku\"]),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n location: item[\"location\"],\n extendedLocation: !item[\"extendedLocation\"]\n ? item[\"extendedLocation\"]\n : extendedLocationDeserializer(item[\"extendedLocation\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** Plan for the resource. */\nexport interface Plan {\n /** The plan ID. */\n name?: string;\n /** The publisher ID. */\n publisher?: string;\n /** The offer ID. */\n product?: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version?: string;\n}\n\nexport function planSerializer(item: Plan): any {\n return {\n name: item[\"name\"],\n publisher: item[\"publisher\"],\n product: item[\"product\"],\n promotionCode: item[\"promotionCode\"],\n version: item[\"version\"],\n };\n}\n\nexport function planDeserializer(item: any): Plan {\n return {\n name: item[\"name\"],\n publisher: item[\"publisher\"],\n product: item[\"product\"],\n promotionCode: item[\"promotionCode\"],\n version: item[\"version\"],\n };\n}\n\n/** SKU for the resource. */\nexport interface Sku {\n /** The SKU name. */\n name?: string;\n /** The SKU tier. */\n tier?: string;\n /** The SKU size. */\n size?: string;\n /** The SKU family. */\n family?: string;\n /** The SKU model. */\n model?: string;\n /** The SKU capacity. */\n capacity?: number;\n}\n\nexport function skuSerializer(item: Sku): any {\n return {\n name: item[\"name\"],\n tier: item[\"tier\"],\n size: item[\"size\"],\n family: item[\"family\"],\n model: item[\"model\"],\n capacity: item[\"capacity\"],\n };\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n name: item[\"name\"],\n tier: item[\"tier\"],\n size: item[\"size\"],\n family: item[\"family\"],\n model: item[\"model\"],\n capacity: item[\"capacity\"],\n };\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /** The principal ID of resource identity. */\n readonly principalId?: string;\n /** The tenant ID of resource. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */\n userAssignedIdentities?: Record<string, IdentityUserAssignedIdentitiesValue>;\n}\n\nexport function identitySerializer(item: Identity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : identityUserAssignedIdentitiesValueRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function identityDeserializer(item: any): Identity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : identityUserAssignedIdentitiesValueRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** The identity type. */\nexport type ResourceIdentityType =\n \"SystemAssigned\" | \"UserAssigned\" | \"SystemAssigned, UserAssigned\" | \"None\";\n\nexport function identityUserAssignedIdentitiesValueRecordSerializer(\n item: Record<string, IdentityUserAssignedIdentitiesValue>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : identityUserAssignedIdentitiesValueSerializer(item[key]);\n });\n return result;\n}\n\nexport function identityUserAssignedIdentitiesValueRecordDeserializer(\n item: Record<string, any>,\n): Record<string, IdentityUserAssignedIdentitiesValue> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key]\n ? item[key]\n : identityUserAssignedIdentitiesValueDeserializer(item[key]);\n });\n return result;\n}\n\n/** model interface IdentityUserAssignedIdentitiesValue */\nexport interface IdentityUserAssignedIdentitiesValue {\n /** The principal id of user assigned identity. */\n readonly principalId?: string;\n /** The client id of user assigned identity. */\n readonly clientId?: string;\n}\n\nexport function identityUserAssignedIdentitiesValueSerializer(\n _item: IdentityUserAssignedIdentitiesValue,\n): any {\n return {};\n}\n\nexport function identityUserAssignedIdentitiesValueDeserializer(\n item: any,\n): IdentityUserAssignedIdentitiesValue {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** Resource extended location. */\nexport interface ExtendedLocation {\n /** The extended location type. */\n type?: ExtendedLocationType;\n /** The extended location name. */\n name?: string;\n}\n\nexport function extendedLocationSerializer(item: ExtendedLocation): any {\n return { type: item[\"type\"], name: item[\"name\"] };\n}\n\nexport function extendedLocationDeserializer(item: any): ExtendedLocation {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** The extended location type. */\nexport enum KnownExtendedLocationType {\n /** EdgeZone */\n EdgeZone = \"EdgeZone\",\n}\n\n/**\n * The extended location type. \\\n * {@link KnownExtendedLocationType} can be used interchangeably with ExtendedLocationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EdgeZone**: EdgeZone\n */\nexport type ExtendedLocationType = string;\n\n/** Parameters of move resources. */\nexport interface ResourcesMoveInfo {\n /** The IDs of the resources. */\n resources?: string[];\n /** The target resource group. */\n targetResourceGroup?: string;\n}\n\nexport function resourcesMoveInfoSerializer(item: ResourcesMoveInfo): any {\n return {\n resources: !item[\"resources\"]\n ? item[\"resources\"]\n : item[\"resources\"].map((p: any) => {\n return p;\n }),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\n/** Wrapper resource for tags API requests and responses. */\nexport interface TagsResource extends ExtensionResource {\n /** The set of tags. */\n properties: Tags;\n}\n\nexport function tagsResourceSerializer(item: TagsResource): any {\n return { properties: tagsSerializer(item[\"properties\"]) };\n}\n\nexport function tagsResourceDeserializer(item: any): TagsResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: tagsDeserializer(item[\"properties\"]),\n };\n}\n\n/** A dictionary of name and value pairs. */\nexport interface Tags {\n /** Dictionary of <string> */\n tags?: Record<string, string>;\n}\n\nexport function tagsSerializer(item: Tags): any {\n return { tags: item[\"tags\"] };\n}\n\nexport function tagsDeserializer(item: any): Tags {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** The base extension resource. */\nexport interface ExtensionResource extends Resource {}\n\nexport function extensionResourceSerializer(_item: ExtensionResource): any {\n return {};\n}\n\nexport function extensionResourceDeserializer(item: any): ExtensionResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Wrapper resource for tags patch API request only. */\nexport interface TagsPatchResource {\n /** The operation type for the patch API. */\n operation?: TagsPatchOperation;\n /** The set of tags. */\n properties?: Tags;\n}\n\nexport function tagsPatchResourceSerializer(item: TagsPatchResource): any {\n return {\n operation: item[\"operation\"],\n properties: !item[\"properties\"] ? item[\"properties\"] : tagsSerializer(item[\"properties\"]),\n };\n}\n\n/** The operation type for the patch API. */\nexport enum KnownTagsPatchOperation {\n /** The 'replace' option replaces the entire set of existing tags with a new set. */\n Replace = \"Replace\",\n /** The 'merge' option allows adding tags with new names and updating the values of tags with existing names. */\n Merge = \"Merge\",\n /** The 'delete' option allows selectively deleting tags based on given names or name/value pairs. */\n Delete = \"Delete\",\n}\n\n/**\n * The operation type for the patch API. \\\n * {@link KnownTagsPatchOperation} can be used interchangeably with TagsPatchOperation,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Replace**: The 'replace' option replaces the entire set of existing tags with a new set. \\\n * **Merge**: The 'merge' option allows adding tags with new names and updating the values of tags with existing names. \\\n * **Delete**: The 'delete' option allows selectively deleting tags based on given names or name\\/value pairs.\n */\nexport type TagsPatchOperation = string;\n\n/** Tag information. */\nexport interface TagValue {\n /** The tag value ID. */\n readonly id?: string;\n /** The tag value. */\n tagValue?: string;\n /** The tag value count. */\n count?: TagCount;\n}\n\nexport function tagValueDeserializer(item: any): TagValue {\n return {\n id: item[\"id\"],\n tagValue: item[\"tagValue\"],\n count: !item[\"count\"] ? item[\"count\"] : tagCountDeserializer(item[\"count\"]),\n };\n}\n\n/** Tag count. */\nexport interface TagCount {\n /** Type of count. */\n type?: string;\n /** Value of count. */\n value?: number;\n}\n\nexport function tagCountDeserializer(item: any): TagCount {\n return {\n type: item[\"type\"],\n value: item[\"value\"],\n };\n}\n\n/** Tag details. */\nexport interface TagDetails {\n /** The tag name ID. */\n readonly id?: string;\n /** The tag name. */\n tagName?: string;\n /** The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0. */\n count?: TagCount;\n /** The list of tag values. */\n values?: TagValue[];\n}\n\nexport function tagDetailsDeserializer(item: any): TagDetails {\n return {\n id: item[\"id\"],\n tagName: item[\"tagName\"],\n count: !item[\"count\"] ? item[\"count\"] : tagCountDeserializer(item[\"count\"]),\n values: !item[\"values\"] ? item[\"values\"] : tagValueArrayDeserializer(item[\"values\"]),\n };\n}\n\nexport function tagValueArrayDeserializer(result: Array<TagValue>): any[] {\n return result.map((item) => {\n return tagValueDeserializer(item);\n });\n}\n\n/** List of subscription tags. */\nexport interface _TagsListResult {\n /** The TagDetails items on this page */\n value: TagDetails[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _tagsListResultDeserializer(item: any): _TagsListResult {\n return {\n value: tagDetailsArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function tagDetailsArrayDeserializer(result: Array<TagDetails>): any[] {\n return result.map((item) => {\n return tagDetailsDeserializer(item);\n });\n}\n\n/** List of resource providers. */\nexport interface _ProviderListResult {\n /** The Provider items on this page */\n value: Provider[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _providerListResultDeserializer(item: any): _ProviderListResult {\n return {\n value: providerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function providerArrayDeserializer(result: Array<Provider>): any[] {\n return result.map((item) => {\n return providerDeserializer(item);\n });\n}\n\n/** Resource provider information. */\nexport interface Provider {\n /** The provider ID. */\n readonly id?: string;\n /** The namespace of the resource provider. */\n namespace?: string;\n /** The registration state of the resource provider. */\n readonly registrationState?: string;\n /** The registration policy of the resource provider. */\n readonly registrationPolicy?: string;\n /** The collection of provider resource types. */\n readonly resourceTypes?: ProviderResourceType[];\n /** The provider authorization consent state. */\n providerAuthorizationConsentState?: ProviderAuthorizationConsentState;\n}\n\nexport function providerDeserializer(item: any): Provider {\n return {\n id: item[\"id\"],\n namespace: item[\"namespace\"],\n registrationState: item[\"registrationState\"],\n registrationPolicy: item[\"registrationPolicy\"],\n resourceTypes: !item[\"resourceTypes\"]\n ? item[\"resourceTypes\"]\n : providerResourceTypeArrayDeserializer(item[\"resourceTypes\"]),\n providerAuthorizationConsentState: item[\"providerAuthorizationConsentState\"],\n };\n}\n\nexport function providerResourceTypeArrayDeserializer(result: Array<ProviderResourceType>): any[] {\n return result.map((item) => {\n return providerResourceTypeDeserializer(item);\n });\n}\n\n/** Resource type managed by the resource provider. */\nexport interface ProviderResourceType {\n /** The resource type. */\n resourceType?: string;\n /** The collection of locations where this resource type can be created. */\n locations?: string[];\n /** The location mappings that are supported by this resource type. */\n locationMappings?: ProviderExtendedLocation[];\n /** The aliases that are supported by this resource type. */\n aliases?: Alias[];\n /** The API version. */\n apiVersions?: string[];\n /** The default API version. */\n readonly defaultApiVersion?: string;\n zoneMappings?: ZoneMapping[];\n /** The API profiles for the resource provider. */\n readonly apiProfiles?: ApiProfile[];\n /** The additional capabilities offered by this resource type. */\n capabilities?: string;\n /** The properties. */\n properties?: Record<string, string>;\n}\n\nexport function providerResourceTypeDeserializer(item: any): ProviderResourceType {\n return {\n resourceType: item[\"resourceType\"],\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n locationMappings: !item[\"locationMappings\"]\n ? item[\"locationMappings\"]\n : providerExtendedLocationArrayDeserializer(item[\"locationMappings\"]),\n aliases: !item[\"aliases\"] ? item[\"aliases\"] : aliasArrayDeserializer(item[\"aliases\"]),\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n defaultApiVersion: item[\"defaultApiVersion\"],\n zoneMappings: !item[\"zoneMappings\"]\n ? item[\"zoneMappings\"]\n : zoneMappingArrayDeserializer(item[\"zoneMappings\"]),\n apiProfiles: !item[\"apiProfiles\"]\n ? item[\"apiProfiles\"]\n : apiProfileArrayDeserializer(item[\"apiProfiles\"]),\n capabilities: item[\"capabilities\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : Object.fromEntries(\n Object.entries(item[\"properties\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n };\n}\n\nexport function providerExtendedLocationArrayDeserializer(\n result: Array<ProviderExtendedLocation>,\n): any[] {\n return result.map((item) => {\n return providerExtendedLocationDeserializer(item);\n });\n}\n\n/** The provider extended location. */\nexport interface ProviderExtendedLocation {\n /** The azure location. */\n location?: string;\n /** The extended location type. */\n type?: string;\n /** The extended locations for the azure location. */\n extendedLocations?: string[];\n}\n\nexport function providerExtendedLocationDeserializer(item: any): ProviderExtendedLocation {\n return {\n location: item[\"location\"],\n type: item[\"type\"],\n extendedLocations: !item[\"extendedLocations\"]\n ? item[\"extendedLocations\"]\n : item[\"extendedLocations\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function aliasArrayDeserializer(result: Array<Alias>): any[] {\n return result.map((item) => {\n return aliasDeserializer(item);\n });\n}\n\n/** The alias type. */\nexport interface Alias {\n /** The alias name. */\n name?: string;\n /** The paths for an alias. */\n paths?: AliasPath[];\n /** The type of the alias. */\n type?: AliasType;\n /** The default path for an alias. */\n defaultPath?: string;\n /** The default pattern for an alias. */\n defaultPattern?: AliasPattern;\n /** The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata */\n readonly defaultMetadata?: AliasPathMetadata;\n}\n\nexport function aliasDeserializer(item: any): Alias {\n return {\n name: item[\"name\"],\n paths: !item[\"paths\"] ? item[\"paths\"] : aliasPathArrayDeserializer(item[\"paths\"]),\n type: item[\"type\"],\n defaultPath: item[\"defaultPath\"],\n defaultPattern: !item[\"defaultPattern\"]\n ? item[\"defaultPattern\"]\n : aliasPatternDeserializer(item[\"defaultPattern\"]),\n defaultMetadata: !item[\"defaultMetadata\"]\n ? item[\"defaultMetadata\"]\n : aliasPathMetadataDeserializer(item[\"defaultMetadata\"]),\n };\n}\n\nexport function aliasPathArrayDeserializer(result: Array<AliasPath>): any[] {\n return result.map((item) => {\n return aliasPathDeserializer(item);\n });\n}\n\n/** The type of the paths for alias. */\nexport interface AliasPath {\n /** The path of an alias. */\n path?: string;\n /** The API versions. */\n apiVersions?: string[];\n /** The pattern for an alias path. */\n pattern?: AliasPattern;\n /** The metadata of the alias path. If missing, fall back to the default metadata of the alias. */\n readonly metadata?: AliasPathMetadata;\n}\n\nexport function aliasPathDeserializer(item: any): AliasPath {\n return {\n path: item[\"path\"],\n apiVersions: !item[\"apiVersions\"]\n ? item[\"apiVersions\"]\n : item[\"apiVersions\"].map((p: any) => {\n return p;\n }),\n pattern: !item[\"pattern\"] ? item[\"pattern\"] : aliasPatternDeserializer(item[\"pattern\"]),\n metadata: !item[\"metadata\"]\n ? item[\"metadata\"]\n : aliasPathMetadataDeserializer(item[\"metadata\"]),\n };\n}\n\n/** The type of the pattern for an alias path. */\nexport interface AliasPattern {\n /** The alias pattern phrase. */\n phrase?: string;\n /** The alias pattern variable. */\n variable?: string;\n /** The type of alias pattern */\n type?: AliasPatternType;\n}\n\nexport function aliasPatternDeserializer(item: any): AliasPattern {\n return {\n phrase: item[\"phrase\"],\n variable: item[\"variable\"],\n type: item[\"type\"],\n };\n}\n\n/** The type of alias pattern */\nexport type AliasPatternType = \"NotSpecified\" | \"Extract\";\n\n/** model interface AliasPathMetadata */\nexport interface AliasPathMetadata {\n /** The type of the token that the alias path is referring to. */\n readonly type?: AliasPathTokenType;\n /** The attributes of the token that the alias path is referring to. */\n readonly attributes?: AliasPathAttributes;\n}\n\nexport function aliasPathMetadataDeserializer(item: any): AliasPathMetadata {\n return {\n type: item[\"type\"],\n attributes: item[\"attributes\"],\n };\n}\n\n/** The type of the token that the alias path is referring to. */\nexport enum KnownAliasPathTokenType {\n /** The token type is not specified. */\n NotSpecified = \"NotSpecified\",\n /** The token type can be anything. */\n Any = \"Any\",\n /** The token type is string. */\n String = \"String\",\n /** The token type is object. */\n Object = \"Object\",\n /** The token type is array. */\n Array = \"Array\",\n /** The token type is integer. */\n Integer = \"Integer\",\n /** The token type is number. */\n Number = \"Number\",\n /** The token type is boolean. */\n Boolean = \"Boolean\",\n}\n\n/**\n * The type of the token that the alias path is referring to. \\\n * {@link KnownAliasPathTokenType} can be used interchangeably with AliasPathTokenType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: The token type is not specified. \\\n * **Any**: The token type can be anything. \\\n * **String**: The token type is string. \\\n * **Object**: The token type is object. \\\n * **Array**: The token type is array. \\\n * **Integer**: The token type is integer. \\\n * **Number**: The token type is number. \\\n * **Boolean**: The token type is boolean.\n */\nexport type AliasPathTokenType = string;\n\n/** The attributes of the token that the alias path is referring to. */\nexport enum KnownAliasPathAttributes {\n /** The token that the alias path is referring to has no attributes. */\n None = \"None\",\n /** The token that the alias path is referring to is modifiable by policies with 'modify' effect. */\n Modifiable = \"Modifiable\",\n}\n\n/**\n * The attributes of the token that the alias path is referring to. \\\n * {@link KnownAliasPathAttributes} can be used interchangeably with AliasPathAttributes,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: The token that the alias path is referring to has no attributes. \\\n * **Modifiable**: The token that the alias path is referring to is modifiable by policies with 'modify' effect.\n */\nexport type AliasPathAttributes = string;\n/** The type of the alias. */\nexport type AliasType = \"NotSpecified\" | \"PlainText\" | \"Mask\";\n\nexport function zoneMappingArrayDeserializer(result: Array<ZoneMapping>): any[] {\n return result.map((item) => {\n return zoneMappingDeserializer(item);\n });\n}\n\n/** model interface ZoneMapping */\nexport interface ZoneMapping {\n /** The location of the zone mapping. */\n location?: string;\n zones?: string[];\n}\n\nexport function zoneMappingDeserializer(item: any): ZoneMapping {\n return {\n location: item[\"location\"],\n zones: !item[\"zones\"]\n ? item[\"zones\"]\n : item[\"zones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function apiProfileArrayDeserializer(result: Array<ApiProfile>): any[] {\n return result.map((item) => {\n return apiProfileDeserializer(item);\n });\n}\n\n/** model interface ApiProfile */\nexport interface ApiProfile {\n /** The profile version. */\n readonly profileVersion?: string;\n /** The API version. */\n readonly apiVersion?: string;\n}\n\nexport function apiProfileDeserializer(item: any): ApiProfile {\n return {\n profileVersion: item[\"profileVersion\"],\n apiVersion: item[\"apiVersion\"],\n };\n}\n\n/** The provider authorization consent state. */\nexport enum KnownProviderAuthorizationConsentState {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** Required */\n Required = \"Required\",\n /** NotRequired */\n NotRequired = \"NotRequired\",\n /** Consented */\n Consented = \"Consented\",\n}\n\n/**\n * The provider authorization consent state. \\\n * {@link KnownProviderAuthorizationConsentState} can be used interchangeably with ProviderAuthorizationConsentState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified**: NotSpecified \\\n * **Required**: Required \\\n * **NotRequired**: NotRequired \\\n * **Consented**: Consented\n */\nexport type ProviderAuthorizationConsentState = string;\n\n/** List of provider permissions. */\nexport interface ProviderPermissionListResult {\n /** The ProviderPermission items on this page */\n value: ProviderPermission[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function providerPermissionListResultDeserializer(item: any): ProviderPermissionListResult {\n return {\n value: providerPermissionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function providerPermissionArrayDeserializer(result: Array<ProviderPermission>): any[] {\n return result.map((item) => {\n return providerPermissionDeserializer(item);\n });\n}\n\n/** The provider permission */\nexport interface ProviderPermission {\n /** The application id. */\n applicationId?: string;\n /** Role definition properties. */\n roleDefinition?: RoleDefinition;\n /** Role definition properties. */\n managedByRoleDefinition?: RoleDefinition;\n /** The provider authorization consent state. */\n providerAuthorizationConsentState?: ProviderAuthorizationConsentState;\n}\n\nexport function providerPermissionDeserializer(item: any): ProviderPermission {\n return {\n applicationId: item[\"applicationId\"],\n roleDefinition: !item[\"roleDefinition\"]\n ? item[\"roleDefinition\"]\n : roleDefinitionDeserializer(item[\"roleDefinition\"]),\n managedByRoleDefinition: !item[\"managedByRoleDefinition\"]\n ? item[\"managedByRoleDefinition\"]\n : roleDefinitionDeserializer(item[\"managedByRoleDefinition\"]),\n providerAuthorizationConsentState: item[\"providerAuthorizationConsentState\"],\n };\n}\n\n/** Role definition properties. */\nexport interface RoleDefinition {\n /** The role definition ID. */\n id?: string;\n /** The role definition name. */\n name?: string;\n /** If this is a service role. */\n isServiceRole?: boolean;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n scopes?: string[];\n}\n\nexport function roleDefinitionDeserializer(item: any): RoleDefinition {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n isServiceRole: item[\"isServiceRole\"],\n permissions: !item[\"permissions\"]\n ? item[\"permissions\"]\n : permissionArrayDeserializer(item[\"permissions\"]),\n scopes: !item[\"scopes\"]\n ? item[\"scopes\"]\n : item[\"scopes\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function permissionArrayDeserializer(result: Array<Permission>): any[] {\n return result.map((item) => {\n return permissionDeserializer(item);\n });\n}\n\n/** Role definition permissions. */\nexport interface Permission {\n /** Allowed actions. */\n actions?: string[];\n /** Denied actions. */\n notActions?: string[];\n /** Allowed Data actions. */\n dataActions?: string[];\n /** Denied Data actions. */\n notDataActions?: string[];\n}\n\nexport function permissionDeserializer(item: any): Permission {\n return {\n actions: !item[\"actions\"]\n ? item[\"actions\"]\n : item[\"actions\"].map((p: any) => {\n return p;\n }),\n notActions: !item[\"notActions\"]\n ? item[\"notActions\"]\n : item[\"notActions\"].map((p: any) => {\n return p;\n }),\n dataActions: !item[\"dataActions\"]\n ? item[\"dataActions\"]\n : item[\"dataActions\"].map((p: any) => {\n return p;\n }),\n notDataActions: !item[\"notDataActions\"]\n ? item[\"notDataActions\"]\n : item[\"notDataActions\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The provider registration definition. */\nexport interface ProviderRegistrationRequest {\n /** The provider consent. */\n thirdPartyProviderConsent?: ProviderConsentDefinition;\n}\n\nexport function providerRegistrationRequestSerializer(item: ProviderRegistrationRequest): any {\n return {\n thirdPartyProviderConsent: !item[\"thirdPartyProviderConsent\"]\n ? item[\"thirdPartyProviderConsent\"]\n : providerConsentDefinitionSerializer(item[\"thirdPartyProviderConsent\"]),\n };\n}\n\n/** The provider consent. */\nexport interface ProviderConsentDefinition {\n /** A value indicating whether authorization is consented or not. */\n consentToAuthorization?: boolean;\n}\n\nexport function providerConsentDefinitionSerializer(item: ProviderConsentDefinition): any {\n return { consentToAuthorization: item[\"consentToAuthorization\"] };\n}\n\n/** List of resource types of a resource provider. */\nexport interface ProviderResourceTypeListResult {\n /** The ProviderResourceType items on this page */\n value: ProviderResourceType[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function providerResourceTypeListResultDeserializer(\n item: any,\n): ProviderResourceTypeListResult {\n return {\n value: providerResourceTypeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-04-01 API version. */\n V20250401 = \"2025-04-01\",\n}\n\nexport type ResourcesCheckExistenceResponse = { body: boolean };\n\nexport type ResourcesCheckExistenceByIdResponse = { body: boolean };\n\nexport type ResourceGroupsCheckExistenceResponse = { body: boolean };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,8BAA8B,EAC9B,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,IAAI,iCAAiC,GACzD,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,OAAO,EAGL,gBAAgB,GAEjB,MAAM,iBAAiB,CAAC;AAgBzB;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAgC,EAChC,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAEvC,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC;IACpE,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,6BAA6B,eAAe,wBAAwB,eAAe,EAAE,IAAI,EAAE,CAC5F,CAAC;IACJ,CAAC;IACD,MAAM,sBAAsB,GAAG,QAAQ,EAAE,CAAC,wBAAwB,CAErD,CAAC;IACd,MAAM,EAAE,YAAY,EAAE,gBAAgB,GAAG,EAAE,EAAE,GAC3C,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC;IACnE,MAAM,iBAAiB,GAAG,OAAO,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CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAc;IAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;AAC1D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ResourceManagementClient } from \"./resourceManagementClient.js\";\nimport {\n _deleteAtScopeDeserialize,\n _updateAtScopeDeserialize,\n _createOrUpdateAtScopeDeserialize,\n} from \"./api/tagsOperations/operations.js\";\nimport {\n _$deleteDeserialize,\n _updateDeserialize,\n _createOrUpdateDeserialize,\n _deleteByIdDeserialize,\n _updateByIdDeserialize,\n _createOrUpdateByIdDeserialize,\n _validateMoveResourcesDeserialize,\n _moveResourcesDeserialize,\n} from \"./api/resources/operations.js\";\nimport {\n _exportTemplateDeserialize,\n _$deleteDeserialize as _$deleteDeserializeResourceGroups,\n} from \"./api/resourceGroups/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: ResourceManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"DELETE /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _deleteAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PATCH /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _updateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _createOrUpdateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"200\", \"202\", \"204\"] },\n \"PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\", \"201\"] },\n \"PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _createOrUpdateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"DELETE /{resourceId}\": {\n deserializer: _deleteByIdDeserialize,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /{resourceId}\": {\n deserializer: _updateByIdDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /{resourceId}\": {\n deserializer: _createOrUpdateByIdDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{sourceResourceGroupName}/validateMoveResources\":\n {\n deserializer: _validateMoveResourcesDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{sourceResourceGroupName}/moveResources\": {\n deserializer: _moveResourcesDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate\": {\n deserializer: _exportTemplateDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}\": {\n deserializer: _$deleteDeserializeResourceGroups,\n expectedStatuses: [\"200\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"]}
1
+ {"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,8BAA8B,EAC9B,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,IAAI,iCAAiC,GACzD,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,OAAO,EAGL,gBAAgB,GAEjB,MAAM,iBAAiB,CAAC;AAgBzB;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,MAAgC,EAChC,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAEvC,MAAM,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC;IACpE,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,6BAA6B,eAAe,wBAAwB,eAAe,EAAE,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E,CAAC,CAAC,IAAI,CAC1E,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CACnB,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,KAAK,GAAG,KAAK,CAAC;oBACd,MAAM;gBACR,CAAC;gBACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAc;IAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;AAC1D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ResourceManagementClient } from \"./resourceManagementClient.js\";\nimport {\n _deleteAtScopeDeserialize,\n _updateAtScopeDeserialize,\n _createOrUpdateAtScopeDeserialize,\n} from \"./api/tagsOperations/operations.js\";\nimport {\n _$deleteDeserialize,\n _updateDeserialize,\n _createOrUpdateDeserialize,\n _deleteByIdDeserialize,\n _updateByIdDeserialize,\n _createOrUpdateByIdDeserialize,\n _validateMoveResourcesDeserialize,\n _moveResourcesDeserialize,\n} from \"./api/resources/operations.js\";\nimport {\n _exportTemplateDeserialize,\n _$deleteDeserialize as _$deleteDeserializeResourceGroups,\n} from \"./api/resourceGroups/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: ResourceManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n ResourceLocationConfig | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"DELETE /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _deleteAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PATCH /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _updateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /{scope}/providers/Microsoft.Resources/tags/default\": {\n deserializer: _createOrUpdateAtScopeDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"200\", \"202\", \"204\"] },\n \"PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\", \"201\"] },\n \"PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\":\n { deserializer: _createOrUpdateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"DELETE /{resourceId}\": {\n deserializer: _deleteByIdDeserialize,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /{resourceId}\": {\n deserializer: _updateByIdDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"PUT /{resourceId}\": {\n deserializer: _createOrUpdateByIdDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{sourceResourceGroupName}/validateMoveResources\":\n {\n deserializer: _validateMoveResourcesDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{sourceResourceGroupName}/moveResources\": {\n deserializer: _moveResourcesDeserialize,\n expectedStatuses: [\"202\", \"204\", \"200\", \"201\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate\": {\n deserializer: _exportTemplateDeserialize,\n expectedStatuses: [\"200\", \"202\", \"201\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}\": {\n deserializer: _$deleteDeserializeResourceGroups,\n expectedStatuses: [\"200\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"]}
@@ -26,7 +26,7 @@ var import_core_client = require("@azure-rest/core-client");
26
26
  function createResourceManagement(credential, subscriptionId, options = {}) {
27
27
  const endpointUrl = options.endpoint ?? (0, import_cloudSettingHelpers.getArmEndpoint)(options.cloudSetting) ?? "https://management.azure.com";
28
28
  const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
29
- const userAgentInfo = `azsdk-js-arm-resources/8.0.0-beta.1`;
29
+ const userAgentInfo = `azsdk-js-arm-resources/8.0.0`;
30
30
  const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`;
31
31
  const { apiVersion: _, ...updatedOptions } = {
32
32
  ...options,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/api/resourceManagementContext.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 { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides operations for working with resources and resource groups. */\nexport interface ResourceManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\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 ResourceManagementClientOptionalParams 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 /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides operations for working with resources and resource groups. */\nexport function createResourceManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: ResourceManagementClientOptionalParams = {},\n): ResourceManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-resources/8.0.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as ResourceManagementContext;\n}\n"],
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 { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides operations for working with resources and resource groups. */\nexport interface ResourceManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\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 ResourceManagementClientOptionalParams 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 /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides operations for working with resources and resource groups. */\nexport function createResourceManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: ResourceManagementClientOptionalParams = {},\n): ResourceManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-resources/8.0.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as ResourceManagementContext;\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AAEvB,iCAAqD;AACrD,yBAAiD;AAsB1C,SAAS,yBACd,YACA,gBACA,UAAkD,CAAC,GACxB;AAC3B,QAAM,cACJ,QAAQ,gBAAY,2CAAe,QAAQ,YAAY,KAAK;AAC9D,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,uCAAuC;AAAA,IACjF;AAAA,EACF;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,aAAa,QAAQ;AAC3B,SAAO,EAAE,GAAG,eAAe,YAAY,eAAe;AACxD;",
6
6
  "names": []
7
7
  }