@azure/arm-digitaltwins 3.3.1-alpha.20250718.1 → 3.3.1-alpha.20250730.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/browser/azureDigitalTwinsManagementClient.js +19 -5
  2. package/dist/browser/azureDigitalTwinsManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +84 -38
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/digitalTwins.js +78 -97
  8. package/dist/browser/operations/digitalTwins.js.map +1 -1
  9. package/dist/browser/operations/digitalTwinsEndpoint.js +45 -52
  10. package/dist/browser/operations/digitalTwinsEndpoint.js.map +1 -1
  11. package/dist/browser/operations/operations.js +23 -40
  12. package/dist/browser/operations/operations.js.map +1 -1
  13. package/dist/browser/operations/privateEndpointConnections.js +23 -12
  14. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  15. package/dist/browser/operations/privateLinkResources.js +1 -0
  16. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  17. package/dist/browser/operations/timeSeriesDatabaseConnections.js +45 -52
  18. package/dist/browser/operations/timeSeriesDatabaseConnections.js.map +1 -1
  19. package/dist/browser/pagingHelper.js +2 -4
  20. package/dist/browser/pagingHelper.js.map +1 -1
  21. package/dist/commonjs/azureDigitalTwinsManagementClient.js +19 -5
  22. package/dist/commonjs/azureDigitalTwinsManagementClient.js.map +1 -1
  23. package/dist/commonjs/lroImpl.js +7 -3
  24. package/dist/commonjs/lroImpl.js.map +1 -1
  25. package/dist/commonjs/models/mappers.js +84 -38
  26. package/dist/commonjs/models/mappers.js.map +1 -1
  27. package/dist/commonjs/operations/digitalTwins.js +78 -96
  28. package/dist/commonjs/operations/digitalTwins.js.map +1 -1
  29. package/dist/commonjs/operations/digitalTwinsEndpoint.js +45 -51
  30. package/dist/commonjs/operations/digitalTwinsEndpoint.js.map +1 -1
  31. package/dist/commonjs/operations/operations.js +23 -39
  32. package/dist/commonjs/operations/operations.js.map +1 -1
  33. package/dist/commonjs/operations/privateEndpointConnections.js +23 -12
  34. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  35. package/dist/commonjs/operations/privateLinkResources.js +1 -0
  36. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  37. package/dist/commonjs/operations/timeSeriesDatabaseConnections.js +45 -51
  38. package/dist/commonjs/operations/timeSeriesDatabaseConnections.js.map +1 -1
  39. package/dist/commonjs/pagingHelper.js +2 -4
  40. package/dist/commonjs/pagingHelper.js.map +1 -1
  41. package/dist/commonjs/tsdoc-metadata.json +11 -11
  42. package/dist/esm/azureDigitalTwinsManagementClient.js +19 -5
  43. package/dist/esm/azureDigitalTwinsManagementClient.js.map +1 -1
  44. package/dist/esm/lroImpl.js +7 -3
  45. package/dist/esm/lroImpl.js.map +1 -1
  46. package/dist/esm/models/mappers.js +84 -38
  47. package/dist/esm/models/mappers.js.map +1 -1
  48. package/dist/esm/operations/digitalTwins.js +78 -97
  49. package/dist/esm/operations/digitalTwins.js.map +1 -1
  50. package/dist/esm/operations/digitalTwinsEndpoint.js +45 -52
  51. package/dist/esm/operations/digitalTwinsEndpoint.js.map +1 -1
  52. package/dist/esm/operations/operations.js +23 -40
  53. package/dist/esm/operations/operations.js.map +1 -1
  54. package/dist/esm/operations/privateEndpointConnections.js +23 -12
  55. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  56. package/dist/esm/operations/privateLinkResources.js +1 -0
  57. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  58. package/dist/esm/operations/timeSeriesDatabaseConnections.js +45 -52
  59. package/dist/esm/operations/timeSeriesDatabaseConnections.js.map +1 -1
  60. package/dist/esm/pagingHelper.js +2 -4
  61. package/dist/esm/pagingHelper.js.map +1 -1
  62. package/dist/react-native/azureDigitalTwinsManagementClient.js +19 -5
  63. package/dist/react-native/azureDigitalTwinsManagementClient.js.map +1 -1
  64. package/dist/react-native/lroImpl.js +7 -3
  65. package/dist/react-native/lroImpl.js.map +1 -1
  66. package/dist/react-native/models/mappers.js +84 -38
  67. package/dist/react-native/models/mappers.js.map +1 -1
  68. package/dist/react-native/operations/digitalTwins.js +78 -97
  69. package/dist/react-native/operations/digitalTwins.js.map +1 -1
  70. package/dist/react-native/operations/digitalTwinsEndpoint.js +45 -52
  71. package/dist/react-native/operations/digitalTwinsEndpoint.js.map +1 -1
  72. package/dist/react-native/operations/operations.js +23 -40
  73. package/dist/react-native/operations/operations.js.map +1 -1
  74. package/dist/react-native/operations/privateEndpointConnections.js +23 -12
  75. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  76. package/dist/react-native/operations/privateLinkResources.js +1 -0
  77. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  78. package/dist/react-native/operations/timeSeriesDatabaseConnections.js +45 -52
  79. package/dist/react-native/operations/timeSeriesDatabaseConnections.js.map +1 -1
  80. package/dist/react-native/pagingHelper.js +2 -4
  81. package/dist/react-native/pagingHelper.js.map +1 -1
  82. package/package.json +2 -2
  83. package/review/arm-digitaltwins-node.api.md +759 -759
