microsoft-graph 2.35.0 → 2.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/.vscode/settings.json +8 -1
  2. package/dist/cjs/errors/BadRequestError.d.ts +9 -0
  3. package/dist/cjs/errors/BadRequestError.d.ts.map +1 -0
  4. package/dist/cjs/errors/BadRequestError.js +14 -0
  5. package/dist/cjs/errors/BandwidthLimitExceededError.d.ts +9 -0
  6. package/dist/cjs/errors/BandwidthLimitExceededError.d.ts.map +1 -0
  7. package/dist/cjs/errors/BandwidthLimitExceededError.js +14 -0
  8. package/dist/cjs/errors/ConflictError.d.ts +10 -0
  9. package/dist/cjs/errors/ConflictError.d.ts.map +1 -0
  10. package/dist/cjs/errors/ConflictError.js +15 -0
  11. package/dist/cjs/errors/ForbiddenError.d.ts +11 -0
  12. package/dist/cjs/errors/ForbiddenError.d.ts.map +1 -0
  13. package/dist/cjs/errors/ForbiddenError.js +16 -0
  14. package/dist/cjs/errors/GatewayTimeoutError.d.ts +9 -0
  15. package/dist/cjs/errors/GatewayTimeoutError.d.ts.map +1 -0
  16. package/dist/cjs/errors/GatewayTimeoutError.js +14 -0
  17. package/dist/cjs/errors/GoneError.d.ts +9 -0
  18. package/dist/cjs/errors/GoneError.d.ts.map +1 -0
  19. package/dist/cjs/errors/GoneError.js +14 -0
  20. package/dist/cjs/errors/InsufficientStorageError.d.ts +9 -0
  21. package/dist/cjs/errors/InsufficientStorageError.d.ts.map +1 -0
  22. package/dist/cjs/errors/InsufficientStorageError.js +14 -0
  23. package/dist/cjs/errors/InternalServerError.d.ts +9 -0
  24. package/dist/cjs/errors/InternalServerError.d.ts.map +1 -0
  25. package/dist/cjs/errors/InternalServerError.js +14 -0
  26. package/dist/cjs/errors/LengthRequiredError.d.ts +9 -0
  27. package/dist/cjs/errors/LengthRequiredError.d.ts.map +1 -0
  28. package/dist/cjs/errors/LengthRequiredError.js +14 -0
  29. package/dist/cjs/errors/LockedError.d.ts +9 -0
  30. package/dist/cjs/errors/LockedError.d.ts.map +1 -0
  31. package/dist/cjs/errors/LockedError.js +14 -0
  32. package/dist/cjs/errors/MethodNotAllowedError.d.ts +9 -0
  33. package/dist/cjs/errors/MethodNotAllowedError.d.ts.map +1 -0
  34. package/dist/cjs/errors/MethodNotAllowedError.js +14 -0
  35. package/dist/cjs/errors/NotAcceptableError.d.ts +9 -0
  36. package/dist/cjs/errors/NotAcceptableError.d.ts.map +1 -0
  37. package/dist/cjs/errors/NotAcceptableError.js +14 -0
  38. package/dist/cjs/errors/PaymentRequiredError.d.ts +9 -0
  39. package/dist/cjs/errors/PaymentRequiredError.d.ts.map +1 -0
  40. package/dist/cjs/errors/PaymentRequiredError.js +14 -0
  41. package/dist/cjs/errors/PreconditionFailedError.d.ts +9 -0
  42. package/dist/cjs/errors/PreconditionFailedError.d.ts.map +1 -0
  43. package/dist/cjs/errors/PreconditionFailedError.js +14 -0
  44. package/dist/cjs/errors/RequestEntityTooLargeError.d.ts +9 -0
  45. package/dist/cjs/errors/RequestEntityTooLargeError.d.ts.map +1 -0
  46. package/dist/cjs/errors/RequestEntityTooLargeError.js +14 -0
  47. package/dist/cjs/errors/RequestFailedError.d.ts +1 -2
  48. package/dist/cjs/errors/RequestFailedError.d.ts.map +1 -1
  49. package/dist/cjs/errors/RequestFailedError.js +1 -8
  50. package/dist/cjs/errors/RequestedRangeNotSatisfiableError.d.ts +9 -0
  51. package/dist/cjs/errors/RequestedRangeNotSatisfiableError.d.ts.map +1 -0
  52. package/dist/cjs/errors/RequestedRangeNotSatisfiableError.js +14 -0
  53. package/dist/cjs/errors/ServiceUnavailableError.d.ts +9 -0
  54. package/dist/cjs/errors/ServiceUnavailableError.d.ts.map +1 -0
  55. package/dist/cjs/errors/ServiceUnavailableError.js +14 -0
  56. package/dist/cjs/errors/TooManyRequestsError.d.ts +9 -0
  57. package/dist/cjs/errors/TooManyRequestsError.d.ts.map +1 -0
  58. package/dist/cjs/errors/TooManyRequestsError.js +14 -0
  59. package/dist/cjs/errors/UnauthorizedError.d.ts +9 -0
  60. package/dist/cjs/errors/UnauthorizedError.d.ts.map +1 -0
  61. package/dist/cjs/errors/UnauthorizedError.js +14 -0
  62. package/dist/cjs/errors/UnprocessableEntityError.d.ts +9 -0
  63. package/dist/cjs/errors/UnprocessableEntityError.d.ts.map +1 -0
  64. package/dist/cjs/errors/UnprocessableEntityError.js +14 -0
  65. package/dist/cjs/errors/UnsupportedMediaTypeError.d.ts +9 -0
  66. package/dist/cjs/errors/UnsupportedMediaTypeError.d.ts.map +1 -0
  67. package/dist/cjs/errors/UnsupportedMediaTypeError.js +14 -0
  68. package/dist/cjs/operations/driveItem/getDriveItemByPath.d.ts.map +1 -1
  69. package/dist/cjs/operations/driveItem/getDriveItemByPath.js +7 -0
  70. package/dist/cjs/operations/driveItem/getDriveItemContent.js +1 -1
  71. package/dist/cjs/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  72. package/dist/cjs/operations/driveItem/streamDriveItemContent.js +4 -0
  73. package/dist/cjs/services/drive.d.ts +0 -2
  74. package/dist/cjs/services/drive.d.ts.map +1 -1
  75. package/dist/cjs/services/drive.js +3 -8
  76. package/dist/cjs/services/httpStatus.d.ts +130 -3
  77. package/dist/cjs/services/httpStatus.d.ts.map +1 -1
  78. package/dist/cjs/services/httpStatus.js +206 -6
  79. package/dist/cjs/services/operationInvoker.d.ts +20 -3
  80. package/dist/cjs/services/operationInvoker.d.ts.map +1 -1
  81. package/dist/cjs/services/operationInvoker.js +192 -57
  82. package/dist/esm/errors/BadRequestError.d.ts +9 -0
  83. package/dist/esm/errors/BadRequestError.d.ts.map +1 -0
  84. package/dist/esm/errors/BadRequestError.js +11 -0
  85. package/dist/esm/errors/BandwidthLimitExceededError.d.ts +9 -0
  86. package/dist/esm/errors/BandwidthLimitExceededError.d.ts.map +1 -0
  87. package/dist/esm/errors/BandwidthLimitExceededError.js +11 -0
  88. package/dist/esm/errors/ConflictError.d.ts +10 -0
  89. package/dist/esm/errors/ConflictError.d.ts.map +1 -0
  90. package/dist/esm/errors/ConflictError.js +12 -0
  91. package/dist/esm/errors/ForbiddenError.d.ts +11 -0
  92. package/dist/esm/errors/ForbiddenError.d.ts.map +1 -0
  93. package/dist/esm/errors/ForbiddenError.js +13 -0
  94. package/dist/esm/errors/GatewayTimeoutError.d.ts +9 -0
  95. package/dist/esm/errors/GatewayTimeoutError.d.ts.map +1 -0
  96. package/dist/esm/errors/GatewayTimeoutError.js +11 -0
  97. package/dist/esm/errors/GoneError.d.ts +9 -0
  98. package/dist/esm/errors/GoneError.d.ts.map +1 -0
  99. package/dist/esm/errors/GoneError.js +11 -0
  100. package/dist/esm/errors/InsufficientStorageError.d.ts +9 -0
  101. package/dist/esm/errors/InsufficientStorageError.d.ts.map +1 -0
  102. package/dist/esm/errors/InsufficientStorageError.js +11 -0
  103. package/dist/esm/errors/InternalServerError.d.ts +9 -0
  104. package/dist/esm/errors/InternalServerError.d.ts.map +1 -0
  105. package/dist/esm/errors/InternalServerError.js +11 -0
  106. package/dist/esm/errors/LengthRequiredError.d.ts +9 -0
  107. package/dist/esm/errors/LengthRequiredError.d.ts.map +1 -0
  108. package/dist/esm/errors/LengthRequiredError.js +11 -0
  109. package/dist/esm/errors/LockedError.d.ts +9 -0
  110. package/dist/esm/errors/LockedError.d.ts.map +1 -0
  111. package/dist/esm/errors/LockedError.js +11 -0
  112. package/dist/esm/errors/MethodNotAllowedError.d.ts +9 -0
  113. package/dist/esm/errors/MethodNotAllowedError.d.ts.map +1 -0
  114. package/dist/esm/errors/MethodNotAllowedError.js +11 -0
  115. package/dist/esm/errors/NotAcceptableError.d.ts +9 -0
  116. package/dist/esm/errors/NotAcceptableError.d.ts.map +1 -0
  117. package/dist/esm/errors/NotAcceptableError.js +11 -0
  118. package/dist/esm/errors/PaymentRequiredError.d.ts +9 -0
  119. package/dist/esm/errors/PaymentRequiredError.d.ts.map +1 -0
  120. package/dist/esm/errors/PaymentRequiredError.js +11 -0
  121. package/dist/esm/errors/PreconditionFailedError.d.ts +9 -0
  122. package/dist/esm/errors/PreconditionFailedError.d.ts.map +1 -0
  123. package/dist/esm/errors/PreconditionFailedError.js +11 -0
  124. package/dist/esm/errors/RequestEntityTooLargeError.d.ts +9 -0
  125. package/dist/esm/errors/RequestEntityTooLargeError.d.ts.map +1 -0
  126. package/dist/esm/errors/RequestEntityTooLargeError.js +11 -0
  127. package/dist/esm/errors/RequestFailedError.d.ts +1 -2
  128. package/dist/esm/errors/RequestFailedError.d.ts.map +1 -1
  129. package/dist/esm/errors/RequestFailedError.js +1 -8
  130. package/dist/esm/errors/RequestedRangeNotSatisfiableError.d.ts +9 -0
  131. package/dist/esm/errors/RequestedRangeNotSatisfiableError.d.ts.map +1 -0
  132. package/dist/esm/errors/RequestedRangeNotSatisfiableError.js +11 -0
  133. package/dist/esm/errors/ServiceUnavailableError.d.ts +9 -0
  134. package/dist/esm/errors/ServiceUnavailableError.d.ts.map +1 -0
  135. package/dist/esm/errors/ServiceUnavailableError.js +11 -0
  136. package/dist/esm/errors/TooManyRequestsError.d.ts +9 -0
  137. package/dist/esm/errors/TooManyRequestsError.d.ts.map +1 -0
  138. package/dist/esm/errors/TooManyRequestsError.js +11 -0
  139. package/dist/esm/errors/UnauthorizedError.d.ts +9 -0
  140. package/dist/esm/errors/UnauthorizedError.d.ts.map +1 -0
  141. package/dist/esm/errors/UnauthorizedError.js +11 -0
  142. package/dist/esm/errors/UnprocessableEntityError.d.ts +9 -0
  143. package/dist/esm/errors/UnprocessableEntityError.d.ts.map +1 -0
  144. package/dist/esm/errors/UnprocessableEntityError.js +11 -0
  145. package/dist/esm/errors/UnsupportedMediaTypeError.d.ts +9 -0
  146. package/dist/esm/errors/UnsupportedMediaTypeError.d.ts.map +1 -0
  147. package/dist/esm/errors/UnsupportedMediaTypeError.js +11 -0
  148. package/dist/esm/operations/driveItem/getDriveItemByPath.d.ts.map +1 -1
  149. package/dist/esm/operations/driveItem/getDriveItemByPath.js +4 -0
  150. package/dist/esm/operations/driveItem/getDriveItemContent.js +2 -2
  151. package/dist/esm/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  152. package/dist/esm/operations/driveItem/streamDriveItemContent.js +5 -1
  153. package/dist/esm/services/drive.d.ts +0 -2
  154. package/dist/esm/services/drive.d.ts.map +1 -1
  155. package/dist/esm/services/drive.js +4 -9
  156. package/dist/esm/services/httpStatus.d.ts +130 -3
  157. package/dist/esm/services/httpStatus.d.ts.map +1 -1
  158. package/dist/esm/services/httpStatus.js +182 -3
  159. package/dist/esm/services/operationInvoker.d.ts +20 -3
  160. package/dist/esm/services/operationInvoker.d.ts.map +1 -1
  161. package/dist/esm/services/operationInvoker.js +192 -58
  162. package/docs/api/BadRequestError.md +191 -0
  163. package/docs/api/BandwidthLimitExceededError.md +191 -0
  164. package/docs/api/ConflictError.md +195 -0
  165. package/docs/api/ForbiddenError.md +193 -0
  166. package/docs/api/GatewayTimeoutError.md +191 -0
  167. package/docs/api/GoneError.md +191 -0
  168. package/docs/api/InsufficientStorageError.md +191 -0
  169. package/docs/api/InternalServerError.md +191 -0
  170. package/docs/api/LengthRequiredError.md +191 -0
  171. package/docs/api/LockedError.md +191 -0
  172. package/docs/api/MethodNotAllowedError.md +191 -0
  173. package/docs/api/NotAcceptableError.md +191 -0
  174. package/docs/api/PaymentRequiredError.md +191 -0
  175. package/docs/api/PreconditionFailedError.md +191 -0
  176. package/docs/api/README.md +22 -1
  177. package/docs/api/RequestEntityTooLargeError.md +191 -0
  178. package/docs/api/RequestFailedError.md +1 -19
  179. package/docs/api/RequestedRangeNotSatisfiableError.md +191 -0
  180. package/docs/api/ServiceUnavailableError.md +191 -0
  181. package/docs/api/TooManyRequestsError.md +191 -0
  182. package/docs/api/UnauthorizedError.md +191 -0
  183. package/docs/api/UnprocessableEntityError.md +191 -0
  184. package/docs/api/UnsupportedMediaTypeError.md +191 -0
  185. package/docs/api/drive.md +20 -0
  186. package/docs/api/getDriveItemByPath.md +1 -1
  187. package/docs/api/httpStatus.md +475 -12
  188. package/docs/api/operationInvoker.md +50 -27
  189. package/docs/api/streamDriveItemContent.md +1 -1
  190. package/package.json +526 -1
