microsoft-graph 3.10.2 → 3.10.4
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/cjs/models/Address.d.ts +1 -1
- package/dist/cjs/models/Address.d.ts.map +1 -1
- package/dist/cjs/services/http.js +2 -2
- package/dist/esm/models/Address.d.ts +1 -1
- package/dist/esm/models/Address.d.ts.map +1 -1
- package/dist/esm/services/http.js +2 -2
- package/docs/api/Address.md +8 -8
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export type ColumnAddress = `${Uppercase<string>}`;
|
|
|
12
12
|
* Address of multiple consecutive columns in a worksheet ().
|
|
13
13
|
* @example 'C:D'
|
|
14
14
|
*/
|
|
15
|
-
export type ColumnRangeAddress = `${
|
|
15
|
+
export type ColumnRangeAddress = `${ColumnAddress}:${ColumnAddress}`;
|
|
16
16
|
/**
|
|
17
17
|
* Address of a used range in a column, either from the start or to the end.
|
|
18
18
|
* @example 'C:'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../src/models/Address.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../src/models/Address.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,aAAa,IAAI,aAAa,EAAE,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,GAAG,aAAa,GAAG,GAAG,IAAI,aAAa,EAAE,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,GAAG,MAAM,EAAE,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,UAAU,IAAI,UAAU,EAAE,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,GAAG,UAAU,GAAG,GAAG,IAAI,UAAU,EAAE,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,aAAa,GAAG,UAAU,EAAE,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,GAAG,WAAW,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC;AAEjC;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,kBAAkB,GAAG,UAAU,GAAG,eAAe,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAEzH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAE/G;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -74,7 +74,7 @@ async function execute(request) {
|
|
|
74
74
|
retryAfterMilliseconds = requestedRetryAfterSeconds * 1000;
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
77
|
-
retryAfterMilliseconds += Math.random() * 1000; // Add some randomness to the retry delay to avoid thundering herd problem
|
|
77
|
+
retryAfterMilliseconds += Math.round(Math.random() * 1000); // Add some randomness to the retry delay to avoid thundering herd problem
|
|
78
78
|
}
|
|
79
79
|
errorLog += waitToString(retryAfterMilliseconds);
|
|
80
80
|
await (0, sleep_ts_1.sleep)(retryAfterMilliseconds);
|
|
@@ -196,7 +196,7 @@ function responseToString(response) {
|
|
|
196
196
|
return message;
|
|
197
197
|
}
|
|
198
198
|
function waitToString(milliseconds) {
|
|
199
|
-
return ` ⏳ Wait ${milliseconds}ms for retry.\n`;
|
|
199
|
+
return ` ⏳ Wait ${milliseconds.toLocaleString()}ms for retry.\n`;
|
|
200
200
|
}
|
|
201
201
|
function errorObjectToString(obj) {
|
|
202
202
|
const maxLength = 1024;
|
|
@@ -12,7 +12,7 @@ export type ColumnAddress = `${Uppercase<string>}`;
|
|
|
12
12
|
* Address of multiple consecutive columns in a worksheet ().
|
|
13
13
|
* @example 'C:D'
|
|
14
14
|
*/
|
|
15
|
-
export type ColumnRangeAddress = `${
|
|
15
|
+
export type ColumnRangeAddress = `${ColumnAddress}:${ColumnAddress}`;
|
|
16
16
|
/**
|
|
17
17
|
* Address of a used range in a column, either from the start or to the end.
|
|
18
18
|
* @example 'C:'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../src/models/Address.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../src/models/Address.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,aAAa,IAAI,aAAa,EAAE,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,GAAG,aAAa,GAAG,GAAG,IAAI,aAAa,EAAE,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,GAAG,MAAM,EAAE,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,UAAU,IAAI,UAAU,EAAE,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,GAAG,UAAU,GAAG,GAAG,IAAI,UAAU,EAAE,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,aAAa,GAAG,UAAU,EAAE,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,GAAG,WAAW,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC;AAEjC;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,kBAAkB,GAAG,UAAU,GAAG,eAAe,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAEzH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAE/G;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC;CACnB,CAAC"}
|
|
@@ -66,7 +66,7 @@ export async function execute(request) {
|
|
|
66
66
|
retryAfterMilliseconds = requestedRetryAfterSeconds * 1000;
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
-
retryAfterMilliseconds += Math.random() * 1000; // Add some randomness to the retry delay to avoid thundering herd problem
|
|
69
|
+
retryAfterMilliseconds += Math.round(Math.random() * 1000); // Add some randomness to the retry delay to avoid thundering herd problem
|
|
70
70
|
}
|
|
71
71
|
errorLog += waitToString(retryAfterMilliseconds);
|
|
72
72
|
await sleep(retryAfterMilliseconds);
|
|
@@ -188,7 +188,7 @@ function responseToString(response) {
|
|
|
188
188
|
return message;
|
|
189
189
|
}
|
|
190
190
|
function waitToString(milliseconds) {
|
|
191
|
-
return ` ⏳ Wait ${milliseconds}ms for retry.\n`;
|
|
191
|
+
return ` ⏳ Wait ${milliseconds.toLocaleString()}ms for retry.\n`;
|
|
192
192
|
}
|
|
193
193
|
function errorObjectToString(obj) {
|
|
194
194
|
const maxLength = 1024;
|
package/docs/api/Address.md
CHANGED
|
@@ -10,7 +10,7 @@ Address of a set of cells in a spreadsheet.
|
|
|
10
10
|
|
|
11
11
|
> **Address** = [`ColumnAddress`](#columnaddress) \| [`ColumnRangeAddress`](#columnrangeaddress) \| [`RowAddress`](#rowaddress) \| [`RowRangeAddress`](#rowrangeaddress) \| [`CellAddress`](#celladdress) \| [`CellRangeAddress`](#cellrangeaddress)
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/Address.ts:
|
|
13
|
+
Defined in: [src/models/Address.ts:75](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L75)
|
|
14
14
|
|
|
15
15
|
Any type of address.
|
|
16
16
|
|
|
@@ -92,7 +92,7 @@ Address of a single column in a worksheet.
|
|
|
92
92
|
|
|
93
93
|
### ColumnRangeAddress
|
|
94
94
|
|
|
95
|
-
> **ColumnRangeAddress** = `` `${
|
|
95
|
+
> **ColumnRangeAddress** = `` `${ColumnAddress}:${ColumnAddress}` ``
|
|
96
96
|
|
|
97
97
|
Defined in: [src/models/Address.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L17)
|
|
98
98
|
|
|
@@ -110,7 +110,7 @@ Address of multiple consecutive columns in a worksheet ().
|
|
|
110
110
|
|
|
111
111
|
> **DecomposedAddress** = `object`
|
|
112
112
|
|
|
113
|
-
Defined in: [src/models/Address.ts:
|
|
113
|
+
Defined in: [src/models/Address.ts:89](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L89)
|
|
114
114
|
|
|
115
115
|
Address when decomposed into its components.
|
|
116
116
|
|
|
@@ -118,10 +118,10 @@ Address when decomposed into its components.
|
|
|
118
118
|
|
|
119
119
|
| Property | Type | Description | Defined in |
|
|
120
120
|
| ------ | ------ | ------ | ------ |
|
|
121
|
-
| <a id="endcolumn"></a> `endColumn` | [`ColumnAddress`](#columnaddress) | The ending column address. | [src/models/Address.ts:
|
|
122
|
-
| <a id="endrow"></a> `endRow` | [`RowAddress`](#rowaddress) | The ending row address. | [src/models/Address.ts:
|
|
123
|
-
| <a id="startcolumn"></a> `startColumn` | [`ColumnAddress`](#columnaddress) | The starting column address. | [src/models/Address.ts:
|
|
124
|
-
| <a id="startrow"></a> `startRow` | [`RowAddress`](#rowaddress) | The starting row address. | [src/models/Address.ts:
|
|
121
|
+
| <a id="endcolumn"></a> `endColumn` | [`ColumnAddress`](#columnaddress) | The ending column address. | [src/models/Address.ts:91](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L91) |
|
|
122
|
+
| <a id="endrow"></a> `endRow` | [`RowAddress`](#rowaddress) | The ending row address. | [src/models/Address.ts:93](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L93) |
|
|
123
|
+
| <a id="startcolumn"></a> `startColumn` | [`ColumnAddress`](#columnaddress) | The starting column address. | [src/models/Address.ts:90](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L90) |
|
|
124
|
+
| <a id="startrow"></a> `startRow` | [`RowAddress`](#rowaddress) | The starting row address. | [src/models/Address.ts:92](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L92) |
|
|
125
125
|
|
|
126
126
|
***
|
|
127
127
|
|
|
@@ -161,7 +161,7 @@ Address of multiple consecutive rows in a worksheet.
|
|
|
161
161
|
|
|
162
162
|
> **UsedAddress** = [`AllUsedAddress`](#allusedaddress) \| [`UsedColumnRangeAddress`](#usedcolumnrangeaddress) \| [`UsedRowRangeAddress`](#usedrowrangeaddress) \| [`UsedCellRangeAddress`](#usedcellrangeaddress)
|
|
163
163
|
|
|
164
|
-
Defined in: [src/models/Address.ts:
|
|
164
|
+
Defined in: [src/models/Address.ts:80](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L80)
|
|
165
165
|
|
|
166
166
|
Any type of used range address, including entire, column, row, or cell used ranges.
|
|
167
167
|
|