@maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1 0.0.20221019 → 0.0.20221023
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/index.d.ts +15 -15
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221023
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -415,20 +415,20 @@ declare namespace gapi.client {
|
|
|
415
415
|
interface GoogleTypeDecimal {
|
|
416
416
|
/**
|
|
417
417
|
* The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the
|
|
418
|
-
* integer"), optionally followed by a fraction, optionally followed by an exponent. The fraction consists of a decimal point followed
|
|
419
|
-
* contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is
|
|
420
|
-
* consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal
|
|
421
|
-
* explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the
|
|
422
|
-
* `2.5e8`). - Removing an explicitly-provided zero exponent (`2.
|
|
423
|
-
* implementation selected, such as shifting the decimal point and exponent value together (example: `2.
|
|
424
|
-
* the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported
|
|
425
|
-
* be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does
|
|
426
|
-
* DecimalString = [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.'
|
|
427
|
-
* '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported
|
|
428
|
-
* applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving
|
|
429
|
-
* input even when the value has a higher precision or scale than the service supports, and **should** round
|
|
430
|
-
* error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
|
|
431
|
-
* receives a value outside of the supported range.
|
|
418
|
+
* integer"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed
|
|
419
|
+
* by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is
|
|
420
|
+
* referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal
|
|
421
|
+
* values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the
|
|
422
|
+
* exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional
|
|
423
|
+
* normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
|
|
424
|
+
* Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported
|
|
425
|
+
* to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does
|
|
426
|
+
* support them, values **must** be normalized. The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.'
|
|
427
|
+
* Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported
|
|
428
|
+
* values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving
|
|
429
|
+
* out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round
|
|
430
|
+
* the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
|
|
431
|
+
* error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.
|
|
432
432
|
*/
|
|
433
433
|
value?: string;
|
|
434
434
|
}
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221023
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|