@bluealba/pae-bootstrap-lib 3.0.0-develop-158 → 3.0.0-develop-159

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.
@@ -46,17 +46,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
46
46
  scopedTo: 'blah'
47
47
  },
48
48
  };
49
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
49
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io17(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io20(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io7(input.rollout)); const _io5 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io6 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io7 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _io8 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io9(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io10(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io11(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io13(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io14(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io16(input.serviceLocal)); const _io9 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io10 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io11 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io12(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io12 = input => Object.keys(input).every(key => {
50
50
  const value = input[key];
51
51
  if (undefined === value)
52
52
  return true;
53
53
  return true;
54
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
54
+ }); const _io13 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io14 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io15(elem))); const _io15 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io17 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io18 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io19 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io20 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io21(input.customProps)); const _io21 = input => Object.keys(input).every(key => {
55
55
  const value = input[key];
56
56
  if (undefined === value)
57
57
  return true;
58
58
  return true;
59
- }); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
59
+ }); const _iu0 = input => (() => {
60
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
61
+ return _io5(input);
62
+ else if ("AND" === input.operator || "OR" === input.operator)
63
+ return _io6(input);
64
+ else
65
+ return false;
66
+ })(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
60
67
  path: _path + ".syncConfig",
61
68
  expected: "__type",
62
69
  value: input.syncConfig
@@ -68,12 +75,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
68
75
  path: _path + ".sharedLibraries",
69
76
  expected: "(Array<CreateSharedLibraryDTO> | undefined)",
70
77
  value: input.sharedLibraries
71
- })) && input.sharedLibraries.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
72
- path: _path + ".sharedLibraries[" + _index16 + "]",
78
+ })) && input.sharedLibraries.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
79
+ path: _path + ".sharedLibraries[" + _index17 + "]",
73
80
  expected: "CreateSharedLibraryDTO",
74
81
  value: elem
75
- })) && _vo2(elem, _path + ".sharedLibraries[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
76
- path: _path + ".sharedLibraries[" + _index16 + "]",
82
+ })) && _vo2(elem, _path + ".sharedLibraries[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
83
+ path: _path + ".sharedLibraries[" + _index17 + "]",
77
84
  expected: "CreateSharedLibraryDTO",
78
85
  value: elem
79
86
  })).every(flag => flag) || _report(_exceptionable, {
@@ -84,12 +91,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
84
91
  path: _path + ".featureFlags",
85
92
  expected: "(Array<BootstrapFeatureFlag> | undefined)",
86
93
  value: input.featureFlags
87
- })) && input.featureFlags.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
88
- path: _path + ".featureFlags[" + _index17 + "]",
94
+ })) && input.featureFlags.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
95
+ path: _path + ".featureFlags[" + _index18 + "]",
89
96
  expected: "BootstrapFeatureFlag",
90
97
  value: elem
91
- })) && _vo3(elem, _path + ".featureFlags[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
92
- path: _path + ".featureFlags[" + _index17 + "]",
98
+ })) && _vo3(elem, _path + ".featureFlags[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
99
+ path: _path + ".featureFlags[" + _index18 + "]",
93
100
  expected: "BootstrapFeatureFlag",
94
101
  value: elem
95
102
  })).every(flag => flag) || _report(_exceptionable, {
@@ -100,12 +107,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
100
107
  path: _path + ".catalog",
101
108
  expected: "(Array<BootstrapModule> | undefined)",
102
109
  value: input.catalog
103
- })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
104
- path: _path + ".catalog[" + _index18 + "]",
110
+ })) && input.catalog.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
111
+ path: _path + ".catalog[" + _index19 + "]",
105
112
  expected: "BootstrapModule",
106
113
  value: elem
107
- })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
108
- path: _path + ".catalog[" + _index18 + "]",
114
+ })) && _vo8(elem, _path + ".catalog[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
115
+ path: _path + ".catalog[" + _index19 + "]",
109
116
  expected: "BootstrapModule",
110
117
  value: elem
111
118
  })).every(flag => flag) || _report(_exceptionable, {
@@ -116,12 +123,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
116
123
  path: _path + ".applicationsAuthz",
117
124
  expected: "(Array<CreateApplicationDTO> | undefined)",
118
125
  value: input.applicationsAuthz
119
- })) && input.applicationsAuthz.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
120
- path: _path + ".applicationsAuthz[" + _index19 + "]",
126
+ })) && input.applicationsAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
127
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
121
128
  expected: "CreateApplicationDTO",
122
129
  value: elem
123
- })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
124
- path: _path + ".applicationsAuthz[" + _index19 + "]",
130
+ })) && _vo17(elem, _path + ".applicationsAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
131
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
125
132
  expected: "CreateApplicationDTO",
126
133
  value: elem
127
134
  })).every(flag => flag) || _report(_exceptionable, {
@@ -132,12 +139,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
132
139
  path: _path + ".rolesAuthz",
133
140
  expected: "(Array<CreateRoleDTO> | undefined)",
134
141
  value: input.rolesAuthz
135
- })) && input.rolesAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
136
- path: _path + ".rolesAuthz[" + _index20 + "]",
142
+ })) && input.rolesAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
143
+ path: _path + ".rolesAuthz[" + _index21 + "]",
137
144
  expected: "CreateRoleDTO",
138
145
  value: elem
139
- })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
140
- path: _path + ".rolesAuthz[" + _index20 + "]",
146
+ })) && _vo18(elem, _path + ".rolesAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
147
+ path: _path + ".rolesAuthz[" + _index21 + "]",
141
148
  expected: "CreateRoleDTO",
142
149
  value: elem
143
150
  })).every(flag => flag) || _report(_exceptionable, {
@@ -148,12 +155,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
148
155
  path: _path + ".operationsAuthz",
149
156
  expected: "(Array<OperationAuthzBootstrap> | undefined)",
150
157
  value: input.operationsAuthz
151
- })) && input.operationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
152
- path: _path + ".operationsAuthz[" + _index21 + "]",
158
+ })) && input.operationsAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
159
+ path: _path + ".operationsAuthz[" + _index22 + "]",
153
160
  expected: "OperationAuthzBootstrap",
154
161
  value: elem
155
- })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
156
- path: _path + ".operationsAuthz[" + _index21 + "]",
162
+ })) && _vo19(elem, _path + ".operationsAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
163
+ path: _path + ".operationsAuthz[" + _index22 + "]",
157
164
  expected: "OperationAuthzBootstrap",
158
165
  value: elem
159
166
  })).every(flag => flag) || _report(_exceptionable, {
@@ -164,12 +171,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
164
171
  path: _path + ".modulesConfig",
165
172
  expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
166
173
  value: input.modulesConfig
167
- })) && input.modulesConfig.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
168
- path: _path + ".modulesConfig[" + _index22 + "]",
174
+ })) && input.modulesConfig.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
175
+ path: _path + ".modulesConfig[" + _index23 + "]",
169
176
  expected: "UpdateModuleUIConfigDTO",
170
177
  value: elem
171
- })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
172
- path: _path + ".modulesConfig[" + _index22 + "]",
178
+ })) && _vo20(elem, _path + ".modulesConfig[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
179
+ path: _path + ".modulesConfig[" + _index23 + "]",
173
180
  expected: "UpdateModuleUIConfigDTO",
174
181
  value: elem
175
182
  })).every(flag => flag) || _report(_exceptionable, {
@@ -200,51 +207,107 @@ describe('BootstrapSyncMetadata - type validations', () => {
200
207
  path: _path + ".description",
201
208
  expected: "(string | undefined)",
202
209
  value: input.description
203
- }), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
204
- path: _path + ".enabled",
210
+ }), undefined === input.visible || "boolean" === typeof input.visible || _report(_exceptionable, {
211
+ path: _path + ".visible",
205
212
  expected: "(boolean | undefined)",
206
- value: input.enabled
213
+ value: input.visible
214
+ }), true, undefined === input.valueRules || (Array.isArray(input.valueRules) || _report(_exceptionable, {
215
+ path: _path + ".valueRules",
216
+ expected: "(Array<BootstrapValueRule> | undefined)",
217
+ value: input.valueRules
218
+ })) && input.valueRules.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
219
+ path: _path + ".valueRules[" + _index24 + "]",
220
+ expected: "BootstrapValueRule",
221
+ value: elem
222
+ })) && _vo4(elem, _path + ".valueRules[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
223
+ path: _path + ".valueRules[" + _index24 + "]",
224
+ expected: "BootstrapValueRule",
225
+ value: elem
226
+ })).every(flag => flag) || _report(_exceptionable, {
227
+ path: _path + ".valueRules",
228
+ expected: "(Array<BootstrapValueRule> | undefined)",
229
+ value: input.valueRules
207
230
  }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
208
231
  path: _path + ".applicationName",
209
232
  expected: "(string | undefined)",
210
233
  value: input.applicationName
211
- }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
212
- path: _path + ".constraints",
213
- expected: "(Array<__type> | undefined)",
214
- value: input.constraints
215
- })) && input.constraints.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
216
- path: _path + ".constraints[" + _index23 + "]",
217
- expected: "__type.o1",
218
- value: elem
219
- })) && _vo4(elem, _path + ".constraints[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
220
- path: _path + ".constraints[" + _index23 + "]",
221
- expected: "__type.o1",
222
- value: elem
223
- })).every(flag => flag) || _report(_exceptionable, {
224
- path: _path + ".constraints",
225
- expected: "(Array<__type> | undefined)",
226
- value: input.constraints
227
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.contextName || _report(_exceptionable, {
228
- path: _path + ".contextName",
229
- expected: "string",
230
- value: input.contextName
231
- }), "string" === typeof input.operator || _report(_exceptionable, {
234
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
235
+ path: _path + ".name",
236
+ expected: "(string | undefined)",
237
+ value: input.name
238
+ }), ("object" === typeof input.condition && null !== input.condition || _report(_exceptionable, {
239
+ path: _path + ".condition",
240
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
241
+ value: input.condition
242
+ })) && _vu0(input.condition, _path + ".condition", true && _exceptionable) || _report(_exceptionable, {
243
+ path: _path + ".condition",
244
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
245
+ value: input.condition
246
+ }), true, undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || _report(_exceptionable, {
247
+ path: _path + ".rollout",
248
+ expected: "(__type.o1 | undefined)",
249
+ value: input.rollout
250
+ })) && _vo7(input.rollout, _path + ".rollout", true && _exceptionable) || _report(_exceptionable, {
251
+ path: _path + ".rollout",
252
+ expected: "(__type.o1 | undefined)",
253
+ value: input.rollout
254
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.attribute || _report(_exceptionable, {
255
+ path: _path + ".attribute",
256
+ expected: "string",
257
+ value: input.attribute
258
+ }), "eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || _report(_exceptionable, {
232
259
  path: _path + ".operator",
233
- expected: "string",
260
+ expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
234
261
  value: input.operator
235
- }), undefined === input.values || (Array.isArray(input.values) || _report(_exceptionable, {
236
- path: _path + ".values",
237
- expected: "(Array<string> | undefined)",
238
- value: input.values
239
- })) && input.values.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
240
- path: _path + ".values[" + _index24 + "]",
262
+ }), (null !== input.value || _report(_exceptionable, {
263
+ path: _path + ".value",
264
+ expected: "(Array<string> | boolean | number | string)",
265
+ value: input.value
266
+ })) && (undefined !== input.value || _report(_exceptionable, {
267
+ path: _path + ".value",
268
+ expected: "(Array<string> | boolean | number | string)",
269
+ value: input.value
270
+ })) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || _report(_exceptionable, {
271
+ path: _path + ".value",
272
+ expected: "(Array<string> | boolean | number | string)",
273
+ value: input.value
274
+ })) && input.value.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
275
+ path: _path + ".value[" + _index25 + "]",
241
276
  expected: "string",
242
277
  value: elem
