@azure/storage-blob 12.30.0 → 12.31.0-alpha.20260203.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/browser/BlobBatchClient.d.ts.map +1 -1
  2. package/dist/browser/BlobBatchClient.js +2 -2
  3. package/dist/browser/BlobBatchClient.js.map +1 -1
  4. package/dist/browser/BlobQueryResponse-browser.d.mts.map +1 -1
  5. package/dist/browser/BlobQueryResponse-browser.mjs.map +1 -1
  6. package/dist/browser/BlobQueryResponse.common.d.ts +291 -0
  7. package/dist/browser/BlobQueryResponse.common.d.ts.map +1 -0
  8. package/dist/browser/BlobQueryResponse.common.js +363 -0
  9. package/dist/browser/BlobQueryResponse.common.js.map +1 -0
  10. package/dist/browser/BlobQueryResponse.d.ts +1 -290
  11. package/dist/browser/BlobQueryResponse.js +1 -360
  12. package/dist/browser/Clients.js +4 -4
  13. package/dist/browser/Clients.js.map +1 -1
  14. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  15. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  16. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  17. package/dist/browser/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  18. package/dist/browser/generatedModels.d.ts +63 -2
  19. package/dist/browser/generatedModels.d.ts.map +1 -1
  20. package/dist/browser/generatedModels.js.map +1 -1
  21. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  22. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  23. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  24. package/dist/browser/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  25. package/dist/browser/utils/constants.js +1 -1
  26. package/dist/browser/utils/constants.js.map +1 -1
  27. package/dist/commonjs/BlobBatchClient.d.ts.map +1 -1
  28. package/dist/commonjs/BlobBatchClient.js +2 -2
  29. package/dist/commonjs/BlobBatchClient.js.map +1 -1
  30. package/dist/commonjs/BlobDownloadResponse.d.ts +2 -1
  31. package/dist/commonjs/BlobDownloadResponse.d.ts.map +1 -1
  32. package/dist/commonjs/BlobDownloadResponse.js.map +1 -1
  33. package/dist/commonjs/BlobQueryResponse.common.d.ts +291 -0
  34. package/dist/commonjs/BlobQueryResponse.common.d.ts.map +1 -0
  35. package/dist/commonjs/BlobQueryResponse.common.js +367 -0
  36. package/dist/commonjs/BlobQueryResponse.common.js.map +1 -0
  37. package/dist/commonjs/BlobQueryResponse.d.ts +2 -1
  38. package/dist/commonjs/BlobQueryResponse.d.ts.map +1 -1
  39. package/dist/commonjs/BlobQueryResponse.js.map +1 -1
  40. package/dist/commonjs/Clients.js +4 -4
  41. package/dist/commonjs/Clients.js.map +1 -1
  42. package/dist/commonjs/generatedModels.d.ts +63 -2
  43. package/dist/commonjs/generatedModels.d.ts.map +1 -1
  44. package/dist/commonjs/generatedModels.js.map +1 -1
  45. package/dist/commonjs/index.d.ts +1 -0
  46. package/dist/commonjs/index.d.ts.map +1 -1
  47. package/dist/commonjs/index.js.map +1 -1
  48. package/dist/commonjs/tsdoc-metadata.json +1 -1
  49. package/dist/commonjs/utils/constants.js +1 -1
  50. package/dist/commonjs/utils/constants.js.map +1 -1
  51. package/dist/esm/BlobBatchClient.d.ts.map +1 -1
  52. package/dist/esm/BlobBatchClient.js +2 -2
  53. package/dist/esm/BlobBatchClient.js.map +1 -1
  54. package/dist/esm/BlobDownloadResponse.d.ts +2 -1
  55. package/dist/esm/BlobDownloadResponse.d.ts.map +1 -1
  56. package/dist/esm/BlobDownloadResponse.js.map +1 -1
  57. package/dist/esm/BlobQueryResponse.common.d.ts +291 -0
  58. package/dist/esm/BlobQueryResponse.common.d.ts.map +1 -0
  59. package/dist/esm/BlobQueryResponse.common.js +363 -0
  60. package/dist/esm/BlobQueryResponse.common.js.map +1 -0
  61. package/dist/esm/BlobQueryResponse.d.ts +2 -1
  62. package/dist/esm/BlobQueryResponse.d.ts.map +1 -1
  63. package/dist/esm/BlobQueryResponse.js.map +1 -1
  64. package/dist/esm/Clients.js +4 -4
  65. package/dist/esm/Clients.js.map +1 -1
  66. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  67. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  68. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  69. package/dist/esm/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  70. package/dist/esm/generatedModels.d.ts +63 -2
  71. package/dist/esm/generatedModels.d.ts.map +1 -1
  72. package/dist/esm/generatedModels.js.map +1 -1
  73. package/dist/esm/index.d.ts +1 -0
  74. package/dist/esm/index.d.ts.map +1 -1
  75. package/dist/esm/index.js.map +1 -1
  76. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  77. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  78. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  79. package/dist/esm/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  80. package/dist/esm/utils/constants.js +1 -1
  81. package/dist/esm/utils/constants.js.map +1 -1
  82. package/dist/react-native/BlobBatchClient.d.ts.map +1 -1
  83. package/dist/react-native/BlobBatchClient.js +2 -2
  84. package/dist/react-native/BlobBatchClient.js.map +1 -1
  85. package/dist/react-native/BlobDownloadResponse-react-native.d.mts.map +1 -0
  86. package/dist/react-native/BlobDownloadResponse-react-native.mjs.map +1 -0
  87. package/dist/react-native/BlobDownloadResponse.d.ts +2 -369
  88. package/dist/react-native/BlobDownloadResponse.js +5 -463
  89. package/dist/react-native/BlobQueryResponse-react-native.d.mts.map +1 -0
  90. package/dist/react-native/BlobQueryResponse-react-native.mjs.map +1 -0
  91. package/dist/react-native/BlobQueryResponse.common.d.ts +291 -0
  92. package/dist/react-native/BlobQueryResponse.common.d.ts.map +1 -0
  93. package/dist/react-native/BlobQueryResponse.common.js +363 -0
  94. package/dist/react-native/BlobQueryResponse.common.js.map +1 -0
  95. package/dist/react-native/BlobQueryResponse.d.ts +2 -294
  96. package/dist/react-native/BlobQueryResponse.js +2 -367
  97. package/dist/react-native/Clients.js +4 -4
  98. package/dist/react-native/Clients.js.map +1 -1
  99. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts +3 -0
  100. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.d.mts.map +1 -0
  101. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs +5 -0
  102. package/dist/react-native/credentials/StorageSharedKeyCredential-react-native.mjs.map +1 -0
  103. package/dist/react-native/generatedModels.d.ts +63 -2
  104. package/dist/react-native/generatedModels.d.ts.map +1 -1
  105. package/dist/react-native/generatedModels.js.map +1 -1
  106. package/dist/react-native/index.d.ts +1 -0
  107. package/dist/react-native/index.d.ts.map +1 -1
  108. package/dist/react-native/index.js.map +1 -1
  109. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts +17 -0
  110. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.d.mts.map +1 -0
  111. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs +18 -0
  112. package/dist/react-native/policies/StorageSharedKeyCredentialPolicyV2-react-native.mjs.map +1 -0
  113. package/dist/react-native/utils/constants.js +1 -1
  114. package/dist/react-native/utils/constants.js.map +1 -1
  115. package/dist/react-native/utils/utils-react-native.d.mts.map +1 -0
  116. package/dist/react-native/utils/utils-react-native.mjs.map +1 -0
  117. package/dist/react-native/utils/utils.d.ts +6 -46
  118. package/dist/react-native/utils/utils.js +13 -127
  119. package/package.json +15 -15
  120. package/dist/react-native/BlobDownloadResponse.d.ts.map +0 -1
  121. package/dist/react-native/BlobDownloadResponse.js.map +0 -1
  122. package/dist/react-native/BlobQueryResponse.d.ts.map +0 -1
  123. package/dist/react-native/BlobQueryResponse.js.map +0 -1
  124. package/dist/react-native/utils/utils.d.ts.map +0 -1
  125. package/dist/react-native/utils/utils.js.map +0 -1