@@ -6,9 +6,119 @@ Utilities for analyzing HTTP status codes for Microsoft Graph API responses.
6
6
 
7
7
  ## Functions
8
8
 
9
- ### isGatewayTimeout()
9
+ ### isHttpBadGateway()
10
10
 
11
- > **isGatewayTimeout**(`status`): `boolean`
11
+ > **isHttpBadGateway**(`status`): `boolean`
12
+
13
+ Defined in: [src/services/httpStatus.ts:246](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L246)
14
+
15
+ Checks if the HTTP status code indicates a bad gateway.
16
+
17
+ #### Parameters
18
+
19
+ | Parameter | Type | Description |
20
+ | ------ | ------ | ------ |
21
+ | `status` | `number` | The HTTP status code. |
22
+
23
+ #### Returns
24
+
25
+ `boolean`
26
+
27
+ True if the status code is 502, otherwise false.
28
+
29
+ ***
30
+
31
+ ### isHttpBadRequest()
32
+
33
+ > **isHttpBadRequest**(`status`): `boolean`
34
+
35
+ Defined in: [src/services/httpStatus.ts:75](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L75)
36
+
37
+ Checks if the HTTP status code indicates a bad request.
38
+
39
+ #### Parameters
40
+
41
+ | Parameter | Type | Description |
42
+ | ------ | ------ | ------ |
43
+ | `status` | `number` | The HTTP status code. |
44
+
45
+ #### Returns
46
+
47
+ `boolean`
48
+
49
+ True if the status code is 400, otherwise false.
50
+
51
+ ***
52
+
53
+ ### isHttpBandwidthLimitExceeded()
54
+
55
+ > **isHttpBandwidthLimitExceeded**(`status`): `boolean`
56
+
57
+ Defined in: [src/services/httpStatus.ts:210](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L210)
58
+
59
+ Checks if the HTTP status code indicates bandwidth limit exceeded.
60
+
61
+ #### Parameters
62
+
63
+ | Parameter | Type | Description |
64
+ | ------ | ------ | ------ |
65
+ | `status` | `number` | The HTTP status code. |
66
+
67
+ #### Returns
68
+
69
+ `boolean`
70
+
71
+ True if the status code is 509, otherwise false.
72
+
73
+ ***
74
+
75
+ ### isHttpConflict()
76
+
77
+ > **isHttpConflict**(`status`): `boolean`
78
+
79
+ Defined in: [src/services/httpStatus.ts:129](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L129)
80
+
81
+ Checks if the HTTP status code indicates a conflict.
82
+
83
+ #### Parameters
84
+
85
+ | Parameter | Type | Description |
86
+ | ------ | ------ | ------ |
87
+ | `status` | `number` | The HTTP status code. |
88
+
89
+ #### Returns
90
+
91
+ `boolean`
92
+
93
+ True if the status code is 409, otherwise false.
94
+
95
+ ***
96
+
97
+ ### isHttpForbidden()
98
+
99
+ > **isHttpForbidden**(`status`): `boolean`
100
+
101
+ Defined in: [src/services/httpStatus.ts:102](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L102)
102
+
103
+ Checks if the HTTP status code indicates forbidden access.
104
+
105
+ #### Parameters
106
+
107
+ | Parameter | Type | Description |
108
+ | ------ | ------ | ------ |
109
+ | `status` | `number` | The HTTP status code. |
110
+
111
+ #### Returns
112
+
113
+ `boolean`
114
+
115
+ True if the status code is 403, otherwise false.
116
+
117
+ ***
118
+
119
+ ### isHttpGatewayTimeout()
120
+
121
+ > **isHttpGatewayTimeout**(`status`): `boolean`
12
122
 