243
278
  })).every(flag => flag) || _report(_exceptionable, {
244
- path: _path + ".values",
245
- expected: "(Array<string> | undefined)",
246
- value: input.values
247
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
279
+ path: _path + ".value",
280
+ expected: "(Array<string> | boolean | number | string)",
281
+ value: input.value
282
+ }))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["AND" === input.operator || "OR" === input.operator || _report(_exceptionable, {
283
+ path: _path + ".operator",
284
+ expected: "(\"AND\" | \"OR\")",
285
+ value: input.operator
286
+ }), (Array.isArray(input.rules) || _report(_exceptionable, {
287
+ path: _path + ".rules",
288
+ expected: "Array<BootstrapCondition>",
289
+ value: input.rules
290
+ })) && input.rules.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
291
+ path: _path + ".rules[" + _index26 + "]",
292
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
293
+ value: elem
294
+ })) && _vu0(elem, _path + ".rules[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
295
+ path: _path + ".rules[" + _index26 + "]",
296
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
297
+ value: elem
298
+ })).every(flag => flag) || _report(_exceptionable, {
299
+ path: _path + ".rules",
300
+ expected: "Array<BootstrapCondition>",
301
+ value: input.rules
302
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["number" === typeof input.percentage || _report(_exceptionable, {
303
+ path: _path + ".percentage",
304
+ expected: "number",
305
+ value: input.percentage
306
+ }), "string" === typeof input.attribute || _report(_exceptionable, {
307
+ path: _path + ".attribute",
308
+ expected: "string",
309
+ value: input.attribute
310
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
248
311
  path: _path + ".name",
249
312
  expected: "string",
250
313
  value: input.name
@@ -264,7 +327,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
264
327
  path: _path + ".service",
265
328
  expected: "ServiceConfig",
266
329
  value: input.service
267
- })) && _vo6(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
330
+ })) && _vo9(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
268
331
  path: _path + ".service",
269
332
  expected: "ServiceConfig",
270
333
  value: input.service
@@ -272,8 +335,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
272
335
  path: _path + ".dependsOn",
273
336
  expected: "Array<string>",
274
337
  value: input.dependsOn
275
- })) && input.dependsOn.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
276
- path: _path + ".dependsOn[" + _index25 + "]",
338
+ })) && input.dependsOn.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
339
+ path: _path + ".dependsOn[" + _index27 + "]",
277
340
  expected: "string",
278
341
  value: elem
279
342
  })).every(flag => flag) || _report(_exceptionable, {
@@ -284,7 +347,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
284
347
  path: _path + ".commonPaths",
285
348
  expected: "(CommonPathsMetadata | undefined)",
286
349
  value: input.commonPaths
287
- })) && _vo7(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
350
+ })) && _vo10(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
288
351
  path: _path + ".commonPaths",
289
352
  expected: "(CommonPathsMetadata | undefined)",
290
353
  value: input.commonPaths
@@ -292,7 +355,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
292
355
  path: _path + ".ui",
293
356
  expected: "(UIConfig | undefined)",
294
357
  value: input.ui
295
- })) && _vo8(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
358
+ })) && _vo11(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
296
359
  path: _path + ".ui",
297
360
  expected: "(UIConfig | undefined)",
298
361
  value: input.ui
@@ -300,7 +363,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
300
363
  path: _path + ".cloudFunction",
301
364
  expected: "(CloudFunctionConfig | undefined)",
302
365
  value: input.cloudFunction
303
- })) && _vo10(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
366
+ })) && _vo13(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
304
367
  path: _path + ".cloudFunction",
305
368
  expected: "(CloudFunctionConfig | undefined)",
306
369
  value: input.cloudFunction
@@ -308,7 +371,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
308
371
  path: _path + ".authorization",
309
372
  expected: "(AuthorizationMetadata | undefined)",
310
373
  value: input.authorization
311
- })) && _vo11(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
374
+ })) && _vo14(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
312
375
  path: _path + ".authorization",
313
376
  expected: "(AuthorizationMetadata | undefined)",
314
377
  value: input.authorization
@@ -332,11 +395,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
332
395
  path: _path + ".serviceLocal",
333
396
  expected: "(Partial<ServiceConfig> | undefined)",
334
397
  value: input.serviceLocal
335
- })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
398
+ })) && _vo16(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
336
399
  path: _path + ".serviceLocal",
337
400
  expected: "(Partial<ServiceConfig> | undefined)",
338
401
  value: input.serviceLocal
339
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
402
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
340
403
  path: _path + ".host",
341
404
  expected: "string",
342
405
  value: input.host
@@ -352,7 +415,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
352
415
  path: _path + ".includeBaseURL",
353
416
  expected: "(boolean | undefined)",
354
417
  value: input.includeBaseURL
355
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
418
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
356
419
  path: _path + ".apiDocs",
357
420
  expected: "(string | undefined)",
358
421
  value: input.apiDocs
@@ -368,7 +431,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
368
431
  path: _path + ".changelog",
369
432
  expected: "(string | undefined)",
370
433
  value: input.changelog
371
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
434
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
372
435
  path: _path + ".route",
373
436
  expected: "string",
374
437
  value: input.route
@@ -384,7 +447,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
384
447
  path: _path + ".customProps",
385
448
  expected: "ModuleProps",
386
449
  value: input.customProps
387
- })) && _vo9(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
450
+ })) && _vo12(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
388
451
  path: _path + ".customProps",
389
452
  expected: "ModuleProps",
390
453
  value: input.customProps
@@ -396,12 +459,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
396
459
  path: _path + ".isPlatformCustomization",
397
460
  expected: "(boolean | undefined)",
398
461
  value: input.isPlatformCustomization
399
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
462
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
400
463
  const value = input[key];
401
464
  if (undefined === value)
402
465
  return true;
403
466
  return true;
404
- }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
467
+ }).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
405
468
  path: _path + ".provider",
406
469
  expected: "\"aws\"",
407
470
  value: input.provider
@@ -409,12 +472,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
409
472
  path: _path + ".requiresSignature",
410
473
  expected: "boolean",
411
474
  value: input.requiresSignature
412
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
475
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
413
476
  path: _path + ".operations",
414
477
  expected: "(Array<string> | undefined)",
415
478
  value: input.operations
416
- })) && input.operations.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
417
- path: _path + ".operations[" + _index26 + "]",
479
+ })) && input.operations.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
480
+ path: _path + ".operations[" + _index28 + "]",
418
481
  expected: "string",
419
482
  value: elem
420
483
  })).every(flag => flag) || _report(_exceptionable, {
@@ -425,24 +488,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
425
488
  path: _path + ".routes",
426
489
  expected: "(Array<RouteAuthorization> | undefined)",
427
490
  value: input.routes
428
- })) && input.routes.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
429
- path: _path + ".routes[" + _index27 + "]",
491
+ })) && input.routes.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
492
+ path: _path + ".routes[" + _index29 + "]",
430
493
  expected: "RouteAuthorization",
431
494
  value: elem
432
- })) && _vo12(elem, _path + ".routes[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
433
- path: _path + ".routes[" + _index27 + "]",
495
+ })) && _vo15(elem, _path + ".routes[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
496
+ path: _path + ".routes[" + _index29 + "]",
434
497
  expected: "RouteAuthorization",
435
498
  value: elem
436
499
  })).every(flag => flag) || _report(_exceptionable, {
437
500
  path: _path + ".routes",
438
501
  expected: "(Array<RouteAuthorization> | undefined)",
439
502
  value: input.routes
440
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
503
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
441
504
  path: _path + ".methods",
442
505
  expected: "(Array<HttpMethod> | undefined)",
443
506
  value: input.methods
444
- })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
445
- path: _path + ".methods[" + _index28 + "]",
507
+ })) && input.methods.map((elem, _index30) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
508
+ path: _path + ".methods[" + _index30 + "]",
446
509
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
447
510
  value: elem
448
511
  })).every(flag => flag) || _report(_exceptionable, {
@@ -457,15 +520,15 @@ describe('BootstrapSyncMetadata - type validations', () => {
457
520
  path: _path + ".operations",
458
521
  expected: "Array<string>",
459
522
  value: input.operations
460
- })) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
461
- path: _path + ".operations[" + _index29 + "]",
523
+ })) && input.operations.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
524
+ path: _path + ".operations[" + _index31 + "]",
462
525
  expected: "string",
463
526
  value: elem
464
527
  })).every(flag => flag) || _report(_exceptionable, {
465
528
  path: _path + ".operations",
466
529
  expected: "Array<string>",
467
530
  value: input.operations
468
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
531
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
469
532
  path: _path + ".host",
470
533
  expected: "(string | undefined)",
471
534
  value: input.host
@@ -481,7 +544,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
481
544
  path: _path + ".includeBaseURL",
482
545
  expected: "(boolean | undefined)",
483
546
  value: input.includeBaseURL
484
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
547
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
485
548
  path: _path + ".name",
486
549
  expected: "string",
487
550
  value: input.name
@@ -497,7 +560,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
497
560
  path: _path + ".allowedByDefault",
498
561
  expected: "(boolean | undefined)",
499
562
  value: input.allowedByDefault
500
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
563
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
501
564
  path: _path + ".applicationName",
502
565
  expected: "(string | undefined)",
503
566
  value: input.applicationName
@@ -509,12 +572,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
509
572
  path: _path + ".description",
510
573
  expected: "(string | undefined)",
511
574
  value: input.description
512
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
575
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
513
576
  path: _path + ".roles",
514
577
  expected: "(Array<string> | undefined)",
515
578
  value: input.roles
516
- })) && input.roles.map((elem, _index30) => "string" === typeof elem || _report(_exceptionable, {
517
- path: _path + ".roles[" + _index30 + "]",
579
+ })) && input.roles.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
580
+ path: _path + ".roles[" + _index32 + "]",
518
581
  expected: "string",
519
582
  value: elem
520
583
  })).every(flag => flag) || _report(_exceptionable, {
@@ -533,7 +596,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
533
596
  path: _path + ".applicationName",
534
597
  expected: "(string | undefined)",
535
598
  value: input.applicationName
536
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
599
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
537
600
  path: _path + ".moduleName",
538
601
  expected: "string",
539
602
  value: input.moduleName
@@ -541,16 +604,27 @@ describe('BootstrapSyncMetadata - type validations', () => {
541
604
  path: _path + ".customProps",
542
605
  expected: "Record<string, any>",
543
606
  value: input.customProps
544
- })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
607
+ })) && _vo21(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
545
608
  path: _path + ".customProps",
546
609
  expected: "Record<string, any>",
547
610
  value: input.customProps
548
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
611
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
549
612
  const value = input[key];
550
613
  if (undefined === value)
551
614
  return true;
552
615
  return true;
553
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
616
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
617
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
618
+ return _vo5(input, _path, true && _exceptionable);
619
+ else if ("AND" === input.operator || "OR" === input.operator)
620
+ return _vo6(input, _path, true && _exceptionable);
621
+ else
622
+ return _report(_exceptionable, {
623
+ path: _path,
624
+ expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
625
+ value: input
626
+ });
627
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
554
628
  if (false === __is(input)) {
555
629
  errors = [];
556
630
  _report = __typia_transform__validateReport._validateReport(errors);
@@ -584,17 +658,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
584
658
  const invalidObject = {
585
659
  invalidField: 'invalidValue',
586
660
  };
587
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
661
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io17(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io20(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io7(input.rollout)); const _io5 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io6 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io7 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _io8 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io9(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io10(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io11(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io13(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io14(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io16(input.serviceLocal)); const _io9 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io10 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io11 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io12(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io12 = input => Object.keys(input).every(key => {
588
662
  const value = input[key];
589
663
  if (undefined === value)
590
664
  return true;
591
665
  return true;
592
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
666
+ }); const _io13 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io14 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io15(elem))); const _io15 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io17 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io18 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io19 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io20 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io21(input.customProps)); const _io21 = input => Object.keys(input).every(key => {
593
667
  const value = input[key];
594
668
  if (undefined === value)
595
669
  return true;
596
670
  return true;
597
- }); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
671
+ }); const _iu0 = input => (() => {
672
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
673
+ return _io5(input);
674
+ else if ("AND" === input.operator || "OR" === input.operator)
675
+ return _io6(input);
676
+ else
677
+ return false;
678
+ })(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
598
679
  path: _path + ".syncConfig",
599
680
  expected: "__type",
600
681
  value: input.syncConfig
@@ -606,12 +687,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
606
687
  path: _path + ".sharedLibraries",
607
688
  expected: "(Array<CreateSharedLibraryDTO> | undefined)",
608
689
  value: input.sharedLibraries
609
- })) && input.sharedLibraries.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
610
- path: _path + ".sharedLibraries[" + _index16 + "]",
690
+ })) && input.sharedLibraries.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
691
+ path: _path + ".sharedLibraries[" + _index17 + "]",
611
692
  expected: "CreateSharedLibraryDTO",