@@ -1,369 +1,2 @@
1
- import type { BlobImmutabilityPolicyMode } from "./generatedModels.js";
2
- import type { BlobDownloadHeaders, BlobType, CopyStatusType, LeaseDurationType, LeaseStateType, LeaseStatusType } from "./generatedModels.js";
3
- import type { BlobDownloadResponseParsed, Metadata, ObjectReplicationPolicy } from "./models.js";
4
- import type { ReadableStreamGetter, RetriableReadableStreamOptions } from "./utils/RetriableReadableStream.js";
5
- import type { ResponseWithHeaders } from "./utils/utils.common.js";
6
- /**
7
- * ONLY AVAILABLE IN NODE.JS RUNTIME.
8
- *
9
- * BlobDownloadResponse implements BlobDownloadResponseParsed interface, and in Node.js runtime it will
10
- * automatically retry when internal read stream unexpected ends. (This kind of unexpected ends cannot
11
- * trigger retries defined in pipeline retry policy.)
12
- *
13
- * The {@link readableStreamBody} stream will retry underlayer, you can just use it as a normal Node.js
14
- * Readable stream.
15
- */
16
- export declare class BlobDownloadResponse implements BlobDownloadResponseParsed {
17
- /**
18
- * Indicates that the service supports
19
- * requests for partial file content.
20
- *
21
- * @readonly
22
- */
23
- get acceptRanges(): string | undefined;
24
- /**
25
- * Returns if it was previously specified
26
- * for the file.
27
- *
28
- * @readonly
29
- */
30
- get cacheControl(): string | undefined;
31
- /**
32
- * Returns the value that was specified
33
- * for the 'x-ms-content-disposition' header and specifies how to process the
34
- * response.
35
- *
36
- * @readonly
37
- */
38
- get contentDisposition(): string | undefined;
39
- /**
40
- * Returns the value that was specified
41
- * for the Content-Encoding request header.
42
- *
43
- * @readonly
44
- */
45
- get contentEncoding(): string | undefined;
46
- /**
47
- * Returns the value that was specified
48
- * for the Content-Language request header.
49
- *
50
- * @readonly
51
- */
52
- get contentLanguage(): string | undefined;
53
- /**
54
- * The current sequence number for a
55
- * page blob. This header is not returned for block blobs or append blobs.
56
- *
57
- * @readonly
58
- */
59
- get blobSequenceNumber(): number | undefined;
60
- /**
61
- * The blob's type. Possible values include:
62
- * 'BlockBlob', 'PageBlob', 'AppendBlob'.
63
- *
64
- * @readonly
65
- */
66
- get blobType(): BlobType | undefined;
67
- /**
68
- * The number of bytes present in the
69
- * response body.
70
- *
71
- * @readonly
72
- */
73
- get contentLength(): number | undefined;
74
- /**
75
- * If the file has an MD5 hash and the
76
- * request is to read the full file, this response header is returned so that
77
- * the client can check for message content integrity. If the request is to
78
- * read a specified range and the 'x-ms-range-get-content-md5' is set to
79
- * true, then the request returns an MD5 hash for the range, as long as the
80
- * range size is less than or equal to 4 MB. If neither of these sets of
81
- * conditions is true, then no value is returned for the 'Content-MD5'
82
- * header.
83
- *
84
- * @readonly
85
- */
86
- get contentMD5(): Uint8Array | undefined;
87
- /**
88
- * Indicates the range of bytes returned if
89
- * the client requested a subset of the file by setting the Range request
90
- * header.
91
- *
92
- * @readonly
93
- */
94
- get contentRange(): string | undefined;
95
- /**
96
- * The content type specified for the file.
97
- * The default content type is 'application/octet-stream'
98
- *
99
- * @readonly
100
- */
101
- get contentType(): string | undefined;
102
- /**
103
- * Conclusion time of the last attempted
104
- * Copy File operation where this file was the destination file. This value
105
- * can specify the time of a completed, aborted, or failed copy attempt.
106
- *
107
- * @readonly
108
- */
109
- get copyCompletedOn(): Date | undefined;
110
- /**
111
- * String identifier for the last attempted Copy
112
- * File operation where this file was the destination file.
113
- *
114
- * @readonly
115
- */
116
- get copyId(): string | undefined;
117
- /**
118
- * Contains the number of bytes copied and
119
- * the total bytes in the source in the last attempted Copy File operation
120
- * where this file was the destination file. Can show between 0 and
121
- * Content-Length bytes copied.
122
- *
123
- * @readonly
124
- */
125
- get copyProgress(): string | undefined;
126
- /**
127
- * URL up to 2KB in length that specifies the
128
- * source file used in the last attempted Copy File operation where this file
129
- * was the destination file.
130
- *
131
- * @readonly
132
- */
133
- get copySource(): string | undefined;
134
- /**
135
- * State of the copy operation
136
- * identified by 'x-ms-copy-id'. Possible values include: 'pending',
137
- * 'success', 'aborted', 'failed'
138
- *
139
- * @readonly
140
- */
141
- get copyStatus(): CopyStatusType | undefined;
142
- /**
143
- * Only appears when
144
- * x-ms-copy-status is failed or pending. Describes cause of fatal or
145
- * non-fatal copy operation failure.
146
- *
147
- * @readonly
148
- */
149
- get copyStatusDescription(): string | undefined;
150
- /**
151
- * When a blob is leased,
152
- * specifies whether the lease is of infinite or fixed duration. Possible
153
- * values include: 'infinite', 'fixed'.
154
- *
155
- * @readonly
156
- */
157
- get leaseDuration(): LeaseDurationType | undefined;
158
- /**
159
- * Lease state of the blob. Possible
160
- * values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
161
- *
162
- * @readonly
163
- */
164
- get leaseState(): LeaseStateType | undefined;
165
- /**
166
- * The current lease status of the
167
- * blob. Possible values include: 'locked', 'unlocked'.
168
- *
169
- * @readonly
170
- */
171
- get leaseStatus(): LeaseStatusType | undefined;
172
- /**
173
- * A UTC date/time value generated by the service that
174
- * indicates the time at which the response was initiated.
175
- *
176
- * @readonly
177
- */
178
- get date(): Date | undefined;
179
- /**
180
- * The number of committed blocks
181
- * present in the blob. This header is returned only for append blobs.
182
- *
183
- * @readonly
184
- */
185
- get blobCommittedBlockCount(): number | undefined;
186
- /**
187
- * The ETag contains a value that you can use to
188
- * perform operations conditionally, in quotes.
189
- *
190
- * @readonly
191
- */
192
- get etag(): string | undefined;
193
- /**
194
- * The number of tags associated with the blob
195
- *
196
- * @readonly
197
- */
198
- get tagCount(): number | undefined;
199
- /**
200
- * The error code.
201
- *
202
- * @readonly
203
- */
204
- get errorCode(): string | undefined;
205
- /**
206
- * The value of this header is set to
207
- * true if the file data and application metadata are completely encrypted
208
- * using the specified algorithm. Otherwise, the value is set to false (when
209
- * the file is unencrypted, or if only parts of the file/application metadata
210
- * are encrypted).
211
- *
212
- * @readonly
213
- */
214
- get isServerEncrypted(): boolean | undefined;
215
- /**
216
- * If the blob has a MD5 hash, and if
217
- * request contains range header (Range or x-ms-range), this response header
218
- * is returned with the value of the whole blob's MD5 value. This value may
219
- * or may not be equal to the value returned in Content-MD5 header, with the
220
- * latter calculated from the requested range.
221
- *
222
- * @readonly
223
- */
224
- get blobContentMD5(): Uint8Array | undefined;
225
- /**
226
- * Returns the date and time the file was last
227
- * modified. Any operation that modifies the file or its properties updates
228
- * the last modified time.
229
- *
230
- * @readonly
231
- */
232
- get lastModified(): Date | undefined;
233
- /**
234
- * Returns the UTC date and time generated by the service that indicates the time at which the blob was
235
- * last read or written to.
236
- *
237
- * @readonly
238
- */
239
- get lastAccessed(): Date | undefined;
240
- /**
241
- * Returns the date and time the blob was created.
242
- *
243
- * @readonly
244
- */
245
- get createdOn(): Date | undefined;
246
- /**
247
- * A name-value pair
248
- * to associate with a file storage object.
249
- *
250
- * @readonly
251
- */
252
- get metadata(): Metadata | undefined;
253
- /**
254
- * This header uniquely identifies the request
255
- * that was made and can be used for troubleshooting the request.
256
- *
257
- * @readonly
258
- */
259
- get requestId(): string | undefined;
260
- /**
261
- * If a client request id header is sent in the request, this header will be present in the
262
- * response with the same value.
263
- *
264
- * @readonly
265
- */
266
- get clientRequestId(): string | undefined;
267
- /**
268
- * Indicates the version of the Blob service used
269
- * to execute the request.
270
- *
271
- * @readonly
272
- */
273
- get version(): string | undefined;
274
- /**
275
- * Indicates the versionId of the downloaded blob version.
276
- *
277
- * @readonly
278
- */
279
- get versionId(): string | undefined;
280
- /**
281
- * Indicates whether version of this blob is a current version.
282
- *
283
- * @readonly
284
- */
285
- get isCurrentVersion(): boolean | undefined;
286
- /**
287
- * The SHA-256 hash of the encryption key used to encrypt the blob. This value is only returned
288
- * when the blob was encrypted with a customer-provided key.
289
- *
290
- * @readonly
291
- */
292
- get encryptionKeySha256(): string | undefined;
293
- /**
294
- * If the request is to read a specified range and the x-ms-range-get-content-crc64 is set to
295
- * true, then the request returns a crc64 for the range, as long as the range size is less than
296
- * or equal to 4 MB. If both x-ms-range-get-content-crc64 & x-ms-range-get-content-md5 is
297
- * specified in the same request, it will fail with 400(Bad Request)
298
- */
299
- get contentCrc64(): Uint8Array | undefined;
300
- /**
301
- * Object Replication Policy Id of the destination blob.
302
- *
303
- * @readonly
304
- */
305
- get objectReplicationDestinationPolicyId(): string | undefined;
306
- /**
307
- * Parsed Object Replication Policy Id, Rule Id(s) and status of the source blob.
308
- *
309
- * @readonly
310
- */
311
- get objectReplicationSourceProperties(): ObjectReplicationPolicy[] | undefined;
312
- /**
313
- * If this blob has been sealed.
314
- *
315
- * @readonly
316
- */
317
- get isSealed(): boolean | undefined;
318
- /**
319
- * UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire.
320
- *
321
- * @readonly
322
- */
323
- get immutabilityPolicyExpiresOn(): Date | undefined;
324
- /**
325
- * Indicates immutability policy mode.
326
- *
327
- * @readonly
328
- */
329
- get immutabilityPolicyMode(): BlobImmutabilityPolicyMode | undefined;
330
- /**
331
- * Indicates if a legal hold is present on the blob.
332
- *
333
- * @readonly
334
- */
335
- get legalHold(): boolean | undefined;
336
- /**
337
- * The response body as a browser Blob.
338
- * Always undefined in node.js.
339
- *
340
- * @readonly
341
- */
342
- get contentAsBlob(): Promise<Blob> | undefined;
343
- /**
344
- * The response body as a node.js Readable stream.
345
- * Always undefined in the browser.
346
- *
347
- * It will automatically retry when internal read stream unexpected ends.
348
- *
349
- * @readonly
350
- */
351
- get readableStreamBody(): NodeJS.ReadableStream | undefined;
352
- /**
353
- * The HTTP response.
354
- */
355
- get _response(): ResponseWithHeaders<BlobDownloadHeaders>["_response"];
356
- private originalResponse;
357
- private blobDownloadStream?;
358
- /**
359
- * Creates an instance of BlobDownloadResponse.
360
- *
361
- * @param originalResponse -
362
- * @param getter -
363
- * @param offset -
364
- * @param count -
365
- * @param options -
366
- */
367
- constructor(originalResponse: BlobDownloadResponseParsed, getter: ReadableStreamGetter, offset: number, count: number, options?: RetriableReadableStreamOptions);
368
- }
369
- //# sourceMappingURL=BlobDownloadResponse.d.ts.map
1
+ export declare const BlobDownloadResponse = 1;
2
+ //# sourceMappingURL=BlobDownloadResponse-react-native.d.mts.map