@azure/storage-file-share 12.29.1 → 12.30.0-alpha.20251201.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/browser/Clients.d.ts +52 -2
- package/dist/browser/Clients.d.ts.map +1 -1
- package/dist/browser/Clients.js +72 -0
- package/dist/browser/Clients.js.map +1 -1
- package/dist/browser/FileSASSignatureValues.d.ts +18 -17
- package/dist/browser/FileSASSignatureValues.d.ts.map +1 -1
- package/dist/browser/FileSASSignatureValues.js +82 -4
- package/dist/browser/FileSASSignatureValues.js.map +1 -1
- package/dist/browser/SASQueryParameters.d.ts +38 -1
- package/dist/browser/SASQueryParameters.d.ts.map +1 -1
- package/dist/browser/SASQueryParameters.js +74 -1
- package/dist/browser/SASQueryParameters.js.map +1 -1
- package/dist/browser/ShareServiceClient.d.ts +23 -1
- package/dist/browser/ShareServiceClient.d.ts.map +1 -1
- package/dist/browser/ShareServiceClient.js +41 -1
- package/dist/browser/ShareServiceClient.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +115 -18
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js +8 -0
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts +7 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +222 -0
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.d.ts +21 -17
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +103 -68
- package/dist/browser/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/directory.js +5 -4
- package/dist/browser/generated/src/operations/directory.js.map +1 -1
- package/dist/browser/generated/src/operations/file.js +28 -21
- package/dist/browser/generated/src/operations/file.js.map +1 -1
- package/dist/browser/generated/src/operations/service.d.ts +8 -1
- package/dist/browser/generated/src/operations/service.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/service.js +40 -0
- package/dist/browser/generated/src/operations/service.js.map +1 -1
- package/dist/browser/generated/src/operations/share.js +16 -16
- package/dist/browser/generated/src/operations/share.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/service.d.ts +8 -1
- package/dist/browser/generated/src/operationsInterfaces/service.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/browser/generated/src/storageClient.js +2 -2
- package/dist/browser/generated/src/storageClient.js.map +1 -1
- package/dist/browser/generatedModels.d.ts +7 -2
- package/dist/browser/generatedModels.d.ts.map +1 -1
- package/dist/browser/generatedModels.js.map +1 -1
- package/dist/browser/index-browser.d.mts.map +1 -1
- package/dist/browser/index-browser.mjs.map +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/utils/constants.d.ts.map +1 -1
- package/dist/browser/utils/constants.js +2 -2
- package/dist/browser/utils/constants.js.map +1 -1
- package/dist/commonjs/Clients.d.ts +52 -2
- package/dist/commonjs/Clients.d.ts.map +1 -1
- package/dist/commonjs/Clients.js +72 -0
- package/dist/commonjs/Clients.js.map +1 -1
- package/dist/commonjs/FileSASSignatureValues.d.ts +18 -17
- package/dist/commonjs/FileSASSignatureValues.d.ts.map +1 -1
- package/dist/commonjs/FileSASSignatureValues.js +84 -4
- package/dist/commonjs/FileSASSignatureValues.js.map +1 -1
- package/dist/commonjs/SASQueryParameters.d.ts +38 -1
- package/dist/commonjs/SASQueryParameters.d.ts.map +1 -1
- package/dist/commonjs/SASQueryParameters.js +74 -1
- package/dist/commonjs/SASQueryParameters.js.map +1 -1
- package/dist/commonjs/ShareServiceClient.d.ts +23 -1
- package/dist/commonjs/ShareServiceClient.d.ts.map +1 -1
- package/dist/commonjs/ShareServiceClient.js +40 -0
- package/dist/commonjs/ShareServiceClient.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +115 -18
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +9 -1
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +7 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +225 -3
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +21 -17
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +105 -70
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/directory.js +5 -4
- package/dist/commonjs/generated/src/operations/directory.js.map +1 -1
- package/dist/commonjs/generated/src/operations/file.js +28 -21
- package/dist/commonjs/generated/src/operations/file.js.map +1 -1
- package/dist/commonjs/generated/src/operations/service.d.ts +8 -1
- package/dist/commonjs/generated/src/operations/service.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/service.js +40 -0
- package/dist/commonjs/generated/src/operations/service.js.map +1 -1
- package/dist/commonjs/generated/src/operations/share.js +16 -16
- package/dist/commonjs/generated/src/operations/share.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts +8 -1
- package/dist/commonjs/generated/src/operationsInterfaces/service.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/commonjs/generated/src/storageClient.js +2 -2
- package/dist/commonjs/generated/src/storageClient.js.map +1 -1
- package/dist/commonjs/generatedModels.d.ts +7 -2
- package/dist/commonjs/generatedModels.d.ts.map +1 -1
- package/dist/commonjs/generatedModels.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/constants.d.ts.map +1 -1
- package/dist/commonjs/utils/constants.js +2 -2
- package/dist/commonjs/utils/constants.js.map +1 -1
- package/dist/esm/Clients.d.ts +52 -2
- package/dist/esm/Clients.d.ts.map +1 -1
- package/dist/esm/Clients.js +72 -0
- package/dist/esm/Clients.js.map +1 -1
- package/dist/esm/FileSASSignatureValues.d.ts +18 -17
- package/dist/esm/FileSASSignatureValues.d.ts.map +1 -1
- package/dist/esm/FileSASSignatureValues.js +82 -4
- package/dist/esm/FileSASSignatureValues.js.map +1 -1
- package/dist/esm/SASQueryParameters.d.ts +38 -1
- package/dist/esm/SASQueryParameters.d.ts.map +1 -1
- package/dist/esm/SASQueryParameters.js +74 -1
- package/dist/esm/SASQueryParameters.js.map +1 -1
- package/dist/esm/ShareServiceClient.d.ts +23 -1
- package/dist/esm/ShareServiceClient.d.ts.map +1 -1
- package/dist/esm/ShareServiceClient.js +41 -1
- package/dist/esm/ShareServiceClient.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +115 -18
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js +8 -0
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts +7 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +222 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.d.ts +21 -17
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +103 -68
- package/dist/esm/generated/src/models/parameters.js.map +1 -1
- package/dist/esm/generated/src/operations/directory.js +5 -4
- package/dist/esm/generated/src/operations/directory.js.map +1 -1
- package/dist/esm/generated/src/operations/file.js +28 -21
- package/dist/esm/generated/src/operations/file.js.map +1 -1
- package/dist/esm/generated/src/operations/service.d.ts +8 -1
- package/dist/esm/generated/src/operations/service.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/service.js +40 -0
- package/dist/esm/generated/src/operations/service.js.map +1 -1
- package/dist/esm/generated/src/operations/share.js +16 -16
- package/dist/esm/generated/src/operations/share.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/service.d.ts +8 -1
- package/dist/esm/generated/src/operationsInterfaces/service.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/esm/generated/src/storageClient.js +2 -2
- package/dist/esm/generated/src/storageClient.js.map +1 -1
- package/dist/esm/generatedModels.d.ts +7 -2
- package/dist/esm/generatedModels.d.ts.map +1 -1
- package/dist/esm/generatedModels.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/constants.d.ts.map +1 -1
- package/dist/esm/utils/constants.js +2 -2
- package/dist/esm/utils/constants.js.map +1 -1
- package/dist/react-native/Clients.d.ts +52 -2
- package/dist/react-native/Clients.d.ts.map +1 -1
- package/dist/react-native/Clients.js +72 -0
- package/dist/react-native/Clients.js.map +1 -1
- package/dist/react-native/FileSASSignatureValues.d.ts +18 -17
- package/dist/react-native/FileSASSignatureValues.d.ts.map +1 -1
- package/dist/react-native/FileSASSignatureValues.js +82 -4
- package/dist/react-native/FileSASSignatureValues.js.map +1 -1
- package/dist/react-native/SASQueryParameters.d.ts +38 -1
- package/dist/react-native/SASQueryParameters.d.ts.map +1 -1
- package/dist/react-native/SASQueryParameters.js +74 -1
- package/dist/react-native/SASQueryParameters.js.map +1 -1
- package/dist/react-native/ShareServiceClient.d.ts +23 -1
- package/dist/react-native/ShareServiceClient.d.ts.map +1 -1
- package/dist/react-native/ShareServiceClient.js +41 -1
- package/dist/react-native/ShareServiceClient.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +115 -18
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js +8 -0
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +7 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +222 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +21 -17
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +103 -68
- package/dist/react-native/generated/src/models/parameters.js.map +1 -1
- package/dist/react-native/generated/src/operations/directory.js +5 -4
- package/dist/react-native/generated/src/operations/directory.js.map +1 -1
- package/dist/react-native/generated/src/operations/file.js +28 -21
- package/dist/react-native/generated/src/operations/file.js.map +1 -1
- package/dist/react-native/generated/src/operations/service.d.ts +8 -1
- package/dist/react-native/generated/src/operations/service.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/service.js +40 -0
- package/dist/react-native/generated/src/operations/service.js.map +1 -1
- package/dist/react-native/generated/src/operations/share.js +16 -16
- package/dist/react-native/generated/src/operations/share.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/service.d.ts +8 -1
- package/dist/react-native/generated/src/operationsInterfaces/service.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/react-native/generated/src/storageClient.js +2 -2
- package/dist/react-native/generated/src/storageClient.js.map +1 -1
- package/dist/react-native/generatedModels.d.ts +7 -2
- package/dist/react-native/generatedModels.d.ts.map +1 -1
- package/dist/react-native/generatedModels.js.map +1 -1
- package/dist/react-native/index.d.ts +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/utils/constants.d.ts.map +1 -1
- package/dist/react-native/utils/constants.js +2 -2
- package/dist/react-native/utils/constants.js.map +1 -1
- package/package.json +27 -26
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedModels.js","sourceRoot":"","sources":["../../src/generatedModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAwoBlC,yEAAyE;AACzE,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;AACnB,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CopyStatusType,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryListHandlesHeaders,\n DirectoryRenameHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetRangeListHeaders,\n FileGetSymbolicLinkHeaders,\n FileListHandlesHeaders,\n FileProperty,\n FileRenameHeaders,\n FileServiceProperties,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n ServiceGetPropertiesHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreateHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n ShareFileRangeList,\n ShareGetAccessPolicyHeaders,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareGetStatisticsHeaders,\n SharePermission,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareStats,\n ShareSetPropertiesHeaders,\n} from \"./generated/src/models/index.js\";\nimport type {\n FileDownloadResponse,\n FilePosixProperties,\n FileSetHttpHeadersHeaders,\n} from \"./models.js\";\nimport type { WithResponse } from \"./utils/utils.common.js\";\n\n/** Defines headers for Directory_create operation. */\nexport interface DirectoryCreateHeaders {\n /** The ETag contains a value which represents the version of the directory, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type DirectoryCreateResponse = WithResponse<DirectoryCreateHeaders, DirectoryCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type DirectoryDeleteResponse = WithResponse<DirectoryDeleteHeaders, DirectoryDeleteHeaders>;\n\n/** Defines headers for Directory_getProperties operation. */\nexport interface DirectoryGetPropertiesHeaders {\n /** A set of name-value pairs that contain metadata for the directory. */\n metadata?: { [propertyName: string]: string };\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** Returns the date and time the Directory was last modified. Operations on files within the directory do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false. */\n isServerEncrypted?: boolean;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type DirectoryGetPropertiesResponse = WithResponse<\n DirectoryGetPropertiesHeaders,\n DirectoryGetPropertiesHeaders\n>;\n\n/** Contains response data for the listFilesAndDirectoriesSegment operation. */\nexport type DirectoryListFilesAndDirectoriesSegmentResponse = WithResponse<\n DirectoryListFilesAndDirectoriesSegmentHeaders & ListFilesAndDirectoriesSegmentResponse,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n ListFilesAndDirectoriesSegmentResponse\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type DirectoryListHandlesResponse = WithResponse<\n DirectoryListHandlesHeaders & ListHandlesResponse,\n DirectoryListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type DirectorySetMetadataResponse = WithResponse<\n DirectorySetMetadataHeaders,\n DirectorySetMetadataHeaders\n>;\n\n/** Defines headers for Directory_setProperties operation. */\nexport interface DirectorySetPropertiesHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the setProperties operation. */\nexport type DirectorySetPropertiesResponse = WithResponse<\n DirectorySetPropertiesHeaders,\n DirectorySetPropertiesHeaders\n>;\n\n/** Contains response data for the abortCopy operation. */\nexport type FileAbortCopyResponse = WithResponse<FileAbortCopyHeaders, FileAbortCopyHeaders>;\n\n/** Defines headers for File_create operation. */\nexport interface FileCreateHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type FileCreateResponse = WithResponse<FileCreateHeaders, FileCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type FileDeleteResponse = WithResponse<FileDeleteHeaders, FileDeleteHeaders>;\n\n/** Defines headers for File_createHardLink operation. */\nexport interface FileCreateHardLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateHardLinkResponse = WithResponse<\n FileCreateHardLinkHeaders,\n FileCreateHardLinkHeaders\n>;\n\n/** Defines headers for File_createSymbolicLink operation. */\nexport interface FileCreateSymbolicLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateSymbolicLinkResponse = WithResponse<\n FileCreateSymbolicLinkHeaders,\n FileCreateSymbolicLinkHeaders\n>;\n\n/** Contains response data for the create hard link operation. */\nexport type FileGetSymbolicLinkResponse = WithResponse<\n FileGetSymbolicLinkHeaders,\n FileGetSymbolicLinkHeaders\n>;\n\n/** Defines headers for File_getProperties operation. */\nexport interface FileGetPropertiesHeaders {\n /** Returns the date and time the file was last modified. The date format follows RFC 1123. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** Returns the type File. Reserved for future use. */\n fileType?: string;\n /** The size of the file in bytes. This header returns the value of the 'x-ms-content-length' header that is stored with the file. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the Content-MD5 header has been set for the file, the Content-MD5 response header is returned so that the client can check for message content integrity. */\n contentMD5?: Uint8Array;\n /** If the Content-Encoding request header has previously been set for the file, the Content-Encoding value is returned in this header. */\n contentEncoding?: string;\n /** If the Cache-Control request header has previously been set for the file, the Cache-Control value is returned in this header. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type FileGetPropertiesResponse = WithResponse<\n FileGetPropertiesHeaders,\n FileGetPropertiesHeaders\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type FileListHandlesResponse = WithResponse<\n FileListHandlesHeaders & ListHandlesResponse,\n FileListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type FileSetMetadataResponse = WithResponse<FileSetMetadataHeaders, FileSetMetadataHeaders>;\n\n/** Contains response data for the startCopy operation. */\nexport type FileStartCopyResponse = WithResponse<FileStartCopyHeaders, FileStartCopyHeaders>;\n\n/** Contains response data for the uploadRange operation. */\nexport type FileUploadRangeResponse = WithResponse<FileUploadRangeHeaders, FileUploadRangeHeaders>;\n\n/** Contains response data for the getProperties operation. */\nexport type ServiceGetPropertiesResponse = WithResponse<\n ServiceGetPropertiesHeaders & FileServiceProperties,\n ServiceGetPropertiesHeaders,\n FileServiceProperties\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ServiceSetPropertiesResponse = WithResponse<\n ServiceSetPropertiesHeaders,\n ServiceSetPropertiesHeaders\n>;\n\n/** Contains response data for the createPermission operation. */\nexport type ShareCreatePermissionResponse = WithResponse<\n ShareCreatePermissionHeaders,\n ShareCreatePermissionHeaders\n>;\n\n/** Contains response data for the create operation. */\nexport type ShareCreateResponse = WithResponse<ShareCreateHeaders, ShareCreateHeaders>;\n\n/** Contains response data for the createSnapshot operation. */\nexport type ShareCreateSnapshotResponse = WithResponse<\n ShareCreateSnapshotHeaders,\n ShareCreateSnapshotHeaders\n>;\n\n/** Contains response data for the delete operation. */\nexport type ShareDeleteResponse = WithResponse<ShareDeleteHeaders, ShareDeleteHeaders>;\n\n/** Contains response data for the getPermission operation. */\nexport type ShareGetPermissionResponse = WithResponse<\n ShareGetPermissionHeaders & SharePermission,\n ShareGetPermissionHeaders,\n SharePermission\n>;\n\n/** Contains response data for the setAccessPolicy operation. */\nexport type ShareSetAccessPolicyResponse = WithResponse<\n ShareSetAccessPolicyHeaders,\n ShareGetAccessPolicyHeaders\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type ShareSetMetadataResponse = WithResponse<\n ShareSetMetadataHeaders,\n ShareSetMetadataHeaders\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ShareSetPropertiesResponse = WithResponse<\n ShareSetPropertiesHeaders,\n ShareSetPropertiesHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type DirectoryRenameResponse = WithResponse<DirectoryRenameHeaders, DirectoryRenameHeaders>;\n\n/** Defines headers for File_download operation. */\nexport interface FileDownloadHeaders {\n /** Returns the date and time the file was last modified. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** The number of bytes present in the response body. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** Indicates the range of bytes returned if the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the file has an MD5 hash and the request is to read the full file, this response header is returned so that the client can check for message content integrity. If the request is to read a specified range and the 'x-ms-range-get-content-md5' is set to true, then the request returns an MD5 hash for the range, as long as the range size is less than or equal to 4 MB. If neither of these sets of conditions is true, then no value is returned for the 'Content-MD5' header. */\n contentMD5?: Uint8Array;\n /** Returns the value that was specified for the Content-Encoding request header. */\n contentEncoding?: string;\n /** Returned if it was previously specified for the file. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** If the file has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole file's MD5 value. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range. */\n fileContentMD5?: Uint8Array;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponseModel = WithResponse<FileDownloadResponse, FileDownloadHeaders>;\n\n/** Contains response data for the uploadRangeFromURL operation. */\nexport type FileUploadRangeFromURLResponse = WithResponse<\n FileUploadRangeFromURLHeaders,\n FileUploadRangeFromURLHeaders\n>;\n\n/** Contains response data for the getProperties operation. */\nexport type ShareGetPropertiesResponseModel = WithResponse<\n ShareGetPropertiesHeaders,\n ShareGetPropertiesHeaders\n>;\n\n/** Contains response data for the getStatistics operation. */\nexport type ShareGetStatisticsResponseModel = WithResponse<\n ShareGetStatisticsHeaders & ShareStats,\n ShareGetStatisticsHeaders,\n ShareStats\n>;\n\n/** Contains response data for the getRangeList operation. */\nexport type FileGetRangeListDiffResponse = WithResponse<\n FileGetRangeListHeaders & ShareFileRangeList,\n FileGetRangeListHeaders,\n ShareFileRangeList\n>;\n\n/** Contains response data for the setHttpHeaders operation. */\nexport type FileSetHTTPHeadersResponse = WithResponse<\n FileSetHttpHeadersHeaders,\n FileSetHttpHeadersHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type FileRenameResponse = WithResponse<FileRenameHeaders, FileRenameHeaders>;\n\n// explicitly exporting types that we need.\n\nexport {\n CopyStatusType,\n DeleteSnapshotsOptionType,\n FileDownloadOptionalParams,\n FileGetRangeListHeaders,\n FileLastWrittenMode,\n FileServiceProperties,\n FileUploadRangeFromURLOptionalParams,\n PermissionCopyModeType,\n ListSharesIncludeType,\n FileRange as RangeModel,\n ShareGetAccessPolicyHeaders,\n ShareItemInternal,\n SignedIdentifier as SignedIdentifierModel,\n SourceModifiedAccessConditions,\n FileForceCloseHandlesHeaders,\n DirectoryForceCloseHandlesHeaders,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryRenameHeaders,\n DirectoryListHandlesHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetSymbolicLinkHeaders,\n FilePermissionFormat,\n FileProperty,\n FileListHandlesHeaders,\n FileRenameHeaders,\n CorsRule,\n Metrics,\n ModeCopyMode,\n NfsFileType,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n OwnerCopyMode,\n ServiceGetPropertiesHeaders,\n ListSharesResponse as ListSharesResponseModel,\n RetentionPolicy,\n ServiceListSharesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n SharePermission,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareStats,\n ShareGetStatisticsHeaders,\n SharePropertiesInternal,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareSetPropertiesHeaders,\n ShareTokenIntent,\n AccessPolicy,\n LeaseAccessConditions,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n CopyFileSmbInfo,\n ShareProtocolSettings,\n ShareSmbSettings,\n SmbMultichannel,\n ShareFileRangeList,\n ClearRange,\n ShareAccessTier,\n ShareRootSquash,\n} from \"./generated/src/models/index.js\";\n\nexport {\n FileDownloadResponse as RawFileDownloadResponse,\n FileSetHttpHeadersHeaders as FileSetHTTPHeadersHeaders,\n} from \"./models.js\";\n/** Known values of {@link ShareTokenIntent} that the service accepts. */\nexport enum KnownShareTokenIntent {\n Backup = \"backup\",\n}\n\n/**\n * Contains response data for the setQuota operation.\n */\nexport type ShareSetQuotaResponse = WithResponse<ShareSetQuotaHeaders, ShareSetQuotaHeaders>;\n\n/**\n * Defines headers for setQuota operation.\n */\nexport type ShareSetQuotaHeaders = ShareSetPropertiesHeaders;\n\n/** A listed file item. */\nexport interface FileItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** A listed directory item. */\nexport interface DirectoryItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties?: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** Abstract for entries that can be listed from Directory. */\nexport interface FilesAndDirectoriesListSegment {\n directoryItems: DirectoryItem[];\n fileItems: FileItem[];\n}\n\n/** An enumeration of directories and files. */\nexport interface ListFilesAndDirectoriesSegmentResponse {\n serviceEndpoint: string;\n shareName: string;\n shareSnapshot?: string;\n directoryPath: string;\n prefix: string;\n marker?: string;\n maxResults?: number;\n /** Abstract for entries that can be listed from Directory. */\n segment: FilesAndDirectoriesListSegment;\n continuationToken: string;\n directoryId?: string;\n}\n\n/** Defines values for AccessRight. */\nexport type ShareFileHandleAccessRights = \"Read\" | \"Write\" | \"Delete\";\n\n/** A listed Azure Storage handle item. */\nexport interface HandleItem {\n /** XSMB service handle ID */\n handleId: string;\n /** File or directory name including full path starting from share root */\n path: string;\n /** FileId uniquely identifies the file or directory. */\n fileId: string;\n /** ParentId uniquely identifies the parent directory of the object. */\n parentId?: string;\n /** SMB session ID in context of which the file handle was opened */\n sessionId: string;\n /** Client IP that opened the handle */\n clientIp: string;\n /** Name of the client machine where the share is being mounted */\n clientName: string;\n /** Time when the session that previously opened the handle has last been reconnected. (UTC) */\n openTime: Date;\n /** Time handle was last connected to (UTC) */\n lastReconnectTime?: Date;\n accessRightList?: ShareFileHandleAccessRights[];\n}\n\n/** An enumeration of handles. */\nexport interface ListHandlesResponse {\n handleList?: HandleItem[];\n continuationToken: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"generatedModels.js","sourceRoot":"","sources":["../../src/generatedModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAipBlC,yEAAyE;AACzE,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;AACnB,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { UserDelegationKey } from \"@azure/storage-common\";\nimport type {\n CopyStatusType,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryListHandlesHeaders,\n DirectoryRenameHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetRangeListHeaders,\n FileGetSymbolicLinkHeaders,\n FileListHandlesHeaders,\n FileProperty,\n FileRenameHeaders,\n FileServiceProperties,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n ServiceGetPropertiesHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreateHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n ShareFileRangeList,\n ShareGetAccessPolicyHeaders,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareGetStatisticsHeaders,\n SharePermission,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareStats,\n ShareSetPropertiesHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/models/index.js\";\nimport type {\n FileDownloadResponse,\n FilePosixProperties,\n FileSetHttpHeadersHeaders,\n} from \"./models.js\";\nimport type { WithResponse } from \"./utils/utils.common.js\";\n\n/** Defines headers for Directory_create operation. */\nexport interface DirectoryCreateHeaders {\n /** The ETag contains a value which represents the version of the directory, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type DirectoryCreateResponse = WithResponse<DirectoryCreateHeaders, DirectoryCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type DirectoryDeleteResponse = WithResponse<DirectoryDeleteHeaders, DirectoryDeleteHeaders>;\n\n/** Defines headers for Directory_getProperties operation. */\nexport interface DirectoryGetPropertiesHeaders {\n /** A set of name-value pairs that contain metadata for the directory. */\n metadata?: { [propertyName: string]: string };\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** Returns the date and time the Directory was last modified. Operations on files within the directory do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false. */\n isServerEncrypted?: boolean;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type DirectoryGetPropertiesResponse = WithResponse<\n DirectoryGetPropertiesHeaders,\n DirectoryGetPropertiesHeaders\n>;\n\n/** Contains response data for the listFilesAndDirectoriesSegment operation. */\nexport type DirectoryListFilesAndDirectoriesSegmentResponse = WithResponse<\n DirectoryListFilesAndDirectoriesSegmentHeaders & ListFilesAndDirectoriesSegmentResponse,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n ListFilesAndDirectoriesSegmentResponse\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type DirectoryListHandlesResponse = WithResponse<\n DirectoryListHandlesHeaders & ListHandlesResponse,\n DirectoryListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type DirectorySetMetadataResponse = WithResponse<\n DirectorySetMetadataHeaders,\n DirectorySetMetadataHeaders\n>;\n\n/** Defines headers for Directory_setProperties operation. */\nexport interface DirectorySetPropertiesHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Returns the date and time the directory was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the directory. */\n filePermissionKey?: string;\n /** Attributes set for the directory. */\n fileAttributes?: string;\n /** Creation time for the directory. */\n fileCreatedOn?: Date;\n /** Last write time for the directory. */\n fileLastWriteOn?: Date;\n /** Change time for the directory. */\n fileChangeOn?: Date;\n /** The fileId of the directory. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the setProperties operation. */\nexport type DirectorySetPropertiesResponse = WithResponse<\n DirectorySetPropertiesHeaders,\n DirectorySetPropertiesHeaders\n>;\n\n/** Contains response data for the abortCopy operation. */\nexport type FileAbortCopyResponse = WithResponse<FileAbortCopyHeaders, FileAbortCopyHeaders>;\n\n/** Defines headers for File_create operation. */\nexport interface FileCreateHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. */\n isServerEncrypted?: boolean;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type FileCreateResponse = WithResponse<FileCreateHeaders, FileCreateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type FileDeleteResponse = WithResponse<FileDeleteHeaders, FileDeleteHeaders>;\n\n/** Defines headers for File_createHardLink operation. */\nexport interface FileCreateHardLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateHardLinkResponse = WithResponse<\n FileCreateHardLinkHeaders,\n FileCreateHardLinkHeaders\n>;\n\n/** Defines headers for File_createSymbolicLink operation. */\nexport interface FileCreateSymbolicLinkHeaders {\n /** The ETag contains a value which represents the version of the file, in quotes. */\n etag?: string;\n /** Returns the date and time the share was last modified. Any operation that modifies the directory or its properties updates the last modified time. Operations on files do not affect the last modified time of the directory. */\n lastModified?: Date;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Creation time for the file. */\n fileCreationTime?: Date;\n /** Last write time for the file. */\n fileLastWriteTime?: Date;\n /** Change time for the file. */\n fileChangeTime?: Date;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the directory. */\n fileParentId?: string;\n /** If a client request id header is sent in the request, this header will be present in the response with the same value. */\n clientRequestId?: string;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n}\n\n/** Contains response data for the create hard link operation. */\nexport type FileCreateSymbolicLinkResponse = WithResponse<\n FileCreateSymbolicLinkHeaders,\n FileCreateSymbolicLinkHeaders\n>;\n\n/** Contains response data for the create hard link operation. */\nexport type FileGetSymbolicLinkResponse = WithResponse<\n FileGetSymbolicLinkHeaders,\n FileGetSymbolicLinkHeaders\n>;\n\n/** Defines headers for File_getProperties operation. */\nexport interface FileGetPropertiesHeaders {\n /** Returns the date and time the file was last modified. The date format follows RFC 1123. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** Returns the type File. Reserved for future use. */\n fileType?: string;\n /** The size of the file in bytes. This header returns the value of the 'x-ms-content-length' header that is stored with the file. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the Content-MD5 header has been set for the file, the Content-MD5 response header is returned so that the client can check for message content integrity. */\n contentMD5?: Uint8Array;\n /** If the Content-Encoding request header has previously been set for the file, the Content-Encoding value is returned in this header. */\n contentEncoding?: string;\n /** If the Cache-Control request header has previously been set for the file, the Cache-Control value is returned in this header. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the getProperties operation. */\nexport type FileGetPropertiesResponse = WithResponse<\n FileGetPropertiesHeaders,\n FileGetPropertiesHeaders\n>;\n\n/** Contains response data for the listHandles operation. */\nexport type FileListHandlesResponse = WithResponse<\n FileListHandlesHeaders & ListHandlesResponse,\n FileListHandlesHeaders,\n ListHandlesResponse\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type FileSetMetadataResponse = WithResponse<FileSetMetadataHeaders, FileSetMetadataHeaders>;\n\n/** Contains response data for the startCopy operation. */\nexport type FileStartCopyResponse = WithResponse<FileStartCopyHeaders, FileStartCopyHeaders>;\n\n/** Contains response data for the uploadRange operation. */\nexport type FileUploadRangeResponse = WithResponse<FileUploadRangeHeaders, FileUploadRangeHeaders>;\n\n/** Contains response data for the getProperties operation. */\nexport type ServiceGetPropertiesResponse = WithResponse<\n ServiceGetPropertiesHeaders & FileServiceProperties,\n ServiceGetPropertiesHeaders,\n FileServiceProperties\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ServiceSetPropertiesResponse = WithResponse<\n ServiceSetPropertiesHeaders,\n ServiceSetPropertiesHeaders\n>;\n\n/** Contains response data for the createPermission operation. */\nexport type ShareCreatePermissionResponse = WithResponse<\n ShareCreatePermissionHeaders,\n ShareCreatePermissionHeaders\n>;\n\n/** Contains response data for the create operation. */\nexport type ShareCreateResponse = WithResponse<ShareCreateHeaders, ShareCreateHeaders>;\n\n/** Contains response data for the createSnapshot operation. */\nexport type ShareCreateSnapshotResponse = WithResponse<\n ShareCreateSnapshotHeaders,\n ShareCreateSnapshotHeaders\n>;\n\n/** Contains response data for the delete operation. */\nexport type ShareDeleteResponse = WithResponse<ShareDeleteHeaders, ShareDeleteHeaders>;\n\n/** Contains response data for the getPermission operation. */\nexport type ShareGetPermissionResponse = WithResponse<\n ShareGetPermissionHeaders & SharePermission,\n ShareGetPermissionHeaders,\n SharePermission\n>;\n\n/** Contains response data for the setAccessPolicy operation. */\nexport type ShareSetAccessPolicyResponse = WithResponse<\n ShareSetAccessPolicyHeaders,\n ShareGetAccessPolicyHeaders\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type ShareSetMetadataResponse = WithResponse<\n ShareSetMetadataHeaders,\n ShareSetMetadataHeaders\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ShareSetPropertiesResponse = WithResponse<\n ShareSetPropertiesHeaders,\n ShareSetPropertiesHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type DirectoryRenameResponse = WithResponse<DirectoryRenameHeaders, DirectoryRenameHeaders>;\n\n/** Defines headers for File_download operation. */\nexport interface FileDownloadHeaders {\n /** Returns the date and time the file was last modified. Any operation that modifies the file or its properties updates the last modified time. */\n lastModified?: Date;\n /** A set of name-value pairs associated with this file as user-defined metadata. */\n metadata?: { [propertyName: string]: string };\n /** The number of bytes present in the response body. */\n contentLength?: number;\n /** The content type specified for the file. The default content type is 'application/octet-stream' */\n contentType?: string;\n /** Indicates the range of bytes returned if the client requested a subset of the file by setting the Range request header. */\n contentRange?: string;\n /** The ETag contains a value that you can use to perform operations conditionally, in quotes. */\n etag?: string;\n /** If the file has an MD5 hash and the request is to read the full file, this response header is returned so that the client can check for message content integrity. If the request is to read a specified range and the 'x-ms-range-get-content-md5' is set to true, then the request returns an MD5 hash for the range, as long as the range size is less than or equal to 4 MB. If neither of these sets of conditions is true, then no value is returned for the 'Content-MD5' header. */\n contentMD5?: Uint8Array;\n /** Returns the value that was specified for the Content-Encoding request header. */\n contentEncoding?: string;\n /** Returned if it was previously specified for the file. */\n cacheControl?: string;\n /** Returns the value that was specified for the 'x-ms-content-disposition' header and specifies how to process the response. */\n contentDisposition?: string;\n /** Returns the value that was specified for the Content-Language request header. */\n contentLanguage?: string;\n /** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */\n requestId?: string;\n /** Indicates the version of the File service used to execute the request. */\n version?: string;\n /** Indicates that the service supports requests for partial file content. */\n acceptRanges?: string;\n /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */\n date?: Date;\n /** Conclusion time of the last attempted Copy File operation where this file was the destination file. This value can specify the time of a completed, aborted, or failed copy attempt. */\n copyCompletedOn?: Date;\n /** Only appears when x-ms-copy-status is failed or pending. Describes cause of fatal or non-fatal copy operation failure. */\n copyStatusDescription?: string;\n /** String identifier for the last attempted Copy File operation where this file was the destination file. */\n copyId?: string;\n /** Contains the number of bytes copied and the total bytes in the source in the last attempted Copy File operation where this file was the destination file. Can show between 0 and Content-Length bytes copied. */\n copyProgress?: string;\n /** URL up to 2KB in length that specifies the source file used in the last attempted Copy File operation where this file was the destination file. */\n copySource?: string;\n /** State of the copy operation identified by 'x-ms-copy-id'. */\n copyStatus?: CopyStatusType;\n /** If the file has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole file's MD5 value. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range. */\n fileContentMD5?: Uint8Array;\n /** The value of this header is set to true if the file data and application metadata are completely encrypted using the specified algorithm. Otherwise, the value is set to false (when the file is unencrypted, or if only parts of the file/application metadata are encrypted). */\n isServerEncrypted?: boolean;\n /** Attributes set for the file. */\n fileAttributes?: string;\n /** Creation time for the file. */\n fileCreatedOn?: Date;\n /** Last write time for the file. */\n fileLastWriteOn?: Date;\n /** Change time for the file. */\n fileChangeOn?: Date;\n /** Key of the permission set for the file. */\n filePermissionKey?: string;\n /** The fileId of the file. */\n fileId?: string;\n /** The parent fileId of the file. */\n fileParentId?: string;\n /** When a file is leased, specifies whether the lease is of infinite or fixed duration. */\n leaseDuration?: LeaseDurationType;\n /** Lease state of the file. */\n leaseState?: LeaseStateType;\n /** The current lease status of the file. */\n leaseStatus?: LeaseStatusType;\n /** Properties of NFS files. */\n posixProperties?: FilePosixProperties;\n /** Error Code */\n errorCode?: string;\n}\n\n/** Contains response data for the download operation. */\nexport type FileDownloadResponseModel = WithResponse<FileDownloadResponse, FileDownloadHeaders>;\n\n/** Contains response data for the uploadRangeFromURL operation. */\nexport type FileUploadRangeFromURLResponse = WithResponse<\n FileUploadRangeFromURLHeaders,\n FileUploadRangeFromURLHeaders\n>;\n\n/** Contains response data for the getProperties operation. */\nexport type ShareGetPropertiesResponseModel = WithResponse<\n ShareGetPropertiesHeaders,\n ShareGetPropertiesHeaders\n>;\n\n/** Contains response data for the getStatistics operation. */\nexport type ShareGetStatisticsResponseModel = WithResponse<\n ShareGetStatisticsHeaders & ShareStats,\n ShareGetStatisticsHeaders,\n ShareStats\n>;\n\n/** Contains response data for the getRangeList operation. */\nexport type FileGetRangeListDiffResponse = WithResponse<\n FileGetRangeListHeaders & ShareFileRangeList,\n FileGetRangeListHeaders,\n ShareFileRangeList\n>;\n\n/** Contains response data for the setHttpHeaders operation. */\nexport type FileSetHTTPHeadersResponse = WithResponse<\n FileSetHttpHeadersHeaders,\n FileSetHttpHeadersHeaders\n>;\n\n/** Contains response data for the rename operation. */\nexport type FileRenameResponse = WithResponse<FileRenameHeaders, FileRenameHeaders>;\n\n// explicitly exporting types that we need.\n\nexport {\n CopyStatusType,\n DeleteSnapshotsOptionType,\n FileDownloadOptionalParams,\n FileGetRangeListHeaders,\n FileLastWrittenMode,\n FileServiceProperties,\n FileUploadRangeFromURLOptionalParams,\n PermissionCopyModeType,\n ListSharesIncludeType,\n FileRange as RangeModel,\n ShareGetAccessPolicyHeaders,\n ShareItemInternal,\n SignedIdentifier as SignedIdentifierModel,\n SourceModifiedAccessConditions,\n FileForceCloseHandlesHeaders,\n DirectoryForceCloseHandlesHeaders,\n DirectoryDeleteHeaders,\n DirectoryListFilesAndDirectoriesSegmentHeaders,\n DirectoryRenameHeaders,\n DirectoryListHandlesHeaders,\n DirectorySetMetadataHeaders,\n FileAbortCopyHeaders,\n FileDeleteHeaders,\n FileGetSymbolicLinkHeaders,\n FilePermissionFormat,\n FileProperty,\n FileListHandlesHeaders,\n FileRenameHeaders,\n CorsRule,\n Metrics,\n ModeCopyMode,\n NfsFileType,\n FileSetMetadataHeaders,\n FileStartCopyHeaders,\n FileUploadRangeFromURLHeaders,\n FileUploadRangeHeaders,\n OwnerCopyMode,\n ServiceGetPropertiesHeaders,\n ListSharesResponse as ListSharesResponseModel,\n RetentionPolicy,\n ServiceGetUserDelegationKeyResponse as ServiceGetUserDelegationKeyResponseModel,\n ServiceGetUserDelegationKeyHeaders,\n ServiceListSharesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n ShareCreatePermissionHeaders,\n ShareCreateHeaders,\n ShareCreateSnapshotHeaders,\n ShareDeleteHeaders,\n SharePermission,\n ShareGetPermissionHeaders,\n ShareGetPropertiesHeaders,\n ShareStats,\n ShareGetStatisticsHeaders,\n SharePropertiesInternal,\n ShareSetAccessPolicyHeaders,\n ShareSetMetadataHeaders,\n ShareSetPropertiesHeaders,\n ShareTokenIntent,\n AccessPolicy,\n LeaseAccessConditions,\n LeaseDurationType,\n LeaseStateType,\n LeaseStatusType,\n CopyFileSmbInfo,\n ShareNfsSettings,\n ShareNfsSettingsEncryptionInTransit,\n ShareProtocolSettings,\n ShareSmbSettings,\n ShareSmbSettingsEncryptionInTransit,\n SmbMultichannel,\n ShareFileRangeList,\n ClearRange,\n ShareAccessTier,\n ShareRootSquash,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/models/index.js\";\n\nexport {\n FileDownloadResponse as RawFileDownloadResponse,\n FileSetHttpHeadersHeaders as FileSetHTTPHeadersHeaders,\n} from \"./models.js\";\n/** Known values of {@link ShareTokenIntent} that the service accepts. */\nexport enum KnownShareTokenIntent {\n Backup = \"backup\",\n}\n\n/**\n * Contains response data for the setQuota operation.\n */\nexport type ShareSetQuotaResponse = WithResponse<ShareSetQuotaHeaders, ShareSetQuotaHeaders>;\n\n/**\n * Defines headers for setQuota operation.\n */\nexport type ShareSetQuotaHeaders = ShareSetPropertiesHeaders;\n\n/** A listed file item. */\nexport interface FileItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** A listed directory item. */\nexport interface DirectoryItem {\n name: string;\n fileId?: string;\n /** File properties. */\n properties?: FileProperty;\n attributes?: string;\n permissionKey?: string;\n}\n\n/** Abstract for entries that can be listed from Directory. */\nexport interface FilesAndDirectoriesListSegment {\n directoryItems: DirectoryItem[];\n fileItems: FileItem[];\n}\n\n/** An enumeration of directories and files. */\nexport interface ListFilesAndDirectoriesSegmentResponse {\n serviceEndpoint: string;\n shareName: string;\n shareSnapshot?: string;\n directoryPath: string;\n prefix: string;\n marker?: string;\n maxResults?: number;\n /** Abstract for entries that can be listed from Directory. */\n segment: FilesAndDirectoriesListSegment;\n continuationToken: string;\n directoryId?: string;\n}\n\n/** Defines values for AccessRight. */\nexport type ShareFileHandleAccessRights = \"Read\" | \"Write\" | \"Delete\";\n\n/** A listed Azure Storage handle item. */\nexport interface HandleItem {\n /** XSMB service handle ID */\n handleId: string;\n /** File or directory name including full path starting from share root */\n path: string;\n /** FileId uniquely identifies the file or directory. */\n fileId: string;\n /** ParentId uniquely identifies the parent directory of the object. */\n parentId?: string;\n /** SMB session ID in context of which the file handle was opened */\n sessionId: string;\n /** Client IP that opened the handle */\n clientIp: string;\n /** Name of the client machine where the share is being mounted */\n clientName: string;\n /** Time when the session that previously opened the handle has last been reconnected. (UTC) */\n openTime: Date;\n /** Time handle was last connected to (UTC) */\n lastReconnectTime?: Date;\n accessRightList?: ShareFileHandleAccessRights[];\n}\n\n/** An enumeration of handles. */\nexport interface ListHandlesResponse {\n handleList?: HandleItem[];\n continuationToken: string;\n}\n\n/**\n * Contains response data for the {@link getUserDelegationKey} operation.\n */\nexport declare type ServiceGetUserDelegationKeyResponse = WithResponse<\n UserDelegationKey & ServiceGetUserDelegationKeyHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKeyModel\n>;\n"]}
|
|
@@ -8,7 +8,7 @@ export { parseOctalFileMode, toOctalFileMode, parseSymbolicFileMode, toSymbolicF
|
|
|
8
8
|
export { FileSASSignatureValues, generateFileSASQueryParameters, } from "./FileSASSignatureValues.js";
|
|
9
9
|
export * from "./Clients.js";
|
|
10
10
|
export * from "./ShareSASPermissions.js";
|
|
11
|
-
export { AnonymousCredential, Credential, StorageSharedKeyCredential, BaseRequestPolicy, AnonymousCredentialPolicy, CredentialPolicy, StorageRetryOptions, StorageRetryPolicyType, StorageRetryPolicy, StorageRetryPolicyFactory, StorageSharedKeyCredentialPolicy, StorageBrowserPolicyFactory, } from "@azure/storage-common";
|
|
11
|
+
export { AnonymousCredential, Credential, StorageSharedKeyCredential, BaseRequestPolicy, AnonymousCredentialPolicy, CredentialPolicy, StorageRetryOptions, StorageRetryPolicyType, StorageRetryPolicy, StorageRetryPolicyFactory, StorageSharedKeyCredentialPolicy, StorageBrowserPolicyFactory, UserDelegationKey, } from "@azure/storage-common";
|
|
12
12
|
export { SasIPRange } from "./SasIPRange.js";
|
|
13
13
|
export { Range } from "./Range.js";
|
|
14
14
|
export { FileAndDirectoryCreateCommonOptions, FileAndDirectorySetPropertiesCommonOptions, FileHttpHeaders, FilePermissionInheritType, FilePermissionPreserveType, PosixRolePermissions, NfsFileMode, FilePosixProperties, Metadata, TimeNowType, TimePreserveType, FileAttributesPreserveType, CloseHandlesInfo, ShareProtocols, HttpAuthorization, StorageFileAudience, getFileServiceAccountAudience, } from "./models.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,mCAAmC,EACnC,0CAA0C,EAC1C,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,aAAa,CAAC;AACrB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,GAE5B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAgBL,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,aAAa,CAAC;AACrB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,QAAQ,EAGR,cAAc,EACd,WAAW,EAUX,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC;AAQrC,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\nexport * from \"./AccountSASPermissions.js\";\nexport * from \"./AccountSASResourceTypes.js\";\nexport * from \"./AccountSASServices.js\";\nexport {\n AccountSASSignatureValues,\n generateAccountSASQueryParameters,\n} from \"./AccountSASSignatureValues.js\";\nexport * from \"./FileSASPermissions.js\";\nexport {\n parseOctalFileMode,\n toOctalFileMode,\n parseSymbolicFileMode,\n toSymbolicFileMode,\n} from \"./utils/utils.common.js\";\nexport {\n FileSASSignatureValues,\n generateFileSASQueryParameters,\n} from \"./FileSASSignatureValues.js\";\nexport * from \"./Clients.js\";\nexport * from \"./ShareSASPermissions.js\";\n\nexport {\n AnonymousCredential,\n Credential,\n StorageSharedKeyCredential,\n BaseRequestPolicy,\n AnonymousCredentialPolicy,\n CredentialPolicy,\n StorageRetryOptions,\n StorageRetryPolicyType,\n StorageRetryPolicy,\n StorageRetryPolicyFactory,\n StorageSharedKeyCredentialPolicy,\n StorageBrowserPolicyFactory,\n UserDelegationKey,\n} from \"@azure/storage-common\";\n\nexport { SasIPRange } from \"./SasIPRange.js\";\nexport { Range } from \"./Range.js\";\nexport {\n FileAndDirectoryCreateCommonOptions,\n FileAndDirectorySetPropertiesCommonOptions,\n FileHttpHeaders,\n FilePermissionInheritType,\n FilePermissionPreserveType,\n PosixRolePermissions,\n NfsFileMode,\n FilePosixProperties,\n Metadata,\n TimeNowType,\n TimePreserveType,\n FileAttributesPreserveType,\n CloseHandlesInfo,\n ShareProtocols,\n HttpAuthorization,\n StorageFileAudience,\n getFileServiceAccountAudience,\n} from \"./models.js\";\nexport * from \"./FileSystemAttributes.js\";\nexport {\n Pipeline,\n PipelineLike,\n PipelineOptions,\n isPipelineLike,\n newPipeline,\n StoragePipelineOptions,\n RequestPolicyFactory,\n RequestPolicy,\n RequestPolicyOptions,\n WebResource,\n HttpOperationResponse,\n HttpHeaders,\n HttpRequestBody,\n IHttpClient,\n StorageOAuthScopes,\n ServiceClientOptions,\n} from \"./Pipeline.js\";\nexport * from \"./ShareServiceClient.js\";\nexport * from \"./SASQueryParameters.js\";\nexport { CommonOptions } from \"./StorageClient.js\";\nexport * from \"./generatedModels.js\";\nexport {\n WithResponse,\n ResponseLike,\n ResponseWithBody,\n ResponseWithHeaders,\n HttpResponse,\n} from \"./utils/utils.common.js\";\nexport { RestError };\nexport { logger } from \"./log.js\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,MAAyB,CAAC;AACpD,eAAO,MAAM,eAAe,EAAE,MAAqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,MAAsC,CAAC;AACzE,eAAO,MAAM,yBAAyB,EAAE,MAAwB,CAAC;AACjE,eAAO,MAAM,mCAAmC,EAAE,MAAU,CAAC;AAC7D,eAAO,MAAM,8BAA8B,EAAE,MAAU,CAAC;AACxD,eAAO,MAAM,eAAe,EAAE,MAAmB,CAAC;AAClD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,GAAG,MAAM,EAAyC,CAAC;AAE1F,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;CAK7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAqB3B,CAAC;AAEF,eAAO,MAAM,QAAQ,KAAK,CAAC;AAC3B,eAAO,MAAM,OAAO,MAAM,CAAC;AAC3B,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAEzC,eAAO,MAAM,oCAAoC,UA8DhD,CAAC;AAEF,eAAO,MAAM,wCAAwC,UAoBpD,CAAC;AAIF,eAAO,MAAM,cAAc,UAqB1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
export const SDK_VERSION = "12.
|
|
4
|
-
export const SERVICE_VERSION = "
|
|
3
|
+
export const SDK_VERSION = "12.30.0-beta.1";
|
|
4
|
+
export const SERVICE_VERSION = "2026-02-06";
|
|
5
5
|
export const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
|
|
6
6
|
export const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
|
|
7
7
|
export const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,mBAAmB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AACxE,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,8BAA8B,GAAW,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,cAAc,EAAE,eAAe;QAC/B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,QAAQ;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,OAAO;IAC3B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,sBAAsB,EAAE,wBAAwB;IAChD,gBAAgB,EAAE,kBAAkB;IACpC,wBAAwB,EAAE,6BAA6B;IACvD,SAAS,EAAE,WAAW;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC;AAC3B,MAAM,CAAC,MAAM,sBAAsB,GAAG,UAAU,CAAC;AACjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAEzC,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,6BAA6B;IAC7B,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,MAAM;IACN,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,wBAAwB;IACxB,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,+BAA+B;IAC/B,cAAc;IACd,eAAe;IACf,qBAAqB;IACrB,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;IACb,eAAe;IACf,MAAM;IACN,eAAe;IACf,QAAQ;IACR,MAAM;IACN,oBAAoB;IACpB,kBAAkB;IAClB,2BAA2B;IAC3B,cAAc;IACd,oBAAoB;IACpB,kBAAkB;IAClB,8BAA8B;IAC9B,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,YAAY;IACZ,+BAA+B;IAC/B,uBAAuB;IACvB,eAAe;IACf,mBAAmB;IACnB,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,6BAA6B;IAC7B,8BAA8B;IAC9B,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,qBAAqB;IACrB,gBAAgB;IAChB,+BAA+B;IAC/B,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.30.0-beta.1\";\nexport const SERVICE_VERSION: string = \"2026-02-06\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/storage-file-share",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.30.0-alpha.20251201.1",
|
|
5
5
|
"description": "Microsoft Azure Storage SDK for JavaScript - File",
|
|
6
6
|
"main": "./dist/commonjs/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
@@ -70,41 +70,41 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@azure/abort-controller": "
|
|
74
|
-
"@azure/core-auth": "
|
|
75
|
-
"@azure/core-client": "
|
|
76
|
-
"@azure/core-http-compat": "
|
|
77
|
-
"@azure/core-paging": "
|
|
78
|
-
"@azure/core-rest-pipeline": "
|
|
79
|
-
"@azure/core-tracing": "
|
|
80
|
-
"@azure/core-util": "
|
|
81
|
-
"@azure/core-xml": "
|
|
82
|
-
"@azure/logger": "
|
|
83
|
-
"@azure/storage-common": "
|
|
73
|
+
"@azure/abort-controller": ">=2.1.3-alpha <2.1.3-alphb",
|
|
74
|
+
"@azure/core-auth": ">=1.10.2-alpha <1.10.2-alphb",
|
|
75
|
+
"@azure/core-client": ">=1.10.2-alpha <1.10.2-alphb",
|
|
76
|
+
"@azure/core-http-compat": ">=2.3.2-alpha <2.3.2-alphb",
|
|
77
|
+
"@azure/core-paging": ">=1.6.3-alpha <1.6.3-alphb",
|
|
78
|
+
"@azure/core-rest-pipeline": ">=1.22.2-alpha <1.22.2-alphb",
|
|
79
|
+
"@azure/core-tracing": ">=1.3.2-alpha <1.3.2-alphb",
|
|
80
|
+
"@azure/core-util": ">=1.13.2-alpha <1.13.2-alphb",
|
|
81
|
+
"@azure/core-xml": ">=1.5.1-alpha <1.5.1-alphb",
|
|
82
|
+
"@azure/logger": ">=1.3.1-alpha <1.3.1-alphb",
|
|
83
|
+
"@azure/storage-common": ">=12.2.0-alpha <12.2.0-alphb",
|
|
84
84
|
"events": "^3.0.0",
|
|
85
85
|
"tslib": "^2.8.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@azure-tools/test-perf": "
|
|
89
|
-
"@azure/identity": "4.
|
|
90
|
-
"@azure/storage-blob": "12.
|
|
91
|
-
"@types/node": "^20.19.
|
|
92
|
-
"@vitest/browser": "^
|
|
93
|
-
"@vitest/coverage-istanbul": "^
|
|
88
|
+
"@azure-tools/test-perf": ">=1.0.2-alpha <1.0.2-alphb",
|
|
89
|
+
"@azure/identity": "4.13.0",
|
|
90
|
+
"@azure/storage-blob": ">=12.30.0-alpha <12.30.0-alphb",
|
|
91
|
+
"@types/node": "^20.19.25",
|
|
92
|
+
"@vitest/browser-playwright": "^4.0.8",
|
|
93
|
+
"@vitest/coverage-istanbul": "^4.0.8",
|
|
94
94
|
"cross-env": "^7.0.3",
|
|
95
|
-
"dotenv": "^16.
|
|
96
|
-
"eslint": "^9.
|
|
97
|
-
"playwright": "^1.
|
|
95
|
+
"dotenv": "^16.6.1",
|
|
96
|
+
"eslint": "^9.39.1",
|
|
97
|
+
"playwright": "^1.56.1",
|
|
98
98
|
"prettier": "^3.6.2",
|
|
99
|
-
"rimraf": "^6.0
|
|
100
|
-
"tshy": "^3.0.
|
|
99
|
+
"rimraf": "^6.1.0",
|
|
100
|
+
"tshy": "^3.0.3",
|
|
101
101
|
"typescript": "~5.9.3",
|
|
102
|
-
"vitest": "^
|
|
102
|
+
"vitest": "^4.0.8",
|
|
103
103
|
"@azure-tools/test-credential": "^2.1.2",
|
|
104
|
+
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
104
105
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
105
106
|
"@azure/dev-tool": "^1.0.0",
|
|
106
|
-
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
107
|
-
"@azure-tools/test-utils-vitest": "^2.0.1"
|
|
107
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
108
108
|
},
|
|
109
109
|
"type": "module",
|
|
110
110
|
"tshy": {
|
|
@@ -160,6 +160,7 @@
|
|
|
160
160
|
"test": "npm run test:node && npm run test:browser",
|
|
161
161
|
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
162
162
|
"test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
|
|
163
|
+
"test:node:esm": "dev-tool run test:vitest --esm",
|
|
163
164
|
"update-snippets": "dev-tool run update-snippets"
|
|
164
165
|
}
|
|
165
166
|
}
|