612
693
  value: elem
613
- })) && _vo2(elem, _path + ".sharedLibraries[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
614
- path: _path + ".sharedLibraries[" + _index16 + "]",
694
+ })) && _vo2(elem, _path + ".sharedLibraries[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
695
+ path: _path + ".sharedLibraries[" + _index17 + "]",
615
696
  expected: "CreateSharedLibraryDTO",
616
697
  value: elem
617
698
  })).every(flag => flag) || _report(_exceptionable, {
@@ -622,12 +703,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
622
703
  path: _path + ".featureFlags",
623
704
  expected: "(Array<BootstrapFeatureFlag> | undefined)",
624
705
  value: input.featureFlags
625
- })) && input.featureFlags.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
626
- path: _path + ".featureFlags[" + _index17 + "]",
706
+ })) && input.featureFlags.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
707
+ path: _path + ".featureFlags[" + _index18 + "]",
627
708
  expected: "BootstrapFeatureFlag",
628
709
  value: elem
629
- })) && _vo3(elem, _path + ".featureFlags[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
630
- path: _path + ".featureFlags[" + _index17 + "]",
710
+ })) && _vo3(elem, _path + ".featureFlags[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
711
+ path: _path + ".featureFlags[" + _index18 + "]",
631
712
  expected: "BootstrapFeatureFlag",
632
713
  value: elem
633
714
  })).every(flag => flag) || _report(_exceptionable, {
@@ -638,12 +719,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
638
719
  path: _path + ".catalog",
639
720
  expected: "(Array<BootstrapModule> | undefined)",
640
721
  value: input.catalog
641
- })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
642
- path: _path + ".catalog[" + _index18 + "]",
722
+ })) && input.catalog.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
723
+ path: _path + ".catalog[" + _index19 + "]",
643
724
  expected: "BootstrapModule",
644
725
  value: elem
645
- })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
646
- path: _path + ".catalog[" + _index18 + "]",
726
+ })) && _vo8(elem, _path + ".catalog[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
727
+ path: _path + ".catalog[" + _index19 + "]",
647
728
  expected: "BootstrapModule",
648
729
  value: elem
649
730
  })).every(flag => flag) || _report(_exceptionable, {
@@ -654,12 +735,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
654
735
  path: _path + ".applicationsAuthz",
655
736
  expected: "(Array<CreateApplicationDTO> | undefined)",
656
737
  value: input.applicationsAuthz
657
- })) && input.applicationsAuthz.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
658
- path: _path + ".applicationsAuthz[" + _index19 + "]",
738
+ })) && input.applicationsAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
739
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
659
740
  expected: "CreateApplicationDTO",
660
741
  value: elem
661
- })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
662
- path: _path + ".applicationsAuthz[" + _index19 + "]",
742
+ })) && _vo17(elem, _path + ".applicationsAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
743
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
663
744
  expected: "CreateApplicationDTO",
664
745
  value: elem
665
746
  })).every(flag => flag) || _report(_exceptionable, {
@@ -670,12 +751,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
670
751
  path: _path + ".rolesAuthz",
671
752
  expected: "(Array<CreateRoleDTO> | undefined)",
672
753
  value: input.rolesAuthz
673
- })) && input.rolesAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
674
- path: _path + ".rolesAuthz[" + _index20 + "]",
754
+ })) && input.rolesAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
755
+ path: _path + ".rolesAuthz[" + _index21 + "]",
675
756
  expected: "CreateRoleDTO",
676
757
  value: elem
677
- })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
678
- path: _path + ".rolesAuthz[" + _index20 + "]",
758
+ })) && _vo18(elem, _path + ".rolesAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
759
+ path: _path + ".rolesAuthz[" + _index21 + "]",
679
760
  expected: "CreateRoleDTO",
680
761
  value: elem
681
762
  })).every(flag => flag) || _report(_exceptionable, {
@@ -686,12 +767,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
686
767
  path: _path + ".operationsAuthz",
687
768
  expected: "(Array<OperationAuthzBootstrap> | undefined)",
688
769
  value: input.operationsAuthz
689
- })) && input.operationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
690
- path: _path + ".operationsAuthz[" + _index21 + "]",
770
+ })) && input.operationsAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
771
+ path: _path + ".operationsAuthz[" + _index22 + "]",
691
772
  expected: "OperationAuthzBootstrap",
692
773
  value: elem
693
- })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
694
- path: _path + ".operationsAuthz[" + _index21 + "]",
774
+ })) && _vo19(elem, _path + ".operationsAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
775
+ path: _path + ".operationsAuthz[" + _index22 + "]",
695
776
  expected: "OperationAuthzBootstrap",
696
777
  value: elem
697
778
  })).every(flag => flag) || _report(_exceptionable, {
@@ -702,12 +783,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
702
783
  path: _path + ".modulesConfig",
703
784
  expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
704
785
  value: input.modulesConfig
705
- })) && input.modulesConfig.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
706
- path: _path + ".modulesConfig[" + _index22 + "]",
786
+ })) && input.modulesConfig.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
787
+ path: _path + ".modulesConfig[" + _index23 + "]",
707
788
  expected: "UpdateModuleUIConfigDTO",
708
789
  value: elem
709
- })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
710
- path: _path + ".modulesConfig[" + _index22 + "]",
790
+ })) && _vo20(elem, _path + ".modulesConfig[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
791
+ path: _path + ".modulesConfig[" + _index23 + "]",
711
792
  expected: "UpdateModuleUIConfigDTO",
712
793
  value: elem
713
794
  })).every(flag => flag) || _report(_exceptionable, {
@@ -738,51 +819,107 @@ describe('BootstrapSyncMetadata - type validations', () => {
738
819
  path: _path + ".description",
739
820
  expected: "(string | undefined)",
740
821
  value: input.description
741
- }), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
742
- path: _path + ".enabled",
822
+ }), undefined === input.visible || "boolean" === typeof input.visible || _report(_exceptionable, {
823
+ path: _path + ".visible",
743
824
  expected: "(boolean | undefined)",
744
- value: input.enabled
825
+ value: input.visible
826
+ }), true, undefined === input.valueRules || (Array.isArray(input.valueRules) || _report(_exceptionable, {
827
+ path: _path + ".valueRules",
828
+ expected: "(Array<BootstrapValueRule> | undefined)",
829
+ value: input.valueRules
830
+ })) && input.valueRules.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
831
+ path: _path + ".valueRules[" + _index24 + "]",
832
+ expected: "BootstrapValueRule",
833
+ value: elem
834
+ })) && _vo4(elem, _path + ".valueRules[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
835
+ path: _path + ".valueRules[" + _index24 + "]",
836
+ expected: "BootstrapValueRule",
837
+ value: elem
838
+ })).every(flag => flag) || _report(_exceptionable, {
839
+ path: _path + ".valueRules",
840
+ expected: "(Array<BootstrapValueRule> | undefined)",
841
+ value: input.valueRules
745
842
  }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
746
843
  path: _path + ".applicationName",
747
844
  expected: "(string | undefined)",
748
845
  value: input.applicationName
749
- }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
750
- path: _path + ".constraints",
751
- expected: "(Array<__type> | undefined)",
752
- value: input.constraints
753
- })) && input.constraints.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
754
- path: _path + ".constraints[" + _index23 + "]",
755
- expected: "__type.o1",
756
- value: elem
757
- })) && _vo4(elem, _path + ".constraints[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
758
- path: _path + ".constraints[" + _index23 + "]",
759
- expected: "__type.o1",
760
- value: elem
761
- })).every(flag => flag) || _report(_exceptionable, {
762
- path: _path + ".constraints",
763
- expected: "(Array<__type> | undefined)",
764
- value: input.constraints
765
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.contextName || _report(_exceptionable, {
766
- path: _path + ".contextName",
767
- expected: "string",
768
- value: input.contextName
769
- }), "string" === typeof input.operator || _report(_exceptionable, {
846
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
847
+ path: _path + ".name",
848
+ expected: "(string | undefined)",
849
+ value: input.name
850
+ }), ("object" === typeof input.condition && null !== input.condition || _report(_exceptionable, {
851
+ path: _path + ".condition",
852
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
853
+ value: input.condition
854
+ })) && _vu0(input.condition, _path + ".condition", true && _exceptionable) || _report(_exceptionable, {
855
+ path: _path + ".condition",
856
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
857
+ value: input.condition
858
+ }), true, undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || _report(_exceptionable, {
859
+ path: _path + ".rollout",
860
+ expected: "(__type.o1 | undefined)",
861
+ value: input.rollout
862
+ })) && _vo7(input.rollout, _path + ".rollout", true && _exceptionable) || _report(_exceptionable, {
863
+ path: _path + ".rollout",
864
+ expected: "(__type.o1 | undefined)",
865
+ value: input.rollout
866
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.attribute || _report(_exceptionable, {
867
+ path: _path + ".attribute",
868
+ expected: "string",
869
+ value: input.attribute
870
+ }), "eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || _report(_exceptionable, {
770
871
  path: _path + ".operator",
771
- expected: "string",
872
+ expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
772
873
  value: input.operator
773
- }), undefined === input.values || (Array.isArray(input.values) || _report(_exceptionable, {
774
- path: _path + ".values",
775
- expected: "(Array<string> | undefined)",
776
- value: input.values
777
- })) && input.values.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
778
- path: _path + ".values[" + _index24 + "]",
874
+ }), (null !== input.value || _report(_exceptionable, {
875
+ path: _path + ".value",
876
+ expected: "(Array<string> | boolean | number | string)",
877
+ value: input.value
878
+ })) && (undefined !== input.value || _report(_exceptionable, {
879
+ path: _path + ".value",
880
+ expected: "(Array<string> | boolean | number | string)",
881
+ value: input.value
882
+ })) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || _report(_exceptionable, {
883
+ path: _path + ".value",
884
+ expected: "(Array<string> | boolean | number | string)",
885
+ value: input.value
886
+ })) && input.value.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
887
+ path: _path + ".value[" + _index25 + "]",
779
888
  expected: "string",
780
889
  value: elem
781
890
  })).every(flag => flag) || _report(_exceptionable, {
782
- path: _path + ".values",
783
- expected: "(Array<string> | undefined)",
784
- value: input.values
785
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
891
+ path: _path + ".value",
892
+ expected: "(Array<string> | boolean | number | string)",
893
+ value: input.value
894
+ }))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["AND" === input.operator || "OR" === input.operator || _report(_exceptionable, {
895
+ path: _path + ".operator",
896
+ expected: "(\"AND\" | \"OR\")",
897
+ value: input.operator
898
+ }), (Array.isArray(input.rules) || _report(_exceptionable, {
899
+ path: _path + ".rules",
900
+ expected: "Array<BootstrapCondition>",
901
+ value: input.rules
902
+ })) && input.rules.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
903
+ path: _path + ".rules[" + _index26 + "]",
904
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
905
+ value: elem
906
+ })) && _vu0(elem, _path + ".rules[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
907
+ path: _path + ".rules[" + _index26 + "]",
908
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
909
+ value: elem
910
+ })).every(flag => flag) || _report(_exceptionable, {
911
+ path: _path + ".rules",
912
+ expected: "Array<BootstrapCondition>",
913
+ value: input.rules
914
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["number" === typeof input.percentage || _report(_exceptionable, {
915
+ path: _path + ".percentage",
916
+ expected: "number",
917
+ value: input.percentage
918
+ }), "string" === typeof input.attribute || _report(_exceptionable, {
919
+ path: _path + ".attribute",
920
+ expected: "string",
921
+ value: input.attribute
922
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
786
923
  path: _path + ".name",
787
924
  expected: "string",
788
925
  value: input.name
@@ -802,7 +939,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
802
939
  path: _path + ".service",
803
940
  expected: "ServiceConfig",
804
941
  value: input.service
805
- })) && _vo6(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
942
+ })) && _vo9(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
806
943
  path: _path + ".service",
807
944
  expected: "ServiceConfig",
808
945
  value: input.service
@@ -810,8 +947,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
810
947
  path: _path + ".dependsOn",
811
948
  expected: "Array<string>",
812
949
  value: input.dependsOn
813
- })) && input.dependsOn.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
814
- path: _path + ".dependsOn[" + _index25 + "]",
950
+ })) && input.dependsOn.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
951
+ path: _path + ".dependsOn[" + _index27 + "]",
815
952
  expected: "string",