@@ -1 +1 @@
1
- {"version":3,"file":"azureDigitalTwinsManagementClient.js","sourceRoot":"","sources":["../../src/azureDigitalTwinsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAO+B;AAW/B,MAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA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CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAQF;AAnID,8EAmIC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DigitalTwinsImpl,\n DigitalTwinsEndpointImpl,\n OperationsImpl,\n PrivateLinkResourcesImpl,\n PrivateEndpointConnectionsImpl,\n TimeSeriesDatabaseConnectionsImpl\n} from \"./operations/index.js\";\nimport {\n DigitalTwins,\n DigitalTwinsEndpoint,\n Operations,\n PrivateLinkResources,\n PrivateEndpointConnections,\n TimeSeriesDatabaseConnections\n} from \"./operationsInterfaces/index.js\";\nimport { AzureDigitalTwinsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureDigitalTwinsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureDigitalTwinsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription identifier.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureDigitalTwinsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureDigitalTwinsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-digitaltwins/3.3.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-31\";\n this.digitalTwins = new DigitalTwinsImpl(this);\n this.digitalTwinsEndpoint = new DigitalTwinsEndpointImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.timeSeriesDatabaseConnections = new TimeSeriesDatabaseConnectionsImpl(\n this\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n digitalTwins: DigitalTwins;\n digitalTwinsEndpoint: DigitalTwinsEndpoint;\n operations: Operations;\n privateLinkResources: PrivateLinkResources;\n privateEndpointConnections: PrivateEndpointConnections;\n timeSeriesDatabaseConnections: TimeSeriesDatabaseConnections;\n}\n"]}
1
+ {"version":3,"file":"azureDigitalTwinsManagementClient.js","sourceRoot":"","sources":["../../src/azureDigitalTwinsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAO+B;AAW/B,MAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAoD;YAChE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,iCAAiC,CAAC;QACzD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,G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F,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,YAAY,CAAe;IAC3B,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;IACvB,oBAAoB,CAAuB;IAC3C,0BAA0B,CAA6B;IACvD,6BAA6B,CAAgC;CAC9D;AAnID,8EAmIC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DigitalTwinsImpl,\n DigitalTwinsEndpointImpl,\n OperationsImpl,\n PrivateLinkResourcesImpl,\n PrivateEndpointConnectionsImpl,\n TimeSeriesDatabaseConnectionsImpl\n} from \"./operations/index.js\";\nimport {\n DigitalTwins,\n DigitalTwinsEndpoint,\n Operations,\n PrivateLinkResources,\n PrivateEndpointConnections,\n TimeSeriesDatabaseConnections\n} from \"./operationsInterfaces/index.js\";\nimport { AzureDigitalTwinsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureDigitalTwinsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureDigitalTwinsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription identifier.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureDigitalTwinsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureDigitalTwinsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-digitaltwins/3.3.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-31\";\n this.digitalTwins = new DigitalTwinsImpl(this);\n this.digitalTwinsEndpoint = new DigitalTwinsEndpointImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.timeSeriesDatabaseConnections = new TimeSeriesDatabaseConnectionsImpl(\n this\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n digitalTwins: DigitalTwins;\n digitalTwinsEndpoint: DigitalTwinsEndpoint;\n operations: Operations;\n privateLinkResources: PrivateLinkResources;\n privateEndpointConnections: PrivateEndpointConnections;\n timeSeriesDatabaseConnections: TimeSeriesDatabaseConnections;\n}\n"]}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createLroSpec = createLroSpec;
4
- const tslib_1 = require("tslib");
5
4
  function createLroSpec(inputs) {
6
5
  const { args, spec, sendOperationFn } = inputs;
7
6
  return {
@@ -9,8 +8,13 @@ function createLroSpec(inputs) {
9
8
  requestPath: spec.path,
10
9
  sendInitialRequest: () => sendOperationFn(args, spec),
11
10
  sendPollRequest: (path, options) => {
12
- const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
13
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
11
+ const { requestBody, ...restSpec } = spec;
12
+ return sendOperationFn(args, {
13
+ ...restSpec,
14
+ httpMethod: "GET",
15
+ path,
16
+ abortSignal: options?.abortSignal
17
+ });
14
18
  }
15
19
  };
16
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
@@ -926,39 +926,47 @@ exports.ConnectionPropertiesPrivateLinkServiceConnectionState = {
926
926
  type: {
927
927
  name: "Composite",
928
928
  className: "ConnectionPropertiesPrivateLinkServiceConnectionState",
929
- modelProperties: Object.assign({}, exports.ConnectionState.type.modelProperties)
929
+ modelProperties: {
930
+ ...exports.ConnectionState.type.modelProperties
931
+ }
930
932
  }
931
933
  };
932
934
  exports.DigitalTwinsDescription = {
933
935
  type: {
934
936
  name: "Composite",
935
937
  className: "DigitalTwinsDescription",
936
- modelProperties: Object.assign(Object.assign({}, exports.DigitalTwinsResource.type.modelProperties), { createdTime: {
938
+ modelProperties: {
939
+ ...exports.DigitalTwinsResource.type.modelProperties,
940
+ createdTime: {
937
941
  serializedName: "properties.createdTime",
938
942
  readOnly: true,
939
943
  type: {
940
944
  name: "DateTime"
941
945
  }
942
- }, lastUpdatedTime: {
946
+ },
947
+ lastUpdatedTime: {
943
948
  serializedName: "properties.lastUpdatedTime",
944
949
  readOnly: true,
945
950
  type: {
946
951
  name: "DateTime"
947
952
  }
948
- }, provisioningState: {
953
+ },
954
+ provisioningState: {
949
955
  serializedName: "properties.provisioningState",
950
956
  readOnly: true,
951
957
  type: {
952
958
  name: "String"
953
959
  }
954
- }, hostName: {
960
+ },
961
+ hostName: {
955
962
  serializedName: "properties.hostName",
956
963
  readOnly: true,
957
964
  nullable: true,
958
965
  type: {
959
966
  name: "String"
960
967
  }
961
- }, privateEndpointConnections: {
968
+ },
969
+ privateEndpointConnections: {
962
970
  serializedName: "properties.privateEndpointConnections",
963
971
  nullable: true,
964
972
  type: {
@@ -970,13 +978,15 @@ exports.DigitalTwinsDescription = {
970
978
  }
971
979
  }
972
980
  }
973
- }, publicNetworkAccess: {
981
+ },
982
+ publicNetworkAccess: {
974
983
  serializedName: "properties.publicNetworkAccess",
975
984
  nullable: true,
976
985
  type: {
977
986
  name: "String"
978
987
  }
979
- } })
988
+ }
989
+ }
980
990
  }
981
991
  };
982
992
  exports.ServiceBus = {
@@ -986,31 +996,37 @@ exports.ServiceBus = {
986
996
  className: "ServiceBus",
987
997
  uberParent: "DigitalTwinsEndpointResourceProperties",
988
998
  polymorphicDiscriminator: exports.DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
989
- modelProperties: Object.assign(Object.assign({}, exports.DigitalTwinsEndpointResourceProperties.type.modelProperties), { primaryConnectionString: {
999
+ modelProperties: {
1000
+ ...exports.DigitalTwinsEndpointResourceProperties.type.modelProperties,
1001
+ primaryConnectionString: {
990
1002
  serializedName: "primaryConnectionString",
991
1003
  nullable: true,
992
1004
  type: {
993
1005
  name: "String"
994
1006
  }
995
- }, secondaryConnectionString: {
1007
+ },
1008
+ secondaryConnectionString: {
996
1009
  serializedName: "secondaryConnectionString",
997
1010
  nullable: true,
998
1011
  type: {
999
1012
  name: "String"
1000
1013
  }
1001
- }, endpointUri: {
1014
+ },
1015
+ endpointUri: {
1002
1016
  serializedName: "endpointUri",
1003
1017
  nullable: true,
1004
1018
  type: {
1005
1019
  name: "String"
1006
1020
  }
1007
- }, entityPath: {
1021
+ },
1022
+ entityPath: {
1008
1023
  serializedName: "entityPath",
1009
1024
  nullable: true,
1010
1025
  type: {
1011
1026
  name: "String"
1012
1027
  }
1013
- } })
1028
+ }
1029
+ }
1014
1030
  }
1015
1031
  };
1016
1032
  exports.EventHub = {
@@ -1020,31 +1036,37 @@ exports.EventHub = {
1020
1036
  className: "EventHub",
1021
1037
  uberParent: "DigitalTwinsEndpointResourceProperties",
1022
1038
  polymorphicDiscriminator: exports.DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
1023
- modelProperties: Object.assign(Object.assign({}, exports.DigitalTwinsEndpointResourceProperties.type.modelProperties), { connectionStringPrimaryKey: {
1039
+ modelProperties: {
1040
+ ...exports.DigitalTwinsEndpointResourceProperties.type.modelProperties,
1041
+ connectionStringPrimaryKey: {
1024
1042
  serializedName: "connectionStringPrimaryKey",
1025
1043
  nullable: true,
1026
1044
  type: {
1027
1045
  name: "String"
1028
1046
  }
1029
- }, connectionStringSecondaryKey: {
1047
+ },
1048
+ connectionStringSecondaryKey: {
1030
1049
  serializedName: "connectionStringSecondaryKey",
1031
1050
  nullable: true,
1032
1051
  type: {
1033
1052
  name: "String"
1034
1053
  }
1035
- }, endpointUri: {
1054
+ },
1055
+ endpointUri: {
1036
1056
  serializedName: "endpointUri",
1037
1057
  nullable: true,
1038
1058
  type: {
1039
1059
  name: "String"
1040
1060
  }
1041
- }, entityPath: {
1061
+ },
1062
+ entityPath: {
1042
1063
  serializedName: "entityPath",
1043
1064
  nullable: true,
1044
1065
  type: {
1045
1066
  name: "String"
1046
1067
  }
1047
- } })
1068
+ }
1069
+ }
1048
1070
  }
1049
1071
  };
1050
1072
  exports.EventGrid = {
@@ -1054,52 +1076,63 @@ exports.EventGrid = {
1054
1076
  className: "EventGrid",
1055
1077
  uberParent: "DigitalTwinsEndpointResourceProperties",
1056
1078
  polymorphicDiscriminator: exports.DigitalTwinsEndpointResourceProperties.type.polymorphicDiscriminator,
1057
- modelProperties: Object.assign(Object.assign({}, exports.DigitalTwinsEndpointResourceProperties.type.modelProperties), { topicEndpoint: {
1079
+ modelProperties: {
1080
+ ...exports.DigitalTwinsEndpointResourceProperties.type.modelProperties,
1081
+ topicEndpoint: {
1058
1082
  serializedName: "TopicEndpoint",
1059
1083
  required: true,
1060
1084
  type: {
1061
1085
  name: "String"
1062
1086
  }
1063
- }, accessKey1: {
1087
+ },
1088
+ accessKey1: {
1064
1089
  serializedName: "accessKey1",
1065
1090
  required: true,
1066
1091
  nullable: true,
1067
1092
  type: {
1068
1093
  name: "String"
1069
1094
  }
1070
- }, accessKey2: {
1095
+ },
1096
+ accessKey2: {
1071
1097
  serializedName: "accessKey2",
1072
1098
  nullable: true,
1073
1099
  type: {
1074
1100
  name: "String"
1075
1101
  }
1076
- } })
1102
+ }
1103
+ }
1077
1104
  }
1078
1105
  };
1079
1106
  exports.DigitalTwinsEndpointResource = {
1080
1107
  type: {
1081
1108
  name: "Composite",
1082
1109
  className: "DigitalTwinsEndpointResource",
1083
- modelProperties: Object.assign(Object.assign({}, exports.ExternalResource.type.modelProperties), { properties: {
1110
+ modelProperties: {
1111
+ ...exports.ExternalResource.type.modelProperties,
1112
+ properties: {
1084
1113
  serializedName: "properties",
1085
1114
  type: {
1086
1115
  name: "Composite",
1087
1116
  className: "DigitalTwinsEndpointResourceProperties"
1088
1117
  }
1089
- } })
1118
+ }
1119
+ }
1090
1120
  }
1091
1121
  };
1092
1122
  exports.TimeSeriesDatabaseConnection = {
1093
1123
  type: {
1094
1124
  name: "Composite",
1095
1125
  className: "TimeSeriesDatabaseConnection",
1096
- modelProperties: Object.assign(Object.assign({}, exports.ExternalResource.type.modelProperties), { properties: {
1126
+ modelProperties: {
1127
+ ...exports.ExternalResource.type.modelProperties,
1128
+ properties: {
1097
1129
  serializedName: "properties",
1098
1130
  type: {
1099
1131
  name: "Composite",
1100
1132
  className: "TimeSeriesDatabaseConnectionProperties"
1101
1133
  }
1102
- } })
1134
+ }
1135
+ }
1103
1136
  }
1104
1137
  };
1105
1138
  exports.AzureDataExplorerConnectionProperties = {
@@ -1109,76 +1142,89 @@ exports.AzureDataExplorerConnectionProperties = {
1109
1142
  className: "AzureDataExplorerConnectionProperties",
1110
1143
  uberParent: "TimeSeriesDatabaseConnectionProperties",
1111
1144
  polymorphicDiscriminator: exports.TimeSeriesDatabaseConnectionProperties.type.polymorphicDiscriminator,
1112
- modelProperties: Object.assign(Object.assign({}, exports.TimeSeriesDatabaseConnectionProperties.type.modelProperties), { adxResourceId: {
1145
+ modelProperties: {
1146
+ ...exports.TimeSeriesDatabaseConnectionProperties.type.modelProperties,
1147
+ adxResourceId: {
1113
1148
  serializedName: "adxResourceId",
1114
1149
  required: true,
1115
1150
  type: {
1116
1151
  name: "String"
1117
1152
  }
1118
- }, adxEndpointUri: {
1153
+ },
1154
+ adxEndpointUri: {
1119
1155
  serializedName: "adxEndpointUri",
1120
1156
  required: true,
1121
1157
  type: {
1122
1158
  name: "String"
1123
1159
  }
1124
- }, adxDatabaseName: {
1160
+ },
1161
+ adxDatabaseName: {
1125
1162
  serializedName: "adxDatabaseName",
1126
1163
  required: true,
1127
1164
  type: {
1128
1165
  name: "String"
1129
1166
  }
1130
- }, adxTableName: {
1167
+ },
1168
+ adxTableName: {
1131
1169
  defaultValue: "AdtPropertyEvents",
1132
1170
  serializedName: "adxTableName",
1133
1171
  nullable: true,
1134
1172
  type: {
1135
1173
  name: "String"
1136
1174
  }
1137
- }, adxTwinLifecycleEventsTableName: {
1175
+ },
1176
+ adxTwinLifecycleEventsTableName: {
1138
1177
  serializedName: "adxTwinLifecycleEventsTableName",
1139
1178
  nullable: true,
1140
1179
  type: {
1141
1180
  name: "String"
1142
1181
  }
1143
- }, adxRelationshipLifecycleEventsTableName: {
1182
+ },
1183
+ adxRelationshipLifecycleEventsTableName: {
1144
1184
  serializedName: "adxRelationshipLifecycleEventsTableName",
1145
1185
  nullable: true,
1146
1186
  type: {
1147
1187
  name: "String"
1148
1188
  }
1149
- }, eventHubEndpointUri: {
1189
+ },
1190
+ eventHubEndpointUri: {
1150
1191
  serializedName: "eventHubEndpointUri",
1151
1192
  required: true,
1152
1193
  type: {
1153
1194
  name: "String"
1154
1195
  }
1155
- }, eventHubEntityPath: {
1196
+ },
1197
+ eventHubEntityPath: {
1156
1198
  serializedName: "eventHubEntityPath",
1157
1199
  required: true,
1158
1200
  type: {
1159
1201
  name: "String"
1160
1202
  }
1161
- }, eventHubNamespaceResourceId: {
1203
+ },
1204
+ eventHubNamespaceResourceId: {
1162
1205
  serializedName: "eventHubNamespaceResourceId",
1163
1206
  required: true,
1164
1207
  type: {
1165
1208
  name: "String"
1166
1209
  }
1167
- }, eventHubConsumerGroup: {
1210
+ },
1211
+ eventHubConsumerGroup: {
1168
1212
  defaultValue: "$Default",
1169
1213
  serializedName: "eventHubConsumerGroup",
1170
1214
  nullable: true,
1171
1215
  type: {
1172
1216
  name: "String"
1173
1217
  }
1174
- }, recordPropertyAndItemRemovals: {
1218
+ },
1219
+ recordPropertyAndItemRemovals: {
1175
1220
  defaultValue: "false",
1176
1221
  serializedName: "recordPropertyAndItemRemovals",
1177
1222
  nullable: true,
1178
1223
  type: {
1179
1224
  name: "String"
1180
1225
  }
1181
- } })
1226
+ }
1227
+ }
1182
1228
  }
1183
1229
  };
1184
1230
  exports.discriminators = {