13
123
  Defined in: [src/services/httpStatus.ts:57](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L57)
14
124
 
@@ -28,6 +138,160 @@ True if the status code is 504, otherwise false.
28
138
 
29
139
  ***
30
140
 
141
+ ### isHttpGone()
142
+
143
+ > **isHttpGone**(`status`): `boolean`
144
+
145
+ Defined in: [src/services/httpStatus.ts:138](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L138)
146
+
147
+ Checks if the HTTP status code indicates gone.
148
+
149
+ #### Parameters
150
+
151
+ | Parameter | Type | Description |
152
+ | ------ | ------ | ------ |
153
+ | `status` | `number` | The HTTP status code. |
154
+
155
+ #### Returns
156
+
157
+ `boolean`
158
+
159
+ True if the status code is 410, otherwise false.
160
+
161
+ ***
162
+
163
+ ### isHttpInsufficientStorage()
164
+
165
+ > **isHttpInsufficientStorage**(`status`): `boolean`
166
+
167
+ Defined in: [src/services/httpStatus.ts:201](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L201)
168
+
169
+ Checks if the HTTP status code indicates insufficient storage.
170
+
171
+ #### Parameters
172
+
173
+ | Parameter | Type | Description |
174
+ | ------ | ------ | ------ |
175
+ | `status` | `number` | The HTTP status code. |
176
+
177
+ #### Returns
178
+
179
+ `boolean`
180
+
181
+ True if the status code is 507, otherwise false.
182
+
183
+ ***
184
+
185
+ ### isHttpInternalServerError()
186
+
187
+ > **isHttpInternalServerError**(`status`): `boolean`
188
+
189
+ Defined in: [src/services/httpStatus.ts:219](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L219)
190
+
191
+ Checks if the HTTP status code indicates internal server error.
192
+
193
+ #### Parameters
194
+
195
+ | Parameter | Type | Description |
196
+ | ------ | ------ | ------ |
197
+ | `status` | `number` | The HTTP status code. |
198
+
199
+ #### Returns
200
+
201
+ `boolean`
202
+
203
+ True if the status code is 500, otherwise false.
204
+
205
+ ***
206
+
207
+ ### isHttpLengthRequired()
208
+
209
+ > **isHttpLengthRequired**(`status`): `boolean`
210
+
211
+ Defined in: [src/services/httpStatus.ts:147](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L147)
212
+
213
+ Checks if the HTTP status code indicates length required.
214
+
215
+ #### Parameters
216
+
217
+ | Parameter | Type | Description |
218
+ | ------ | ------ | ------ |
219
+ | `status` | `number` | The HTTP status code. |
220
+
221
+ #### Returns
222
+
223
+ `boolean`
224
+
225
+ True if the status code is 411, otherwise false.
226
+
227
+ ***
228
+
229
+ ### isHttpLocked()
230
+
231
+ > **isHttpLocked**(`status`): `boolean`
232
+
233
+ Defined in: [src/services/httpStatus.ts:66](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L66)
234
+
235
+ Checks if the HTTP status code indicates the resource is locked
236
+
237
+ #### Parameters
238
+
239
+ | Parameter | Type | Description |
240
+ | ------ | ------ | ------ |
241
+ | `status` | `number` | The HTTP status code. |
242
+
243
+ #### Returns
244
+
245
+ `boolean`
246
+
247
+ True if the status code is 423, otherwise false.
248
+
249
+ ***
250
+
251
+ ### isHttpMethodNotAllowed()
252
+
253
+ > **isHttpMethodNotAllowed**(`status`): `boolean`
254
+
255
+ Defined in: [src/services/httpStatus.ts:111](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L111)
256
+
257
+ Checks if the HTTP status code indicates method not allowed.
258
+
259
+ #### Parameters
260
+
261
+ | Parameter | Type | Description |
262
+ | ------ | ------ | ------ |
263
+ | `status` | `number` | The HTTP status code. |
264
+
265
+ #### Returns
266
+
267
+ `boolean`
268
+
269
+ True if the status code is 405, otherwise false.
270
+
271
+ ***
272
+
273
+ ### isHttpNotAcceptable()
274
+
275
+ > **isHttpNotAcceptable**(`status`): `boolean`
276
+
277
+ Defined in: [src/services/httpStatus.ts:120](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L120)
278
+
279
+ Checks if the HTTP status code indicates not acceptable.
280
+
281
+ #### Parameters
282
+
283
+ | Parameter | Type | Description |
284
+ | ------ | ------ | ------ |
285
+ | `status` | `number` | The HTTP status code. |
286
+
287
+ #### Returns
288
+
289
+ `boolean`
290
+
291
+ True if the status code is 406, otherwise false.
292
+
293
+ ***
294
+
31
295
  ### isHttpNotFound()