816
953
  value: elem
817
954
  })).every(flag => flag) || _report(_exceptionable, {
@@ -822,7 +959,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
822
959
  path: _path + ".commonPaths",
823
960
  expected: "(CommonPathsMetadata | undefined)",
824
961
  value: input.commonPaths
825
- })) && _vo7(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
962
+ })) && _vo10(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
826
963
  path: _path + ".commonPaths",
827
964
  expected: "(CommonPathsMetadata | undefined)",
828
965
  value: input.commonPaths
@@ -830,7 +967,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
830
967
  path: _path + ".ui",
831
968
  expected: "(UIConfig | undefined)",
832
969
  value: input.ui
833
- })) && _vo8(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
970
+ })) && _vo11(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
834
971
  path: _path + ".ui",
835
972
  expected: "(UIConfig | undefined)",
836
973
  value: input.ui
@@ -838,7 +975,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
838
975
  path: _path + ".cloudFunction",
839
976
  expected: "(CloudFunctionConfig | undefined)",
840
977
  value: input.cloudFunction
841
- })) && _vo10(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
978
+ })) && _vo13(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
842
979
  path: _path + ".cloudFunction",
843
980
  expected: "(CloudFunctionConfig | undefined)",
844
981
  value: input.cloudFunction
@@ -846,7 +983,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
846
983
  path: _path + ".authorization",
847
984
  expected: "(AuthorizationMetadata | undefined)",
848
985
  value: input.authorization
849
- })) && _vo11(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
986
+ })) && _vo14(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
850
987
  path: _path + ".authorization",
851
988
  expected: "(AuthorizationMetadata | undefined)",
852
989
  value: input.authorization
@@ -870,11 +1007,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
870
1007
  path: _path + ".serviceLocal",
871
1008
  expected: "(Partial<ServiceConfig> | undefined)",
872
1009
  value: input.serviceLocal
873
- })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1010
+ })) && _vo16(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
874
1011
  path: _path + ".serviceLocal",
875
1012
  expected: "(Partial<ServiceConfig> | undefined)",
876
1013
  value: input.serviceLocal
877
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1014
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
878
1015
  path: _path + ".host",
879
1016
  expected: "string",
880
1017
  value: input.host
@@ -890,7 +1027,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
890
1027
  path: _path + ".includeBaseURL",
891
1028
  expected: "(boolean | undefined)",
892
1029
  value: input.includeBaseURL
893
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
1030
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
894
1031
  path: _path + ".apiDocs",
895
1032
  expected: "(string | undefined)",
896
1033
  value: input.apiDocs
@@ -906,7 +1043,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
906
1043
  path: _path + ".changelog",
907
1044
  expected: "(string | undefined)",
908
1045
  value: input.changelog
909
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
1046
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
910
1047
  path: _path + ".route",
911
1048
  expected: "string",
912
1049
  value: input.route
@@ -922,7 +1059,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
922
1059
  path: _path + ".customProps",
923
1060
  expected: "ModuleProps",
924
1061
  value: input.customProps
925
- })) && _vo9(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1062
+ })) && _vo12(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
926
1063
  path: _path + ".customProps",
927
1064
  expected: "ModuleProps",
928
1065
  value: input.customProps
@@ -934,12 +1071,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
934
1071
  path: _path + ".isPlatformCustomization",
935
1072
  expected: "(boolean | undefined)",
936
1073
  value: input.isPlatformCustomization
937
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1074
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
938
1075
  const value = input[key];
939
1076
  if (undefined === value)
940
1077
  return true;
941
1078
  return true;
942
- }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
1079
+ }).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
943
1080
  path: _path + ".provider",
944
1081
  expected: "\"aws\"",
945
1082
  value: input.provider
@@ -947,12 +1084,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
947
1084
  path: _path + ".requiresSignature",
948
1085
  expected: "boolean",
949
1086
  value: input.requiresSignature
950
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
1087
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
951
1088
  path: _path + ".operations",
952
1089
  expected: "(Array<string> | undefined)",
953
1090
  value: input.operations
954
- })) && input.operations.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
955
- path: _path + ".operations[" + _index26 + "]",
1091
+ })) && input.operations.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
1092
+ path: _path + ".operations[" + _index28 + "]",
956
1093
  expected: "string",
957
1094
  value: elem
958
1095
  })).every(flag => flag) || _report(_exceptionable, {
@@ -963,24 +1100,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
963
1100
  path: _path + ".routes",
964
1101
  expected: "(Array<RouteAuthorization> | undefined)",
965
1102
  value: input.routes
966
- })) && input.routes.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
967
- path: _path + ".routes[" + _index27 + "]",
1103
+ })) && input.routes.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1104
+ path: _path + ".routes[" + _index29 + "]",
968
1105
  expected: "RouteAuthorization",
969
1106
  value: elem
970
- })) && _vo12(elem, _path + ".routes[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
971
- path: _path + ".routes[" + _index27 + "]",
1107
+ })) && _vo15(elem, _path + ".routes[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
1108
+ path: _path + ".routes[" + _index29 + "]",
972
1109
  expected: "RouteAuthorization",
973
1110
  value: elem
974
1111
  })).every(flag => flag) || _report(_exceptionable, {
975
1112
  path: _path + ".routes",
976
1113
  expected: "(Array<RouteAuthorization> | undefined)",
977
1114
  value: input.routes
978
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
1115
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
979
1116
  path: _path + ".methods",
980
1117
  expected: "(Array<HttpMethod> | undefined)",
981
1118
  value: input.methods
982
- })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
983
- path: _path + ".methods[" + _index28 + "]",
1119
+ })) && input.methods.map((elem, _index30) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
1120
+ path: _path + ".methods[" + _index30 + "]",
984
1121
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
985
1122
  value: elem
986
1123
  })).every(flag => flag) || _report(_exceptionable, {
@@ -995,15 +1132,15 @@ describe('BootstrapSyncMetadata - type validations', () => {
995
1132
  path: _path + ".operations",
996
1133
  expected: "Array<string>",
997
1134
  value: input.operations
998
- })) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
999
- path: _path + ".operations[" + _index29 + "]",
1135
+ })) && input.operations.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
1136
+ path: _path + ".operations[" + _index31 + "]",
1000
1137
  expected: "string",
1001
1138
  value: elem
1002
1139
  })).every(flag => flag) || _report(_exceptionable, {
1003
1140
  path: _path + ".operations",
1004
1141
  expected: "Array<string>",
1005
1142
  value: input.operations
1006
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1143
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1007
1144
  path: _path + ".host",
1008
1145
  expected: "(string | undefined)",
1009
1146
  value: input.host
@@ -1019,7 +1156,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1019
1156
  path: _path + ".includeBaseURL",
1020
1157
  expected: "(boolean | undefined)",
1021
1158
  value: input.includeBaseURL
1022
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1159
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1023
1160
  path: _path + ".name",
1024
1161
  expected: "string",
1025
1162
  value: input.name
@@ -1035,7 +1172,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1035
1172
  path: _path + ".allowedByDefault",
1036
1173
  expected: "(boolean | undefined)",
1037
1174
  value: input.allowedByDefault
1038
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1175
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1039
1176
  path: _path + ".applicationName",
1040
1177
  expected: "(string | undefined)",
1041
1178
  value: input.applicationName
@@ -1047,12 +1184,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1047
1184
  path: _path + ".description",
1048
1185
  expected: "(string | undefined)",
1049
1186
  value: input.description
1050
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1187
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1051
1188
  path: _path + ".roles",
1052
1189
  expected: "(Array<string> | undefined)",
1053
1190
  value: input.roles
1054
- })) && input.roles.map((elem, _index30) => "string" === typeof elem || _report(_exceptionable, {
1055
- path: _path + ".roles[" + _index30 + "]",
1191
+ })) && input.roles.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
1192
+ path: _path + ".roles[" + _index32 + "]",
1056
1193
  expected: "string",
1057
1194
  value: elem
1058
1195
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1071,7 +1208,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1071
1208
  path: _path + ".applicationName",
1072
1209
  expected: "(string | undefined)",
1073
1210
  value: input.applicationName
1074
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1211
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1075
1212
  path: _path + ".moduleName",
1076
1213
  expected: "string",
1077
1214
  value: input.moduleName
@@ -1079,16 +1216,27 @@ describe('BootstrapSyncMetadata - type validations', () => {
1079
1216
  path: _path + ".customProps",
1080
1217
  expected: "Record<string, any>",
1081
1218
  value: input.customProps
1082
- })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1219
+ })) && _vo21(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1083
1220
  path: _path + ".customProps",
1084
1221
  expected: "Record<string, any>",
1085
1222
  value: input.customProps
1086
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1223
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1087
1224
  const value = input[key];
1088
1225
  if (undefined === value)
1089
1226
  return true;
1090
1227
  return true;
1091
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
1228
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
1229
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
1230
+ return _vo5(input, _path, true && _exceptionable);
1231
+ else if ("AND" === input.operator || "OR" === input.operator)
1232
+ return _vo6(input, _path, true && _exceptionable);
1233
+ else
1234
+ return _report(_exceptionable, {
1235
+ path: _path,
1236
+ expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
1237
+ value: input
1238
+ });
1239
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
1092
1240
  if (false === __is(input)) {
1093
1241
  errors = [];
1094
1242
  _report = __typia_transform__validateReport._validateReport(errors);
@@ -1143,17 +1291,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
1143
1291
  scopedTo: "any"
1144
1292
  },
1145
1293
  };
1146
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1294
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io17(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io20(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io7(input.rollout)); const _io5 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io6 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io7 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _io8 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io9(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io10(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io11(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io13(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io14(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io16(input.serviceLocal)); const _io9 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io10 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io11 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io12(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io12 = input => Object.keys(input).every(key => {
1147
1295
  const value = input[key];
1148
1296
  if (undefined === value)
1149
1297
  return true;
1150
1298
  return true;
1151
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
1299
+ }); const _io13 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io14 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io15(elem))); const _io15 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io17 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io18 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io19 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io20 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io21(input.customProps)); const _io21 = input => Object.keys(input).every(key => {
1152
1300
  const value = input[key];
1153
1301
  if (undefined === value)
1154
1302
  return true;
1155
1303
  return true;
1156
- }); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
1304
+ }); const _iu0 = input => (() => {
1305
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
1306
+ return _io5(input);
1307
+ else if ("AND" === input.operator || "OR" === input.operator)
1308
+ return _io6(input);
1309
+ else
1310
+ return false;
1311
+ })(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
1157
1312
  path: _path + ".syncConfig",
1158
1313
  expected: "__type",
1159
1314
  value: input.syncConfig
@@ -1165,12 +1320,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1165
1320
  path: _path + ".sharedLibraries",
1166
1321
  expected: "(Array<CreateSharedLibraryDTO> | undefined)",
1167
1322
  value: input.sharedLibraries
1168
- })) && input.sharedLibraries.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1169
- path: _path + ".sharedLibraries[" + _index16 + "]",
1323
+ })) && input.sharedLibraries.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1324
+ path: _path + ".sharedLibraries[" + _index17 + "]",
1170
1325
  expected: "CreateSharedLibraryDTO",
1171
1326
  value: elem
1172
- })) && _vo2(elem, _path + ".sharedLibraries[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
1173
- path: _path + ".sharedLibraries[" + _index16 + "]",
1327
+ })) && _vo2(elem, _path + ".sharedLibraries[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
1328
+ path: _path + ".sharedLibraries[" + _index17 + "]",
1174
1329
  expected: "CreateSharedLibraryDTO",
1175
1330
  value: elem
1176
1331
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1181,12 +1336,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1181
1336
  path: _path + ".featureFlags",
1182
1337
  expected: "(Array<BootstrapFeatureFlag> | undefined)",
1183
1338
  value: input.featureFlags
1184
- })) && input.featureFlags.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1185
- path: _path + ".featureFlags[" + _index17 + "]",
1339
+ })) && input.featureFlags.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1340
+ path: _path + ".featureFlags[" + _index18 + "]",
1186
1341
  expected: "BootstrapFeatureFlag",
