@azure/data-tables 13.1.2-alpha.20220426.1 → 13.1.2-alpha.20220517.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +61 -32
- package/dist/index.js.map +1 -1
- package/dist-esm/src/TableClient.js +10 -5
- package/dist-esm/src/TableClient.js.map +1 -1
- package/dist-esm/src/TableServiceClient.js +10 -2
- package/dist-esm/src/TableServiceClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +25 -3
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/index.js +0 -1
- package/dist-esm/src/generated/index.js.map +1 -1
- package/dist-esm/src/generated/operations/service.js +1 -1
- package/dist-esm/src/generated/operations/service.js.map +1 -1
- package/dist-esm/src/generated/operations/table.js +1 -1
- package/dist-esm/src/generated/operations/table.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/utils/apiVersionPolicy.js +21 -0
- package/dist-esm/src/utils/apiVersionPolicy.js.map +1 -0
- package/dist-esm/src/utils/challengeAuthenticationUtils.js +20 -0
- package/dist-esm/src/utils/challengeAuthenticationUtils.js.map +1 -0
- package/package.json +4 -1
- package/types/3.1/data-tables.d.ts +1 -0
- package/types/latest/data-tables.d.ts +2 -0
- package/CHANGELOG.md +0 -175
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../src/generated/operations/table.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA4BnD,kCAAkC;AAClC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAA8B;QAC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,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;KACnB;IACD,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,gCAAgC;IAC7C,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,aAAa;CAC1B,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 */\n\nimport { Table } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { GeneratedClientContext } from \"../generatedClientContext\";\nimport {\n TableQueryOptionalParams,\n TableQueryOperationResponse,\n TableProperties,\n TableCreateOptionalParams,\n TableCreateResponse,\n TableDeleteOptionalParams,\n TableDeleteResponse,\n TableQueryEntitiesOptionalParams,\n TableQueryEntitiesResponse,\n TableQueryEntitiesWithPartitionAndRowKeyOptionalParams,\n TableQueryEntitiesWithPartitionAndRowKeyResponse,\n TableUpdateEntityOptionalParams,\n TableUpdateEntityResponse,\n TableMergeEntityOptionalParams,\n TableMergeEntityResponse,\n TableDeleteEntityOptionalParams,\n TableDeleteEntityResponse,\n TableInsertEntityOptionalParams,\n TableInsertEntityResponse,\n TableGetAccessPolicyOptionalParams,\n TableGetAccessPolicyResponse,\n TableSetAccessPolicyOptionalParams,\n TableSetAccessPolicyResponse\n} from \"../models\";\n\n/** Class representing a Table. */\nexport class TableImpl implements Table {\n private readonly client: GeneratedClientContext;\n\n /**\n * Initialize a new instance of the class Table class.\n * @param client Reference to the service client\n */\n constructor(client: GeneratedClientContext) {\n this.client = client;\n }\n\n /**\n * Queries tables under the given account.\n * @param options The options parameters.\n */\n query(\n options?: TableQueryOptionalParams\n ): Promise<TableQueryOperationResponse> {\n return this.client.sendOperationRequest({ options }, queryOperationSpec);\n }\n\n /**\n * Creates a new table under the given account.\n * @param tableProperties The Table properties.\n * @param options The options parameters.\n */\n create(\n tableProperties: TableProperties,\n options?: TableCreateOptionalParams\n ): Promise<TableCreateResponse> {\n return this.client.sendOperationRequest(\n { tableProperties, options },\n createOperationSpec\n );\n }\n\n /**\n * Operation permanently deletes the specified table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n delete(\n table: string,\n options?: TableDeleteOptionalParams\n ): Promise<TableDeleteResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Queries entities in a table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n queryEntities(\n table: string,\n options?: TableQueryEntitiesOptionalParams\n ): Promise<TableQueryEntitiesResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n queryEntitiesOperationSpec\n );\n }\n\n /**\n * Queries entities in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n queryEntitiesWithPartitionAndRowKey(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableQueryEntitiesWithPartitionAndRowKeyOptionalParams\n ): Promise<TableQueryEntitiesWithPartitionAndRowKeyResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n queryEntitiesWithPartitionAndRowKeyOperationSpec\n );\n }\n\n /**\n * Update entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n updateEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableUpdateEntityOptionalParams\n ): Promise<TableUpdateEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n updateEntityOperationSpec\n );\n }\n\n /**\n * Merge entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n mergeEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableMergeEntityOptionalParams\n ): Promise<TableMergeEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n mergeEntityOperationSpec\n );\n }\n\n /**\n * Deletes the specified entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param ifMatch Match condition for an entity to be deleted. If specified and a matching entity is\n * not found, an error will be raised. To force an unconditional delete, set to the wildcard character\n * (*).\n * @param options The options parameters.\n */\n deleteEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n ifMatch: string,\n options?: TableDeleteEntityOptionalParams\n ): Promise<TableDeleteEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, ifMatch, options },\n deleteEntityOperationSpec\n );\n }\n\n /**\n * Insert entity in a table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n insertEntity(\n table: string,\n options?: TableInsertEntityOptionalParams\n ): Promise<TableInsertEntityResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n insertEntityOperationSpec\n );\n }\n\n /**\n * Retrieves details about any stored access policies specified on the table that may be used with\n * Shared Access Signatures.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n getAccessPolicy(\n table: string,\n options?: TableGetAccessPolicyOptionalParams\n ): Promise<TableGetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n getAccessPolicyOperationSpec\n );\n }\n\n /**\n * Sets stored access policies for the table that may be used with Shared Access Signatures.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n setAccessPolicy(\n table: string,\n options?: TableSetAccessPolicyOptionalParams\n ): Promise<TableSetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n setAccessPolicyOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst queryOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableQueryResponse,\n headersMapper: Mappers.TableQueryHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableQueryExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.nextTableName\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.TableResponse,\n headersMapper: Mappers.TableCreateHeaders\n },\n 204: {\n headersMapper: Mappers.TableCreateHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableCreateExceptionHeaders\n }\n },\n requestBody: Parameters.tableProperties,\n queryParameters: [Parameters.format],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.contentType,\n Parameters.responsePreference\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables('{table}')\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {\n headersMapper: Mappers.TableDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableDeleteExceptionHeaders\n }\n },\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n serializer\n};\nconst queryEntitiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}()\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableEntityQueryResponse,\n headersMapper: Mappers.TableQueryEntitiesHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableQueryEntitiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.timeout,\n Parameters.nextPartitionKey,\n Parameters.nextRowKey\n ],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst queryEntitiesWithPartitionAndRowKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.TableQueryEntitiesWithPartitionAndRowKeyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper:\n Mappers.TableQueryEntitiesWithPartitionAndRowKeyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.select,\n Parameters.filter,\n Parameters.timeout\n ],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst updateEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.TableUpdateEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableUpdateEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.accept1,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst mergeEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.TableMergeEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableMergeEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.accept1,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {\n headersMapper: Mappers.TableDeleteEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableDeleteEntityExceptionHeaders\n }\n },\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.ifMatch1\n ],\n serializer\n};\nconst insertEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.TableInsertEntityHeaders\n },\n 204: {\n headersMapper: Mappers.TableInsertEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableInsertEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.contentType,\n Parameters.responsePreference\n ],\n mediaType: \"json\",\n serializer\n};\nconst getAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: { name: \"Composite\", className: \"SignedIdentifier\" }\n }\n },\n serializedName: \"SignedIdentifiers\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\"\n },\n headersMapper: Mappers.TableGetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableGetAccessPolicyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.comp],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.TableSetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableSetAccessPolicyExceptionHeaders\n }\n },\n requestBody: Parameters.tableAcl,\n queryParameters: [Parameters.timeout, Parameters.comp],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentType2,\n Parameters.accept3\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../src/generated/operations/table.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAA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AAI,CAAC;IACtD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC;IACjD,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;KACnB;IACD,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,gCAAgC;IAC7C,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,aAAa;CAC1B,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 */\n\nimport { Table } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { GeneratedClient } from \"../generatedClient\";\nimport {\n TableQueryOptionalParams,\n TableQueryOperationResponse,\n TableProperties,\n TableCreateOptionalParams,\n TableCreateResponse,\n TableDeleteOptionalParams,\n TableDeleteResponse,\n TableQueryEntitiesOptionalParams,\n TableQueryEntitiesResponse,\n TableQueryEntitiesWithPartitionAndRowKeyOptionalParams,\n TableQueryEntitiesWithPartitionAndRowKeyResponse,\n TableUpdateEntityOptionalParams,\n TableUpdateEntityResponse,\n TableMergeEntityOptionalParams,\n TableMergeEntityResponse,\n TableDeleteEntityOptionalParams,\n TableDeleteEntityResponse,\n TableInsertEntityOptionalParams,\n TableInsertEntityResponse,\n TableGetAccessPolicyOptionalParams,\n TableGetAccessPolicyResponse,\n TableSetAccessPolicyOptionalParams,\n TableSetAccessPolicyResponse\n} from \"../models\";\n\n/** Class containing Table operations. */\nexport class TableImpl implements Table {\n private readonly client: GeneratedClient;\n\n /**\n * Initialize a new instance of the class Table class.\n * @param client Reference to the service client\n */\n constructor(client: GeneratedClient) {\n this.client = client;\n }\n\n /**\n * Queries tables under the given account.\n * @param options The options parameters.\n */\n query(\n options?: TableQueryOptionalParams\n ): Promise<TableQueryOperationResponse> {\n return this.client.sendOperationRequest({ options }, queryOperationSpec);\n }\n\n /**\n * Creates a new table under the given account.\n * @param tableProperties The Table properties.\n * @param options The options parameters.\n */\n create(\n tableProperties: TableProperties,\n options?: TableCreateOptionalParams\n ): Promise<TableCreateResponse> {\n return this.client.sendOperationRequest(\n { tableProperties, options },\n createOperationSpec\n );\n }\n\n /**\n * Operation permanently deletes the specified table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n delete(\n table: string,\n options?: TableDeleteOptionalParams\n ): Promise<TableDeleteResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Queries entities in a table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n queryEntities(\n table: string,\n options?: TableQueryEntitiesOptionalParams\n ): Promise<TableQueryEntitiesResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n queryEntitiesOperationSpec\n );\n }\n\n /**\n * Queries entities in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n queryEntitiesWithPartitionAndRowKey(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableQueryEntitiesWithPartitionAndRowKeyOptionalParams\n ): Promise<TableQueryEntitiesWithPartitionAndRowKeyResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n queryEntitiesWithPartitionAndRowKeyOperationSpec\n );\n }\n\n /**\n * Update entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n updateEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableUpdateEntityOptionalParams\n ): Promise<TableUpdateEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n updateEntityOperationSpec\n );\n }\n\n /**\n * Merge entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param options The options parameters.\n */\n mergeEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n options?: TableMergeEntityOptionalParams\n ): Promise<TableMergeEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, options },\n mergeEntityOperationSpec\n );\n }\n\n /**\n * Deletes the specified entity in a table.\n * @param table The name of the table.\n * @param partitionKey The partition key of the entity.\n * @param rowKey The row key of the entity.\n * @param ifMatch Match condition for an entity to be deleted. If specified and a matching entity is\n * not found, an error will be raised. To force an unconditional delete, set to the wildcard character\n * (*).\n * @param options The options parameters.\n */\n deleteEntity(\n table: string,\n partitionKey: string,\n rowKey: string,\n ifMatch: string,\n options?: TableDeleteEntityOptionalParams\n ): Promise<TableDeleteEntityResponse> {\n return this.client.sendOperationRequest(\n { table, partitionKey, rowKey, ifMatch, options },\n deleteEntityOperationSpec\n );\n }\n\n /**\n * Insert entity in a table.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n insertEntity(\n table: string,\n options?: TableInsertEntityOptionalParams\n ): Promise<TableInsertEntityResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n insertEntityOperationSpec\n );\n }\n\n /**\n * Retrieves details about any stored access policies specified on the table that may be used with\n * Shared Access Signatures.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n getAccessPolicy(\n table: string,\n options?: TableGetAccessPolicyOptionalParams\n ): Promise<TableGetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n getAccessPolicyOperationSpec\n );\n }\n\n /**\n * Sets stored access policies for the table that may be used with Shared Access Signatures.\n * @param table The name of the table.\n * @param options The options parameters.\n */\n setAccessPolicy(\n table: string,\n options?: TableSetAccessPolicyOptionalParams\n ): Promise<TableSetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { table, options },\n setAccessPolicyOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst queryOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableQueryResponse,\n headersMapper: Mappers.TableQueryHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableQueryExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.nextTableName\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.TableResponse,\n headersMapper: Mappers.TableCreateHeaders\n },\n 204: {\n headersMapper: Mappers.TableCreateHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableCreateExceptionHeaders\n }\n },\n requestBody: Parameters.tableProperties,\n queryParameters: [Parameters.format],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.contentType,\n Parameters.responsePreference\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/Tables('{table}')\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {\n headersMapper: Mappers.TableDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableDeleteExceptionHeaders\n }\n },\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1\n ],\n serializer\n};\nconst queryEntitiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}()\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TableEntityQueryResponse,\n headersMapper: Mappers.TableQueryEntitiesHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableQueryEntitiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.timeout,\n Parameters.nextPartitionKey,\n Parameters.nextRowKey\n ],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst queryEntitiesWithPartitionAndRowKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.TableQueryEntitiesWithPartitionAndRowKeyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper:\n Mappers.TableQueryEntitiesWithPartitionAndRowKeyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.format,\n Parameters.select,\n Parameters.filter,\n Parameters.timeout\n ],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion\n ],\n serializer\n};\nconst updateEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.TableUpdateEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableUpdateEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.accept1,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst mergeEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.TableMergeEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableMergeEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.accept1,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {\n headersMapper: Mappers.TableDeleteEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableDeleteEntityExceptionHeaders\n }\n },\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [\n Parameters.url,\n Parameters.table,\n Parameters.partitionKey,\n Parameters.rowKey\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.ifMatch1\n ],\n serializer\n};\nconst insertEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.TableInsertEntityHeaders\n },\n 204: {\n headersMapper: Mappers.TableInsertEntityHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableInsertEntityExceptionHeaders\n }\n },\n requestBody: Parameters.tableEntityProperties,\n queryParameters: [Parameters.format, Parameters.timeout],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n Parameters.dataServiceVersion,\n Parameters.contentType,\n Parameters.responsePreference\n ],\n mediaType: \"json\",\n serializer\n};\nconst getAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: { name: \"Composite\", className: \"SignedIdentifier\" }\n }\n },\n serializedName: \"SignedIdentifiers\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\"\n },\n headersMapper: Mappers.TableGetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableGetAccessPolicyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeout, Parameters.comp],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{table}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.TableSetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.TableServiceError,\n headersMapper: Mappers.TableSetAccessPolicyExceptionHeaders\n }\n },\n requestBody: Parameters.tableAcl,\n queryParameters: [Parameters.timeout, Parameters.comp],\n urlParameters: [Parameters.url, Parameters.table],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.contentType2,\n Parameters.accept3\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AAEtB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AAEtB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAsB,MAAM,kBAAkB,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport * from \"./generatedModels\";\nexport * from \"./models\";\nexport * from \"./sas\";\n\nexport { TableServiceClient } from \"./TableServiceClient\";\nexport { TableTransaction } from \"./TableTransaction\";\nexport { TableClient } from \"./TableClient\";\nexport { odata } from \"./odata\";\nexport { AzureNamedKeyCredential, AzureSASCredential, NamedKeyCredential } from \"@azure/core-auth\";\nexport { RestError } from \"@azure/core-rest-pipeline\";\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT license.
|
|
3
|
+
/**
|
|
4
|
+
* Name of the apiVersion Policy
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export const apiVersionPolicyName = "apiVersionPolicy";
|
|
8
|
+
/**
|
|
9
|
+
* Pipeline policy that enables users to override the default api version
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export const apiVersionPolicy = (apiVersion) => {
|
|
13
|
+
return {
|
|
14
|
+
name: apiVersionPolicyName,
|
|
15
|
+
sendRequest: async (req, next) => {
|
|
16
|
+
req.headers.set("x-ms-version", apiVersion);
|
|
17
|
+
return next(req);
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=apiVersionPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiVersionPolicy.js","sourceRoot":"","sources":["../../../src/utils/apiVersionPolicy.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,kBAAkB,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2C,CAAC,UAAkB,EAAE,EAAE;IAC7F,OAAO;QACL,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;YAC/B,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;YAC5C,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelinePolicy } from \"@azure/core-rest-pipeline\";\n\n/**\n * Name of the apiVersion Policy\n * @internal\n */\nexport const apiVersionPolicyName = \"apiVersionPolicy\";\n\n/**\n * Pipeline policy that enables users to override the default api version\n * @internal\n */\nexport const apiVersionPolicy: (apiVersion: string) => PipelinePolicy = (apiVersion: string) => {\n return {\n name: apiVersionPolicyName,\n sendRequest: async (req, next) => {\n req.headers.set(\"x-ms-version\", apiVersion);\n return next(req);\n },\n };\n};\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT license.
|
|
3
|
+
import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
|
|
4
|
+
import { authorizeRequestOnTenantChallenge } from "@azure/core-client";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
* Setups the challenge authentication policy for the provided token credential.
|
|
8
|
+
*/
|
|
9
|
+
export function setTokenChallengeAuthenticationPolicy(pipeline, credential, scopes) {
|
|
10
|
+
// Make sure no bearerTokenPolicy is set.
|
|
11
|
+
pipeline.removePolicy({ name: "bearerTokenPolicy" });
|
|
12
|
+
pipeline.addPolicy(bearerTokenAuthenticationPolicy({
|
|
13
|
+
credential,
|
|
14
|
+
scopes,
|
|
15
|
+
challengeCallbacks: { authorizeRequestOnChallenge: authorizeRequestOnTenantChallenge },
|
|
16
|
+
}), {
|
|
17
|
+
phase: "Sign",
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=challengeAuthenticationUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"challengeAuthenticationUtils.js","sourceRoot":"","sources":["../../../src/utils/challengeAuthenticationUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAY,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAGtF,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE;;;GAGG;AACH,MAAM,UAAU,qCAAqC,CACnD,QAAkB,EAClB,UAA2B,EAC3B,MAAyB;IAEzB,yCAAyC;IACzC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC;IACrD,QAAQ,CAAC,SAAS,CAChB,+BAA+B,CAAC;QAC9B,UAAU;QACV,MAAM;QACN,kBAAkB,EAAE,EAAE,2BAA2B,EAAE,iCAAiC,EAAE;KACvF,CAAC,EACF;QACE,KAAK,EAAE,MAAM;KACd,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Pipeline, bearerTokenAuthenticationPolicy } from \"@azure/core-rest-pipeline\";\n\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { authorizeRequestOnTenantChallenge } from \"@azure/core-client\";\n\n/**\n * @internal\n * Setups the challenge authentication policy for the provided token credential.\n */\nexport function setTokenChallengeAuthenticationPolicy(\n pipeline: Pipeline,\n credential: TokenCredential,\n scopes: string | string[]\n): void {\n // Make sure no bearerTokenPolicy is set.\n pipeline.removePolicy({ name: \"bearerTokenPolicy\" });\n pipeline.addPolicy(\n bearerTokenAuthenticationPolicy({\n credential,\n scopes,\n challengeCallbacks: { authorizeRequestOnChallenge: authorizeRequestOnTenantChallenge },\n }),\n {\n phase: \"Sign\",\n }\n );\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/data-tables",
|
|
3
|
-
"version": "13.1.2-alpha.
|
|
3
|
+
"version": "13.1.2-alpha.20220517.1",
|
|
4
4
|
"description": "An isomorphic client library for the Azure Tables service.",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"./dist-esm/src/utils/transactionHeaders.js": "./dist-esm/src/utils/transactionHeaders.browser.js",
|
|
14
14
|
"./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js"
|
|
15
15
|
},
|
|
16
|
+
"react-native": {
|
|
17
|
+
"./dist/index.js": "./dist-esm/src/index.js"
|
|
18
|
+
},
|
|
16
19
|
"types": "types/latest/data-tables.d.ts",
|
|
17
20
|
"typesVersions": {
|
|
18
21
|
"<3.6": {
|
package/CHANGELOG.md
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
# Release History
|
|
2
|
-
|
|
3
|
-
## 13.1.2 (Unreleased)
|
|
4
|
-
|
|
5
|
-
### Features Added
|
|
6
|
-
|
|
7
|
-
### Breaking Changes
|
|
8
|
-
|
|
9
|
-
### Bugs Fixed
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
12
|
-
|
|
13
|
-
## 13.1.1 (2022-04-14)
|
|
14
|
-
|
|
15
|
-
### Bugs Fixed
|
|
16
|
-
- Fixed issue where `deleteTable()` doesn't throw any errors [21408](https://github.com/Azure/azure-sdk-for-js/pull/21408).
|
|
17
|
-
|
|
18
|
-
## 13.1.0 (2022-04-07)
|
|
19
|
-
|
|
20
|
-
### Bugs Fixed
|
|
21
|
-
|
|
22
|
-
- Fix issue when the Service returns an empty nextRowKey. [#20916](https://github.com/Azure/azure-sdk-for-js/pull/20916).
|
|
23
|
-
- Fix issue with `getStatistics()` operation consistently failing and added test. [#20398](https://github.com/Azure/azure-sdk-for-js/pull/20398)
|
|
24
|
-
|
|
25
|
-
### Other Changes
|
|
26
|
-
|
|
27
|
-
- Updated our `@azure/core-tracing` dependency to the latest version (1.0.0)
|
|
28
|
-
- Notable changes include Removal of `@opentelemetry/api` as a transitive dependency and ensuring that the active context is properly propagated.
|
|
29
|
-
- Customers who would like to continue using OpenTelemetry driven tracing should visit our [OpenTelemetry Instrumentation](https://www.npmjs.com/package/@azure/opentelemetry-instrumentation-azure-sdk) package for instructions.
|
|
30
|
-
|
|
31
|
-
## 13.0.1 (2022-01-12)
|
|
32
|
-
|
|
33
|
-
### Bugs Fixed
|
|
34
|
-
|
|
35
|
-
- Fix issue where custom HTTP Client passed in client options was being ignored in transactions. [#19470](https://github.com/Azure/azure-sdk-for-js/pull/19470)
|
|
36
|
-
- Fix issue where optionality of expiresOn and permissions is not respected when signedIdentifier is provided.
|
|
37
|
-
- Fix `createTable` not calling `onResponse` callback when the service returns `TableAlreadyExists`. [#18914](https://github.com/Azure/azure-sdk-for-js/pull/18914)
|
|
38
|
-
|
|
39
|
-
## 13.0.0 (2021-11-11)
|
|
40
|
-
|
|
41
|
-
### Acknowledgments
|
|
42
|
-
|
|
43
|
-
Thank you to our developer community members who helped to make the Azure Tables client library better with their contributions to this release:
|
|
44
|
-
|
|
45
|
-
- Daniel Hensby _([GitHub](https://github.com/dhensby))_
|
|
46
|
-
|
|
47
|
-
### Features Added
|
|
48
|
-
|
|
49
|
-
- TableClient `listEntities` expose and can take as PageSetting `continuationToken` as a `PageSetting` when using `byPage`. [#18179](https://github.com/Azure/azure-sdk-for-js/pull/18179)
|
|
50
|
-
- TableServiceClient `listTables` expose and can take PageSetting `continuationToken` as a `PageSetting` when using `byPage`. [#18277](https://github.com/Azure/azure-sdk-for-js/pull/18277)
|
|
51
|
-
|
|
52
|
-
### Breaking Changes
|
|
53
|
-
|
|
54
|
-
- Encode single quote where the partition/row key is used to format the URL - i.e. upsert, update and delete. For more details see Issue [#3356](https://github.com/Azure/azure-sdk/issues/3356). Fixed in [#18520](https://github.com/Azure/azure-sdk-for-js/pull/18520)
|
|
55
|
-
- Setting a binary property on an entity without automatic type conversion takes raw string instead of Uint8Array [#18251](https://github.com/Azure/azure-sdk-for-js/pull/18251)
|
|
56
|
-
|
|
57
|
-
### Bugs Fixed
|
|
58
|
-
|
|
59
|
-
- Document usage of SDK with Azurite. [#18211](https://github.com/Azure/azure-sdk-for-js/pull/18211)
|
|
60
|
-
- Issue #17407 - Correctly handle etag in select filter. [#18211](https://github.com/Azure/azure-sdk-for-js/pull/18211)
|
|
61
|
-
- Issue #18079 - Correctly handle creating entities with properties containing empty strings "". Fixes Insert throws "Unknown EDM type object" error with property value { value: "", type: "String" }. [#18211](https://github.com/Azure/azure-sdk-for-js/pull/18211)
|
|
62
|
-
- Issue #18148 - Correctly deserialize Decimal numbers checking for isSafeInteger. Fixes listEntities always returns an Int32 type for a value of "1.23456789012346e+24". [#18211](https://github.com/Azure/azure-sdk-for-js/pull/18211)
|
|
63
|
-
- Issue #18521 - `upsertEntity` doesn't work with "" for partition or row keys. [#18586](https://github.com/Azure/azure-sdk-for-js/pull/18586)
|
|
64
|
-
|
|
65
|
-
### Other Changes
|
|
66
|
-
|
|
67
|
-
- Export RestError [#18635](https://github.com/Azure/azure-sdk-for-js/pull/18635). (A community contribution, courtesy of _[dhensby](https://github.com/dhensby))_
|
|
68
|
-
|
|
69
|
-
## 12.1.2 (2021-09-07)
|
|
70
|
-
|
|
71
|
-
### Bugs Fixed
|
|
72
|
-
|
|
73
|
-
- Fix `disableTypeConversion` to also apply for booleans and convert value to string when there is no type metadata. [#17385](https://github.com/Azure/azure-sdk-for-js/pull/17385)
|
|
74
|
-
|
|
75
|
-
## 12.1.1 (2021-08-10)
|
|
76
|
-
|
|
77
|
-
### Bugs Fixed
|
|
78
|
-
|
|
79
|
-
- Fixed inconsistent return type for number and strings when setting `disableTypeConversion` option. [#16736](https://github.com/Azure/azure-sdk-for-js/pull/16736)
|
|
80
|
-
- Fix [#15854](https://github.com/Azure/azure-sdk-for-js/issues/15701) when submitting transactions by ensuring the `allowInsecureConnection` client option is respected. [#16587](https://github.com/Azure/azure-sdk-for-js/pull/16587)
|
|
81
|
-
|
|
82
|
-
### Other Changes
|
|
83
|
-
|
|
84
|
-
- Update dependency of `@azure/core-xml`. [#16816](https://github.com/Azure/azure-sdk-for-js/pull/16816)
|
|
85
|
-
|
|
86
|
-
## 12.1.0 (2021-07-07)
|
|
87
|
-
|
|
88
|
-
### Acknowledgments
|
|
89
|
-
|
|
90
|
-
Thank you to our developer community members who helped to make the Azure Tables client library better with their contributions to this release:
|
|
91
|
-
|
|
92
|
-
- Eros Stein _([GitHub](https://github.com/eestein))_
|
|
93
|
-
|
|
94
|
-
### Features Added
|
|
95
|
-
|
|
96
|
-
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
97
|
-
- Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
|
|
98
|
-
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
|
|
99
|
-
- Support for Azure Active Directory (AAD) authorization has been added to `TableServiceClient` and `TableClient`. This enables use of `TokenCredential` credentials. Note: Only Azure Storage API endpoints currently support AAD authorization. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852)
|
|
100
|
-
|
|
101
|
-
### Fixed
|
|
102
|
-
|
|
103
|
-
- Fix [#15664](https://github.com/Azure/azure-sdk-for-js/issues/15701), adding check to make sure we always have only one forward slash (`/`) added to the end of the URL [#15698](https://github.com/Azure/azure-sdk-for-js/pull/15698) (A community contribution, courtesy of _[eestein](https://github.com/eestein))_
|
|
104
|
-
- Fix [#15701](https://github.com/Azure/azure-sdk-for-js/issues/15701) by improving error handling and reporting on `submitTransaction`. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852)
|
|
105
|
-
- Fix [#15921](https://github.com/Azure/azure-sdk-for-js/issues/15921) incorrect `url` import and missing browser mapping for `computeHMACSHA256` [#15944](https://github.com/Azure/azure-sdk-for-js/pull/15944)
|
|
106
|
-
- Fix [#15854]https://github.com/Azure/azure-sdk-for-js/issues/15854) by setting `allowInsecureConnection` to true when using the development connection string.
|
|
107
|
-
|
|
108
|
-
## 12.0.0 (2021-06-09)
|
|
109
|
-
|
|
110
|
-
- Added support for generating SAS tokens using an `AzureNamedKeyCredential` [#15564](https://github.com/Azure/azure-sdk-for-js/pull/15564)
|
|
111
|
-
- Use @azure/core-auth `AzureSASCredendial` [#15564](https://github.com/Azure/azure-sdk-for-js/pull/15564)
|
|
112
|
-
- Fix submit transaction issue [15403](https://github.com/Azure/azure-sdk-for-js/issues/15403) when sending multiple transactions. [#15493](https://github.com/Azure/azure-sdk-for-js/pull/15493)
|
|
113
|
-
- Fix date serialization on `getAccessPolicy` and `setAccessPolicy` Table client methods. [#15633](https://github.com/Azure/azure-sdk-for-js/pull/15633)
|
|
114
|
-
|
|
115
|
-
### Breaking Changes
|
|
116
|
-
|
|
117
|
-
- Use @azure/core-auth `AzureNamedKeyCredential` [#15529](https://github.com/Azure/azure-sdk-for-js/pull/15529)
|
|
118
|
-
|
|
119
|
-
## 12.0.0-beta.3 (2021-05-17)
|
|
120
|
-
|
|
121
|
-
- Update and Upsert operations have "merge" as default update mode. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
122
|
-
- Expose Table Service url as a public client property. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
123
|
-
- Make list and get entity methods have a default template type of `Record` for better UX. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
124
|
-
|
|
125
|
-
### Breaking Changes
|
|
126
|
-
|
|
127
|
-
- Enable Type conversion of `DateTime -> Date` and `Int64 -> bigint` by default. Allow disabling type conversion with `disableTypeConversion` option in the get and list operations. [#15307](https://github.com/Azure/azure-sdk-for-js/pull/15307)
|
|
128
|
-
- Node.js v8 support is dropped as it has reached end of life [#15307](https://github.com/Azure/azure-sdk-for-js/pull/15307)
|
|
129
|
-
- Rename Batch to Transaction and redesign submitTransaction to provide a more declarative interface. [#15250](https://github.com/Azure/azure-sdk-for-js/pull/15250)
|
|
130
|
-
- createTable and deleteTable don't throw on 409 or 404 respectively. Return type becomes `Promise<void>`. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
131
|
-
- Clean up method options. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
132
|
-
- Remove continuation tokens from options on list methods. [#14956](https://github.com/Azure/azure-sdk-for-js/pull/14956)
|
|
133
|
-
|
|
134
|
-
## 12.0.0-beta.2 (2021-04-06)
|
|
135
|
-
|
|
136
|
-
- Update open-telemetry dependency to 1.0.0-rc.0 [#14208](https://github.com/Azure/azure-sdk-for-js/pull/14208)
|
|
137
|
-
- Update @azure/core-client and @azure/core-rest-pipeline dependencies to 1.0.0 [#14318](https://github.com/Azure/azure-sdk-for-js/pull/14318)
|
|
138
|
-
|
|
139
|
-
## 12.0.0-beta.1 (2021-03-09)
|
|
140
|
-
|
|
141
|
-
- Exclude browser unsupported headers when building a Batch request in the browser [#13955](https://github.com/Azure/azure-sdk-for-js/pull/13955)
|
|
142
|
-
- Make connection string keys case-insensitive [#13954](https://github.com/Azure/azure-sdk-for-js/pull/13954)
|
|
143
|
-
|
|
144
|
-
## 1.0.0-beta.5 (2021-02-09)
|
|
145
|
-
|
|
146
|
-
### Breaking Changes
|
|
147
|
-
|
|
148
|
-
- Move generated client to use @azure/core-rest-pipeline. For more information about Core V2 read [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core#core-v1-and-core-v2). [#12548](https://github.com/Azure/azure-sdk-for-js/pull/12548).
|
|
149
|
-
- With this change, the response types no longer contain the raw response `_response`. To access the raw response, an `onResponse` callback has to be passed in the request options bag.
|
|
150
|
-
```typescript
|
|
151
|
-
let createResult: FullOperationResponse | undefined;
|
|
152
|
-
await client.createEntity(testEntity, { onResponse: (response) => (createResult = response) });
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
## 1.0.0-beta.4 (2021-01-12)
|
|
156
|
-
|
|
157
|
-
- Fix issue that prevented support for Azure Storage Emulator and Azurite [#13165](https://github.com/Azure/azure-sdk-for-js/pull/13165)
|
|
158
|
-
|
|
159
|
-
### Breaking Changes
|
|
160
|
-
|
|
161
|
-
- Don't deserialize DateTime into a JavaScript Date to avoid losing precision [#12650](https://github.com/Azure/azure-sdk-for-js/pull/12650)
|
|
162
|
-
|
|
163
|
-
## 1.0.0-beta.3 (2020-11-12)
|
|
164
|
-
|
|
165
|
-
### Breaking Changes
|
|
166
|
-
|
|
167
|
-
- Provide more idiomatic names for System properties, rename `odata.etag` to `etag` and `Timestamp` to `timestamp` [#12060](https://github.com/Azure/azure-sdk-for-js/pull/12060)
|
|
168
|
-
|
|
169
|
-
## 1.0.0-beta.2 (2020-10-06)
|
|
170
|
-
|
|
171
|
-
- Add support for Entity Group Transactions (Batch) [#11551](https://github.com/Azure/azure-sdk-for-js/pull/11551).
|
|
172
|
-
|
|
173
|
-
## 1.0.0-beta.1 (2020-09-08)
|
|
174
|
-
|
|
175
|
-
This is the first beta of the `@azure/data-tables` client library. The Azure Tables client library can seamlessly target either Azure Table storage or Azure Cosmos DB table service endpoints with no code changes.
|