32
296
 
33
297
  > **isHttpNotFound**(`status`): `boolean`
@@ -50,6 +314,28 @@ True if the status code is 404, otherwise false.
50
314
 
51
315
  ***
52
316
 
317
+ ### isHttpNotImplemented()
318
+
319
+ > **isHttpNotImplemented**(`status`): `boolean`
320
+
321
+ Defined in: [src/services/httpStatus.ts:228](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L228)
322
+
323
+ Checks if the HTTP status code indicates not implemented.
324
+
325
+ #### Parameters
326
+
327
+ | Parameter | Type | Description |
328
+ | ------ | ------ | ------ |
329
+ | `status` | `number` | The HTTP status code. |
330
+
331
+ #### Returns
332
+
333
+ `boolean`
334
+
335
+ True if the status code is 501, otherwise false.
336
+
337
+ ***
338
+
53
339
  ### isHttpOk()
54
340
 
55
341
  > **isHttpOk**(`status`): `boolean`
@@ -72,6 +358,138 @@ True if the status code is 200, otherwise false.
72
358
 
73
359
  ***
74
360
 
361
+ ### isHttpPaymentRequired()
362
+
363
+ > **isHttpPaymentRequired**(`status`): `boolean`
364
+
365
+ Defined in: [src/services/httpStatus.ts:93](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L93)
366
+
367
+ Checks if the HTTP status code indicates payment required.
368
+
369
+ #### Parameters
370
+
371
+ | Parameter | Type | Description |
372
+ | ------ | ------ | ------ |
373
+ | `status` | `number` | The HTTP status code. |
374
+
375
+ #### Returns
376
+
377
+ `boolean`
378
+
379
+ True if the status code is 402, otherwise false.
380
+
381
+ ***
382
+
383
+ ### isHttpPreconditionFailed()
384
+
385
+ > **isHttpPreconditionFailed**(`status`): `boolean`
386
+
387
+ Defined in: [src/services/httpStatus.ts:156](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L156)
388
+
389
+ Checks if the HTTP status code indicates precondition failed.
390
+
391
+ #### Parameters
392
+
393
+ | Parameter | Type | Description |
394
+ | ------ | ------ | ------ |
395
+ | `status` | `number` | The HTTP status code. |
396
+
397
+ #### Returns
398
+
399
+ `boolean`
400
+
401
+ True if the status code is 412, otherwise false.
402
+
403
+ ***
404
+
405
+ ### isHttpRequestedRangeNotSatisfiable()
406
+
407
+ > **isHttpRequestedRangeNotSatisfiable**(`status`): `boolean`
408
+
409
+ Defined in: [src/services/httpStatus.ts:183](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L183)
410
+
411
+ Checks if the HTTP status code indicates requested range not satisfiable.
412
+
413
+ #### Parameters
414
+
415
+ | Parameter | Type | Description |
416
+ | ------ | ------ | ------ |
417
+ | `status` | `number` | The HTTP status code. |
418
+
419
+ #### Returns
420
+
421
+ `boolean`
422
+
423
+ True if the status code is 416, otherwise false.
424
+
425
+ ***
426
+
427
+ ### isHttpRequestEntityTooLarge()
428
+
429
+ > **isHttpRequestEntityTooLarge**(`status`): `boolean`
430
+
431
+ Defined in: [src/services/httpStatus.ts:165](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L165)
432
+
433
+ Checks if the HTTP status code indicates request entity too large.
434
+
435
+ #### Parameters
436
+
437
+ | Parameter | Type | Description |
438
+ | ------ | ------ | ------ |
439
+ | `status` | `number` | The HTTP status code. |
440
+
441
+ #### Returns
442
+
443
+ `boolean`
444
+
445
+ True if the status code is 413, otherwise false.
446
+
447
+ ***
448
+
449
+ ### isHttpRequestTimeout()
450
+
451
+ > **isHttpRequestTimeout**(`status`): `boolean`
452
+
453
+ Defined in: [src/services/httpStatus.ts:237](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L237)
454
+
455
+ Checks if the HTTP status code indicates a request timeout.
456
+
457
+ #### Parameters
458
+
459
+ | Parameter | Type | Description |
460
+ | ------ | ------ | ------ |
461
+ | `status` | `number` | The HTTP status code. |
462
+
463
+ #### Returns
464
+
465
+ `boolean`
466
+
467
+ True if the status code is 408, otherwise false.
468
+
469
+ ***
470
+
471
+ ### isHttpServiceUnavailable()
472
+
473
+ > **isHttpServiceUnavailable**(`status`): `boolean`
474
+
475
+ Defined in: [src/services/httpStatus.ts:48](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L48)
476
+
477
+ Checks if the HTTP status code indicates the service is unavailable.
478
+
479
+ #### Parameters
480
+
481
+ | Parameter | Type | Description |
482
+ | ------ | ------ | ------ |
483
+ | `status` | `number` | The HTTP status code. |
484
+
485
+ #### Returns
486
+
487
+ `boolean`
488
+
489
+ True if the status code is 503, otherwise false.
490
+
491
+ ***
492
+
75
493
  ### isHttpSuccess()