1187
1342
  value: elem
1188
- })) && _vo3(elem, _path + ".featureFlags[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
1189
- path: _path + ".featureFlags[" + _index17 + "]",
1343
+ })) && _vo3(elem, _path + ".featureFlags[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1344
+ path: _path + ".featureFlags[" + _index18 + "]",
1190
1345
  expected: "BootstrapFeatureFlag",
1191
1346
  value: elem
1192
1347
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1197,12 +1352,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1197
1352
  path: _path + ".catalog",
1198
1353
  expected: "(Array<BootstrapModule> | undefined)",
1199
1354
  value: input.catalog
1200
- })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1201
- path: _path + ".catalog[" + _index18 + "]",
1355
+ })) && input.catalog.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1356
+ path: _path + ".catalog[" + _index19 + "]",
1202
1357
  expected: "BootstrapModule",
1203
1358
  value: elem
1204
- })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1205
- path: _path + ".catalog[" + _index18 + "]",
1359
+ })) && _vo8(elem, _path + ".catalog[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1360
+ path: _path + ".catalog[" + _index19 + "]",
1206
1361
  expected: "BootstrapModule",
1207
1362
  value: elem
1208
1363
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1213,12 +1368,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1213
1368
  path: _path + ".applicationsAuthz",
1214
1369
  expected: "(Array<CreateApplicationDTO> | undefined)",
1215
1370
  value: input.applicationsAuthz
1216
- })) && input.applicationsAuthz.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1217
- path: _path + ".applicationsAuthz[" + _index19 + "]",
1371
+ })) && input.applicationsAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1372
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
1218
1373
  expected: "CreateApplicationDTO",
1219
1374
  value: elem
1220
- })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1221
- path: _path + ".applicationsAuthz[" + _index19 + "]",
1375
+ })) && _vo17(elem, _path + ".applicationsAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1376
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
1222
1377
  expected: "CreateApplicationDTO",
1223
1378
  value: elem
1224
1379
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1229,12 +1384,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1229
1384
  path: _path + ".rolesAuthz",
1230
1385
  expected: "(Array<CreateRoleDTO> | undefined)",
1231
1386
  value: input.rolesAuthz
1232
- })) && input.rolesAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1233
- path: _path + ".rolesAuthz[" + _index20 + "]",
1387
+ })) && input.rolesAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1388
+ path: _path + ".rolesAuthz[" + _index21 + "]",
1234
1389
  expected: "CreateRoleDTO",
1235
1390
  value: elem
1236
- })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1237
- path: _path + ".rolesAuthz[" + _index20 + "]",
1391
+ })) && _vo18(elem, _path + ".rolesAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1392
+ path: _path + ".rolesAuthz[" + _index21 + "]",
1238
1393
  expected: "CreateRoleDTO",
1239
1394
  value: elem
1240
1395
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1245,12 +1400,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1245
1400
  path: _path + ".operationsAuthz",
1246
1401
  expected: "(Array<OperationAuthzBootstrap> | undefined)",
1247
1402
  value: input.operationsAuthz
1248
- })) && input.operationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1249
- path: _path + ".operationsAuthz[" + _index21 + "]",
1403
+ })) && input.operationsAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1404
+ path: _path + ".operationsAuthz[" + _index22 + "]",
1250
1405
  expected: "OperationAuthzBootstrap",
1251
1406
  value: elem
1252
- })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1253
- path: _path + ".operationsAuthz[" + _index21 + "]",
1407
+ })) && _vo19(elem, _path + ".operationsAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1408
+ path: _path + ".operationsAuthz[" + _index22 + "]",
1254
1409
  expected: "OperationAuthzBootstrap",
1255
1410
  value: elem
1256
1411
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1261,12 +1416,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1261
1416
  path: _path + ".modulesConfig",
1262
1417
  expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
1263
1418
  value: input.modulesConfig
1264
- })) && input.modulesConfig.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1265
- path: _path + ".modulesConfig[" + _index22 + "]",
1419
+ })) && input.modulesConfig.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1420
+ path: _path + ".modulesConfig[" + _index23 + "]",
1266
1421
  expected: "UpdateModuleUIConfigDTO",
1267
1422
  value: elem
1268
- })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1269
- path: _path + ".modulesConfig[" + _index22 + "]",
1423
+ })) && _vo20(elem, _path + ".modulesConfig[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
1424
+ path: _path + ".modulesConfig[" + _index23 + "]",
1270
1425
  expected: "UpdateModuleUIConfigDTO",
1271
1426
  value: elem
1272
1427
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1297,51 +1452,107 @@ describe('BootstrapSyncMetadata - type validations', () => {
1297
1452
  path: _path + ".description",
1298
1453
  expected: "(string | undefined)",
1299
1454
  value: input.description
1300
- }), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
1301
- path: _path + ".enabled",
1455
+ }), undefined === input.visible || "boolean" === typeof input.visible || _report(_exceptionable, {
1456
+ path: _path + ".visible",
1302
1457
  expected: "(boolean | undefined)",
1303
- value: input.enabled
1458
+ value: input.visible
1459
+ }), true, undefined === input.valueRules || (Array.isArray(input.valueRules) || _report(_exceptionable, {
1460
+ path: _path + ".valueRules",
1461
+ expected: "(Array<BootstrapValueRule> | undefined)",
1462
+ value: input.valueRules
1463
+ })) && input.valueRules.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1464
+ path: _path + ".valueRules[" + _index24 + "]",
1465
+ expected: "BootstrapValueRule",
1466
+ value: elem
1467
+ })) && _vo4(elem, _path + ".valueRules[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
1468
+ path: _path + ".valueRules[" + _index24 + "]",
1469
+ expected: "BootstrapValueRule",
1470
+ value: elem
1471
+ })).every(flag => flag) || _report(_exceptionable, {
1472
+ path: _path + ".valueRules",
1473
+ expected: "(Array<BootstrapValueRule> | undefined)",
1474
+ value: input.valueRules
1304
1475
  }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1305
1476
  path: _path + ".applicationName",
1306
1477
  expected: "(string | undefined)",
1307
1478
  value: input.applicationName
1308
- }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
1309
- path: _path + ".constraints",
1310
- expected: "(Array<__type> | undefined)",
1311
- value: input.constraints
1312
- })) && input.constraints.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1313
- path: _path + ".constraints[" + _index23 + "]",
1314
- expected: "__type.o1",
1315
- value: elem
1316
- })) && _vo4(elem, _path + ".constraints[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
1317
- path: _path + ".constraints[" + _index23 + "]",
1318
- expected: "__type.o1",
1319
- value: elem
1320
- })).every(flag => flag) || _report(_exceptionable, {
1321
- path: _path + ".constraints",
1322
- expected: "(Array<__type> | undefined)",
1323
- value: input.constraints
1324
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.contextName || _report(_exceptionable, {
1325
- path: _path + ".contextName",
1326
- expected: "string",
1327
- value: input.contextName
1328
- }), "string" === typeof input.operator || _report(_exceptionable, {
1479
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
1480
+ path: _path + ".name",
1481
+ expected: "(string | undefined)",
1482
+ value: input.name
1483
+ }), ("object" === typeof input.condition && null !== input.condition || _report(_exceptionable, {
1484
+ path: _path + ".condition",
1485
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
1486
+ value: input.condition
1487
+ })) && _vu0(input.condition, _path + ".condition", true && _exceptionable) || _report(_exceptionable, {
1488
+ path: _path + ".condition",
1489
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
1490
+ value: input.condition
1491
+ }), true, undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || _report(_exceptionable, {
1492
+ path: _path + ".rollout",
1493
+ expected: "(__type.o1 | undefined)",
1494
+ value: input.rollout
1495
+ })) && _vo7(input.rollout, _path + ".rollout", true && _exceptionable) || _report(_exceptionable, {
1496
+ path: _path + ".rollout",
1497
+ expected: "(__type.o1 | undefined)",
1498
+ value: input.rollout
1499
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.attribute || _report(_exceptionable, {
1500
+ path: _path + ".attribute",
1501
+ expected: "string",
1502
+ value: input.attribute
1503
+ }), "eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || _report(_exceptionable, {
1329
1504
  path: _path + ".operator",
1330
- expected: "string",
1505
+ expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
1331
1506
  value: input.operator
1332
- }), undefined === input.values || (Array.isArray(input.values) || _report(_exceptionable, {
1333
- path: _path + ".values",
1334
- expected: "(Array<string> | undefined)",
1335
- value: input.values
1336
- })) && input.values.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
1337
- path: _path + ".values[" + _index24 + "]",
1507
+ }), (null !== input.value || _report(_exceptionable, {
1508
+ path: _path + ".value",
1509
+ expected: "(Array<string> | boolean | number | string)",
1510
+ value: input.value
1511
+ })) && (undefined !== input.value || _report(_exceptionable, {
1512
+ path: _path + ".value",
1513
+ expected: "(Array<string> | boolean | number | string)",
1514
+ value: input.value
1515
+ })) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || _report(_exceptionable, {
1516
+ path: _path + ".value",
1517
+ expected: "(Array<string> | boolean | number | string)",
1518
+ value: input.value
1519
+ })) && input.value.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
1520
+ path: _path + ".value[" + _index25 + "]",
1338
1521
  expected: "string",
1339
1522
  value: elem
1340
1523
  })).every(flag => flag) || _report(_exceptionable, {
1341
- path: _path + ".values",
1342
- expected: "(Array<string> | undefined)",
1343
- value: input.values
1344
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1524
+ path: _path + ".value",
1525
+ expected: "(Array<string> | boolean | number | string)",
1526
+ value: input.value
1527
+ }))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["AND" === input.operator || "OR" === input.operator || _report(_exceptionable, {
1528
+ path: _path + ".operator",
1529
+ expected: "(\"AND\" | \"OR\")",
1530
+ value: input.operator
1531
+ }), (Array.isArray(input.rules) || _report(_exceptionable, {
1532
+ path: _path + ".rules",
1533
+ expected: "Array<BootstrapCondition>",
1534
+ value: input.rules
1535
+ })) && input.rules.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1536
+ path: _path + ".rules[" + _index26 + "]",
1537
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
1538
+ value: elem
1539
+ })) && _vu0(elem, _path + ".rules[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
1540
+ path: _path + ".rules[" + _index26 + "]",
1541
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
1542
+ value: elem
1543
+ })).every(flag => flag) || _report(_exceptionable, {
1544
+ path: _path + ".rules",
1545
+ expected: "Array<BootstrapCondition>",
1546
+ value: input.rules
1547
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["number" === typeof input.percentage || _report(_exceptionable, {
1548
+ path: _path + ".percentage",
1549
+ expected: "number",
1550
+ value: input.percentage
1551
+ }), "string" === typeof input.attribute || _report(_exceptionable, {
1552
+ path: _path + ".attribute",
1553
+ expected: "string",
1554
+ value: input.attribute
1555
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1345
1556
  path: _path + ".name",
1346
1557
  expected: "string",
1347
1558
  value: input.name
@@ -1361,7 +1572,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1361
1572
  path: _path + ".service",
1362
1573
  expected: "ServiceConfig",
1363
1574
  value: input.service
1364
- })) && _vo6(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
1575
+ })) && _vo9(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
1365
1576
  path: _path + ".service",
1366
1577
  expected: "ServiceConfig",
1367
1578
  value: input.service
@@ -1369,8 +1580,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
1369
1580
  path: _path + ".dependsOn",
1370
1581
  expected: "Array<string>",
1371
1582
  value: input.dependsOn
1372
- })) && input.dependsOn.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
1373
- path: _path + ".dependsOn[" + _index25 + "]",
1583
+ })) && input.dependsOn.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
1584
+ path: _path + ".dependsOn[" + _index27 + "]",
1374
1585
  expected: "string",
1375
1586
  value: elem
1376
1587
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1381,7 +1592,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1381
1592
  path: _path + ".commonPaths",
1382
1593
  expected: "(CommonPathsMetadata | undefined)",
1383
1594
  value: input.commonPaths
