@maxim_mazurok/gapi.client.tagmanager-v2 0.0.20230607 → 0.0.20230614
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 +401 -1
- package/package.json +1 -1
- package/tests.ts +119 -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:
|
|
12
|
+
// Revision: 20230614
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -210,6 +210,9 @@ declare namespace gapi.client {
|
|
|
210
210
|
/** Whether this Container supports templates. */
|
|
211
211
|
supportTemplates?:
|
|
212
212
|
boolean;
|
|
213
|
+
/** Whether this Container supports transformations. */
|
|
214
|
+
supportTransformations?:
|
|
215
|
+
boolean;
|
|
213
216
|
/** Whether this Container supports triggers. */
|
|
214
217
|
supportTriggers?:
|
|
215
218
|
boolean;
|
|
@@ -278,6 +281,9 @@ declare namespace gapi.client {
|
|
|
278
281
|
/** Auto generated link to the tag manager UI */
|
|
279
282
|
tagManagerUrl?:
|
|
280
283
|
string;
|
|
284
|
+
/** The transformations in the container that this version was taken from. */
|
|
285
|
+
transformation?:
|
|
286
|
+
Transformation[];
|
|
281
287
|
/** The triggers in the container that this version was taken from. */
|
|
282
288
|
trigger?:
|
|
283
289
|
Trigger[];
|
|
@@ -436,6 +442,9 @@ declare namespace gapi.client {
|
|
|
436
442
|
/** The tag being represented by the entity. */
|
|
437
443
|
tag?:
|
|
438
444
|
Tag;
|
|
445
|
+
/** The transformation being represented by the entity. */
|
|
446
|
+
transformation?:
|
|
447
|
+
Transformation;
|
|
439
448
|
/** The trigger being represented by the entity. */
|
|
440
449
|
trigger?:
|
|
441
450
|
Trigger;
|
|
@@ -698,6 +707,14 @@ declare namespace gapi.client {
|
|
|
698
707
|
template?:
|
|
699
708
|
CustomTemplate[];
|
|
700
709
|
}
|
|
710
|
+
interface ListTransformationsResponse {
|
|
711
|
+
/** Continuation token for fetching the next page of results. */
|
|
712
|
+
nextPageToken?:
|
|
713
|
+
string;
|
|
714
|
+
/** All GTM Transformations of a GTM Container. */
|
|
715
|
+
transformation?:
|
|
716
|
+
Transformation[];
|
|
717
|
+
}
|
|
701
718
|
interface ListTriggersResponse {
|
|
702
719
|
/** Continuation token for fetching the next page of results. */
|
|
703
720
|
nextPageToken?:
|
|
@@ -850,6 +867,14 @@ declare namespace gapi.client {
|
|
|
850
867
|
template?:
|
|
851
868
|
CustomTemplate;
|
|
852
869
|
}
|
|
870
|
+
interface RevertTransformationResponse {
|
|
871
|
+
/**
|
|
872
|
+
* Transformation as it appears in the latest container version since the last workspace synchronization operation. If no transformation is present, that means the transformation was
|
|
873
|
+
* deleted in the latest container version.
|
|
874
|
+
*/
|
|
875
|
+
transformation?:
|
|
876
|
+
Transformation;
|
|
877
|
+
}
|
|
853
878
|
interface RevertTriggerResponse {
|
|
854
879
|
/**
|
|
855
880
|
* Trigger as it appears in the latest container version since the last workspace synchronization operation. If no trigger is present, that means the trigger was deleted in the latest
|
|
@@ -1024,6 +1049,47 @@ declare namespace gapi.client {
|
|
|
1024
1049
|
tagName?:
|
|
1025
1050
|
string;
|
|
1026
1051
|
}
|
|
1052
|
+
interface Transformation {
|
|
1053
|
+
/** GTM Account ID. */
|
|
1054
|
+
accountId?:
|
|
1055
|
+
string;
|
|
1056
|
+
/** GTM Container ID. */
|
|
1057
|
+
containerId?:
|
|
1058
|
+
string;
|
|
1059
|
+
/** The fingerprint of the GTM Transformation as computed at storage time. This value is recomputed whenever the transformation is modified. */
|
|
1060
|
+
fingerprint?:
|
|
1061
|
+
string;
|
|
1062
|
+
/** Transformation display name. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update */
|
|
1063
|
+
name?:
|
|
1064
|
+
string;
|
|
1065
|
+
/**
|
|
1066
|
+
* User notes on how to apply this transformation in the container. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable
|
|
1067
|
+
* tagmanager.accounts.containers.workspaces.transformations.update
|
|
1068
|
+
*/
|
|
1069
|
+
notes?:
|
|
1070
|
+
string;
|
|
1071
|
+
/** The transformation's parameters. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update */
|
|
1072
|
+
parameter?:
|
|
1073
|
+
Parameter[];
|
|
1074
|
+
/** Parent folder id. */
|
|
1075
|
+
parentFolderId?:
|
|
1076
|
+
string;
|
|
1077
|
+
/** GTM transformation's API relative path. */
|
|
1078
|
+
path?:
|
|
1079
|
+
string;
|
|
1080
|
+
/** Auto generated link to the tag manager UI */
|
|
1081
|
+
tagManagerUrl?:
|
|
1082
|
+
string;
|
|
1083
|
+
/** The Transformation ID uniquely identifies the GTM transformation. */
|
|
1084
|
+
transformationId?:
|
|
1085
|
+
string;
|
|
1086
|
+
/** Transformation type. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update */
|
|
1087
|
+
type?:
|
|
1088
|
+
string;
|
|
1089
|
+
/** GTM Workspace ID. */
|
|
1090
|
+
workspaceId?:
|
|
1091
|
+
string;
|
|
1092
|
+
}
|
|
1027
1093
|
interface Trigger {
|
|
1028
1094
|
/** GTM Account ID. */
|
|
1029
1095
|
accountId?:
|
|
@@ -4218,6 +4284,338 @@ declare namespace gapi.client {
|
|
|
4218
4284
|
},
|
|
4219
4285
|
body: CustomTemplate): Request<CustomTemplate>;
|
|
4220
4286
|
}
|
|
4287
|
+
interface TransformationsResource {
|
|
4288
|
+
/** Creates a GTM Transformation. */
|
|
4289
|
+
create(request: {
|
|
4290
|
+
/** V1 error format. */
|
|
4291
|
+
"$.xgafv"?:
|
|
4292
|
+
string;
|
|
4293
|
+
/** OAuth access token. */
|
|
4294
|
+
access_token?:
|
|
4295
|
+
string;
|
|
4296
|
+
/** Data format for response. */
|
|
4297
|
+
alt?:
|
|
4298
|
+
string;
|
|
4299
|
+
/** JSONP */
|
|
4300
|
+
callback?:
|
|
4301
|
+
string;
|
|
4302
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4303
|
+
fields?:
|
|
4304
|
+
string;
|
|
4305
|
+
/** 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. */
|
|
4306
|
+
key?:
|
|
4307
|
+
string;
|
|
4308
|
+
/** OAuth 2.0 token for the current user. */
|
|
4309
|
+
oauth_token?:
|
|
4310
|
+
string;
|
|
4311
|
+
/** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */
|
|
4312
|
+
parent:
|
|
4313
|
+
string;
|
|
4314
|
+
/** Returns response with indentations and line breaks. */
|
|
4315
|
+
prettyPrint?:
|
|
4316
|
+
boolean;
|
|
4317
|
+
/** 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. */
|
|
4318
|
+
quotaUser?:
|
|
4319
|
+
string;
|
|
4320
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4321
|
+
upload_protocol?:
|
|
4322
|
+
string;
|
|
4323
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4324
|
+
uploadType?:
|
|
4325
|
+
string;
|
|
4326
|
+
/** Request body */
|
|
4327
|
+
resource:
|
|
4328
|
+
Transformation;
|
|
4329
|
+
}): Request<Transformation>;
|
|
4330
|
+
create(request: {
|
|
4331
|
+
/** V1 error format. */
|
|
4332
|
+
"$.xgafv"?:
|
|
4333
|
+
string;
|
|
4334
|
+
/** OAuth access token. */
|
|
4335
|
+
access_token?:
|
|
4336
|
+
string;
|
|
4337
|
+
/** Data format for response. */
|
|
4338
|
+
alt?:
|
|
4339
|
+
string;
|
|
4340
|
+
/** JSONP */
|
|
4341
|
+
callback?:
|
|
4342
|
+
string;
|
|
4343
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4344
|
+
fields?:
|
|
4345
|
+
string;
|
|
4346
|
+
/** 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. */
|
|
4347
|
+
key?:
|
|
4348
|
+
string;
|
|
4349
|
+
/** OAuth 2.0 token for the current user. */
|
|
4350
|
+
oauth_token?:
|
|
4351
|
+
string;
|
|
4352
|
+
/** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */
|
|
4353
|
+
parent:
|
|
4354
|
+
string;
|
|
4355
|
+
/** Returns response with indentations and line breaks. */
|
|
4356
|
+
prettyPrint?:
|
|
4357
|
+
boolean;
|
|
4358
|
+
/** 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. */
|
|
4359
|
+
quotaUser?:
|
|
4360
|
+
string;
|
|
4361
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4362
|
+
upload_protocol?:
|
|
4363
|
+
string;
|
|
4364
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4365
|
+
uploadType?:
|
|
4366
|
+
string;
|
|
4367
|
+
},
|
|
4368
|
+
body: Transformation): Request<Transformation>;
|
|
4369
|
+
/** Deletes a GTM Transformation. */
|
|
4370
|
+
delete(request?: {
|
|
4371
|
+
/** V1 error format. */
|
|
4372
|
+
"$.xgafv"?:
|
|
4373
|
+
string;
|
|
4374
|
+
/** OAuth access token. */
|
|
4375
|
+
access_token?:
|
|
4376
|
+
string;
|
|
4377
|
+
/** Data format for response. */
|
|
4378
|
+
alt?:
|
|
4379
|
+
string;
|
|
4380
|
+
/** JSONP */
|
|
4381
|
+
callback?:
|
|
4382
|
+
string;
|
|
4383
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4384
|
+
fields?:
|
|
4385
|
+
string;
|
|
4386
|
+
/** 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. */
|
|
4387
|
+
key?:
|
|
4388
|
+
string;
|
|
4389
|
+
/** OAuth 2.0 token for the current user. */
|
|
4390
|
+
oauth_token?:
|
|
4391
|
+
string;
|
|
4392
|
+
/** GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id} */
|
|
4393
|
+
path:
|
|
4394
|
+
string;
|
|
4395
|
+
/** Returns response with indentations and line breaks. */
|
|
4396
|
+
prettyPrint?:
|
|
4397
|
+
boolean;
|
|
4398
|
+
/** 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. */
|
|
4399
|
+
quotaUser?:
|
|
4400
|
+
string;
|
|
4401
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4402
|
+
upload_protocol?:
|
|
4403
|
+
string;
|
|
4404
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4405
|
+
uploadType?:
|
|
4406
|
+
string;
|
|
4407
|
+
}): Request<void>;
|
|
4408
|
+
/** Gets a GTM Transformation. */
|
|
4409
|
+
get(request?: {
|
|
4410
|
+
/** V1 error format. */
|
|
4411
|
+
"$.xgafv"?:
|
|
4412
|
+
string;
|
|
4413
|
+
/** OAuth access token. */
|
|
4414
|
+
access_token?:
|
|
4415
|
+
string;
|
|
4416
|
+
/** Data format for response. */
|
|
4417
|
+
alt?:
|
|
4418
|
+
string;
|
|
4419
|
+
/** JSONP */
|
|
4420
|
+
callback?:
|
|
4421
|
+
string;
|
|
4422
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4423
|
+
fields?:
|
|
4424
|
+
string;
|
|
4425
|
+
/** 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. */
|
|
4426
|
+
key?:
|
|
4427
|
+
string;
|
|
4428
|
+
/** OAuth 2.0 token for the current user. */
|
|
4429
|
+
oauth_token?:
|
|
4430
|
+
string;
|
|
4431
|
+
/** GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id} */
|
|
4432
|
+
path:
|
|
4433
|
+
string;
|
|
4434
|
+
/** Returns response with indentations and line breaks. */
|
|
4435
|
+
prettyPrint?:
|
|
4436
|
+
boolean;
|
|
4437
|
+
/** 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. */
|
|
4438
|
+
quotaUser?:
|
|
4439
|
+
string;
|
|
4440
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4441
|
+
upload_protocol?:
|
|
4442
|
+
string;
|
|
4443
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4444
|
+
uploadType?:
|
|
4445
|
+
string;
|
|
4446
|
+
}): Request<Transformation>;
|
|
4447
|
+
/** Lists all GTM Transformations of a GTM container workspace. */
|
|
4448
|
+
list(request?: {
|
|
4449
|
+
/** V1 error format. */
|
|
4450
|
+
"$.xgafv"?:
|
|
4451
|
+
string;
|
|
4452
|
+
/** OAuth access token. */
|
|
4453
|
+
access_token?:
|
|
4454
|
+
string;
|
|
4455
|
+
/** Data format for response. */
|
|
4456
|
+
alt?:
|
|
4457
|
+
string;
|
|
4458
|
+
/** JSONP */
|
|
4459
|
+
callback?:
|
|
4460
|
+
string;
|
|
4461
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4462
|
+
fields?:
|
|
4463
|
+
string;
|
|
4464
|
+
/** 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. */
|
|
4465
|
+
key?:
|
|
4466
|
+
string;
|
|
4467
|
+
/** OAuth 2.0 token for the current user. */
|
|
4468
|
+
oauth_token?:
|
|
4469
|
+
string;
|
|
4470
|
+
/** Continuation token for fetching the next page of results. */
|
|
4471
|
+
pageToken?:
|
|
4472
|
+
string;
|
|
4473
|
+
/** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */
|
|
4474
|
+
parent:
|
|
4475
|
+
string;
|
|
4476
|
+
/** Returns response with indentations and line breaks. */
|
|
4477
|
+
prettyPrint?:
|
|
4478
|
+
boolean;
|
|
4479
|
+
/** 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. */
|
|
4480
|
+
quotaUser?:
|
|
4481
|
+
string;
|
|
4482
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4483
|
+
upload_protocol?:
|
|
4484
|
+
string;
|
|
4485
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4486
|
+
uploadType?:
|
|
4487
|
+
string;
|
|
4488
|
+
}): Request<ListTransformationsResponse>;
|
|
4489
|
+
/** Reverts changes to a GTM Transformation in a GTM Workspace. */
|
|
4490
|
+
revert(request?: {
|
|
4491
|
+
/** V1 error format. */
|
|
4492
|
+
"$.xgafv"?:
|
|
4493
|
+
string;
|
|
4494
|
+
/** OAuth access token. */
|
|
4495
|
+
access_token?:
|
|
4496
|
+
string;
|
|
4497
|
+
/** Data format for response. */
|
|
4498
|
+
alt?:
|
|
4499
|
+
string;
|
|
4500
|
+
/** JSONP */
|
|
4501
|
+
callback?:
|
|
4502
|
+
string;
|
|
4503
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4504
|
+
fields?:
|
|
4505
|
+
string;
|
|
4506
|
+
/** When provided, this fingerprint must match the fingerprint of the transformation in storage. */
|
|
4507
|
+
fingerprint?:
|
|
4508
|
+
string;
|
|
4509
|
+
/** 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. */
|
|
4510
|
+
key?:
|
|
4511
|
+
string;
|
|
4512
|
+
/** OAuth 2.0 token for the current user. */
|
|
4513
|
+
oauth_token?:
|
|
4514
|
+
string;
|
|
4515
|
+
/** GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id} */
|
|
4516
|
+
path:
|
|
4517
|
+
string;
|
|
4518
|
+
/** Returns response with indentations and line breaks. */
|
|
4519
|
+
prettyPrint?:
|
|
4520
|
+
boolean;
|
|
4521
|
+
/** 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. */
|
|
4522
|
+
quotaUser?:
|
|
4523
|
+
string;
|
|
4524
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4525
|
+
upload_protocol?:
|
|
4526
|
+
string;
|
|
4527
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4528
|
+
uploadType?:
|
|
4529
|
+
string;
|
|
4530
|
+
}): Request<RevertTransformationResponse>;
|
|
4531
|
+
/** Updates a GTM Transformation. */
|
|
4532
|
+
update(request: {
|
|
4533
|
+
/** V1 error format. */
|
|
4534
|
+
"$.xgafv"?:
|
|
4535
|
+
string;
|
|
4536
|
+
/** OAuth access token. */
|
|
4537
|
+
access_token?:
|
|
4538
|
+
string;
|
|
4539
|
+
/** Data format for response. */
|
|
4540
|
+
alt?:
|
|
4541
|
+
string;
|
|
4542
|
+
/** JSONP */
|
|
4543
|
+
callback?:
|
|
4544
|
+
string;
|
|
4545
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4546
|
+
fields?:
|
|
4547
|
+
string;
|
|
4548
|
+
/** When provided, this fingerprint must match the fingerprint of the transformation in storage. */
|
|
4549
|
+
fingerprint?:
|
|
4550
|
+
string;
|
|
4551
|
+
/** 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. */
|
|
4552
|
+
key?:
|
|
4553
|
+
string;
|
|
4554
|
+
/** OAuth 2.0 token for the current user. */
|
|
4555
|
+
oauth_token?:
|
|
4556
|
+
string;
|
|
4557
|
+
/** GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id} */
|
|
4558
|
+
path:
|
|
4559
|
+
string;
|
|
4560
|
+
/** Returns response with indentations and line breaks. */
|
|
4561
|
+
prettyPrint?:
|
|
4562
|
+
boolean;
|
|
4563
|
+
/** 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. */
|
|
4564
|
+
quotaUser?:
|
|
4565
|
+
string;
|
|
4566
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4567
|
+
upload_protocol?:
|
|
4568
|
+
string;
|
|
4569
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4570
|
+
uploadType?:
|
|
4571
|
+
string;
|
|
4572
|
+
/** Request body */
|
|
4573
|
+
resource:
|
|
4574
|
+
Transformation;
|
|
4575
|
+
}): Request<Transformation>;
|
|
4576
|
+
update(request: {
|
|
4577
|
+
/** V1 error format. */
|
|
4578
|
+
"$.xgafv"?:
|
|
4579
|
+
string;
|
|
4580
|
+
/** OAuth access token. */
|
|
4581
|
+
access_token?:
|
|
4582
|
+
string;
|
|
4583
|
+
/** Data format for response. */
|
|
4584
|
+
alt?:
|
|
4585
|
+
string;
|
|
4586
|
+
/** JSONP */
|
|
4587
|
+
callback?:
|
|
4588
|
+
string;
|
|
4589
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4590
|
+
fields?:
|
|
4591
|
+
string;
|
|
4592
|
+
/** When provided, this fingerprint must match the fingerprint of the transformation in storage. */
|
|
4593
|
+
fingerprint?:
|
|
4594
|
+
string;
|
|
4595
|
+
/** 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. */
|
|
4596
|
+
key?:
|
|
4597
|
+
string;
|
|
4598
|
+
/** OAuth 2.0 token for the current user. */
|
|
4599
|
+
oauth_token?:
|
|
4600
|
+
string;
|
|
4601
|
+
/** GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id} */
|
|
4602
|
+
path:
|
|
4603
|
+
string;
|
|
4604
|
+
/** Returns response with indentations and line breaks. */
|
|
4605
|
+
prettyPrint?:
|
|
4606
|
+
boolean;
|
|
4607
|
+
/** 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. */
|
|
4608
|
+
quotaUser?:
|
|
4609
|
+
string;
|
|
4610
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4611
|
+
upload_protocol?:
|
|
4612
|
+
string;
|
|
4613
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4614
|
+
uploadType?:
|
|
4615
|
+
string;
|
|
4616
|
+
},
|
|
4617
|
+
body: Transformation): Request<Transformation>;
|
|
4618
|
+
}
|
|
4221
4619
|
interface TriggersResource {
|
|
4222
4620
|
/** Creates a GTM Trigger. */
|
|
4223
4621
|
create(request: {
|
|
@@ -5800,6 +6198,8 @@ declare namespace gapi.client {
|
|
|
5800
6198
|
TagsResource;
|
|
5801
6199
|
templates:
|
|
5802
6200
|
TemplatesResource;
|
|
6201
|
+
transformations:
|
|
6202
|
+
TransformationsResource;
|
|
5803
6203
|
triggers:
|
|
5804
6204
|
TriggersResource;
|
|
5805
6205
|
variables:
|
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: 20230614
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -90,6 +90,7 @@ gapi.load('client', async () => {
|
|
|
90
90
|
supportGtagConfigs: true,
|
|
91
91
|
supportTags: true,
|
|
92
92
|
supportTemplates: true,
|
|
93
|
+
supportTransformations: true,
|
|
93
94
|
supportTriggers: true,
|
|
94
95
|
supportUserPermissions: true,
|
|
95
96
|
supportVariables: true,
|
|
@@ -162,6 +163,7 @@ gapi.load('client', async () => {
|
|
|
162
163
|
supportGtagConfigs: true,
|
|
163
164
|
supportTags: true,
|
|
164
165
|
supportTemplates: true,
|
|
166
|
+
supportTransformations: true,
|
|
165
167
|
supportTriggers: true,
|
|
166
168
|
supportUserPermissions: true,
|
|
167
169
|
supportVariables: true,
|
|
@@ -364,6 +366,7 @@ gapi.load('client', async () => {
|
|
|
364
366
|
supportGtagConfigs: true,
|
|
365
367
|
supportTags: true,
|
|
366
368
|
supportTemplates: true,
|
|
369
|
+
supportTransformations: true,
|
|
367
370
|
supportTriggers: true,
|
|
368
371
|
supportUserPermissions: true,
|
|
369
372
|
supportVariables: true,
|
|
@@ -528,6 +531,30 @@ gapi.load('client', async () => {
|
|
|
528
531
|
}
|
|
529
532
|
],
|
|
530
533
|
tagManagerUrl: "Test string",
|
|
534
|
+
transformation: [
|
|
535
|
+
{
|
|
536
|
+
accountId: "Test string",
|
|
537
|
+
containerId: "Test string",
|
|
538
|
+
fingerprint: "Test string",
|
|
539
|
+
name: "Test string",
|
|
540
|
+
notes: "Test string",
|
|
541
|
+
parameter: [
|
|
542
|
+
{
|
|
543
|
+
key: "Test string",
|
|
544
|
+
list: undefined,
|
|
545
|
+
map: undefined,
|
|
546
|
+
type: "Test string",
|
|
547
|
+
value: "Test string",
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
parentFolderId: "Test string",
|
|
551
|
+
path: "Test string",
|
|
552
|
+
tagManagerUrl: "Test string",
|
|
553
|
+
transformationId: "Test string",
|
|
554
|
+
type: "Test string",
|
|
555
|
+
workspaceId: "Test string",
|
|
556
|
+
}
|
|
557
|
+
],
|
|
531
558
|
trigger: [
|
|
532
559
|
{
|
|
533
560
|
accountId: "Test string",
|
|
@@ -978,6 +1005,28 @@ gapi.load('client', async () => {
|
|
|
978
1005
|
type: "Test string",
|
|
979
1006
|
workspaceId: "Test string",
|
|
980
1007
|
},
|
|
1008
|
+
transformation: {
|
|
1009
|
+
accountId: "Test string",
|
|
1010
|
+
containerId: "Test string",
|
|
1011
|
+
fingerprint: "Test string",
|
|
1012
|
+
name: "Test string",
|
|
1013
|
+
notes: "Test string",
|
|
1014
|
+
parameter: [
|
|
1015
|
+
{
|
|
1016
|
+
key: "Test string",
|
|
1017
|
+
list: undefined,
|
|
1018
|
+
map: undefined,
|
|
1019
|
+
type: "Test string",
|
|
1020
|
+
value: "Test string",
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
parentFolderId: "Test string",
|
|
1024
|
+
path: "Test string",
|
|
1025
|
+
tagManagerUrl: "Test string",
|
|
1026
|
+
transformationId: "Test string",
|
|
1027
|
+
type: "Test string",
|
|
1028
|
+
workspaceId: "Test string",
|
|
1029
|
+
},
|
|
981
1030
|
trigger: {
|
|
982
1031
|
accountId: "Test string",
|
|
983
1032
|
autoEventFilter: [
|
|
@@ -1699,6 +1748,75 @@ gapi.load('client', async () => {
|
|
|
1699
1748
|
templateId: "Test string",
|
|
1700
1749
|
workspaceId: "Test string",
|
|
1701
1750
|
});
|
|
1751
|
+
/** Creates a GTM Transformation. */
|
|
1752
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.create({
|
|
1753
|
+
parent: "Test string",
|
|
1754
|
+
}, {
|
|
1755
|
+
accountId: "Test string",
|
|
1756
|
+
containerId: "Test string",
|
|
1757
|
+
fingerprint: "Test string",
|
|
1758
|
+
name: "Test string",
|
|
1759
|
+
notes: "Test string",
|
|
1760
|
+
parameter: [
|
|
1761
|
+
{
|
|
1762
|
+
key: "Test string",
|
|
1763
|
+
list: undefined,
|
|
1764
|
+
map: undefined,
|
|
1765
|
+
type: "Test string",
|
|
1766
|
+
value: "Test string",
|
|
1767
|
+
}
|
|
1768
|
+
],
|
|
1769
|
+
parentFolderId: "Test string",
|
|
1770
|
+
path: "Test string",
|
|
1771
|
+
tagManagerUrl: "Test string",
|
|
1772
|
+
transformationId: "Test string",
|
|
1773
|
+
type: "Test string",
|
|
1774
|
+
workspaceId: "Test string",
|
|
1775
|
+
});
|
|
1776
|
+
/** Deletes a GTM Transformation. */
|
|
1777
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.delete({
|
|
1778
|
+
path: "Test string",
|
|
1779
|
+
});
|
|
1780
|
+
/** Gets a GTM Transformation. */
|
|
1781
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.get({
|
|
1782
|
+
path: "Test string",
|
|
1783
|
+
});
|
|
1784
|
+
/** Lists all GTM Transformations of a GTM container workspace. */
|
|
1785
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.list({
|
|
1786
|
+
pageToken: "Test string",
|
|
1787
|
+
parent: "Test string",
|
|
1788
|
+
});
|
|
1789
|
+
/** Reverts changes to a GTM Transformation in a GTM Workspace. */
|
|
1790
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.revert({
|
|
1791
|
+
fingerprint: "Test string",
|
|
1792
|
+
path: "Test string",
|
|
1793
|
+
});
|
|
1794
|
+
/** Updates a GTM Transformation. */
|
|
1795
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.transformations.update({
|
|
1796
|
+
fingerprint: "Test string",
|
|
1797
|
+
path: "Test string",
|
|
1798
|
+
}, {
|
|
1799
|
+
accountId: "Test string",
|
|
1800
|
+
containerId: "Test string",
|
|
1801
|
+
fingerprint: "Test string",
|
|
1802
|
+
name: "Test string",
|
|
1803
|
+
notes: "Test string",
|
|
1804
|
+
parameter: [
|
|
1805
|
+
{
|
|
1806
|
+
key: "Test string",
|
|
1807
|
+
list: undefined,
|
|
1808
|
+
map: undefined,
|
|
1809
|
+
type: "Test string",
|
|
1810
|
+
value: "Test string",
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
parentFolderId: "Test string",
|
|
1814
|
+
path: "Test string",
|
|
1815
|
+
tagManagerUrl: "Test string",
|
|
1816
|
+
transformationId: "Test string",
|
|
1817
|
+
type: "Test string",
|
|
1818
|
+
workspaceId: "Test string",
|
|
1819
|
+
});
|
|
1702
1820
|
/** Creates a GTM Trigger. */
|
|
1703
1821
|
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.create({
|
|
1704
1822
|
parent: "Test string",
|