76
494
 
77
495
  > **isHttpSuccess**(`status`): `boolean`
@@ -116,13 +534,13 @@ True if the status code is 429, otherwise false.
116
534
 
117
535
  ***
118
536
 
119
- ### isLocked()
537
+ ### isHttpUnauthorized()
120
538
 
121
- > **isLocked**(`status`): `boolean`
539
+ > **isHttpUnauthorized**(`status`): `boolean`
122
540
 
123
- Defined in: [src/services/httpStatus.ts:66](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L66)
541
+ Defined in: [src/services/httpStatus.ts:84](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L84)
124
542
 
125
- Checks if the HTTP status code indicates the resource is locked
543
+ Checks if the HTTP status code indicates unauthorized access.
126
544
 
127
545
  #### Parameters
128
546
 
@@ -134,17 +552,17 @@ Checks if the HTTP status code indicates the resource is locked
134
552
 
135
553
  `boolean`
136
554
 
137
- True if the status code is 423, otherwise false.
555
+ True if the status code is 401, otherwise false.
138
556
 
139
557
  ***
140
558
 
141
- ### isServiceUnavailable()
559
+ ### isHttpUnprocessableEntity()
142
560
 
143
- > **isServiceUnavailable**(`status`): `boolean`
561
+ > **isHttpUnprocessableEntity**(`status`): `boolean`
144
562
 