1384
- })) && _vo7(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
1595
+ })) && _vo10(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
1385
1596
  path: _path + ".commonPaths",
1386
1597
  expected: "(CommonPathsMetadata | undefined)",
1387
1598
  value: input.commonPaths
@@ -1389,7 +1600,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1389
1600
  path: _path + ".ui",
1390
1601
  expected: "(UIConfig | undefined)",
1391
1602
  value: input.ui
1392
- })) && _vo8(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
1603
+ })) && _vo11(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
1393
1604
  path: _path + ".ui",
1394
1605
  expected: "(UIConfig | undefined)",
1395
1606
  value: input.ui
@@ -1397,7 +1608,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1397
1608
  path: _path + ".cloudFunction",
1398
1609
  expected: "(CloudFunctionConfig | undefined)",
1399
1610
  value: input.cloudFunction
1400
- })) && _vo10(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
1611
+ })) && _vo13(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
1401
1612
  path: _path + ".cloudFunction",
1402
1613
  expected: "(CloudFunctionConfig | undefined)",
1403
1614
  value: input.cloudFunction
@@ -1405,7 +1616,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1405
1616
  path: _path + ".authorization",
1406
1617
  expected: "(AuthorizationMetadata | undefined)",
1407
1618
  value: input.authorization
1408
- })) && _vo11(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
1619
+ })) && _vo14(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
1409
1620
  path: _path + ".authorization",
1410
1621
  expected: "(AuthorizationMetadata | undefined)",
1411
1622
  value: input.authorization
@@ -1429,11 +1640,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1429
1640
  path: _path + ".serviceLocal",
1430
1641
  expected: "(Partial<ServiceConfig> | undefined)",
1431
1642
  value: input.serviceLocal
1432
- })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1643
+ })) && _vo16(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1433
1644
  path: _path + ".serviceLocal",
1434
1645
  expected: "(Partial<ServiceConfig> | undefined)",
1435
1646
  value: input.serviceLocal
1436
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1647
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1437
1648
  path: _path + ".host",
1438
1649
  expected: "string",
1439
1650
  value: input.host
@@ -1449,7 +1660,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1449
1660
  path: _path + ".includeBaseURL",
1450
1661
  expected: "(boolean | undefined)",
1451
1662
  value: input.includeBaseURL
1452
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
1663
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
1453
1664
  path: _path + ".apiDocs",
1454
1665
  expected: "(string | undefined)",
1455
1666
  value: input.apiDocs
@@ -1465,7 +1676,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1465
1676
  path: _path + ".changelog",
1466
1677
  expected: "(string | undefined)",
1467
1678
  value: input.changelog
1468
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
1679
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
1469
1680
  path: _path + ".route",
1470
1681
  expected: "string",
1471
1682
  value: input.route
@@ -1481,7 +1692,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1481
1692
  path: _path + ".customProps",
1482
1693
  expected: "ModuleProps",
1483
1694
  value: input.customProps
1484
- })) && _vo9(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1695
+ })) && _vo12(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1485
1696
  path: _path + ".customProps",
1486
1697
  expected: "ModuleProps",
1487
1698
  value: input.customProps
@@ -1493,12 +1704,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1493
1704
  path: _path + ".isPlatformCustomization",
1494
1705
  expected: "(boolean | undefined)",
1495
1706
  value: input.isPlatformCustomization
1496
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1707
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1497
1708
  const value = input[key];
1498
1709
  if (undefined === value)
1499
1710
  return true;
1500
1711
  return true;
1501
- }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
1712
+ }).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
1502
1713
  path: _path + ".provider",
1503
1714
  expected: "\"aws\"",
1504
1715
  value: input.provider
@@ -1506,12 +1717,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1506
1717
  path: _path + ".requiresSignature",
1507
1718
  expected: "boolean",
1508
1719
  value: input.requiresSignature
1509
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
1720
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
1510
1721
  path: _path + ".operations",
1511
1722
  expected: "(Array<string> | undefined)",
1512
1723
  value: input.operations
1513
- })) && input.operations.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
1514
- path: _path + ".operations[" + _index26 + "]",
1724
+ })) && input.operations.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
1725
+ path: _path + ".operations[" + _index28 + "]",
1515
1726
  expected: "string",
1516
1727
  value: elem
1517
1728
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1522,24 +1733,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
1522
1733
  path: _path + ".routes",
1523
1734
  expected: "(Array<RouteAuthorization> | undefined)",
1524
1735
  value: input.routes
1525
- })) && input.routes.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1526
- path: _path + ".routes[" + _index27 + "]",
1736
+ })) && input.routes.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1737
+ path: _path + ".routes[" + _index29 + "]",
1527
1738
  expected: "RouteAuthorization",
1528
1739
  value: elem
1529
- })) && _vo12(elem, _path + ".routes[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
1530
- path: _path + ".routes[" + _index27 + "]",
1740
+ })) && _vo15(elem, _path + ".routes[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
1741
+ path: _path + ".routes[" + _index29 + "]",
1531
1742
  expected: "RouteAuthorization",
1532
1743
  value: elem
1533
1744
  })).every(flag => flag) || _report(_exceptionable, {
1534
1745
  path: _path + ".routes",
1535
1746
  expected: "(Array<RouteAuthorization> | undefined)",
1536
1747
  value: input.routes
1537
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
1748
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
1538
1749
  path: _path + ".methods",
1539
1750
  expected: "(Array<HttpMethod> | undefined)",
1540
1751
  value: input.methods
1541
- })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
1542
- path: _path + ".methods[" + _index28 + "]",
1752
+ })) && input.methods.map((elem, _index30) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
1753
+ path: _path + ".methods[" + _index30 + "]",
1543
1754
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
1544
1755
  value: elem
1545
1756
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1554,15 +1765,15 @@ describe('BootstrapSyncMetadata - type validations', () => {
1554
1765
  path: _path + ".operations",
1555
1766
  expected: "Array<string>",
1556
1767
  value: input.operations
1557
- })) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
1558
- path: _path + ".operations[" + _index29 + "]",
1768
+ })) && input.operations.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
1769
+ path: _path + ".operations[" + _index31 + "]",
1559
1770
  expected: "string",
1560
1771
  value: elem
1561
1772
  })).every(flag => flag) || _report(_exceptionable, {
1562
1773
  path: _path + ".operations",
1563
1774
  expected: "Array<string>",
1564
1775
  value: input.operations
1565
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1776
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
1566
1777
  path: _path + ".host",
1567
1778
  expected: "(string | undefined)",
1568
1779
  value: input.host
@@ -1578,7 +1789,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1578
1789
  path: _path + ".includeBaseURL",
1579
1790
  expected: "(boolean | undefined)",
1580
1791
  value: input.includeBaseURL
1581
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1792
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1582
1793
  path: _path + ".name",
1583
1794
  expected: "string",
1584
1795
  value: input.name
@@ -1594,7 +1805,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1594
1805
  path: _path + ".allowedByDefault",
1595
1806
  expected: "(boolean | undefined)",
1596
1807
  value: input.allowedByDefault
1597
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1808
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1598
1809
  path: _path + ".applicationName",
1599
1810
  expected: "(string | undefined)",
1600
1811
  value: input.applicationName
@@ -1606,12 +1817,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1606
1817
  path: _path + ".description",
1607
1818
  expected: "(string | undefined)",
1608
1819
  value: input.description
1609
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1820
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
1610
1821
  path: _path + ".roles",
1611
1822
  expected: "(Array<string> | undefined)",
1612
1823
  value: input.roles
1613
- })) && input.roles.map((elem, _index30) => "string" === typeof elem || _report(_exceptionable, {
1614
- path: _path + ".roles[" + _index30 + "]",
1824
+ })) && input.roles.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
1825
+ path: _path + ".roles[" + _index32 + "]",
1615
1826
  expected: "string",
1616
1827
  value: elem
1617
1828
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1630,7 +1841,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1630
1841
  path: _path + ".applicationName",
1631
1842
  expected: "(string | undefined)",
1632
1843
  value: input.applicationName
1633
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1844
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
1634
1845
  path: _path + ".moduleName",
1635
1846
  expected: "string",
1636
1847
  value: input.moduleName
@@ -1638,16 +1849,27 @@ describe('BootstrapSyncMetadata - type validations', () => {
1638
1849
  path: _path + ".customProps",
1639
1850
  expected: "Record<string, any>",
1640
1851
  value: input.customProps
1641
- })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1852
+ })) && _vo21(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
1642
1853
  path: _path + ".customProps",
1643
1854
  expected: "Record<string, any>",
1644
1855
  value: input.customProps
1645
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1856
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1646
1857
  const value = input[key];
1647
1858
  if (undefined === value)
1648
1859
  return true;
1649
1860
  return true;
1650
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
1861
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
1862
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
1863
+ return _vo5(input, _path, true && _exceptionable);
1864
+ else if ("AND" === input.operator || "OR" === input.operator)
1865
+ return _vo6(input, _path, true && _exceptionable);
1866
+ else
1867
+ return _report(_exceptionable, {
1868
+ path: _path,
1869
+ expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
1870
+ value: input
1871
+ });
1872
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
1651
1873
  if (false === __is(input)) {
1652
1874
  errors = [];
1653
1875
  _report = __typia_transform__validateReport._validateReport(errors);
@@ -1702,17 +1924,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
1702
1924
  scopedTo: "any"
1703
1925
  },
1704
1926
  };
1705
- const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io5(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io17(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.applicationName || "string" === typeof input.applicationName) && (undefined === input.constraints || Array.isArray(input.constraints) && input.constraints.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io4 = input => "string" === typeof input.contextName && "string" === typeof input.operator && (undefined === input.values || Array.isArray(input.values) && input.values.every(elem => "string" === typeof elem)); const _io5 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io6(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io7(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io8(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io10(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io11(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io13(input.serviceLocal)); const _io6 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io7 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io8 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io9(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io9 = input => Object.keys(input).every(key => {
1927
+ const result = (() => { const _io0 = input => "object" === typeof input.syncConfig && null !== input.syncConfig && _io1(input.syncConfig) && (undefined === input.sharedLibraries || Array.isArray(input.sharedLibraries) && input.sharedLibraries.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.featureFlags || Array.isArray(input.featureFlags) && input.featureFlags.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.catalog || Array.isArray(input.catalog) && input.catalog.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (undefined === input.applicationsAuthz || Array.isArray(input.applicationsAuthz) && input.applicationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io17(elem))) && (undefined === input.rolesAuthz || Array.isArray(input.rolesAuthz) && input.rolesAuthz.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && (undefined === input.operationsAuthz || Array.isArray(input.operationsAuthz) && input.operationsAuthz.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && (undefined === input.modulesConfig || Array.isArray(input.modulesConfig) && input.modulesConfig.every(elem => "object" === typeof elem && null !== elem && _io20(elem))); const _io1 = input => "string" === typeof input.scopedTo; const _io2 = input => "string" === typeof input.name && "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description); const _io3 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io4 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io7(input.rollout)); const _io5 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io6 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io7 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _io8 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io9(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io10(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io11(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io13(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io14(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io16(input.serviceLocal)); const _io9 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io10 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io11 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io12(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io12 = input => Object.keys(input).every(key => {
1706
1928
  const value = input[key];
1707
1929
  if (undefined === value)
1708
1930
  return true;
1709
1931
  return true;
1710
- }); const _io10 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io11 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io12 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io14 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io15 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io16 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io17 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io18(input.customProps)); const _io18 = input => Object.keys(input).every(key => {
1932
+ }); const _io13 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io14 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io15(elem))); const _io15 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io17 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io18 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io19 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io20 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io21(input.customProps)); const _io21 = input => Object.keys(input).every(key => {
1711
1933
  const value = input[key];
1712
1934
  if (undefined === value)
1713
1935
  return true;
1714
1936
  return true;
1715
- }); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
1937
+ }); const _iu0 = input => (() => {
1938
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
1939
+ return _io5(input);
1940
+ else if ("AND" === input.operator || "OR" === input.operator)
1941
+ return _io6(input);
1942
+ else
1943
+ return false;
1944
+ })(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.syncConfig && null !== input.syncConfig || _report(_exceptionable, {
1716
1945
  path: _path + ".syncConfig",
1717
1946
  expected: "__type",
1718
1947
  value: input.syncConfig
@@ -1724,12 +1953,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1724
1953
  path: _path + ".sharedLibraries",
1725
1954
  expected: "(Array<CreateSharedLibraryDTO> | undefined)",
1726
1955
  value: input.sharedLibraries
1727
- })) && input.sharedLibraries.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1728
- path: _path + ".sharedLibraries[" + _index16 + "]",
1956
+ })) && input.sharedLibraries.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1957
+ path: _path + ".sharedLibraries[" + _index17 + "]",
1729
1958
  expected: "CreateSharedLibraryDTO",
1730
1959
  value: elem
1731
- })) && _vo2(elem, _path + ".sharedLibraries[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
1732
- path: _path + ".sharedLibraries[" + _index16 + "]",
1960
+ })) && _vo2(elem, _path + ".sharedLibraries[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
1961
+ path: _path + ".sharedLibraries[" + _index17 + "]",
1733
1962
  expected: "CreateSharedLibraryDTO",
1734
1963
  value: elem
1735
1964
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1740,12 +1969,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1740
1969
  path: _path + ".featureFlags",
1741
1970
  expected: "(Array<BootstrapFeatureFlag> | undefined)",
1742
1971
  value: input.featureFlags
1743
- })) && input.featureFlags.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1744
- path: _path + ".featureFlags[" + _index17 + "]",
1972
+ })) && input.featureFlags.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1973
+ path: _path + ".featureFlags[" + _index18 + "]",
1745
1974
  expected: "BootstrapFeatureFlag",
