@maxim_mazurok/gapi.client.tagmanager-v2 0.0.20221017 → 0.0.20221024
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 +8 -7
- package/package.json +1 -1
- package/tests.ts +2 -2
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://tagmanager.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221024
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -399,6 +399,10 @@ declare namespace gapi.client {
|
|
|
399
399
|
/** The version of the community gallery template. */
|
|
400
400
|
version?: string;
|
|
401
401
|
}
|
|
402
|
+
interface GetContainerSnippetResponse {
|
|
403
|
+
/** Tagging snippet for a Container. */
|
|
404
|
+
snippet?: string;
|
|
405
|
+
}
|
|
402
406
|
interface GetWorkspaceStatusResponse {
|
|
403
407
|
/** The merge conflict after sync. */
|
|
404
408
|
mergeConflict?: MergeConflict[];
|
|
@@ -1056,10 +1060,7 @@ declare namespace gapi.client {
|
|
|
1056
1060
|
"$.xgafv"?: string;
|
|
1057
1061
|
/** OAuth access token. */
|
|
1058
1062
|
access_token?: string;
|
|
1059
|
-
/**
|
|
1060
|
-
* Must be set to true to allow features.user_permissions to change from false to true (i.e. Google product owned to GTM permission). If this operation causes an update but this
|
|
1061
|
-
* bit is false, the operation will fail.
|
|
1062
|
-
*/
|
|
1063
|
+
/** Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail. */
|
|
1063
1064
|
allowUserPermissionFeatureUpdate?: boolean;
|
|
1064
1065
|
/** Data format for response. */
|
|
1065
1066
|
alt?: string;
|
|
@@ -4329,7 +4330,7 @@ declare namespace gapi.client {
|
|
|
4329
4330
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4330
4331
|
uploadType?: string;
|
|
4331
4332
|
}): Request<Container>;
|
|
4332
|
-
/** Gets the
|
|
4333
|
+
/** Gets the tagging snippet for a Container. */
|
|
4333
4334
|
snippet(request?: {
|
|
4334
4335
|
/** V1 error format. */
|
|
4335
4336
|
"$.xgafv"?: string;
|
|
@@ -4355,7 +4356,7 @@ declare namespace gapi.client {
|
|
|
4355
4356
|
upload_protocol?: string;
|
|
4356
4357
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4357
4358
|
uploadType?: string;
|
|
4358
|
-
}): Request<
|
|
4359
|
+
}): Request<GetContainerSnippetResponse>;
|
|
4359
4360
|
/** Updates a Container. */
|
|
4360
4361
|
update(request: {
|
|
4361
4362
|
/** V1 error format. */
|
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: 20221024
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -137,7 +137,7 @@ gapi.load('client', async () => {
|
|
|
137
137
|
tagId: "Test string",
|
|
138
138
|
tagName: "Test string",
|
|
139
139
|
});
|
|
140
|
-
/** Gets the
|
|
140
|
+
/** Gets the tagging snippet for a Container. */
|
|
141
141
|
await gapi.client.tagmanager.accounts.containers.snippet({
|
|
142
142
|
path: "Test string",
|
|
143
143
|
});
|