@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20231024 → 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -777,6 +777,9 @@ declare namespace gapi.client {
|
|
|
777
777
|
*/
|
|
778
778
|
custom?:
|
|
779
779
|
boolean;
|
|
780
|
+
/** Optional. Defines a default value/currency for a conversion event. */
|
|
781
|
+
defaultConversionValue?:
|
|
782
|
+
GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue;
|
|
780
783
|
/** Output only. If set, this event can currently be deleted with DeleteConversionEvent. */
|
|
781
784
|
deletable?:
|
|
782
785
|
boolean;
|
|
@@ -787,6 +790,17 @@ declare namespace gapi.client {
|
|
|
787
790
|
name?:
|
|
788
791
|
string;
|
|
789
792
|
}
|
|
793
|
+
interface GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue {
|
|
794
|
+
/**
|
|
795
|
+
* 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
|
|
796
|
+
* https://en.wikipedia.org/wiki/ISO_4217 for more.
|
|
797
|
+
*/
|
|
798
|
+
currencyCode?:
|
|
799
|
+
string;
|
|
800
|
+
/** This value will be used to populate the value for all conversions of the specified event_name where the event "value" parameter is unset. */
|
|
801
|
+
value?:
|
|
802
|
+
number;
|
|
803
|
+
}
|
|
790
804
|
interface GoogleAnalyticsAdminV1alphaConversionValues {
|
|
791
805
|
/** Required. A coarse grained conversion value. This value is not guaranteed to be unique. */
|
|
792
806
|
coarseValue?:
|
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 */
|
|
@@ -1129,6 +1129,10 @@ gapi.load('client', async () => {
|
|
|
1129
1129
|
countingMethod: "Test string",
|
|
1130
1130
|
createTime: "Test string",
|
|
1131
1131
|
custom: true,
|
|
1132
|
+
defaultConversionValue: {
|
|
1133
|
+
currencyCode: "Test string",
|
|
1134
|
+
value: 42,
|
|
1135
|
+
},
|
|
1132
1136
|
deletable: true,
|
|
1133
1137
|
eventName: "Test string",
|
|
1134
1138
|
name: "Test string",
|
|
@@ -1155,6 +1159,10 @@ gapi.load('client', async () => {
|
|
|
1155
1159
|
countingMethod: "Test string",
|
|
1156
1160
|
createTime: "Test string",
|
|
1157
1161
|
custom: true,
|
|
1162
|
+
defaultConversionValue: {
|
|
1163
|
+
currencyCode: "Test string",
|
|
1164
|
+
value: 42,
|
|
1165
|
+
},
|
|
1158
1166
|
deletable: true,
|
|
1159
1167
|
eventName: "Test string",
|
|
1160
1168
|
name: "Test string",
|