1746
1975
  value: elem
1747
- })) && _vo3(elem, _path + ".featureFlags[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
1748
- path: _path + ".featureFlags[" + _index17 + "]",
1976
+ })) && _vo3(elem, _path + ".featureFlags[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1977
+ path: _path + ".featureFlags[" + _index18 + "]",
1749
1978
  expected: "BootstrapFeatureFlag",
1750
1979
  value: elem
1751
1980
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1756,12 +1985,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1756
1985
  path: _path + ".catalog",
1757
1986
  expected: "(Array<BootstrapModule> | undefined)",
1758
1987
  value: input.catalog
1759
- })) && input.catalog.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1760
- path: _path + ".catalog[" + _index18 + "]",
1988
+ })) && input.catalog.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1989
+ path: _path + ".catalog[" + _index19 + "]",
1761
1990
  expected: "BootstrapModule",
1762
1991
  value: elem
1763
- })) && _vo5(elem, _path + ".catalog[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1764
- path: _path + ".catalog[" + _index18 + "]",
1992
+ })) && _vo8(elem, _path + ".catalog[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1993
+ path: _path + ".catalog[" + _index19 + "]",
1765
1994
  expected: "BootstrapModule",
1766
1995
  value: elem
1767
1996
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1772,12 +2001,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1772
2001
  path: _path + ".applicationsAuthz",
1773
2002
  expected: "(Array<CreateApplicationDTO> | undefined)",
1774
2003
  value: input.applicationsAuthz
1775
- })) && input.applicationsAuthz.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1776
- path: _path + ".applicationsAuthz[" + _index19 + "]",
2004
+ })) && input.applicationsAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2005
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
1777
2006
  expected: "CreateApplicationDTO",
1778
2007
  value: elem
1779
- })) && _vo14(elem, _path + ".applicationsAuthz[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1780
- path: _path + ".applicationsAuthz[" + _index19 + "]",
2008
+ })) && _vo17(elem, _path + ".applicationsAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
2009
+ path: _path + ".applicationsAuthz[" + _index20 + "]",
1781
2010
  expected: "CreateApplicationDTO",
1782
2011
  value: elem
1783
2012
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1788,12 +2017,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1788
2017
  path: _path + ".rolesAuthz",
1789
2018
  expected: "(Array<CreateRoleDTO> | undefined)",
1790
2019
  value: input.rolesAuthz
1791
- })) && input.rolesAuthz.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1792
- path: _path + ".rolesAuthz[" + _index20 + "]",
2020
+ })) && input.rolesAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2021
+ path: _path + ".rolesAuthz[" + _index21 + "]",
1793
2022
  expected: "CreateRoleDTO",
1794
2023
  value: elem
1795
- })) && _vo15(elem, _path + ".rolesAuthz[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1796
- path: _path + ".rolesAuthz[" + _index20 + "]",
2024
+ })) && _vo18(elem, _path + ".rolesAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
2025
+ path: _path + ".rolesAuthz[" + _index21 + "]",
1797
2026
  expected: "CreateRoleDTO",
1798
2027
  value: elem
1799
2028
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1804,12 +2033,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1804
2033
  path: _path + ".operationsAuthz",
1805
2034
  expected: "(Array<OperationAuthzBootstrap> | undefined)",
1806
2035
  value: input.operationsAuthz
1807
- })) && input.operationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1808
- path: _path + ".operationsAuthz[" + _index21 + "]",
2036
+ })) && input.operationsAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2037
+ path: _path + ".operationsAuthz[" + _index22 + "]",
1809
2038
  expected: "OperationAuthzBootstrap",
1810
2039
  value: elem
1811
- })) && _vo16(elem, _path + ".operationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1812
- path: _path + ".operationsAuthz[" + _index21 + "]",
2040
+ })) && _vo19(elem, _path + ".operationsAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
2041
+ path: _path + ".operationsAuthz[" + _index22 + "]",
1813
2042
  expected: "OperationAuthzBootstrap",
1814
2043
  value: elem
1815
2044
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1820,12 +2049,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
1820
2049
  path: _path + ".modulesConfig",
1821
2050
  expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
1822
2051
  value: input.modulesConfig
1823
- })) && input.modulesConfig.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1824
- path: _path + ".modulesConfig[" + _index22 + "]",
2052
+ })) && input.modulesConfig.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2053
+ path: _path + ".modulesConfig[" + _index23 + "]",
1825
2054
  expected: "UpdateModuleUIConfigDTO",
1826
2055
  value: elem
1827
- })) && _vo17(elem, _path + ".modulesConfig[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1828
- path: _path + ".modulesConfig[" + _index22 + "]",
2056
+ })) && _vo20(elem, _path + ".modulesConfig[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
2057
+ path: _path + ".modulesConfig[" + _index23 + "]",
1829
2058
  expected: "UpdateModuleUIConfigDTO",
1830
2059
  value: elem
1831
2060
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1856,51 +2085,107 @@ describe('BootstrapSyncMetadata - type validations', () => {
1856
2085
  path: _path + ".description",
1857
2086
  expected: "(string | undefined)",
1858
2087
  value: input.description
1859
- }), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
1860
- path: _path + ".enabled",
2088
+ }), undefined === input.visible || "boolean" === typeof input.visible || _report(_exceptionable, {
2089
+ path: _path + ".visible",
1861
2090
  expected: "(boolean | undefined)",
1862
- value: input.enabled
2091
+ value: input.visible
2092
+ }), true, undefined === input.valueRules || (Array.isArray(input.valueRules) || _report(_exceptionable, {
2093
+ path: _path + ".valueRules",
2094
+ expected: "(Array<BootstrapValueRule> | undefined)",
2095
+ value: input.valueRules
2096
+ })) && input.valueRules.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2097
+ path: _path + ".valueRules[" + _index24 + "]",
2098
+ expected: "BootstrapValueRule",
2099
+ value: elem
2100
+ })) && _vo4(elem, _path + ".valueRules[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
2101
+ path: _path + ".valueRules[" + _index24 + "]",
2102
+ expected: "BootstrapValueRule",
2103
+ value: elem
2104
+ })).every(flag => flag) || _report(_exceptionable, {
2105
+ path: _path + ".valueRules",
2106
+ expected: "(Array<BootstrapValueRule> | undefined)",
2107
+ value: input.valueRules
1863
2108
  }), undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
1864
2109
  path: _path + ".applicationName",
1865
2110
  expected: "(string | undefined)",
1866
2111
  value: input.applicationName
1867
- }), undefined === input.constraints || (Array.isArray(input.constraints) || _report(_exceptionable, {
1868
- path: _path + ".constraints",
1869
- expected: "(Array<__type> | undefined)",
1870
- value: input.constraints
1871
- })) && input.constraints.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1872
- path: _path + ".constraints[" + _index23 + "]",
1873
- expected: "__type.o1",
1874
- value: elem
1875
- })) && _vo4(elem, _path + ".constraints[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
1876
- path: _path + ".constraints[" + _index23 + "]",
1877
- expected: "__type.o1",
1878
- value: elem
1879
- })).every(flag => flag) || _report(_exceptionable, {
1880
- path: _path + ".constraints",
1881
- expected: "(Array<__type> | undefined)",
1882
- value: input.constraints
1883
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.contextName || _report(_exceptionable, {
1884
- path: _path + ".contextName",
1885
- expected: "string",
1886
- value: input.contextName
1887
- }), "string" === typeof input.operator || _report(_exceptionable, {
2112
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
2113
+ path: _path + ".name",
2114
+ expected: "(string | undefined)",
2115
+ value: input.name
2116
+ }), ("object" === typeof input.condition && null !== input.condition || _report(_exceptionable, {
2117
+ path: _path + ".condition",
2118
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
2119
+ value: input.condition
2120
+ })) && _vu0(input.condition, _path + ".condition", true && _exceptionable) || _report(_exceptionable, {
2121
+ path: _path + ".condition",
2122
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
2123
+ value: input.condition
2124
+ }), true, undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || _report(_exceptionable, {
2125
+ path: _path + ".rollout",
2126
+ expected: "(__type.o1 | undefined)",
2127
+ value: input.rollout
2128
+ })) && _vo7(input.rollout, _path + ".rollout", true && _exceptionable) || _report(_exceptionable, {
2129
+ path: _path + ".rollout",
2130
+ expected: "(__type.o1 | undefined)",
2131
+ value: input.rollout
2132
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.attribute || _report(_exceptionable, {
2133
+ path: _path + ".attribute",
2134
+ expected: "string",
2135
+ value: input.attribute
2136
+ }), "eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || _report(_exceptionable, {
1888
2137
  path: _path + ".operator",
1889
- expected: "string",
2138
+ expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
1890
2139
  value: input.operator
1891
- }), undefined === input.values || (Array.isArray(input.values) || _report(_exceptionable, {
1892
- path: _path + ".values",
1893
- expected: "(Array<string> | undefined)",
1894
- value: input.values
1895
- })) && input.values.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
1896
- path: _path + ".values[" + _index24 + "]",
2140
+ }), (null !== input.value || _report(_exceptionable, {
2141
+ path: _path + ".value",
2142
+ expected: "(Array<string> | boolean | number | string)",
2143
+ value: input.value
2144
+ })) && (undefined !== input.value || _report(_exceptionable, {
2145
+ path: _path + ".value",
2146
+ expected: "(Array<string> | boolean | number | string)",
2147
+ value: input.value
2148
+ })) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || _report(_exceptionable, {
2149
+ path: _path + ".value",
2150
+ expected: "(Array<string> | boolean | number | string)",
2151
+ value: input.value
2152
+ })) && input.value.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
2153
+ path: _path + ".value[" + _index25 + "]",
1897
2154
  expected: "string",
1898
2155
  value: elem
