@maxim_mazurok/gapi.client.tagmanager-v2 0.1.20251112 → 0.1.20251201

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.
Files changed (2) hide show
  1. package/index.d.ts +67 -1
  2. package/package.json +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://tagmanager.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20251112
12
+ // Revision: 20251201
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -64,6 +64,10 @@ declare namespace gapi.client {
64
64
  /** GTM Workspace ID. */
65
65
  workspaceId?: string;
66
66
  }
67
+ interface BulkUpdateWorkspaceResponse {
68
+ /** The entities that were added or updated during the bulk-update. Does not include entities that were deleted or updated by the system. */
69
+ changes?: Entity[];
70
+ }
67
71
  interface Client {
68
72
  /** GTM Account ID. */
69
73
  accountId?: string;
@@ -552,6 +556,10 @@ declare namespace gapi.client {
552
556
  /** A parameter's value (may contain variable references). as appropriate to the specified type. */
553
557
  value?: string;
554
558
  }
559
+ interface ProposedChange {
560
+ /** The list of workspace changes to be applied. */
561
+ changes?: Entity[];
562
+ }
555
563
  interface PublishContainerVersionResponse {
556
564
  /** Compiler errors or not. */
557
565
  compilerError?: boolean;
@@ -3868,6 +3876,64 @@ declare namespace gapi.client {
3868
3876
  ): Request<Zone>;
3869
3877
  }
3870
3878
  interface WorkspacesResource {
3879
+ /** Applies multiple entity changes to a workspace in one call. When creating new entities, their entity IDs must be unique and in correct format. That is, they must start with "new_" and followed by number, e.g. "new_1", "new_2". Example body snippet to create myNewTag under myNewFolder is: ``` "changes": [ { "folder": { "folderId": "new_1", "name": "myNewFolder", ... }, "changeStatus": "ADDED" }, { "tag": { "tagId": "new_2", "name": "myNewTag", "parentFolderId": "new_1", ... }, "changeStatus": "ADDED" } ] ``` */
3880
+ bulk_update(request: {
3881
+ /** V1 error format. */
3882
+ '$.xgafv'?: string;
3883
+ /** OAuth access token. */
3884
+ access_token?: string;
3885
+ /** Data format for response. */
3886
+ alt?: string;
3887
+ /** JSONP */
3888
+ callback?: string;
3889
+ /** Selector specifying which fields to include in a partial response. */
3890
+ fields?: string;
3891
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3892
+ key?: string;
3893
+ /** OAuth 2.0 token for the current user. */
3894
+ oauth_token?: string;
3895
+ /** GTM Workspace's API relative path. */
3896
+ path: string;
3897
+ /** Returns response with indentations and line breaks. */
3898
+ prettyPrint?: boolean;
3899
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3900
+ quotaUser?: string;
3901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3902
+ upload_protocol?: string;
3903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3904
+ uploadType?: string;
3905
+ /** Request body */
3906
+ resource: ProposedChange;
3907
+ }): Request<BulkUpdateWorkspaceResponse>;
3908
+ bulk_update(
3909
+ request: {
3910
+ /** V1 error format. */
3911
+ '$.xgafv'?: string;
3912
+ /** OAuth access token. */
3913
+ access_token?: string;
3914
+ /** Data format for response. */
3915
+ alt?: string;
3916
+ /** JSONP */
3917
+ callback?: string;
3918
+ /** Selector specifying which fields to include in a partial response. */
3919
+ fields?: string;
3920
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3921
+ key?: string;
3922
+ /** OAuth 2.0 token for the current user. */
3923
+ oauth_token?: string;
3924
+ /** GTM Workspace's API relative path. */
3925
+ path: string;
3926
+ /** Returns response with indentations and line breaks. */
3927
+ prettyPrint?: boolean;
3928
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3929
+ quotaUser?: string;
3930
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3931
+ upload_protocol?: string;
3932
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3933
+ uploadType?: string;
3934
+ },
3935
+ body: ProposedChange,
3936
+ ): Request<BulkUpdateWorkspaceResponse>;
3871
3937
  /** Creates a Workspace. */
3872
3938
  create(request: {
3873
3939
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.tagmanager-v2",
3
- "version": "0.1.20251112",
3
+ "version": "0.1.20251201",
4
4
  "description": "TypeScript typings for Tag Manager API v2",
5
5
  "repository": {
6
6
  "type": "git",