@wix/bex-utils 2.93.0 → 2.94.0
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/@wix/ambassador-os-tags-v1-tag/README.md +34 -0
- package/@wix/ambassador-os-tags-v1-tag/builders/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.js +385 -145
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js +16 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js +50 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/http.impl.js +287 -13
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/meta.impl.js +166 -20
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.d.ts +2520 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/proto-generated.d.ts +1267 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.d.ts +2529 -22
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/rpc.impl.js +133 -21
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → cjs/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/types.impl.js +14 -9
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/package.json +3 -0
- package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.js +327 -111
- package/@wix/ambassador-os-tags-v1-tag/es/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js +12 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.js +12 -4
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/http.impl.js +270 -2
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/meta.impl.js +127 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.d.ts +12332 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.d.ts +6182 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.d.ts +12307 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/rpc.impl.js +93 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → es/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/types.impl.js +12 -7
- package/@wix/ambassador-os-tags-v1-tag/es/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/meta/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/package.json +68 -13
- package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +3 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_debug_service.proto +32 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_sync_service.proto +33 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +111 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +10 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +1 -1
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +5 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +12 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_account_service.proto +43 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_global_service.proto +171 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +49 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/bulk.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/paging.proto +121 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/query.proto +771 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/sorting.proto +27 -0
- package/@wix/ambassador-os-tags-v1-tag/types/package.json +3 -3
- package/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +0 -5
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +0 -41
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +0 -83454
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +0 -2
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +0 -1
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.js +0 -0
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.js +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -13,55 +17,172 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
18
|
};
|
|
15
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
20
|
+
exports.aAccountInfo = aAccountInfo;
|
|
21
|
+
exports.aIdentificationData = aIdentificationData;
|
|
22
|
+
exports.aWebhookIdentityType = aWebhookIdentityType;
|
|
23
|
+
exports.aMessageEnvelope = aMessageEnvelope;
|
|
24
|
+
exports.aActionEvent = aActionEvent;
|
|
25
|
+
exports.aDomainEvent = aDomainEvent;
|
|
26
|
+
exports.aEntityCreatedEvent = aEntityCreatedEvent;
|
|
27
|
+
exports.aEntityDeletedEvent = aEntityDeletedEvent;
|
|
28
|
+
exports.aEntityUpdatedEvent = aEntityUpdatedEvent;
|
|
29
|
+
exports.aRestoreInfo = aRestoreInfo;
|
|
30
|
+
exports.aCreateGlobalTagRequest = aCreateGlobalTagRequest;
|
|
31
|
+
exports.aCreateGlobalTagResponse = aCreateGlobalTagResponse;
|
|
32
|
+
exports.aCreateTagForAccountRequest = aCreateTagForAccountRequest;
|
|
33
|
+
exports.aCreateTagForAccountResponse = aCreateTagForAccountResponse;
|
|
34
|
+
exports.aCreateTagRequest = aCreateTagRequest;
|
|
35
|
+
exports.aCreateTagResponse = aCreateTagResponse;
|
|
36
|
+
exports.aDeleteGlobalTagRequest = aDeleteGlobalTagRequest;
|
|
37
|
+
exports.aDeleteGlobalTagResponse = aDeleteGlobalTagResponse;
|
|
38
|
+
exports.aDeleteTagForAccountRequest = aDeleteTagForAccountRequest;
|
|
39
|
+
exports.aDeleteTagForAccountResponse = aDeleteTagForAccountResponse;
|
|
40
|
+
exports.aDeleteTagRequest = aDeleteTagRequest;
|
|
41
|
+
exports.aDeleteTagResponse = aDeleteTagResponse;
|
|
42
|
+
exports.aGetGlobalTagRequest = aGetGlobalTagRequest;
|
|
43
|
+
exports.aGetGlobalTagResponse = aGetGlobalTagResponse;
|
|
44
|
+
exports.aGetTagForAccountRequest = aGetTagForAccountRequest;
|
|
45
|
+
exports.aGetTagForAccountResponse = aGetTagForAccountResponse;
|
|
46
|
+
exports.aGetTagRequest = aGetTagRequest;
|
|
47
|
+
exports.aGetTagResponse = aGetTagResponse;
|
|
48
|
+
exports.aListGlobalTagsRequest = aListGlobalTagsRequest;
|
|
49
|
+
exports.aListGlobalTagsResponse = aListGlobalTagsResponse;
|
|
50
|
+
exports.aListTagsForAccountRequest = aListTagsForAccountRequest;
|
|
51
|
+
exports.aListTagsForAccountResponse = aListTagsForAccountResponse;
|
|
52
|
+
exports.aListTagsRequest = aListTagsRequest;
|
|
53
|
+
exports.aListTagsResponse = aListTagsResponse;
|
|
54
|
+
exports.aMigrateTagRequest = aMigrateTagRequest;
|
|
55
|
+
exports.aMigrateTagResponse = aMigrateTagResponse;
|
|
56
|
+
exports.aQueryTagsForAccountRequest = aQueryTagsForAccountRequest;
|
|
57
|
+
exports.aQueryTagsForAccountResponse = aQueryTagsForAccountResponse;
|
|
58
|
+
exports.aQueryTagsRequest = aQueryTagsRequest;
|
|
59
|
+
exports.aQueryTagsResponse = aQueryTagsResponse;
|
|
60
|
+
exports.aTag = aTag;
|
|
61
|
+
exports.aTagExposure = aTagExposure;
|
|
62
|
+
exports.aUpdateGlobalTagRequest = aUpdateGlobalTagRequest;
|
|
63
|
+
exports.aUpdateGlobalTagResponse = aUpdateGlobalTagResponse;
|
|
64
|
+
exports.aUpdateTagForAccountRequest = aUpdateTagForAccountRequest;
|
|
65
|
+
exports.aUpdateTagForAccountResponse = aUpdateTagForAccountResponse;
|
|
66
|
+
exports.aUpdateTagRequest = aUpdateTagRequest;
|
|
67
|
+
exports.aUpdateTagResponse = aUpdateTagResponse;
|
|
68
|
+
exports.aCursorPaging = aCursorPaging;
|
|
69
|
+
exports.aCursorPagingMetadata = aCursorPagingMetadata;
|
|
70
|
+
exports.aCursorQuery = aCursorQuery;
|
|
71
|
+
exports.aCursors = aCursors;
|
|
72
|
+
exports.aSorting = aSorting;
|
|
73
|
+
exports.aSortOrder = aSortOrder;
|
|
17
74
|
var metro_common_builders_1 = require("@wix/metro-common-builders");
|
|
18
|
-
var
|
|
75
|
+
var types_impl_js_1 = require("./types.impl.js");
|
|
19
76
|
// @ts-ignore
|
|
20
77
|
var callsite_1 = __importDefault(require("callsite"));
|
|
21
|
-
function
|
|
78
|
+
function aAccountInfo(overrideObject) {
|
|
79
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
80
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
81
|
+
accountId: (0, metro_common_builders_1.someString)({
|
|
82
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
83
|
+
}),
|
|
84
|
+
parentAccountId: (0, metro_common_builders_1.someString)({
|
|
85
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
86
|
+
}),
|
|
87
|
+
siteId: (0, metro_common_builders_1.someString)({
|
|
88
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
89
|
+
}),
|
|
90
|
+
}, overrideObject);
|
|
91
|
+
}
|
|
92
|
+
function aIdentificationData(overrideObject) {
|
|
22
93
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
23
94
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
24
95
|
return {};
|
|
25
96
|
}
|
|
26
97
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
27
|
-
|
|
28
|
-
validations: [
|
|
29
|
-
{ type: 'READ_ONLY', value: 'true' },
|
|
30
|
-
{ type: 'MAX_LENGTH', value: '5' },
|
|
31
|
-
],
|
|
32
|
-
}),
|
|
33
|
-
revision: (0, metro_common_builders_1.someString)({
|
|
34
|
-
validations: [
|
|
35
|
-
{ type: 'READ_ONLY', value: 'true' },
|
|
36
|
-
{ type: 'DECIMAL_VALUE' },
|
|
37
|
-
],
|
|
38
|
-
}),
|
|
39
|
-
createdDate: (0, metro_common_builders_1.someDate)({
|
|
40
|
-
validations: [{ type: 'READ_ONLY', value: 'true' }],
|
|
98
|
+
anonymousVisitorId: (0, metro_common_builders_1.someString)({
|
|
99
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
41
100
|
}),
|
|
42
|
-
|
|
43
|
-
|
|
101
|
+
identityType: aWebhookIdentityType(),
|
|
102
|
+
}, overrideObject);
|
|
103
|
+
}
|
|
104
|
+
function aWebhookIdentityType(enumFirstItem) {
|
|
105
|
+
if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.WebhookIdentityType.UNKNOWN; }
|
|
106
|
+
return enumFirstItem;
|
|
107
|
+
}
|
|
108
|
+
function aMessageEnvelope(overrideObject) {
|
|
109
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
110
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
111
|
+
return {};
|
|
112
|
+
}
|
|
113
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
114
|
+
instanceId: (0, metro_common_builders_1.someString)({
|
|
115
|
+
validations: [{ type: 'FORMAT', value: 'GUID' }],
|
|
44
116
|
}),
|
|
45
|
-
|
|
46
|
-
validations: [{ type: 'MAX_LENGTH', value: '
|
|
117
|
+
eventType: (0, metro_common_builders_1.someString)({
|
|
118
|
+
validations: [{ type: 'MAX_LENGTH', value: '150' }],
|
|
47
119
|
}),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
120
|
+
identity: aIdentificationData(),
|
|
121
|
+
data: (0, metro_common_builders_1.someString)(),
|
|
122
|
+
accountInfo: aAccountInfo(),
|
|
123
|
+
}, overrideObject);
|
|
124
|
+
}
|
|
125
|
+
function aActionEvent(overrideObject) {
|
|
126
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
127
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
128
|
+
bodyAsJson: (0, metro_common_builders_1.someString)(),
|
|
129
|
+
}, overrideObject);
|
|
130
|
+
}
|
|
131
|
+
function aDomainEvent(overrideObject) {
|
|
132
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
133
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
134
|
+
return {};
|
|
135
|
+
}
|
|
136
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
137
|
+
createdEvent: aEntityCreatedEvent(),
|
|
138
|
+
id: (0, metro_common_builders_1.someString)(),
|
|
139
|
+
entityFqdn: (0, metro_common_builders_1.someString)(),
|
|
140
|
+
slug: (0, metro_common_builders_1.someString)(),
|
|
141
|
+
entityId: (0, metro_common_builders_1.someString)(),
|
|
142
|
+
eventTime: (0, metro_common_builders_1.someDate)(),
|
|
143
|
+
triggeredByAnonymizeRequest: true,
|
|
144
|
+
originatedFrom: (0, metro_common_builders_1.someString)(),
|
|
145
|
+
entityEventSequence: (0, metro_common_builders_1.someString)({
|
|
146
|
+
validations: [{ type: 'DECIMAL_VALUE' }],
|
|
53
147
|
}),
|
|
54
|
-
exposure: aTagExposure(),
|
|
55
|
-
deleted: true,
|
|
56
148
|
}, overrideObject);
|
|
57
149
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (
|
|
61
|
-
|
|
150
|
+
function aEntityCreatedEvent(overrideObject) {
|
|
151
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
152
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
153
|
+
return {};
|
|
154
|
+
}
|
|
155
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
156
|
+
entityAsJson: (0, metro_common_builders_1.someString)(),
|
|
157
|
+
triggeredByUndelete: true,
|
|
158
|
+
restoreInfo: aRestoreInfo(),
|
|
159
|
+
additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
|
|
160
|
+
}, overrideObject);
|
|
62
161
|
}
|
|
63
|
-
|
|
64
|
-
|
|
162
|
+
function aEntityDeletedEvent(overrideObject) {
|
|
163
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
164
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
165
|
+
movedToTrash: true,
|
|
166
|
+
deletedEntityAsJson: (0, metro_common_builders_1.someString)(),
|
|
167
|
+
additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
|
|
168
|
+
}, overrideObject);
|
|
169
|
+
}
|
|
170
|
+
function aEntityUpdatedEvent(overrideObject) {
|
|
171
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
172
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
173
|
+
currentEntityAsJson: (0, metro_common_builders_1.someString)(),
|
|
174
|
+
previousEntityAsJson: (0, metro_common_builders_1.someString)(),
|
|
175
|
+
modifiedFields: { modifiedFields: (0, metro_common_builders_1.someAny)() },
|
|
176
|
+
additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
|
|
177
|
+
}, overrideObject);
|
|
178
|
+
}
|
|
179
|
+
function aRestoreInfo(overrideObject) {
|
|
180
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
181
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
182
|
+
deletedDate: (0, metro_common_builders_1.someDate)(),
|
|
183
|
+
}, overrideObject);
|
|
184
|
+
}
|
|
185
|
+
function aCreateGlobalTagRequest(overrideObject) {
|
|
65
186
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
66
187
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
67
188
|
return {};
|
|
@@ -70,8 +191,7 @@ function aCreateTagForAccountRequest(overrideObject) {
|
|
|
70
191
|
tag: aTag(),
|
|
71
192
|
}, overrideObject);
|
|
72
193
|
}
|
|
73
|
-
|
|
74
|
-
function aCreateTagForAccountResponse(overrideObject) {
|
|
194
|
+
function aCreateGlobalTagResponse(overrideObject) {
|
|
75
195
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
76
196
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
77
197
|
return {};
|
|
@@ -80,17 +200,16 @@ function aCreateTagForAccountResponse(overrideObject) {
|
|
|
80
200
|
tag: aTag(),
|
|
81
201
|
}, overrideObject);
|
|
82
202
|
}
|
|
83
|
-
|
|
84
|
-
function aGetTagForAccountRequest(overrideObject) {
|
|
203
|
+
function aCreateTagForAccountRequest(overrideObject) {
|
|
85
204
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
205
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
206
|
+
return {};
|
|
207
|
+
}
|
|
86
208
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
87
|
-
|
|
88
|
-
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
89
|
-
}),
|
|
209
|
+
tag: aTag(),
|
|
90
210
|
}, overrideObject);
|
|
91
211
|
}
|
|
92
|
-
|
|
93
|
-
function aGetTagForAccountResponse(overrideObject) {
|
|
212
|
+
function aCreateTagForAccountResponse(overrideObject) {
|
|
94
213
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
95
214
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
96
215
|
return {};
|
|
@@ -99,8 +218,7 @@ function aGetTagForAccountResponse(overrideObject) {
|
|
|
99
218
|
tag: aTag(),
|
|
100
219
|
}, overrideObject);
|
|
101
220
|
}
|
|
102
|
-
|
|
103
|
-
function aUpdateTagForAccountRequest(overrideObject) {
|
|
221
|
+
function aCreateTagRequest(overrideObject) {
|
|
104
222
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
105
223
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
106
224
|
return {};
|
|
@@ -109,8 +227,7 @@ function aUpdateTagForAccountRequest(overrideObject) {
|
|
|
109
227
|
tag: aTag(),
|
|
110
228
|
}, overrideObject);
|
|
111
229
|
}
|
|
112
|
-
|
|
113
|
-
function aUpdateTagForAccountResponse(overrideObject) {
|
|
230
|
+
function aCreateTagResponse(overrideObject) {
|
|
114
231
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
115
232
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
116
233
|
return {};
|
|
@@ -119,7 +236,18 @@ function aUpdateTagForAccountResponse(overrideObject) {
|
|
|
119
236
|
tag: aTag(),
|
|
120
237
|
}, overrideObject);
|
|
121
238
|
}
|
|
122
|
-
|
|
239
|
+
function aDeleteGlobalTagRequest(overrideObject) {
|
|
240
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
241
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
242
|
+
tagId: (0, metro_common_builders_1.someString)({
|
|
243
|
+
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
244
|
+
}),
|
|
245
|
+
}, overrideObject);
|
|
246
|
+
}
|
|
247
|
+
function aDeleteGlobalTagResponse(overrideObject) {
|
|
248
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
249
|
+
return (0, metro_common_builders_1.mergeDeep)({}, overrideObject);
|
|
250
|
+
}
|
|
123
251
|
function aDeleteTagForAccountRequest(overrideObject) {
|
|
124
252
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
125
253
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
@@ -128,12 +256,94 @@ function aDeleteTagForAccountRequest(overrideObject) {
|
|
|
128
256
|
}),
|
|
129
257
|
}, overrideObject);
|
|
130
258
|
}
|
|
131
|
-
exports.aDeleteTagForAccountRequest = aDeleteTagForAccountRequest;
|
|
132
259
|
function aDeleteTagForAccountResponse(overrideObject) {
|
|
133
260
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
134
261
|
return (0, metro_common_builders_1.mergeDeep)({}, overrideObject);
|
|
135
262
|
}
|
|
136
|
-
|
|
263
|
+
function aDeleteTagRequest(overrideObject) {
|
|
264
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
265
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
266
|
+
tagId: (0, metro_common_builders_1.someString)({
|
|
267
|
+
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
268
|
+
}),
|
|
269
|
+
}, overrideObject);
|
|
270
|
+
}
|
|
271
|
+
function aDeleteTagResponse(overrideObject) {
|
|
272
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
273
|
+
return (0, metro_common_builders_1.mergeDeep)({}, overrideObject);
|
|
274
|
+
}
|
|
275
|
+
function aGetGlobalTagRequest(overrideObject) {
|
|
276
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
277
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
278
|
+
tagId: (0, metro_common_builders_1.someString)({
|
|
279
|
+
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
280
|
+
}),
|
|
281
|
+
}, overrideObject);
|
|
282
|
+
}
|
|
283
|
+
function aGetGlobalTagResponse(overrideObject) {
|
|
284
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
285
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
286
|
+
return {};
|
|
287
|
+
}
|
|
288
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
289
|
+
tag: aTag(),
|
|
290
|
+
}, overrideObject);
|
|
291
|
+
}
|
|
292
|
+
function aGetTagForAccountRequest(overrideObject) {
|
|
293
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
294
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
295
|
+
tagId: (0, metro_common_builders_1.someString)({
|
|
296
|
+
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
297
|
+
}),
|
|
298
|
+
}, overrideObject);
|
|
299
|
+
}
|
|
300
|
+
function aGetTagForAccountResponse(overrideObject) {
|
|
301
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
302
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
303
|
+
return {};
|
|
304
|
+
}
|
|
305
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
306
|
+
tag: aTag(),
|
|
307
|
+
}, overrideObject);
|
|
308
|
+
}
|
|
309
|
+
function aGetTagRequest(overrideObject) {
|
|
310
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
311
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
312
|
+
tagId: (0, metro_common_builders_1.someString)({
|
|
313
|
+
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
314
|
+
}),
|
|
315
|
+
}, overrideObject);
|
|
316
|
+
}
|
|
317
|
+
function aGetTagResponse(overrideObject) {
|
|
318
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
319
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
320
|
+
return {};
|
|
321
|
+
}
|
|
322
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
323
|
+
tag: aTag(),
|
|
324
|
+
}, overrideObject);
|
|
325
|
+
}
|
|
326
|
+
function aListGlobalTagsRequest(overrideObject) {
|
|
327
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
328
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
329
|
+
return {};
|
|
330
|
+
}
|
|
331
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
332
|
+
fqdn: (0, metro_common_builders_1.someString)({
|
|
333
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
334
|
+
}),
|
|
335
|
+
exposure: aTagExposure(),
|
|
336
|
+
}, overrideObject);
|
|
337
|
+
}
|
|
338
|
+
function aListGlobalTagsResponse(overrideObject) {
|
|
339
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
340
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
341
|
+
return {};
|
|
342
|
+
}
|
|
343
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
344
|
+
tags: [aTag()],
|
|
345
|
+
}, overrideObject);
|
|
346
|
+
}
|
|
137
347
|
function aListTagsForAccountRequest(overrideObject) {
|
|
138
348
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
139
349
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
@@ -146,7 +356,6 @@ function aListTagsForAccountRequest(overrideObject) {
|
|
|
146
356
|
exposure: aTagExposure(),
|
|
147
357
|
}, overrideObject);
|
|
148
358
|
}
|
|
149
|
-
exports.aListTagsForAccountRequest = aListTagsForAccountRequest;
|
|
150
359
|
function aListTagsForAccountResponse(overrideObject) {
|
|
151
360
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
152
361
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
@@ -156,109 +365,133 @@ function aListTagsForAccountResponse(overrideObject) {
|
|
|
156
365
|
tags: [aTag()],
|
|
157
366
|
}, overrideObject);
|
|
158
367
|
}
|
|
159
|
-
|
|
160
|
-
function aDomainEvent(overrideObject) {
|
|
368
|
+
function aListTagsRequest(overrideObject) {
|
|
161
369
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
162
370
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
163
371
|
return {};
|
|
164
372
|
}
|
|
165
373
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
entityFqdn: (0, metro_common_builders_1.someString)(),
|
|
169
|
-
slug: (0, metro_common_builders_1.someString)(),
|
|
170
|
-
entityId: (0, metro_common_builders_1.someString)(),
|
|
171
|
-
eventTime: (0, metro_common_builders_1.someDate)(),
|
|
172
|
-
triggeredByAnonymizeRequest: true,
|
|
173
|
-
originatedFrom: (0, metro_common_builders_1.someString)(),
|
|
174
|
-
entityEventSequence: (0, metro_common_builders_1.someString)({
|
|
175
|
-
validations: [{ type: 'DECIMAL_VALUE' }],
|
|
374
|
+
fqdn: (0, metro_common_builders_1.someString)({
|
|
375
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
176
376
|
}),
|
|
377
|
+
exposure: aTagExposure(),
|
|
177
378
|
}, overrideObject);
|
|
178
379
|
}
|
|
179
|
-
|
|
180
|
-
function aEntityCreatedEvent(overrideObject) {
|
|
380
|
+
function aListTagsResponse(overrideObject) {
|
|
181
381
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
182
382
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
183
383
|
return {};
|
|
184
384
|
}
|
|
185
385
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
186
|
-
|
|
187
|
-
triggeredByUndelete: true,
|
|
188
|
-
restoreInfo: aRestoreInfo(),
|
|
189
|
-
additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
|
|
386
|
+
tags: [aTag()],
|
|
190
387
|
}, overrideObject);
|
|
191
388
|
}
|
|
192
|
-
|
|
193
|
-
function aRestoreInfo(overrideObject) {
|
|
389
|
+
function aMigrateTagRequest(overrideObject) {
|
|
194
390
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
391
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
392
|
+
return {};
|
|
393
|
+
}
|
|
195
394
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
196
|
-
|
|
395
|
+
tag: aTag(),
|
|
197
396
|
}, overrideObject);
|
|
198
397
|
}
|
|
199
|
-
|
|
200
|
-
function aEntityUpdatedEvent(overrideObject) {
|
|
398
|
+
function aMigrateTagResponse(overrideObject) {
|
|
201
399
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
400
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
401
|
+
return {};
|
|
402
|
+
}
|
|
202
403
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
203
|
-
|
|
204
|
-
previousEntityAsJson: (0, metro_common_builders_1.someString)(),
|
|
205
|
-
modifiedFields: { modifiedFields: (0, metro_common_builders_1.someAny)() },
|
|
206
|
-
additionalMetadataAsJson: (0, metro_common_builders_1.someString)(),
|
|
404
|
+
tag: aTag(),
|
|
207
405
|
}, overrideObject);
|
|
208
406
|
}
|
|
209
|
-
|
|
210
|
-
function aEntityDeletedEvent(overrideObject) {
|
|
407
|
+
function aQueryTagsForAccountRequest(overrideObject) {
|
|
211
408
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
409
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
410
|
+
return {};
|
|
411
|
+
}
|
|
212
412
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
413
|
+
fqdn: (0, metro_common_builders_1.someString)({
|
|
414
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
415
|
+
}),
|
|
416
|
+
exposure: aTagExposure(),
|
|
417
|
+
query: aCursorQuery(),
|
|
216
418
|
}, overrideObject);
|
|
217
419
|
}
|
|
218
|
-
|
|
219
|
-
function aActionEvent(overrideObject) {
|
|
420
|
+
function aQueryTagsForAccountResponse(overrideObject) {
|
|
220
421
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
422
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
423
|
+
return {};
|
|
424
|
+
}
|
|
221
425
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
222
|
-
|
|
426
|
+
tags: [aTag()],
|
|
427
|
+
pagingMetadata: aCursorPagingMetadata(),
|
|
223
428
|
}, overrideObject);
|
|
224
429
|
}
|
|
225
|
-
|
|
226
|
-
function aMessageEnvelope(overrideObject) {
|
|
430
|
+
function aQueryTagsRequest(overrideObject) {
|
|
227
431
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
228
432
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
229
433
|
return {};
|
|
230
434
|
}
|
|
231
435
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
232
|
-
|
|
233
|
-
validations: [{ type: '
|
|
234
|
-
}),
|
|
235
|
-
eventType: (0, metro_common_builders_1.someString)({
|
|
236
|
-
validations: [{ type: 'MAX_LENGTH', value: '150' }],
|
|
436
|
+
fqdn: (0, metro_common_builders_1.someString)({
|
|
437
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
237
438
|
}),
|
|
238
|
-
|
|
239
|
-
|
|
439
|
+
exposure: aTagExposure(),
|
|
440
|
+
query: aCursorQuery(),
|
|
240
441
|
}, overrideObject);
|
|
241
442
|
}
|
|
242
|
-
|
|
243
|
-
function aIdentificationData(overrideObject) {
|
|
443
|
+
function aQueryTagsResponse(overrideObject) {
|
|
244
444
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
245
445
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
246
446
|
return {};
|
|
247
447
|
}
|
|
248
448
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
249
|
-
|
|
250
|
-
|
|
449
|
+
tags: [aTag()],
|
|
450
|
+
pagingMetadata: aCursorPagingMetadata(),
|
|
451
|
+
}, overrideObject);
|
|
452
|
+
}
|
|
453
|
+
function aTag(overrideObject) {
|
|
454
|
+
if (overrideObject === void 0) { overrideObject = {}; }
|
|
455
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
456
|
+
return {};
|
|
457
|
+
}
|
|
458
|
+
return (0, metro_common_builders_1.mergeDeep)({
|
|
459
|
+
id: (0, metro_common_builders_1.someString)({
|
|
460
|
+
validations: [
|
|
461
|
+
{ type: 'READ_ONLY', value: 'true' },
|
|
462
|
+
{ type: 'MAX_LENGTH', value: '5' },
|
|
463
|
+
],
|
|
251
464
|
}),
|
|
252
|
-
|
|
465
|
+
revision: (0, metro_common_builders_1.someString)({
|
|
466
|
+
validations: [
|
|
467
|
+
{ type: 'READ_ONLY', value: 'true' },
|
|
468
|
+
{ type: 'DECIMAL_VALUE' },
|
|
469
|
+
],
|
|
470
|
+
}),
|
|
471
|
+
createdDate: (0, metro_common_builders_1.someDate)({
|
|
472
|
+
validations: [{ type: 'READ_ONLY', value: 'true' }],
|
|
473
|
+
}),
|
|
474
|
+
updatedDate: (0, metro_common_builders_1.someDate)({
|
|
475
|
+
validations: [{ type: 'READ_ONLY', value: 'true' }],
|
|
476
|
+
}),
|
|
477
|
+
name: (0, metro_common_builders_1.someString)({
|
|
478
|
+
validations: [{ type: 'MAX_LENGTH', value: '255' }],
|
|
479
|
+
}),
|
|
480
|
+
fqdn: (0, metro_common_builders_1.someString)({
|
|
481
|
+
validations: [
|
|
482
|
+
{ type: 'IMMUTABLE', value: 'true' },
|
|
483
|
+
{ type: 'MAX_LENGTH', value: '255' },
|
|
484
|
+
],
|
|
485
|
+
}),
|
|
486
|
+
exposure: aTagExposure(),
|
|
487
|
+
deleted: true,
|
|
253
488
|
}, overrideObject);
|
|
254
489
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
if (enumFirstItem === void 0) { enumFirstItem = types_impl_1.WebhookIdentityType.UNKNOWN; }
|
|
490
|
+
function aTagExposure(enumFirstItem) {
|
|
491
|
+
if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.TagExposure.UNKNOWN; }
|
|
258
492
|
return enumFirstItem;
|
|
259
493
|
}
|
|
260
|
-
|
|
261
|
-
function aCreateTagRequest(overrideObject) {
|
|
494
|
+
function aUpdateGlobalTagRequest(overrideObject) {
|
|
262
495
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
263
496
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
264
497
|
return {};
|
|
@@ -267,8 +500,7 @@ function aCreateTagRequest(overrideObject) {
|
|
|
267
500
|
tag: aTag(),
|
|
268
501
|
}, overrideObject);
|
|
269
502
|
}
|
|
270
|
-
|
|
271
|
-
function aCreateTagResponse(overrideObject) {
|
|
503
|
+
function aUpdateGlobalTagResponse(overrideObject) {
|
|
272
504
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
273
505
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
274
506
|
return {};
|
|
@@ -277,17 +509,16 @@ function aCreateTagResponse(overrideObject) {
|
|
|
277
509
|
tag: aTag(),
|
|
278
510
|
}, overrideObject);
|
|
279
511
|
}
|
|
280
|
-
|
|
281
|
-
function aGetTagRequest(overrideObject) {
|
|
512
|
+
function aUpdateTagForAccountRequest(overrideObject) {
|
|
282
513
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
514
|
+
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
515
|
+
return {};
|
|
516
|
+
}
|
|
283
517
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
284
|
-
|
|
285
|
-
validations: [{ type: 'MAX_LENGTH', value: '5' }],
|
|
286
|
-
}),
|
|
518
|
+
tag: aTag(),
|
|
287
519
|
}, overrideObject);
|
|
288
520
|
}
|
|
289
|
-
|
|
290
|
-
function aGetTagResponse(overrideObject) {
|
|
521
|
+
function aUpdateTagForAccountResponse(overrideObject) {
|
|
291
522
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
292
523
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
293
524
|
return {};
|
|
@@ -296,7 +527,6 @@ function aGetTagResponse(overrideObject) {
|
|
|
296
527
|
tag: aTag(),
|
|
297
528
|
}, overrideObject);
|
|
298
529
|
}
|
|
299
|
-
exports.aGetTagResponse = aGetTagResponse;
|
|
300
530
|
function aUpdateTagRequest(overrideObject) {
|
|
301
531
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
302
532
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
@@ -306,7 +536,6 @@ function aUpdateTagRequest(overrideObject) {
|
|
|
306
536
|
tag: aTag(),
|
|
307
537
|
}, overrideObject);
|
|
308
538
|
}
|
|
309
|
-
exports.aUpdateTagRequest = aUpdateTagRequest;
|
|
310
539
|
function aUpdateTagResponse(overrideObject) {
|
|
311
540
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
312
541
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
@@ -316,64 +545,75 @@ function aUpdateTagResponse(overrideObject) {
|
|
|
316
545
|
tag: aTag(),
|
|
317
546
|
}, overrideObject);
|
|
318
547
|
}
|
|
319
|
-
|
|
320
|
-
function aDeleteTagRequest(overrideObject) {
|
|
548
|
+
function aCursorPaging(overrideObject) {
|
|
321
549
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
322
550
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
323
|
-
|
|
324
|
-
validations: [
|
|
551
|
+
limit: (0, metro_common_builders_1.someNumber)({
|
|
552
|
+
validations: [
|
|
553
|
+
{ type: 'MIN' },
|
|
554
|
+
{ type: 'MAX', value: '100' },
|
|
555
|
+
],
|
|
556
|
+
}),
|
|
557
|
+
cursor: (0, metro_common_builders_1.someString)({
|
|
558
|
+
validations: [
|
|
559
|
+
{ type: 'MAX_LENGTH', value: '16000' },
|
|
560
|
+
],
|
|
325
561
|
}),
|
|
326
562
|
}, overrideObject);
|
|
327
563
|
}
|
|
328
|
-
|
|
329
|
-
function aDeleteTagResponse(overrideObject) {
|
|
330
|
-
if (overrideObject === void 0) { overrideObject = {}; }
|
|
331
|
-
return (0, metro_common_builders_1.mergeDeep)({}, overrideObject);
|
|
332
|
-
}
|
|
333
|
-
exports.aDeleteTagResponse = aDeleteTagResponse;
|
|
334
|
-
function aListTagsRequest(overrideObject) {
|
|
564
|
+
function aCursorPagingMetadata(overrideObject) {
|
|
335
565
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
336
566
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
337
567
|
return {};
|
|
338
568
|
}
|
|
339
569
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
exposure: aTagExposure(),
|
|
570
|
+
count: (0, metro_common_builders_1.someNumber)(),
|
|
571
|
+
cursors: aCursors(),
|
|
572
|
+
hasNext: true,
|
|
344
573
|
}, overrideObject);
|
|
345
574
|
}
|
|
346
|
-
|
|
347
|
-
function aListTagsResponse(overrideObject) {
|
|
575
|
+
function aCursorQuery(overrideObject) {
|
|
348
576
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
349
577
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
350
578
|
return {};
|
|
351
579
|
}
|
|
352
580
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
353
|
-
|
|
581
|
+
cursorPaging: aCursorPaging(),
|
|
582
|
+
filter: {},
|
|
583
|
+
sort: [aSorting(), aSorting(), aSorting(), aSorting(), aSorting()],
|
|
354
584
|
}, overrideObject);
|
|
355
585
|
}
|
|
356
|
-
|
|
357
|
-
function aMigrateTagRequest(overrideObject) {
|
|
586
|
+
function aCursors(overrideObject) {
|
|
358
587
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
359
|
-
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
360
|
-
return {};
|
|
361
|
-
}
|
|
362
588
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
363
|
-
|
|
589
|
+
next: (0, metro_common_builders_1.someString)({
|
|
590
|
+
validations: [
|
|
591
|
+
{ type: 'MAX_LENGTH', value: '16000' },
|
|
592
|
+
],
|
|
593
|
+
}),
|
|
594
|
+
prev: (0, metro_common_builders_1.someString)({
|
|
595
|
+
validations: [
|
|
596
|
+
{ type: 'MAX_LENGTH', value: '16000' },
|
|
597
|
+
],
|
|
598
|
+
}),
|
|
364
599
|
}, overrideObject);
|
|
365
600
|
}
|
|
366
|
-
|
|
367
|
-
function aMigrateTagResponse(overrideObject) {
|
|
601
|
+
function aSorting(overrideObject) {
|
|
368
602
|
if (overrideObject === void 0) { overrideObject = {}; }
|
|
369
603
|
if (isCurrentBuilderWasPreviouslyCalled()) {
|
|
370
604
|
return {};
|
|
371
605
|
}
|
|
372
606
|
return (0, metro_common_builders_1.mergeDeep)({
|
|
373
|
-
|
|
607
|
+
fieldName: (0, metro_common_builders_1.someString)({
|
|
608
|
+
validations: [{ type: 'MAX_LENGTH', value: '512' }],
|
|
609
|
+
}),
|
|
610
|
+
order: aSortOrder(),
|
|
374
611
|
}, overrideObject);
|
|
375
612
|
}
|
|
376
|
-
|
|
613
|
+
function aSortOrder(enumFirstItem) {
|
|
614
|
+
if (enumFirstItem === void 0) { enumFirstItem = types_impl_js_1.SortOrder.ASC; }
|
|
615
|
+
return enumFirstItem;
|
|
616
|
+
}
|
|
377
617
|
function isCurrentBuilderWasPreviouslyCalled() {
|
|
378
618
|
var callChainFunctionNames = (0, callsite_1.default)().map(function (item) {
|
|
379
619
|
return item.getFunctionName();
|