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.
@@ -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 = `${CellAddress}:${CellAddress}`;
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,WAAW,IAAI,WAAW,EAAE,CAAC;AAEjE;;;;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,CAA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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 = `${CellAddress}:${CellAddress}`;
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,WAAW,IAAI,WAAW,EAAE,CAAC;AAEjE;;;;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;AACjC;;;;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,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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;
@@ -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:74](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L74)
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** = `` `${CellAddress}:${CellAddress}` ``
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:88](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L88)
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:90](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L90) |
122
- | <a id="endrow"></a> `endRow` | [`RowAddress`](#rowaddress) | The ending row address. | [src/models/Address.ts:92](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L92) |
123
- | <a id="startcolumn"></a> `startColumn` | [`ColumnAddress`](#columnaddress) | The starting column address. | [src/models/Address.ts:89](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L89) |
124
- | <a id="startrow"></a> `startRow` | [`RowAddress`](#rowaddress) | The starting row address. | [src/models/Address.ts:91](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L91) |
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:79](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Address.ts#L79)
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microsoft-graph",
3
- "version": "3.10.2",
3
+ "version": "3.10.4",
4
4
  "description": "Microsoft GraphAPI SDK for NodeJS",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",