145
- Defined in: [src/services/httpStatus.ts:48](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L48)
563
+ Defined in: [src/services/httpStatus.ts:192](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L192)
146
564
 
147
- Checks if the HTTP status code indicates the service is unavailable.
565
+ Checks if the HTTP status code indicates unprocessable entity.
148
566
 
149
567
  #### Parameters
150
568
 
@@ -156,4 +574,49 @@ Checks if the HTTP status code indicates the service is unavailable.
156
574
 
157
575
  `boolean`
158
576
 
159
- True if the status code is 503, otherwise false.
577
+ True if the status code is 422, otherwise false.
578
+
579
+ ***
580
+
581
+ ### isHttpUnsupportedMediaType()
582
+
583
+ > **isHttpUnsupportedMediaType**(`status`): `boolean`
584
+
585
+ Defined in: [src/services/httpStatus.ts:174](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L174)
586
+
587
+ Checks if the HTTP status code indicates unsupported media type.
588
+
589
+ #### Parameters
590
+
591
+ | Parameter | Type | Description |
592
+ | ------ | ------ | ------ |
593
+ | `status` | `number` | The HTTP status code. |
594
+
595
+ #### Returns
596
+
597
+ `boolean`
598
+
599
+ True if the status code is 415, otherwise false.
600
+
601
+ ***
602
+
603
+ ### isRetryable()
604
+
605
+ > **isRetryable**(`status`): `boolean`
606
+
607
+ Defined in: [src/services/httpStatus.ts:256](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/httpStatus.ts#L256)
608
+
609
+ Checks if the HTTP status code is considered retryable.
610
+ Retryable status codes typically indicate a temporary condition.
611
+
612
+ #### Parameters
613
+
614
+ | Parameter | Type | Description |
615
+ | ------ | ------ | ------ |
616
+ | `status` | `number` | The HTTP status code. |
617
+
618
+ #### Returns
619
+
620
+ `boolean`
621
+
622
+ True if the status code is retryable, otherwise false.
@@ -10,29 +10,29 @@ Invoke operations, potentially as parallel or sequential batches.
10
10
 
11
11
  > **operation**\<`T`\>(`definition`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`T`\>
12
12
 
13
- Defined in: [src/services/operationInvoker.ts:36](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L36)
13
+ Defined in: [src/services/operationInvoker.ts:90](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L90)
14
14
 
15
- Define a operation.
15
+ Defines a Graph operation.
16
+
17
+ Operations can be awaited to execute independently, or passed with others as arguments to [parallel](#parallel) or [sequential](#sequential) to execute as part of a batch.
16
18
 
17
19
  #### Type Parameters
18
20
 
19
- | Type Parameter |
20
- | ------ |
21
- | `T` |
21
+ | Type Parameter | Description |
22
+ | ------ | ------ |
23
+ | `T` | The response type of the operation. |
22
24
 
23
25
  #### Parameters
24
26
 
25
- | Parameter | Type |
26
- | ------ | ------ |
27
- | `definition` | [`GraphOperationDefinition`](GraphOperation.md#graphoperationdefinition)\<`T`\> |
27
+ | Parameter | Type | Description |
28
+ | ------ | ------ | ------ |
29
+ | `definition` | [`GraphOperationDefinition`](GraphOperation.md#graphoperationdefinition)\<`T`\> | Definition of the Graph operation. |
28
30
 
29
31
  #### Returns
30
32
 
31
33
  [`GraphOperation`](GraphOperation.md#graphoperation)\<`T`\>
32
34
 
33
- #### Remarks
34
-
35
- Operations can be `await`d to execute independently, or passed with others as arguments to `parallel` or `sequential` to execute as part of a batch.
35
+ GraphOperation instance.
36
36
 
37
37
  ***
38
38
 
@@ -40,29 +40,29 @@ Operations can be `await`d to execute independently, or passed with others as ar
40
40
 
41
41
  > **parallel**\<`T`\>(...`operations`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OperationResponse`](GraphOperation.md#operationresponse)\<`T`\>\>
42
42
 
43
- Defined in: [src/services/operationInvoker.ts:50](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L50)
43
+ Defined in: [src/services/operationInvoker.ts:109](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L109)
44
44
 
45
45
  Execute a batch of GraphAPI operations in parallel.
46
46
 
47
+ Provides the best performance for batch operations, however only useful if operations can logically be performed at the same time.
48
+
47
49
  #### Type Parameters
48
50
 
49
- | Type Parameter |
50
- | ------ |
51
- | `T` *extends* [`GraphOperation`](GraphOperation.md#graphoperation)\<`unknown`\>[] |
51
+ | Type Parameter | Description |
52
+ | ------ | ------ |
53
+ | `T` *extends* [`GraphOperation`](GraphOperation.md#graphoperation)\<`unknown`\>[] | Tuple of GraphOperation types. |
52
54
 
53
55
  #### Parameters
54
56
 
55
- | Parameter | Type |
56
- | ------ | ------ |
57
- | ...`operations` | `T` |
57
+ | Parameter | Type | Description |
58
+ | ------ | ------ | ------ |
59
+ | ...`operations` | `T` | Operations to execute in parallel. |
58
60
 
59
61
  #### Returns
60
62
 
61
63
  [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OperationResponse`](GraphOperation.md#operationresponse)\<`T`\>\>
62
64
 
63
- #### Remarks
64
-
65
- Provides the best performance for batch operations, however only useful if operations can logically be performed at the same time.
65
+ The responses for each operation, in the same order.
66
66
 
67
67
  ***
68
68
 
@@ -70,22 +70,45 @@ Provides the best performance for batch operations, however only useful if opera
70
70
 
71
71
  > **sequential**\<`T`\>(...`operations`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OperationResponse`](GraphOperation.md#operationresponse)\<`T`\>\>
72
72
 
73
- Defined in: [src/services/operationInvoker.ts:59](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L59)
73
+ Defined in: [src/services/operationInvoker.ts:124](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L124)
74
74
 
75
75
  Execute a batch of GraphAPI operations sequentially.
76
76
 
77
+ Each operation is dependent on the previous operation in the batch.
78
+
77
79
  #### Type Parameters
78
80
 
79
- | Type Parameter |
80
- | ------ |
81
- | `T` *extends* [`GraphOperation`](GraphOperation.md#graphoperation)\<`unknown`\>[] |
81
+ | Type Parameter | Description |
82
+ | ------ | ------ |
83
+ | `T` *extends* [`GraphOperation`](GraphOperation.md#graphoperation)\<`unknown`\>[] | Tuple of GraphOperation types. |
84
+
85
+ #### Parameters
86
+
87
+ | Parameter | Type | Description |
88
+ | ------ | ------ | ------ |
89
+ | ...`operations` | `T` | Operations to execute sequentially. |
90
+
91
+ #### Returns
92
+
93
+ [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OperationResponse`](GraphOperation.md#operationresponse)\<`T`\>\>
94
+
95
+ The responses for each operation, in the same order.
96
+
97
+ ***
98
+
99
+ ### throwException()
100
+
101
+ > **throwException**(`responseCode`, `message`): `never`
102
+
103
+ Defined in: [src/services/operationInvoker.ts:329](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L329)
82
104
 
83
105
  #### Parameters
84
106
 
85
107
  | Parameter | Type |
86
108
  | ------ | ------ |
87
- | ...`operations` | `T` |
109
+ | `responseCode` | `number` |
110
+ | `message` | `string` |
88
111
 
89
112
  #### Returns
90
113
 
91
- [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`OperationResponse`](GraphOperation.md#operationresponse)\<`T`\>\>
114
+ `never`
@@ -10,7 +10,7 @@ Stream the content of a drive item as a Node.js readable stream.
10
10
 
11
11
  > **streamDriveItemContent**(`itemRef`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`ReadableStream`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4771e16937e188c0e0eca9749d208676f85fefb9/types/node/globals.d.ts#L201)\>
12
12
 
13
- Defined in: [src/operations/driveItem/streamDriveItemContent.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/streamDriveItemContent.ts#L20)
13
+ Defined in: [src/operations/driveItem/streamDriveItemContent.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/streamDriveItemContent.ts#L21)
14
14
 
15
15
  Stream the content of a drive item.
16
16