@maxim_mazurok/gapi.client.analyticsadmin-v1beta 0.0.20231025 → 0.0.20231027
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 -1
- package/package.json +1 -1
- package/tests.ts +9 -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://analyticsadmin.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -335,6 +335,9 @@ declare namespace gapi.client {
|
|
|
335
335
|
*/
|
|
336
336
|
custom?:
|
|
337
337
|
boolean;
|
|
338
|
+
/** Optional. Defines a default value/currency for a conversion event. */
|
|
339
|
+
defaultConversionValue?:
|
|
340
|
+
GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue;
|
|
338
341
|
/** Output only. If set, this event can currently be deleted with DeleteConversionEvent. */
|
|
339
342
|
deletable?:
|
|
340
343
|
boolean;
|
|
@@ -345,6 +348,17 @@ declare namespace gapi.client {
|
|
|
345
348
|
name?:
|
|
346
349
|
string;
|
|
347
350
|
}
|
|
351
|
+
interface GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue {
|
|
352
|
+
/**
|
|
353
|
+
* When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See
|
|
354
|
+
* https://en.wikipedia.org/wiki/ISO_4217 for more.
|
|
355
|
+
*/
|
|
356
|
+
currencyCode?:
|
|
357
|
+
string;
|
|
358
|
+
/** This value will be used to populate the value for all conversions of the specified event_name where the event "value" parameter is unset. */
|
|
359
|
+
value?:
|
|
360
|
+
number;
|
|
361
|
+
}
|
|
348
362
|
interface GoogleAnalyticsAdminV1betaCustomDimension {
|
|
349
363
|
/** Optional. Description for this custom dimension. Max length of 150 characters. */
|
|
350
364
|
description?:
|
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: 20231027
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -442,6 +442,10 @@ gapi.load('client', async () => {
|
|
|
442
442
|
countingMethod: "Test string",
|
|
443
443
|
createTime: "Test string",
|
|
444
444
|
custom: true,
|
|
445
|
+
defaultConversionValue: {
|
|
446
|
+
currencyCode: "Test string",
|
|
447
|
+
value: 42,
|
|
448
|
+
},
|
|
445
449
|
deletable: true,
|
|
446
450
|
eventName: "Test string",
|
|
447
451
|
name: "Test string",
|
|
@@ -468,6 +472,10 @@ gapi.load('client', async () => {
|
|
|
468
472
|
countingMethod: "Test string",
|
|
469
473
|
createTime: "Test string",
|
|
470
474
|
custom: true,
|
|
475
|
+
defaultConversionValue: {
|
|
476
|
+
currencyCode: "Test string",
|
|
477
|
+
value: 42,
|
|
478
|
+
},
|
|
471
479
|
deletable: true,
|
|
472
480
|
eventName: "Test string",
|
|
473
481
|
name: "Test string",
|