1899
2156
  })).every(flag => flag) || _report(_exceptionable, {
1900
- path: _path + ".values",
1901
- expected: "(Array<string> | undefined)",
1902
- value: input.values
1903
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
2157
+ path: _path + ".value",
2158
+ expected: "(Array<string> | boolean | number | string)",
2159
+ value: input.value
2160
+ }))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["AND" === input.operator || "OR" === input.operator || _report(_exceptionable, {
2161
+ path: _path + ".operator",
2162
+ expected: "(\"AND\" | \"OR\")",
2163
+ value: input.operator
2164
+ }), (Array.isArray(input.rules) || _report(_exceptionable, {
2165
+ path: _path + ".rules",
2166
+ expected: "Array<BootstrapCondition>",
2167
+ value: input.rules
2168
+ })) && input.rules.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2169
+ path: _path + ".rules[" + _index26 + "]",
2170
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
2171
+ value: elem
2172
+ })) && _vu0(elem, _path + ".rules[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
2173
+ path: _path + ".rules[" + _index26 + "]",
2174
+ expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
2175
+ value: elem
2176
+ })).every(flag => flag) || _report(_exceptionable, {
2177
+ path: _path + ".rules",
2178
+ expected: "Array<BootstrapCondition>",
2179
+ value: input.rules
2180
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["number" === typeof input.percentage || _report(_exceptionable, {
2181
+ path: _path + ".percentage",
2182
+ expected: "number",
2183
+ value: input.percentage
2184
+ }), "string" === typeof input.attribute || _report(_exceptionable, {
2185
+ path: _path + ".attribute",
2186
+ expected: "string",
2187
+ value: input.attribute
2188
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1904
2189
  path: _path + ".name",
1905
2190
  expected: "string",
1906
2191
  value: input.name
@@ -1920,7 +2205,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1920
2205
  path: _path + ".service",
1921
2206
  expected: "ServiceConfig",
1922
2207
  value: input.service
1923
- })) && _vo6(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
2208
+ })) && _vo9(input.service, _path + ".service", true && _exceptionable) || _report(_exceptionable, {
1924
2209
  path: _path + ".service",
1925
2210
  expected: "ServiceConfig",
1926
2211
  value: input.service
@@ -1928,8 +2213,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
1928
2213
  path: _path + ".dependsOn",
1929
2214
  expected: "Array<string>",
1930
2215
  value: input.dependsOn
1931
- })) && input.dependsOn.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
1932
- path: _path + ".dependsOn[" + _index25 + "]",
2216
+ })) && input.dependsOn.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
2217
+ path: _path + ".dependsOn[" + _index27 + "]",
1933
2218
  expected: "string",
1934
2219
  value: elem
1935
2220
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1940,7 +2225,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1940
2225
  path: _path + ".commonPaths",
1941
2226
  expected: "(CommonPathsMetadata | undefined)",
1942
2227
  value: input.commonPaths
1943
- })) && _vo7(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
2228
+ })) && _vo10(input.commonPaths, _path + ".commonPaths", true && _exceptionable) || _report(_exceptionable, {
1944
2229
  path: _path + ".commonPaths",
1945
2230
  expected: "(CommonPathsMetadata | undefined)",
1946
2231
  value: input.commonPaths
@@ -1948,7 +2233,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1948
2233
  path: _path + ".ui",
1949
2234
  expected: "(UIConfig | undefined)",
1950
2235
  value: input.ui
1951
- })) && _vo8(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
2236
+ })) && _vo11(input.ui, _path + ".ui", true && _exceptionable) || _report(_exceptionable, {
1952
2237
  path: _path + ".ui",
1953
2238
  expected: "(UIConfig | undefined)",
1954
2239
  value: input.ui
@@ -1956,7 +2241,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1956
2241
  path: _path + ".cloudFunction",
1957
2242
  expected: "(CloudFunctionConfig | undefined)",
1958
2243
  value: input.cloudFunction
1959
- })) && _vo10(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
2244
+ })) && _vo13(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || _report(_exceptionable, {
1960
2245
  path: _path + ".cloudFunction",
1961
2246
  expected: "(CloudFunctionConfig | undefined)",
1962
2247
  value: input.cloudFunction
@@ -1964,7 +2249,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
1964
2249
  path: _path + ".authorization",
1965
2250
  expected: "(AuthorizationMetadata | undefined)",
1966
2251
  value: input.authorization
1967
- })) && _vo11(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
2252
+ })) && _vo14(input.authorization, _path + ".authorization", true && _exceptionable) || _report(_exceptionable, {
1968
2253
  path: _path + ".authorization",
1969
2254
  expected: "(AuthorizationMetadata | undefined)",
1970
2255
  value: input.authorization
@@ -1988,11 +2273,11 @@ describe('BootstrapSyncMetadata - type validations', () => {
1988
2273
  path: _path + ".serviceLocal",
1989
2274
  expected: "(Partial<ServiceConfig> | undefined)",
1990
2275
  value: input.serviceLocal
1991
- })) && _vo13(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
2276
+ })) && _vo16(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || _report(_exceptionable, {
1992
2277
  path: _path + ".serviceLocal",
1993
2278
  expected: "(Partial<ServiceConfig> | undefined)",
1994
2279
  value: input.serviceLocal
1995
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
2280
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || _report(_exceptionable, {
1996
2281
  path: _path + ".host",
1997
2282
  expected: "string",
1998
2283
  value: input.host
@@ -2008,7 +2293,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2008
2293
  path: _path + ".includeBaseURL",
2009
2294
  expected: "(boolean | undefined)",
2010
2295
  value: input.includeBaseURL
2011
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
2296
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.apiDocs || "string" === typeof input.apiDocs || _report(_exceptionable, {
2012
2297
  path: _path + ".apiDocs",
2013
2298
  expected: "(string | undefined)",
2014
2299
  value: input.apiDocs
@@ -2024,7 +2309,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2024
2309
  path: _path + ".changelog",
2025
2310
  expected: "(string | undefined)",
2026
2311
  value: input.changelog
2027
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
2312
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.route || _report(_exceptionable, {
2028
2313
  path: _path + ".route",
2029
2314
  expected: "string",
2030
2315
  value: input.route
@@ -2040,7 +2325,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2040
2325
  path: _path + ".customProps",
2041
2326
  expected: "ModuleProps",
2042
2327
  value: input.customProps
2043
- })) && _vo9(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2328
+ })) && _vo12(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2044
2329
  path: _path + ".customProps",
2045
2330
  expected: "ModuleProps",
2046
2331
  value: input.customProps
@@ -2052,12 +2337,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
2052
2337
  path: _path + ".isPlatformCustomization",
2053
2338
  expected: "(boolean | undefined)",
2054
2339
  value: input.isPlatformCustomization
2055
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2340
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2056
2341
  const value = input[key];
2057
2342
  if (undefined === value)
2058
2343
  return true;
2059
2344
  return true;
2060
- }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
2345
+ }).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["aws" === input.provider || _report(_exceptionable, {
2061
2346
  path: _path + ".provider",
2062
2347
  expected: "\"aws\"",
2063
2348
  value: input.provider
@@ -2065,12 +2350,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
2065
2350
  path: _path + ".requiresSignature",
2066
2351
  expected: "boolean",
2067
2352
  value: input.requiresSignature
2068
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
2353
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.operations || (Array.isArray(input.operations) || _report(_exceptionable, {
2069
2354
  path: _path + ".operations",
2070
2355
  expected: "(Array<string> | undefined)",
2071
2356
  value: input.operations
2072
- })) && input.operations.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
2073
- path: _path + ".operations[" + _index26 + "]",
2357
+ })) && input.operations.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
2358
+ path: _path + ".operations[" + _index28 + "]",
2074
2359
  expected: "string",
2075
2360
  value: elem
2076
2361
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2081,24 +2366,24 @@ describe('BootstrapSyncMetadata - type validations', () => {
2081
2366
  path: _path + ".routes",
2082
2367
  expected: "(Array<RouteAuthorization> | undefined)",
2083
2368
  value: input.routes
2084
- })) && input.routes.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2085
- path: _path + ".routes[" + _index27 + "]",
2369
+ })) && input.routes.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2370
+ path: _path + ".routes[" + _index29 + "]",
2086
2371
  expected: "RouteAuthorization",
2087
2372
  value: elem
2088
- })) && _vo12(elem, _path + ".routes[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
2089
- path: _path + ".routes[" + _index27 + "]",
2373
+ })) && _vo15(elem, _path + ".routes[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
2374
+ path: _path + ".routes[" + _index29 + "]",
2090
2375
  expected: "RouteAuthorization",
2091
2376
  value: elem
2092
2377
  })).every(flag => flag) || _report(_exceptionable, {
2093
2378
  path: _path + ".routes",
2094
2379
  expected: "(Array<RouteAuthorization> | undefined)",
2095
2380
  value: input.routes
2096
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
2381
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.methods || (Array.isArray(input.methods) || _report(_exceptionable, {
2097
2382
  path: _path + ".methods",
2098
2383
  expected: "(Array<HttpMethod> | undefined)",
2099
2384
  value: input.methods
2100
- })) && input.methods.map((elem, _index28) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
2101
- path: _path + ".methods[" + _index28 + "]",
2385
+ })) && input.methods.map((elem, _index30) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
2386
+ path: _path + ".methods[" + _index30 + "]",
2102
2387
  expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
2103
2388
  value: elem
2104
2389
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2113,15 +2398,15 @@ describe('BootstrapSyncMetadata - type validations', () => {
2113
2398
  path: _path + ".operations",
2114
2399
  expected: "Array<string>",
2115
2400
  value: input.operations
2116
- })) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
2117
- path: _path + ".operations[" + _index29 + "]",
2401
+ })) && input.operations.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
2402
+ path: _path + ".operations[" + _index31 + "]",
2118
2403
  expected: "string",
2119
2404
  value: elem
2120
2405
  })).every(flag => flag) || _report(_exceptionable, {
2121
2406
  path: _path + ".operations",
2122
2407
  expected: "Array<string>",
2123
2408
  value: input.operations
2124
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
2409
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
2125
2410
  path: _path + ".host",
2126
2411
  expected: "(string | undefined)",
2127
2412
  value: input.host
@@ -2137,7 +2422,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2137
2422
  path: _path + ".includeBaseURL",
2138
2423
  expected: "(boolean | undefined)",
2139
2424
  value: input.includeBaseURL
2140
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
2425
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
2141
2426
  path: _path + ".name",
2142
2427
  expected: "string",
2143
2428
  value: input.name
@@ -2153,7 +2438,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2153
2438
  path: _path + ".allowedByDefault",
2154
2439
  expected: "(boolean | undefined)",
2155
2440
  value: input.allowedByDefault
2156
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
2441
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
2157
2442
  path: _path + ".applicationName",
2158
2443
  expected: "(string | undefined)",
2159
2444
  value: input.applicationName
@@ -2165,12 +2450,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
2165
2450
  path: _path + ".description",
2166
2451
  expected: "(string | undefined)",
2167
2452
  value: input.description
2168
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
2453
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.roles || (Array.isArray(input.roles) || _report(_exceptionable, {
2169
2454
  path: _path + ".roles",
2170
2455
  expected: "(Array<string> | undefined)",
2171
2456
  value: input.roles
2172
- })) && input.roles.map((elem, _index30) => "string" === typeof elem || _report(_exceptionable, {
2173
- path: _path + ".roles[" + _index30 + "]",
2457
+ })) && input.roles.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
2458
+ path: _path + ".roles[" + _index32 + "]",
2174
2459
  expected: "string",
2175
2460
  value: elem
2176
2461
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2189,7 +2474,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
2189
2474
  path: _path + ".applicationName",
2190
2475
  expected: "(string | undefined)",
2191
2476
  value: input.applicationName
2192
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
2477
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.moduleName || _report(_exceptionable, {
2193
2478
  path: _path + ".moduleName",
2194
2479
  expected: "string",
2195
2480
  value: input.moduleName
@@ -2197,16 +2482,27 @@ describe('BootstrapSyncMetadata - type validations', () => {
2197
2482
  path: _path + ".customProps",
2198
2483
  expected: "Record<string, any>",
2199
2484
  value: input.customProps
2200
- })) && _vo18(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2485
+ })) && _vo21(input.customProps, _path + ".customProps", true && _exceptionable) || _report(_exceptionable, {
2201
2486
  path: _path + ".customProps",
2202
2487
  expected: "Record<string, any>",
2203
2488
  value: input.customProps
2204
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2489
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2205
2490
  const value = input[key];
2206
2491
  if (undefined === value)
2207
2492
  return true;
2208
2493
  return true;
2209
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
2494
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
2495
+ if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
2496
+ return _vo5(input, _path, true && _exceptionable);
2497
+ else if ("AND" === input.operator || "OR" === input.operator)
2498
+ return _vo6(input, _path, true && _exceptionable);
2499
+ else
2500
+ return _report(_exceptionable, {
2501
+ path: _path,
2502
+ expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
2503
+ value: input
2504
+ });
2505
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
2210
2506
  if (false === __is(input)) {
2211
2507
  errors = [];
2212
2508
  _report = __typia_transform__validateReport._validateReport(errors);